powerpc: POWER7 strcpy optimization for unaligned strings
[glibc.git] / ChangeLog
blob3e2d4b0d7e4bf465d94e446ca50d4b62622003f5
1 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
5         path.
6         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
8 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
10         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
11         __fegetround and redefine to call __fegetround.  Remove condition
12         on [!__NO_MATH_INLINES].
13         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
14         function.
15         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
16         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
17         Remove macro.
18         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
19         instead of <fenv_libc.h>.
20         (__llrintl): Call fegetround instead of __fegetround.
21         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
22         instead of <fenv_libc.h>.
23         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
24         (__lrintl): Call fegetround instead of __fegetround.
25         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
26         instead of <fenv_libc.h>.
27         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
28         (__rintl): Call fegetround instead of __fegetround.
30 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
32         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
33         arrays.
35 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
37         [BZ #17775]
38         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
39         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
40         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
42 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
44         * sysdeps/i386/tls-macros.h: Include <features.h>.
45         (TLS_LE): Use non-PIC version for GCC >= 5.0.
46         (TLS_IE): Likewise.
47         (TLS_LD): Likewise.
48         (TLS_GD): Likewise.
49         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
50         define for GCC >= 5.0.
52 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
54         * math/test-fenv.c (test_single_exception, set_single_exc,
55         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
56         feexcp_mask_test, feenable_test, fe_single_test): Add
57         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
58         case where they are not used.
59         * math/libm-test.inc: Likewise.
60         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
61         unused in the absence of FP rounding/exception support.
62         * stdio-common/tst-printf-round.c: Likewise.
63         * stdlib/tst-strtod-round.c: Likewise.
64         * stdlib/tst-strtod-underflow.c: Likewise.
66 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
68         [BZ #17723]
69         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
70         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
71         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
72         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
73         libm_hidden_weak.
74         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
75         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
76         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
77         libm_hidden_def.
78         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
79         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
80         libm_hidden_weak.
81         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
82         Likewise.
83         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
84         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
85         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
86         libm_hidden_weak.
87         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
88         libm_hidden_def.
89         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
90         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
91         (__feraiseexcept): Likewise.
92         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
93         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
94         libm_hidden_weak.
95         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
96         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
97         libm_hidden_def.
98         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
99         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
100         Use libm_hidden_def.
101         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
102         libm_hidden_def.
103         (feraiseexcept): Define as weak not strong alias.  Use
104         libm_hidden_weak.
105         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
106         New inline function.  Factored out of ...
107         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
108         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
109         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
110         feraiseexcept.
111         * math/w_acos.c (__acos): Likewise.
112         * math/w_asin.c (__asin): Likewise.
113         * math/w_ilogb.c (__ilogb): Likewise.
114         * math/w_j0.c (y0): Likewise.
115         * math/w_j1.c (y1): Likewise.
116         * math/w_jn.c (yn): Likewise.
117         * math/w_log.c (__log): Likewise.
118         * math/w_log10.c (__log10): Likewise.
119         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
120         * sysdeps/aarch64/fpu/math_private.h
121         (libc_feupdateenv_test_aarch64): Likewise.
122         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
123         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
124         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
125         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
126         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
127         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
128         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
129         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
130         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
131         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
133 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
135         [BZ #17732]
136         * io/test-utime.c (main): Replace %ld with %jd and cast to
137         intmax_t.
138         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
139         * nptl/tst-mutex5.c: Include <stdint.h>.
140         (do_test): Replace %ld with %jd and cast to intmax_t.
141         * posix/tst-regex.c (run_test): Likewise.
142         (run_test_backwards): Likewise.
143         * rt/tst-clock.c: Include <stdint.h>.
144         (clock_test): Replace %ld with %jd and cast to intmax_t.
145         * rt/tst-cpuclock1.c: Include <stdint.h>.
146         (do_test): Replace %lu with %ju and cast to uintmax_t.
147         * rt/tst-cpuclock2.c: Include <stdint.h>.
148         (do_test): Replace %lu with %ju and cast to uintmax_t.
149         * rt/tst-mqueue1.c: Include <stdint.h>.
150         (check_attrs): Replace %ld with %jd and cast to intmax_t.
151         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
152         intmax_t.
153         * rt/tst-mqueue4.c (do_test): Likewise.
154         * rt/tst-timer4.c: Include <stdint.h>.
155         (check_ts): Replace %ld with %jd and cast to intmax_t.
156         (do_test): Likewise.
157         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
158         and cast to intmax_t.
159         * sysdeps/pthread/tst-timer.c (main): Likewise.
160         * time/clocktest.c (main): Likewise.
161         * time/tst-posixtz.c (do_test): Likewise.
162         * timezone/tst-timezone.c (main): Likewise.
164 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
165             H.J. Lu  <hongjiu.lu@intel.com>
167         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
168         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
169         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
170         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
171         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
172         version if bit_Fast_Unaligned_Load is set.
173         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
174         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
175         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
176         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
177         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
178         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
179         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
180         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
181         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
182         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
183         to 4.
184         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
185         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
186         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
187         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
189 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
191         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
192         instead of #if to avoid a Wundef warning.
193         * stdlib/tst-limits.c (do_test): Likewise.
195         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
196         parallel other exception macros.
197         (fegetenv): Convert from macro to extern inline so that it applies
198         retroactively to inline functions already seen by the compiler.
199         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
201         * posix/Makefile (before-compile): Use $(objpfx) for
202         posix-conf-vars-def.h.
204 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
206         * posix/getconf.c (main): Use size_t for type of I.
207         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
208         NSPEC.
210         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
211         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
212         * posix/posix-envs.def: Likewise.
213         * sysdeps/posix/sysconf.c: Likewise.
214         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
215         (specs): Remove array.
216         * scripts/gen-posix-conf-vars.awk: Support generation of specs
217         array.
219         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
220         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
221         (__sysconf): Use CONF_IS_* macros.
223         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
224         ($(objpfx)posix-conf-vars-def.h): New target.
225         * posix/posix-conf-vars.list: New file.
226         * posix/posix-conf-vars.h: New file.
227         * posix/confstr.c: Include posix-conf-vars.h.
228         (confstr): Use CONF_IS_* macros.
229         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
230         CONF_IS_* macros.
231         * scripts/gen-posix-conf-vars.awk: New file.
233 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
235         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
236         fegetround): Add no-op macros to avoid linknamespace issues.
238         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
239         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
241         * sysdeps/unix/sysv/linux/tile/sysdep.h
242         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
243         assembly-specific section to avoid a redefinition warning.
245         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
246         long before casting to pointer to avoid a cast warning.
248 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
250         * sysdeps/tile/tilegx/Implies: New file.
252 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
254         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
256 2014-12-23  Florian Weimer  <fweimer@redhat.com>
258         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
260 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
262         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
263         not define.
264         * sysdeps/unix/sysv/linux/utimes.c: Do not include
265         <kernel-features.h>.
266         (__utimes) [__NR_utimes]: Make code unconditional.
267         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
268         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
269         (__ASSUME_UTIMES): Do not undefine.
270         * sysdeps/unix/sysv/linux/tile/kernel-features.h
271         (__ASSUME_UTIMES): Likewise.
272         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
273         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
274         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
275         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
277 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
279         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
281 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
283         [BZ #17747]
284         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
285         alias to weak alias for j0l, y0l.
286         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
287         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
289         [BZ #17746]
290         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
291         conversion.
293 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
295         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
296         to zero if not already defined.
298 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
300         [BZ #17724]
301         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
302         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
303         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
304         (char *) casts added.
305         * sysdeps/ieee754/k_standardf.c: New file.
306         * sysdeps/ieee754/k_standardl.c: Likewise.
307         * math/Makefile (libm-support): Remove k_standard.
308         (libm-calls): Add k_standard.
310 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
312         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
313         Optimize to avoid an unnecessary FPCR read.
315 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
317         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
318         Optimize to reduce FPCR/FPSR accesses.
320 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
322         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
323         Call libc_fetestexcept_aarch64.
325 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
327         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
328         Call libc_fesetround_aarch64.
330 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
332         [BZ #17733]
333         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
334         (__bind): Do not define as weak alias.
335         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
336         define.
337         (__getsockname): Do not define as weak alias.
339 2014-12-22  Will Newton  <will.newton@linaro.org>
341         * manual/install.texi: Document that we require bison 2.7
342         or above.
343         * INSTALL: Regenerate.
344         * configure.ac: Use AC_CHECK_PROG_VER instead of
345         AC_PATH_PROG when checking for bison and check for
346         version 2.7 or above.
347         * configure: Regenerate.
349 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
351         [BZ #17745]
352         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
353         * sysdeps/tile/ffsll.c (ffsll): To here.
355         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
357 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
359         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
360         if not defined.
361         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
362         definition.
363         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
364         hidden ___tls_get_addr.
365         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
366         hidden __tls_get_addr.
367         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
368         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
369         Likewise.
371 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
373         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
374         _dl_init call.
376 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
378         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
379         from "call _dl_init@PLT".
380         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
382 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
384         * manual/search.texi: (Array Sort Function): Clarify stable sorting
385         guarantees.
387 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
389         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
391 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
393         [BZ #17744]
394         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
395         strnlen.
397 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
399         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
400         of multu on MIPSr6.
401         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
402         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
403         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
404         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
405         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
407 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
409         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
410         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
411         (PTR_SUBU): Use subu for mips32r6/mips64r6.
412         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
413         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
414         mips32r6/mips64r6.
415         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
417 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
419         * string/strncat.c (STRNCAT): Simplify implementation.
421 2014-12-19  David S. Miller  <davem@davemloft.net>
423         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
424         access the quad as both a long double and as a series of 4 words.
426         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
427         link_map->l_info array access.
429 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
431         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
433         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
434         * math/atest-exp2.c (TIMEOUT): Likewise.
435         * math/atest-sincos.c (TIMEOUT): Likewise.
437 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
439         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
440         -Wno-error with -fno-builtin-lround.
442 2014-12-19  Torvald Riegel  <triegel@redhat.com>
444         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
445         Contains futex constants and functions moved over from ...
446         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
447         <lowlevellock-futex.h>.
448         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
449         (lll_timedwait_tid): Add comments and parentheses around macro
450         arguments.
452 2014-12-19  Torvald Riegel  <triegel@redhat.com>
454         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
455         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
456         (__lll_private_flag): Remove.
457         (lll_futex_wait): Likewise.
458         (lll_futex_timed_wait): Likewise.
459         (lll_futex_wake): Likewise.
460         (lll_futex_requeue): Likewise.
461         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
462         (__lll_timedwait_tid): Spell out argument names.
463         (lll_timedwait_tid): Add comments and parentheses around macro
464         arguments.
465         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
466         LLL_SHARED and LLL_PRIVATE usable from assembly code.
468 2014-12-19  Torvald Riegel  <triegel@redhat.com>
470         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
471         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
472         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
473         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
474         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
475         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
476         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
477         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
478         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
479         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
480         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
481         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
482         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
483         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
484         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
485         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
486         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
487         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
488         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
490 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
492         * sysdeps/x86_64/x32/Makefile: New file.
494 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
496         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
497         1L with (mp_limb_t) 1.
499 2014-12-17  Roland McGrath  <roland@hack.frob.com>
501         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
502         * nptl/libc_pthread_init.c: ... here.
503         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
504         * nptl/register-atfork.c: ... here.
506         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
507         Use pthread_sigmask rather than INTERNAL_SYSCALL.
508         Use assert_perror to check its return value.
509         (__gai_create_helper_thread): Likewise.
511         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
513         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
515 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
517         [BZ #17725]
518         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
519         __profil_counter.
520         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
521         Likewise.
522         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
523         Likewise.
524         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
525         Likewise.
526         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
527         (profil_counter): Likewise.
528         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
529         (profil_counter): Likewise.
530         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
531         Likewise.
532         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
533         Likewise.
534         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
535         (profil_counter): Likewise.
536         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
537         Likewise.
538         [!__profil_counter] (profil_counter): Define as weak alias of
539         __profil_counter.
540         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
541         (profil_counter): Rename to __profil_counter.
542         [!__profil_counter] (profil_counter): Define as weak alias of
543         __profil_counter.
544         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
545         (profil_counter): Rename to __profil_counter.
546         [!__profil_counter] (profil_counter): Define as weak alias of
547         __profil_counter.
548         * sysdeps/posix/profil.c: Update comment referring to
549         profil_counter.
550         (__profil): Use __profil_counter instead of profil_counter.
551         * sysdeps/posix/sprofil.c (profil_counter): Rename to
552         __profil_counter.  Use __profil_counter_ushort and
553         __profil_counter_uint in definitions.
554         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
555         instead of profil_counter_uint and profil_counter_ushort.
557         [BZ #17722]
558         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
559         define as weak alias of __inet_makeaddr.
560         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
561         as weak alias of __inet_addr.
562         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
563         as weak alias of __inet_pton.  Use libc_hidden_weak.
564         * include/arpa/inet.h (__inet_pton): Declare.  Use
565         libc_hidden_proto.
566         (inet_makeaddr): Don't use libc_hidden_proto.
567         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
568         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
569         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
570         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
571         Remove variable.
572         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
573         (test-xfail-POSIX/time.h/linknamespace): Likewise.
575 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
577         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
579 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
581         * stdio-common/bug-vfprintf-nargs.c (do_test):
582         Cast value to intptr_t to avoid format warning
583         for usage with PRIdPTR printing macro.
585 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
587         * libio/tst-widetext.c (do_test):
588         Use format type %td instead of %Zd for ptrdiff_t
589         in order to avoid format warning.
591 2014-12-17  Andreas Schwab  <schwab@suse.de>
593         * nscd/mem.c (gc): Add size_t cast to match printf format.
595 2014-12-16  Roland McGrath  <roland@hack.frob.com>
597         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
598         (init): Apply PTR_MANGLE to pointers before storing them.
599         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
600         before using them.
602 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
604         [BZ #17719]
605         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
606         define as weak alias of __memrchr.
607         (__memrchr): Do not define as strong alias of memrchr.
608         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
609         Remove variable.
610         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
611         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
612         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
614         [BZ #17717]
615         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
616         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
617         (if_indextoname): Rename to __if_indextoname and define as weak
618         alias of __if_indextoname.  Use libc_hidden_weak.
619         (if_freenameindex): Rename to __if_freenameindex and define as
620         weak alias of __if_freenameindex.
621         (if_nameindex): Rename to __if_nameindex and define as weak alias
622         of __if_nameindex.
623         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
624         __if_nametoindex and define as weak alias of __if_nametoindex.
625         Use libc_hidden_weak.
626         (if_freenameindex): Rename to __if_freenameindex and define as
627         weak alias of __if_freenameindex.
628         (if_nameindex): Rename to __if_nameindex and define as weak alias
629         of __if_nameindex.
630         (if_indextoname): Rename to __if_indextoname and define as weak
631         alias of __if_indextoname.  Use libc_hidden_weak.
632         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
633         __if_nametoindex and define as weak alias of __if_nametoindex.
634         Use libc_hidden_weak.
635         (if_freenameindex): Rename to __if_freenameindex and define as
636         weak alias of __if_freenameindex.  Use libc_hidden_weak.
637         (if_nameindex_netlink): Use __if_freenameindex instead of
638         if_freenameindex.
639         (if_nameindex): Rename to __if_nameindex and define as weak alias
640         of __if_nameindex.  Use libc_hidden_weak.
641         (if_indextoname): Rename to __if_indextoname and define as weak
642         alias of __if_indextoname.  Use libc_hidden_weak.
643         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
644         libc_hidden_proto.
645         [!_ISOMAC] (__if_freenameindex): Likewise.
646         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
647         if_nametoindex.
648         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
649         variable.
650         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
651         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
652         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
653         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
654         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
655         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
656         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
658         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
659         Remove variable.
660         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
661         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
663 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
665         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
666         subscript above bounds'
668         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
669         bounds.
671 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
673         * libio/tst-fopenloc.c: Use test-skeleton.c.
675         * stdlib/tst-bsearch.c: Use test-skeleton.c.
676         (entry): Rename to ITEM.
677         (do_test, comp): Adjust.
679         * stdio-common/tst-fseek.c: Use test-skeleton.c.
681 2014-12-16  Torvald Riegel  <triegel@redhat.com>
683         * string/tester.c: Include <libc-internal.h>.
684         (test_memset): Ignore -Wmemset-transposed-args.
686 2014-12-16  Torvald Riegel  <triegel@redhat.com>
688         * misc/tst-mntent2.c (do_test): Fix warning.
690 2014-12-16  Torvald Riegel  <triegel@redhat.com>
692         * elf/tst-unique4lib.cc(a): Mark as used.
694 2014-12-16  Florian Weimer  <fweimer@redhat.com>
696         [BZ #17630]
697         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
698         names.
700 2014-12-16  Allan McRae  <allan@archlinux.org>
702         * stdio-common/Makefile (tests): Re-add bug26.
704 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
706         [BZ #17657]
707         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
708         static array.
710 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
712         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
713         (__lll_lock_wait): Likewise.
714         (__lll_timedlock_wait): Likewise.
715         (__lll_timedwait_tid): Likewise.
716         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
717         (__lll_robust_timedlock_wait): Likewise.
718         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
719         (lll_cond_trylock): Likewise.
720         (__lll_lock): Likewise.
721         (__lll_robust_lock): Likewise.
722         (__lll_cond_lock): Likewise.
723         (lll_robust_cond_lock): Likewise.
724         (__lll_timedlock): Likewise.
725         (__lll_robust_timedlock): Likewise.
726         (__lll_unlock): Likewise.
727         (__lll_robust_unlock): Likewise.
728         (lll_wait_tid): Likewise.
729         (lll_timedwait_tid): Likewise.
731 2014-12-15  Torvald Riegel  <triegel@redhat.com>
733         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
735 2014-12-15  Torvald Riegel  <triegel@redhat.com>
737         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
739 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
741         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
742         * stdio-common/tst-sprintf.c: Likewise.
744 2014-12-15  Torvald Riegel  <triegel@redhat.com>
746         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
748 2014-12-15  Jeff Law  <law@redhat.com>
750         [BZ #16617]
751         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
752         on the heap.  (CVE-2012-3406)
753         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
754         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
755         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
757 2014-12-15  Will Newton  <will.newton@linaro.org>
759         * manual/install.texi: Bump required version of texinfo
760         to 4.7 from 4.5.
761         * INSTALL: Regenerated.
762         * configure.ac: Check for makeinfo version 4.7 and above.
763         * configure: Regenerated.
765 2014-12-12  Roland McGrath  <roland@hack.frob.com>
767         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
768         PREFIX, string constant to insert between directory and name.
769         * sysdeps/posix/shm_open.c: Update caller.
770         * sysdeps/posix/shm_unlink.c: Likewise.
771         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
772         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
773         (SEM_SHM_PREFIX): New macro.
774         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
775         [$(have-thread-library) = no].
776         * nptl/Makefile (libpthread-routines): Add shm-directory.
777         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
778         * sysdeps/nptl/shm-directory.h: New file.
779         * sysdeps/posix/shm-directory.c
780         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
781         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
782         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
783         INTERNAL_SYSCALL.
784         (__where_is_shmfs): Function removed.
785         (mountpoint, defaultmount, defaultdir, __namedsem_once):
786         Variables removed.
787         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
788         Use SHM_GET_NAME.
789         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
791         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
792         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
793         unconditional for use inside libpthread.
794         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
796 2014-12-12  Roland McGrath  <roland@hack.frob.com>
798         * nptl/pthread_getaffinity.c: New file.
799         * nptl/pthread_setaffinity.c: New file.
800         * nptl/pthread_getname.c: New file.
801         * nptl/pthread_setname.c: New file.
803         * nptl/pthread_create.c (START_THREAD_DEFN)
804         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
806 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
807             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
809         * resolv/res_send.c (send_vc): Disable warning resplen may
810         be used uninitialized.
812 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
814         * nptl/tst-mutex6.c
815         (ATTR_NULL): New define checks ATTR against NULL.
816         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
817         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
819 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
821         [BZ #17581]
822         * malloc/hooks.c
823         (mem2mem_check): Revert my previous change.
824         (malloc_check_get_size): Revert my previous change.
825         (mem2chunk_check): Revert my previous change.
827 2014-12-11  Roland McGrath  <roland@hack.frob.com>
829         * sysdeps/posix/shm-directory.c: New file.
830         * sysdeps/posix/shm-directory.h: New file.
831         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
832         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
833         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
834         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
835         Transmute EPERM to EACCES.
836         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
837         from ...
838         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
839         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
841 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
843         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
844         pointer and cast to uintptr_t.
845         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
846         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
847         Add cast to avoid warning.
848         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
850 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
852         * nptl/semaphore.h: Move to ...
853         * sysdeps/pthread/semaphore.h: ... here.
854         * Makefile (installed-headers): Change nptl/semaphore.h to
855         sysdeps/pthread/semaphore.h.
857 2014-12-11  Roland McGrath  <roland@hack.frob.com>
859         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
860         generated error format strings.
862         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
863         -Wformat-extra-args warnings for scanf formats.
864         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
865         test of zero-length format (duh).
866         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
867         corner-case scanf format test.
868         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
869         generated fprintf format string.
870         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
871         corner-case sprintf format tests.
872         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
873         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
874         -Wformat-extra-args warnings throughout.
875         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
876         (CFLAGS-scanf4.c): Likewise.
877         (CFLAGS-scanf7.c): Likewise.
878         (CFLAGS-tst-sprintf.c): Likewise.
879         (CFLAGS-tst-printf.c): Likewise.
880         (CFLAGS-tst-printfsz.c): Likewise.
882 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
884         * include/cpio.h: New file.
885         * include/fmtmsg.h: Likewise.
887         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
888         corresponding format argument to size_t.
889         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
890         arguments.
891         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
892         corresponding format argument to size_t.
893         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
894         arguments.
895         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
896         corresponding format argument to size_t.
897         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
898         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
899         (CFLAGS-tst-mbswcs2.c): Likewise.
900         (CFLAGS-tst-mbswcs3.c): Likewise.
901         (CFLAGS-tst-mbswcs4.c): Likewise.
902         (CFLAGS-tst-mbswcs5.c): Likewise.
903         (CFLAGS-tst-trans.c): Likewise
905 2014-12-11  Roland McGrath  <roland@hack.frob.com>
907         * posix/regexbug1.c (main): Use "%s" format with regerror results,
908         rather than assuming they won't contain any '%'s.
910 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
912         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
913         inhibit_loop_to_libcall to avoid recursive calls.
914         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
915         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
917 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
919         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
920         prototype.
922 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
924         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
925         integer value instead of boolean.
927 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
929         * malloc/malloc.c: Fix powerof2 check.
931 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
933         * locale/programs/locfile.h (maybe_swap_uint32):
934         Remove inline and add unused attribute.
936 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
938         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
939         Truncating assembler expression to a .long expression.
941 2014-12-11  Andreas Schwab  <schwab@suse.de>
943         * elf/rtld.c (struct map_args): Constify str member.
944         (do_preload): Constify fname argument.
946 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
948         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
949         constants definition.
951 2014-12-11  Andreas Schwab  <schwab@suse.de>
953         [BZ #16657]
954         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
955         FORCE_ELISION instead of DO_ELISION.
956         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
957         Remove.
958         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
959         Likewise.
961         * iconvdata/gconv-modules: Remove duplicate entry.
963 2014-12-11  Will Newton  <will.newton@linaro.org>
965         Merge gettext 0.19.3 into intl/.
967         This involves a number of cosmetic changes to comments
968         and ANSI function definitions and prototypes throughout
969         all the files. The gettext copyright header is used but
970         with the date ranges taken from the glibc copy.
972         * NEWS: Add gettext merge to 2.21.
973         * intl/bindtextdom.c: Switch to gettext copyright.
974         Use ANSI definitions and prototypes.
975         Use gl_* locking primitives rather than __libc_* ones.
976         Use __builtin_expect rather than __glibc_likely/unlikely.
977         * intl/dcgettext.c: Switch to gettext copyright.
978         Use ANSI definitions and prototypes.
979         * intl/dcigettext.c: Switch to gettext copyright.
980         Use ANSI definitions and prototypes.
981         (INTDIV0_RAISES_SIGFPE): New define.
982         Use gl_* locking primitives rather than __libc_* ones.
983         Include eval-plural.h instead of plural-eval.c.
984         Use __builtin_expect rather than __glibc_likely/unlikely.
985         * intl/dcngettext.c: Switch to gettext copyright.
986         Use ANSI definitions and prototypes.
987         * intl/dgettext.c: Likewise.
988         * intl/dngettext.c: Likewise.
989         * intl/plural-eval.c: Renamed to...
990         * intl/eval-plural.h: ...this.
991         * intl/explodename.c: Switch to gettext copyright.
992         Use ANSI definitions and prototypes.
993         (_nl_explode_name): Use strchr instead of __rawmemchr.
994         * intl/finddomain.c: Switch to gettext copyright.
995         Use ANSI definitions and prototypes.
996         Use gl_* locking primitives rather than __libc_* ones.
997         (_nl_find_domain): Use malloc rather than alloca for
998         allocation of temporary locale name.
999         * intl/gettext.c: Switch to gettext copyright.
1000         Use ANSI definitions and prototypes.
1001         * intl/gettextP.h: Switch to gettext copyright.
1002         Use ANSI definitions and prototypes.
1003         Use gl_* locking primitives rather than __libc_* ones.
1004         * intl/gmo.h: Switch to gettext copyright.
1005         (struct sysdep_string): Move struct segment_pair outside of
1006         struct definition.
1007         * intl/hash-string.c: Use ANSI definitions and prototypes.
1008         * intl/hash-string.h: Switch to gettext copyright.
1009         Use ANSI definitions and prototypes.
1010         * intl/l10nflist.c: Switch to gettext copyright.
1011         Use ANSI definitions and prototypes.
1012         (_nl_normalize_codeset): Avoid integer overflow.
1013         * intl/loadinfo.h: Switch to gettext copyright.
1014         Use ANSI definitions and prototypes.
1015         (LIBINTL_DLL_EXPORTED): New define.
1016         (PATH_SEPARATOR): New define.
1017         * intl/loadmsgcat.c: Switch to gettext copyright.
1018         * intl/localealias.c: Switch to gettext copyright.
1019         Use ANSI definitions and prototypes.
1020         (_nl_expand_alias): Use PATH_SEPARATOR.
1021         * intl/ngettext.c: Switch to gettext copyright.
1022         Use ANSI definitions and prototypes.
1023         * intl/plural-exp.c: Likewise.
1024         * intl/plural-exp.h: Switch to gettext copyright.
1025         Use ANSI definitions and prototypes.
1026         (struct expression): Move definition of enum operator outside
1027         of struct definition.
1028         * intl/plural.c: Regenerate.
1029         * intl/plural.y: Switch to gettext copyright.
1030         Use ANSI definitions and prototypes.
1031         Port to bison 3.0.
1032         * intl/textdomain.c: Switch to gettext copyright.
1033         Use ANSI definitions and prototypes.
1034         Use gl_* locking primitives rather than __libc_* ones.
1036 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
1038         * debug/warning-nop.c: Add used atrribute.
1040 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
1042         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
1044         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
1045         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
1046         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
1048 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
1049             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1051         [BZ #17634]
1052         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
1053         Undefine after defining function.  Define as weak alias of
1054         __wcschr.  Use libc_hidden_weak.
1055         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
1056         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
1057         (libc_hidden_def): Also define __GI___wcschr alias.
1058         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
1059         __wcschr and define as weak alias of __wcschr.
1060         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
1061         __wcschr.
1062         [!WCSCHR] (DEFAULT_WCSCHR): Define.
1063         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
1064         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
1065         libc_hidden_weak.  Do not use libc_hidden_def.
1066         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
1067         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
1068         __GI___wcschr alias.
1069         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
1070         [IS_IN (libc)] (wcschr): Define as macro expanding to
1071         __redirect_wcschr.
1072         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
1073         [IS_IN (libc)] (__wcschr_power6): Likewise.
1074         [IS_IN (libc)] (__wcschr_power7): Likewise.
1075         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
1076         instead of wcschr.
1077         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
1078         __libc_wcschr.
1079         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
1080         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
1081         __wcschr and define as weak alias of __wcschr.  Use
1082         libc_hidden_builtin_def.
1083         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
1084         as weak alias of __wcschr.  Use libc_hidden_weak.
1085         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
1086         wcschr.
1087         * time/era.c (_nl_init_era_entries): Likewise.
1088         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
1089         variable.
1090         (test-xfail-XPG3/time.h/linknamespace): Likewise.
1091         (test-xfail-XPG4/time.h/linknamespace): Likewise.
1093 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
1095         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
1096         format for long int variable.
1098 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
1100         [BZ #10672]
1101         * manual/search.texi: (Array Sort Function): Remove claim how to make
1102         qsort stable.
1104 2014-12-10  Andreas Schwab  <schwab@suse.de>
1106         [BZ #12847]
1107         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
1108         user-controlled locks.
1110 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
1112         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
1113         register.
1115 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
1117         * configure.ac (--disable-werror): New configure option.
1118         (enable_werror): New AC_SUBST.
1119         * configure: Regenerated.
1120         * config.make.in (enable-werror): New variable.
1121         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
1122         -Wno-error=undef.
1123         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
1124         * manual/install.texi (Configuring and compiling): Document
1125         --disable-werror.
1126         * INSTALL: Regenerated.
1127         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
1128         (CFLAGS-tst-chk2.c): Likewise.
1129         (CFLAGS-tst-chk3.c): Likewise.
1130         (CFLAGS-tst-chk4.cc): Likewise.
1131         (CFLAGS-tst-chk5.cc): Likewise.
1132         (CFLAGS-tst-chk6.cc): Likewise.
1133         (CFLAGS-tst-lfschk1.c): Likewise.
1134         (CFLAGS-tst-lfschk2.c): Likewise.
1135         (CFLAGS-tst-lfschk3.c): Likewise.
1136         (CFLAGS-tst-lfschk4.cc): Likewise.
1137         (CFLAGS-tst-lfschk5.cc): Likewise.
1138         (CFLAGS-tst-lfschk6.cc): Likewise.
1140         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
1141         (main): Disable -Wdeprecated-declarations around calls to
1142         register_printf_function.
1144         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
1145         (do_test): Disable -Wdiv-by-zero around some calls to
1146         fwrite_unlocked and fread_unlocked.
1148         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
1149         (DIAG_POP_NEEDS_COMMENT): Likewise.
1150         (_DIAG_STR1): Likewise.
1151         (_DIAG_STR): Likewise.
1152         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
1153         * stdio-common/bug21.c: Include <libc-internal.h>.
1154         (do_test): Disable -Wformat around call to sscanf.
1155         * stdio-common/scanf14.c: Include <libc-internal.h>.
1156         (main): Disable -Wformat around some calls to scanf functions.
1158 2014-12-09  Torvald Riegel  <triegel@redhat.com>
1160         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
1162 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1164         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
1165         stack variable alignment.
1167 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
1169         [BZ #17682]
1170         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
1171         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
1172         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
1173         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
1174         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
1175         __getrlimit instead of getrlimit.
1176         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
1177         __gettimeofday instead of gettimeofday.
1178         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1179         Likewise.
1180         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1181         Likewise.
1182         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
1183         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
1184         Remove variable.
1185         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
1186         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
1188 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1190         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
1191         for wide-character tests.
1193 2014-12-04  Roland McGrath  <roland@hack.frob.com>
1195         * io/openat64.c: #include <libc-internal.h>
1196         (__openat64): Prototypify.  Use ignore_value on MODE.
1197         * io/openat.c: Likewise.
1198         * misc/reboot.c: #include <libc-internal.h>
1199         (reboot): Prototypify.  Use ignore_value on HOWTO.
1200         * misc/ptrace.c: #include <libc-internal.h>
1201         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
1203 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
1205         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
1206         XPG4, UNIX98 and XOPEN2K.
1207         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
1208         Remove variable.
1209         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
1211 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1213         * libio/fileops.c: Use ISO C style for function definitions.
1214         * libio/iofopen.c: Likewise.
1215         * libio/wfileops.c: Likewise.
1217         [BZ #17653]
1218         * libio/fileops.c (_IO_new_file_underflow): Unset cached
1219         offset on EOF.
1220         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
1221         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
1222         (fgets_func): Function pointer to fgets and fgetws.
1223         (do_ftell_test): Add test to verify ftell value after read
1224         EOF.
1225         (do_test): Set fgets_func.
1227         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
1228         O_TRUNC flag for w and w+ modes.
1229         (do_rewind_test): Likewise.
1230         (do_ftell_test): Likewise.
1231         (do_write_test): Likewise.
1233         [BZ #17647]
1234         * libio/fileops.c (do_ftell): Seek only when there are
1235         unflushed writes.
1236         * libio/wfileops.c (do_ftell_wide): Likewise.
1237         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
1238         test case.
1239         (do_one_test): Call it.
1241 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
1243         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
1244         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
1245         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
1246         Remove variable.
1247         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
1248         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
1249         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
1251 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
1253         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
1254         Remove variable.
1255         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
1257         [BZ #17668]
1258         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
1259         as weak alias of __getifaddrs.  Use libc_hidden_weak.
1260         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1261         __freeifaddrs.  Use libc_hidden_weak.
1262         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
1263         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
1264         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1265         __freeifaddrs.  Use libc_hidden_weak.
1266         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
1267         __getifaddrs and define as weak alias of __getifaddrs.  Use
1268         libc_hidden_weak.
1269         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1270         __freeifaddrs.  Use libc_hidden_weak.
1271         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
1272         Remove variable.
1273         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
1274         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
1276 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
1278         [BZ #17601]
1279         * sysdeps/mips/start.S (__start): Use indirect jump to call
1280         __libc_start_main.
1282 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
1284         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
1286         * nptl/tst-mutex1.c: Include <stdbool.h>.
1287         [!ATTR] (ATTR_NULL): New macro.
1288         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
1289         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
1290         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
1292         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
1293         to char *.
1295         [BZ #17665]
1296         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
1297         Change conditional to [__USE_MISC].
1299         [BZ #17664]
1300         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
1301         fgets_unlocked.
1302         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
1303         __fgets_unlocked.
1304         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
1305         fgets_unlocked.
1306         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
1307         Remove variable.
1308         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
1309         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
1310         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
1311         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
1312         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
1313         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
1314         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
1315         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
1316         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
1318         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
1320 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1322         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1323         Remove strpbrk objects.
1324         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1325         (__libc_ifunc_impl_list): Remove strpbrk implementation.
1326         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
1327         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
1328         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
1329         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
1331         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1332         Remove strcspn objects.
1333         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1334         (__libc_ifunc_impl_list): Remove strcspn implementation.
1335         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
1336         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
1337         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
1338         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
1340         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1341         Remove strspn objetcs.
1342         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1343         (__libc_ifunc_impl_list): Remove strspn implementation.
1344         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
1345         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
1346         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
1347         * sysdeps/powerpc/powerpc64/strspn.S: New file.
1349 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
1351         [BZ #17581]
1352         * malloc/hooks.c
1353         (mem2mem_check): Add a terminator to the chain of checking blocks.
1354         (malloc_check_get_size): Use it here.
1355         (mem2chunk_check): Ditto.
1357 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1359         * sysdeps/powerpc/powerpc64/strtok.S: New file.
1360         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
1362 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
1364         * bits/ioctl-types.h: Indent preprocessor directives correctly.
1366         * nptl/nptl-init.c: Include libc-internal.h.
1367         (__pthread_initialize_minimal_internal): Use ROUND_UP.
1369         * elf/ldconfig.c (search_dir): Expand comment.
1371 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
1373         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
1374         variable.
1375         (linknamespace-symlist-stdlibs-tests): Likewise.
1376         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
1377         instead of $(objpfx)symlist-stdlibs.
1378         (linknamespace-libs-isoc): New variable.
1379         (linknamespace-libs): Use $(linknamespace-libs-isoc).
1380         (linknamespace-libs-ISO): New variable.
1381         (linknamespace-libs-ISO99): Likewise.
1382         (linknamespace-libs-ISO11): Likewise.
1383         (linknamespace-libs-XPG3): Likewise.
1384         (linknamespace-libs-XPG4): Likewise.
1385         (linknamespace-libs-POSIX): Likewise.
1386         (linknamespace-libs-UNIX98): Likewise.
1387         (linknamespace-libs-XOPEN2K): Likewise.
1388         (linknamespace-libs-POSIX2008): Likewise.
1389         (linknamespace-libs-XOPEN2K8): Likewise.
1390         ($(objpfx)symlist-stdlibs): Replace by
1391         $(linknamespace-symlist-stdlibs-tests).  Use
1392         $(linknamespace-libs-$*) as set of libraries.
1393         ($(linknamespace-header-tests)): Update dependencies.  Use
1394         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
1395         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
1396         * conform/linknamespace.pl: Remove comment about considering
1397         definitions of symbols from irrelevant libraries.
1399 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
1401         [BZ #13862]
1402         * elf/dl-tls.c: Include <atomic.h>.
1403         (oom): Remove #ifdef SHARED/#endif.
1404         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
1405         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
1406         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
1407         big enough.
1408         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
1409         * nptl/Makefile (tests): Add tst-stack4.
1410         (modules-names): Add tst-stack4mod.
1411         ($(objpfx)tst-stack4): New.
1412         (tst-stack4mod.sos): Likewise.
1413         ($(objpfx)tst-stack4.out): Likewise.
1414         ($(tst-stack4mod.sos)): Likewise.
1415         (clean): Likewise.
1416         * nptl/tst-stack4.c: New file.
1417         * nptl/tst-stack4mod.c: Likewise.
1419 2014-11-27  J. Brown  <jb999@gmx.de>
1421         * sysdeps/x86/bits/string.h: Add recent CPUs.
1423 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
1425         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
1426         sigblock.
1428         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
1429         feof.
1431         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
1432         variable.
1434 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
1436         * nscd/connections.c: Include libc-internal.h because of macro
1437         usage ignore_value.
1439 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
1441         * string/bits/string3.h (__warn_memset_zero_len): Don't
1442         declare for gcc newer than 5.0.
1443         (memset): Don't test for zero-length __LEN for gcc newer than
1444         5.0.
1446 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
1448         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
1449         size_t for %zu format.
1451         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
1452         difference, not %ju.
1454 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
1456         * include/libc-internal.h (ignore_value): New macro.
1457         * nscd/connections.c (restart): Wrap calls to setuid and setgid
1458         with ignore_value.
1460         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
1461         definition.
1463         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
1464         pthread_cleanup_push to void *.
1466         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
1467         Undefine.
1469         [BZ #16619]
1470         [BZ #16740]
1471         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
1472         instead of 1L << 52.
1474         * libio/bug-rewind.c (do_test): Check fwscanf return values.
1475         * libio/bug-rewind2.c (do_test): Likewise.
1477         * debug/test-stpcpy_chk-ifunc.c: Remove file.
1478         * debug/test-strcpy_chk-ifunc.c: Likewise.
1479         * wcsmbs/test-wcschr-ifunc.c: Likewise.
1480         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
1481         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
1482         * wcsmbs/test-wcslen-ifunc.c: Likewise.
1483         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
1484         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
1485         * Rules [$(multi-arch) = no] (tests): Do not filter out
1486         $(tests-ifunc).
1487         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
1488         * debug/Makefile (tests-ifunc): Remove variable.
1489         (tests): Do not add $(tests-ifunc).
1490         * wcsmbs/Makefile (tests-ifunc): Remove variable.
1491         (tests): Do not add $(tests-ifunc).
1492         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
1493         [TEST_IFUNC]: Remove conditionals.
1494         * string/test-string.h (TEST_IFUNC): Remove macro.
1495         [TEST_IFUNC]: Remove conditionals.
1497         * string/test-strchr.c [!WIDE] (L): New macro.
1498         [WIDE] (L): Likewise.
1499         (check1): Use CHAR instead of char.  Use L on string and character
1500         constants.
1502 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
1504         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
1505         tests.
1506         * sysdeps/powerpc/bits/atomic.h
1507         (__arch_atomic_exchange_and_add_32_acq): Add definition.
1508         (__arch_atomic_exchange_and_add_32_rel): Likewise.
1509         (atomic_exchange_and_add_acq): Likewise.
1510         (atomic_exchange_and_add_rel): Likewise.
1511         * sysdeps/powerpc/powerpc32/bits/atomic.h
1512         (__arch_atomic_exchange_and_add_64_acq): Add definition.
1513         (__arch_atomic_exchange_and_add_64_rel): Likewise.
1514         * sysdeps/powerpc/powerpc64/bits/atomic.h
1515         (__arch_atomic_exchange_and_add_64_acq): Add definition.
1516         (__arch_atomic_exchange_and_add_64_rel): Likewise.
1518 2014-11-26  Torvald Riegel  <triegel@redhat.com>
1520         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
1521         Change synchronization of __sched_fifo_min_prio and
1522         __sched_fifo_max_prio.
1523         * nptl/pthread_mutexattr_getprioceiling.c
1524         (pthread_mutexattr_getprioceiling): Likewise.
1525         * nptl/pthread_mutexattr_setprioceiling.c
1526         (pthread_mutexattr_setprioceiling): Likewise.
1527         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
1528         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
1529         Likewise.
1531 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
1533         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
1534         void.
1536 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
1538         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
1539         third argument const.
1541 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
1543         fnmatch: work around GCC compiler warning bug with uninit var
1544         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
1545         This works around a bug with x86-64 GCC 4.9.2 and earlier
1546         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
1547         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
1548         used uninitialized in this function [-Wmaybe-uninitialized]".
1550 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
1552         * posix/bug-regex31.c (main): Return RES not 0.
1554 2014-11-25  Anton Blanchard <anton@samba.org>
1556         * sysdeps/powerpc/bits/atomic.h
1557         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
1559 2014-11-24  Sterling Augustine  <saugustine@google.com>
1561         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
1563 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
1565         [BZ #17608]
1566         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
1568 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
1570         [BZ #17633]
1571         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
1572         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
1573         variable.
1574         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
1575         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
1577 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
1579         * string/strncpy.c (strncpy): Improve performance by using memset.
1581 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
1583         * string/strcpy.c (strcpy):
1584         Improve performance by using strlen and memcpy.
1586 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
1588         * string/strcoll_l.c (get_next_seq): __always_inline.
1589         * string/strcoll_l.c (do_compare): __always_inline.
1591 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1593         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
1594         defined.
1595         * include/mqueue.h: Likewise.
1596         * include/stdlib.h: Likewise.
1598         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
1599         (get_null_defines): Adjust.
1600         * sunrpc/Makefile: Adjust comment.
1601         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
1602         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
1603         (CFLAGS-interp.c): Likewise.
1604         (CFLAGS-ldconfig.c): Likewise.
1605         (CPPFLAGS-.os): Likewise.
1606         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1607         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
1608         * extra-modules.mk (extra-modules.mk): Likewise.
1609         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
1610         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
1611         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
1612         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
1613         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
1614         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
1615         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
1616         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
1617         * iconvdata/Makefile (CPPFLAGS): Likewise.
1618         (cpp-srcs-left): Add libof for all iconvdata routines.
1619         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
1620         * include/assert.h: Likewise.
1621         * include/ctype.h: Likewise.
1622         * include/errno.h: Likewise.
1623         * include/libc-symbols.h: Likewise.
1624         * include/math.h: Likewise.
1625         * include/netdb.h: Likewise.
1626         * include/resolv.h: Likewise.
1627         * include/stdio.h: Likewise.
1628         * include/stdlib.h: Likewise.
1629         * include/string.h: Likewise.
1630         * include/sys/stat.h: Likewise.
1631         * include/wctype.h: Likewise.
1632         * intl/l10nflist.c: Likewise.
1633         * libidn/idn-stub.c: Likewise.
1634         * libio/libioP.h: Likewise.
1635         * nptl/libc_multiple_threads.c: Likewise.
1636         * nptl/pthreadP.h: Likewise.
1637         * posix/regex_internal.h: Likewise.
1638         * resolv/res_hconf.c: Likewise.
1639         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
1640         * sysdeps/arm/memmove.S: Likewise.
1641         * sysdeps/arm/sysdep.h: Likewise.
1642         * sysdeps/generic/_itoa.h: Likewise.
1643         * sysdeps/generic/symbol-hacks.h: Likewise.
1644         * sysdeps/gnu/errlist.awk: Likewise.
1645         * sysdeps/gnu/errlist.c: Likewise.
1646         * sysdeps/i386/i586/memcpy.S: Likewise.
1647         * sysdeps/i386/i586/memset.S: Likewise.
1648         * sysdeps/i386/i686/memcpy.S: Likewise.
1649         * sysdeps/i386/i686/memmove.S: Likewise.
1650         * sysdeps/i386/i686/mempcpy.S: Likewise.
1651         * sysdeps/i386/i686/memset.S: Likewise.
1652         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
1653         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1654         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
1655         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
1656         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1657         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1658         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
1659         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1660         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
1661         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
1662         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1663         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1664         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1665         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1666         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1667         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1668         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
1669         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
1670         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
1671         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1672         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1673         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1674         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1675         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1676         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1677         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1678         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
1679         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1680         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
1681         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
1682         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1683         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1684         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1685         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1686         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1687         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
1688         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1689         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1690         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
1691         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
1692         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1693         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1694         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
1695         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
1696         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1697         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1698         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
1699         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
1700         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1701         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
1702         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1703         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
1704         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
1705         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1706         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
1707         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
1708         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1709         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
1710         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
1711         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1712         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
1713         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1714         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
1715         * sysdeps/nptl/bits/libc-lock.h: Likewise.
1716         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
1717         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
1718         * sysdeps/posix/closedir.c: Likewise.
1719         * sysdeps/posix/opendir.c: Likewise.
1720         * sysdeps/posix/readdir.c: Likewise.
1721         * sysdeps/posix/rewinddir.c: Likewise.
1722         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
1723         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
1724         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
1725         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1726         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1727         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
1728         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
1729         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
1730         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
1731         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
1732         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
1733         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
1734         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
1735         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
1736         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
1737         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
1738         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
1739         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
1740         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
1741         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
1742         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
1743         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
1744         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
1745         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
1746         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
1747         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
1748         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
1749         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
1750         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
1751         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
1752         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
1753         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
1754         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
1755         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
1756         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
1757         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
1758         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1759         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1760         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
1761         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
1762         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
1763         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
1764         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
1765         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
1766         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
1767         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
1768         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
1769         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
1770         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
1771         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
1772         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
1773         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
1774         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
1775         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
1776         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
1777         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
1778         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
1779         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
1780         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
1781         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
1782         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
1783         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
1784         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
1785         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
1786         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
1787         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
1788         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
1789         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
1790         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
1791         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
1792         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
1793         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
1794         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
1795         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
1796         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
1797         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
1798         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
1799         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
1800         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
1801         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
1802         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
1803         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1804         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
1805         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
1806         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
1807         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
1808         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
1809         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
1810         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
1811         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1812         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
1813         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
1814         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
1815         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
1816         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1817         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
1818         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
1819         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1820         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
1821         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
1822         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1823         * sysdeps/unix/alpha/sysdep.S: Likewise.
1824         * sysdeps/unix/alpha/sysdep.h: Likewise.
1825         * sysdeps/unix/make-syscalls.sh: Likewise.
1826         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1827         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1828         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1829         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
1830         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1831         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
1832         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
1833         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1834         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1835         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
1836         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1837         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1838         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1839         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
1840         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1841         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
1842         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1843         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
1844         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
1845         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1846         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
1847         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1848         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1849         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1850         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1851         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1852         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
1854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
1855         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
1856         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1857         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1858         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
1859         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1860         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1861         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1862         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
1863         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1864         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1865         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
1866         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1867         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1868         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1869         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1870         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1871         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1872         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1873         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1874         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1875         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1876         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1877         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1878         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1879         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1880         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1881         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1882         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1883         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1884         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
1885         * sysdeps/x86_64/memcpy.S: Likewise.
1886         * sysdeps/x86_64/memmove.c: Likewise.
1887         * sysdeps/x86_64/memset.S: Likewise.
1888         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
1889         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1890         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1891         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
1892         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
1893         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1894         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1895         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
1896         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1897         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1898         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1899         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1900         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
1901         * sysdeps/x86_64/multiarch/memset.S: Likewise.
1902         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1903         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
1904         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
1905         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
1906         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
1907         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
1908         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
1909         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1910         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1911         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
1912         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
1913         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
1914         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1915         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
1916         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
1917         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
1918         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
1919         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
1920         * sysdeps/x86_64/strcmp.S: Likewise.
1922         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
1924         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
1925         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
1926         * elf/rtld-Rules: Likewise.
1927         * elf/setup-vdso.h: Likewise.
1928         * include/assert.h: Likewise.
1929         * include/bits/stdlib-float.h: Likewise.
1930         * include/errno.h: Likewise.
1931         * include/sys/stat.h: Likewise.
1932         * include/unistd.h: Likewise.
1933         * sysdeps/aarch64/setjmp.S: Likewise.
1934         * sysdeps/alpha/setjmp.S: Likewise.
1935         * sysdeps/arm/__longjmp.S: Likewise.
1936         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
1937         * sysdeps/arm/setjmp.S: Likewise.
1938         * sysdeps/arm/sysdep.h: Likewise.
1939         * sysdeps/generic/_itoa.h: Likewise.
1940         * sysdeps/generic/dl-sysdep.h: Likewise.
1941         * sysdeps/generic/ldsodefs.h: Likewise.
1942         * sysdeps/i386/dl-tls.h: Likewise.
1943         * sysdeps/i386/setjmp.S: Likewise.
1944         * sysdeps/m68k/setjmp.c: Likewise.
1945         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
1946         * sysdeps/mach/hurd/opendir.c: Likewise.
1947         * sysdeps/posix/getcwd.c: Likewise.
1948         * sysdeps/posix/opendir.c: Likewise.
1949         * sysdeps/posix/profil.c: Likewise.
1950         * sysdeps/powerpc/dl-procinfo.h: Likewise.
1951         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1952         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
1953         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
1954         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1955         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
1956         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
1957         * sysdeps/s390/dl-tls.h: Likewise.
1958         * sysdeps/s390/s390-32/setjmp.S: Likewise.
1959         * sysdeps/s390/s390-64/setjmp.S: Likewise.
1960         * sysdeps/sh/sh3/setjmp.S: Likewise.
1961         * sysdeps/sh/sh4/setjmp.S: Likewise.
1962         * sysdeps/unix/alpha/sysdep.h: Likewise.
1963         * sysdeps/unix/arm/sysdep.S: Likewise.
1964         * sysdeps/unix/i386/sysdep.S: Likewise.
1965         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1966         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1967         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1968         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1969         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1970         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
1971         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
1972         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1973         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
1974         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
1975         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
1976         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1977         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
1979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1980         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1981         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1982         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1983         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1984         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1985         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1986         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1987         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1988         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1989         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1990         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1991         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1992         * sysdeps/unix/x86_64/sysdep.S: Likewise.
1993         * sysdeps/x86_64/setjmp.S: Likewise.
1995         * include/math.h: Use IS_IN instead of IS_IN_libm.
1996         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
1997         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1998         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
1999         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
2000         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2001         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2002         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2003         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2004         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2005         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2006         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
2007         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
2008         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
2009         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
2010         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
2011         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
2012         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
2013         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
2014         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
2015         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
2016         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
2017         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
2018         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
2019         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
2020         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
2021         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
2022         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
2023         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
2024         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
2025         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
2026         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
2027         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
2028         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2029         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
2030         Likewise.
2031         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
2032         Likewise.
2033         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
2034         Likewise.
2035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
2036         Likewise.
2037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
2038         Likewise.
2039         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
2040         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
2041         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
2042         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2043         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2044         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2045         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
2046         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
2047         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
2048         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
2049         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
2050         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
2051         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
2052         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2053         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2054         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2055         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2056         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2057         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2058         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2059         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
2060         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
2061         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
2062         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
2063         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
2064         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2065         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
2067         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
2068         * nptl/pthreadP.h: Likewise.
2069         * nptl_db/structs.def: Likewise.
2070         * sysdeps/arm/sysdep.h: Likewise.
2071         * sysdeps/nptl/bits/libc-lock.h: Likewise.
2072         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
2073         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
2074         * sysdeps/unix/alpha/sysdep.h: Likewise.
2075         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2076         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2077         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2078         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2079         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2080         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2081         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2082         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2083         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2084         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2085         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2086         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2087         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2088         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
2090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
2091         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2092         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2093         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2094         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2095         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2096         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2097         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2098         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2099         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
2100         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2102         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
2103         * nptl/pthreadP.h: Likewise.
2104         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2105         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2106         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2107         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2108         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2109         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2110         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2111         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2112         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2113         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2114         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2115         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
2117         Likewise.
2118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
2119         Likewise.
2120         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2121         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2122         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2123         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2124         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2125         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2126         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2127         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2129         * dlfcn/dladdr.c: Use IS_IN.
2130         * dlfcn/dladdr1.c: Likewise.
2131         * dlfcn/dlclose.c: Likewise.
2132         * dlfcn/dlerror.c: Likewise.
2133         * dlfcn/dlinfo.c: Likewise.
2134         * dlfcn/dlmopen.c: Likewise.
2135         * dlfcn/dlopen.c: Likewise.
2136         * dlfcn/dlsym.c: Likewise.
2137         * dlfcn/dlvsym.c: Likewise.
2139         * include/ifaddrs.h: Use IS_IN.
2140         * inet/check_pf.c: Likewise.
2141         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2142         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
2144         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
2145         IS_IN_ldconfig.
2146         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
2147         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
2149         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
2150         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
2151         IS_IN (libc).
2153         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
2155         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
2156         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2157         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
2158         * include/libc-symbols.h (IS_IN_LIB): New macro.
2159         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
2160         * include/netdb.h: Likewise.
2161         * include/stap-probe.h: Remove all uses of IN_LIB.
2163         * Makeconfig (module-cppflags-real): Define MODULE_NAME
2164         instead of IN_MODULE.
2165         * include/libc-symbols.h (IN_MODULE): Define using
2166         MODULE_NAME.
2167         (PASTE_NAME, PASTE_NAME1): New macros.
2168         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
2169         of IN_LIB.
2170         (STAP_PROBE_ASM): Likewise.
2172 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2174         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
2175         __mach_init in dlopened libc.
2177 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
2179         * sysdeps/arm/preconfigure.ac: Delete EABI check.
2180         * sysdeps/arm/preconfigure: Regenerate.
2182 2014-11-21  Roland McGrath  <roland@hack.frob.com>
2184         * nptl/pthread_create.c (__pthread_create_2_1): Set
2185         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
2186         when copying values from IATTR into PD.
2188 2014-11-21  Will Newton  <will.newton@linaro.org>
2189             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
2191         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
2192         Refactor inline-asm.  Also add comment.
2194         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
2195         ElfW macro instead of hardcoded Elf64 types.
2196         (la_aarch64_gnu_pltenter): Likewise.
2197         * sysdeps/aarch64/dl-machine.h
2198         (elf_machine_runtime_setup): Use ElfW(Addr).
2200         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
2201         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
2202         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
2203         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
2204         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
2205         (R_AARCH64_TLS_DTPMOD64): Rename to ..
2206         (R_AARCH64_TLS_DTPMOD): This.
2207         (R_AARCH64_TLS_DTPREL64): Rename to ...
2208         (R_AARCH64_TLS_DTPREL): This.
2209         (R_AARCH64_TLS_TPREL64): Rename to ...
2210         (R_AARCH64_TLS_TPREL): This.
2211         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
2212         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
2213         R_AARCH64_TLS_TPREL64.
2214         (elf_machine_rela): Likewise.
2216 2014-11-21  Torvald Riegel  <triegel@redhat.com>
2218         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
2219         by setting it to 0.  64b atomics are not supported currently.
2221 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2223         [BZ #16469]
2224         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
2225         search domain names.
2227 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2229         [BZ #16469]
2230         * NEWS: Update.
2231         * resolv/res_query.c (__libc_res_nquerydomain): Retain
2232         trailing dot.
2233         * posix/tst-getaddrinfo5.c: New.
2234         * posix/Makefile (tests): Add it.
2236 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2238         [BZ #14498]
2239         * NEWS: Fixed.
2240         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
2241         after parsing line but before break_if_match.
2242         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
2243         if there is a protocol mismatch.
2245 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
2247         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
2248         because the potential race is on the user-supplied stream.
2250 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2252         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
2253         string literal if not passed a buffer.
2254         * manual/job.texi (ctermid): Update reasoning, note deviation
2255         from posix, suggest mtasurace when not passed a buffer, for
2256         future non-preliminary safety notes.
2258 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2260         * manual/users.texi (cuserid): Fix MT-Safety note for the case
2261         of not passing it a buffer.
2262         Reported by Peng Haitao.
2264 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2266         * manual/Makefile ($(objpfx)stamp-summary): Require
2267         check-safety.sh to pass.
2268         * manual/check-safety.sh: Wish for verification that every
2269         @deftypefn and @deftypefun is followed by a @safety remark.
2271 2014-11-20  Roland McGrath  <roland@hack.frob.com>
2273         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
2275         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
2276         PTHREAD_CANCEL_ASYNCHRONOUS.
2277         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
2278         send SIGCANCEL.
2280         * nptl/default-sched.h: New file.
2281         * sysdeps/unix/sysv/linux/default-sched.h: New file.
2282         * nptl/pthread_create.c: Include it.
2283         (__pthread_create_2_1): Use collect_default_sched instead of making
2284         Linux syscalls here directly.
2286 2014-11-20  Torvald Riegel  <triegel@redhat.com>
2288         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
2289         __pthread_once): Use C11 atomics.
2291 2014-11-20  Torvald Riegel  <triegel@redhat.com>
2293         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
2295 2014-11-20  Torvald Riegel  <triegel@redhat.com>
2297         * include/atomic.h (__atomic_link_error, __atomic_check_size,
2298         atomic_thread_fence_acquire, atomic_thread_fence_release,
2299         atomic_thread_fence_seq_cst, atomic_load_relaxed,
2300         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
2301         atomic_compare_exchange_weak_relaxed,
2302         atomic_compare_exchange_weak_acquire,
2303         atomic_compare_exchange_weak_release,
2304         atomic_exchange_acquire, atomic_exchange_release,
2305         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
2306         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
2307         atomic_fetch_and_acquire,
2308         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
2310 2014-11-20  Torvald Riegel  <triegel@redhat.com>
2312         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
2313         USE_ATOMIC_COMPILER_BUILTINS): Define.
2314         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
2315         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2316         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
2317         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2318         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
2319         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2320         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
2321         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2322         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
2323         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2324         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
2325         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2326         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
2327         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2328         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
2329         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2330         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
2331         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2332         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
2333         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2334         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
2335         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2336         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
2337         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2338         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
2339         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2340         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
2341         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2342         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
2343         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2344         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
2345         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2346         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
2347         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2348         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
2349         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2350         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
2351         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2352         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
2353         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2355 2014-11-19  Roland McGrath  <roland@hack.frob.com>
2357         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
2358         the sched_priority value here.  It was already checked when the user
2359         called pthread_attr_setschedparam.
2361         * nptl/tst-bad-schedattr.c: New file.
2362         * nptl/Makefile (tests): Add it.
2364 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
2365             Florian Weimer  <fweimer@redhat.com>
2366             Joseph Myers  <joseph@codesourcery.com>
2367             Adam Conrad  <adconrad@0c3.net>
2368             Andreas Schwab  <schwab@suse.de>
2369             Brooks  <bmoses@google.com>
2371         [BZ #17625]
2372         * wordexp-test.c (__dso_handle): Add prototype.
2373         (__register_atfork): Likewise.
2374         (__app_register_atfork): New function.
2375         (registered_forks): New global.
2376         (register_fork): New function.
2377         (test_case): Add 3 new tests for WRDE_CMDSUB.
2378         (main): Call __app_register_atfork.
2379         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
2380         fork count is non-zero fail the test.
2381         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
2382         is set.
2383         (parse_dollars): Remove check for WRDE_NOCMD.
2384         (parse_dquote): Likewise.
2386 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2388         * Makeconfig (built-modules): List non-library modules to be
2389         built.
2390         (module-cppflags): Include libc-modules.h for
2391         everything except shlib-versions.v.i.
2392         (CPPFLAGS): Use it.
2393         (before-compile): Add libc-modules.h.
2394         ($(common-objpfx)libc-modules.h,
2395         $(common-objpfx)libc-modules.stmp): New targets.
2396         (common-generated): Add libc-modules.h and libc-modules.stmp.
2397         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
2398         * include/libc-symbols.h: Don't include libc-modules.h.
2399         * include/libc-modules.h: Remove file.
2400         * scripts/gen-libc-modules.awk: New script to generate
2401         libc-modules.h.
2402         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
2403         Depend on libc-modules.stmp.
2405         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
2407         * Makeconfig (in-module): Get value of libof set for the
2408         translation unit.
2409         (CPPFLAGS): Use $(in-module).
2410         * Makerules: Don't suffix routine names for nonlib.
2411         * include/libc-modules.h: New file.
2412         * include/libc-symbols.h: Include libc-modules.h
2413         (IS_IN): New macro to replace IS_IN_* macros.
2414         * elf/Makefile: Set libof-* for each routine.
2415         * elf/rtld-Rules: Likewise.
2416         * extra-modules.mk: Likewise.
2417         * iconv/Makefile: Likewise.
2418         * iconvdata/Makefile: Likewise.
2419         * locale/Makefile: Likewise.
2420         * malloc/Makefile: Likewise.
2421         * nss/Makefile: Likewise.
2422         * sysdeps/gnu/Makefile: Likewise.
2423         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
2424         * sysdeps/unix/sysv/linux/Makefile: Likewise.
2425         * sysdeps/s390/s390-64/Makefile: Likewise.
2426         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
2427         CPPFLAGS for nscd instead of nonlib.
2429 2014-11-18  Roland McGrath  <roland@hack.frob.com>
2431         * nptl/createthread.c: New file.
2433         * nptl/createthread.c: Moved ...
2434         * sysdeps/unix/sysv/linux/createthread.c: ... here.
2436         * nptl/createthread.c: Add proper top-line comment.
2437         (do_clone): Folded into ...
2438         (create_thread): ... here.  Take new arguments STOPPED_START and
2439         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
2440         increment __nptl_threads, do event-reporting logic, do
2441         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
2442         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
2443         resource cleanup if sched_setaffinity or sched_setscheduler fails,
2444         just send SIGCANCEL.
2445         * nptl/pthread_create.c: Forward-declare create_thread before
2446         including createthread.c.
2447         (start_thread): Use new macro START_THREAD_DEFN to replace defining
2448         declaration, and new macro START_THREAD_SELF to replace argument.
2449         Remove return statement.
2450         (report_thread_creation): New function.
2451         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
2452         synchronization logic, and __nptl_nthreads increment here, around
2453         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
2454         PD->parent_cancelhandling here, before create_thread.  When
2455         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
2456         __deallocate_stack, and ENOMEM translation here.
2458 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
2460         [BZ #17616]
2461         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
2462         (mptwo): Rename to __mptwo.
2463         (__inv): Use __mptwo instead of mptwo.
2464         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
2465         (mptwo): Rename to __mptwo.
2466         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
2467         of mpone and __mptwo instead of mptwo.
2468         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
2469         instead of mpone.
2470         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2471         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
2472         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
2473         of mpone and __mptwo instead of mptwo.
2474         (__mpranred): Use __mpone instead of mpone.
2475         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
2476         variable.
2477         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
2478         (test-xfail-ISO99/math.h/linknamespace): Likewise.
2479         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
2480         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
2481         (test-xfail-ISO11/math.h/linknamespace): Likewise.
2482         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
2483         (test-xfail-XPG3/math.h/linknamespace): Likewise.
2484         (test-xfail-XPG4/math.h/linknamespace): Likewise.
2485         (test-xfail-POSIX/math.h/linknamespace): Likewise.
2486         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
2487         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
2488         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
2489         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
2490         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
2491         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
2492         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
2493         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
2494         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
2495         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
2497 2014-11-18  Tom de Vries  <tom@codesoucery.com>
2499         * manual/signal.texi (Primitives Interrupted by Signals): In section,
2500         replace BSD Handler xref with BSD Signal Handling.
2502 2014-11-17  Richard Henderson  <rth@redhat.com>
2504         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
2505         (_FP_PACK_RAW_2): Remove.
2506         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
2507         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
2508         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
2509         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
2510         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
2511         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
2512         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
2513         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
2514         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
2515         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
2516         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
2517         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
2518         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
2519         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
2520         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
2521         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
2523 2014-11-14  Roland McGrath  <roland@hack.frob.com>
2525         * signal/signal.h [__USE_MISC]
2526         (struct sigvec): Remove type.
2527         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
2528         (sigvec): Remove declaration.
2529         * sysdeps/posix/sigvec.c: Moved ...
2530         * signal/sigvec.c: ... here, replacing old file.
2531         (struct sigvec): New type, copied from old signal.h definition.
2532         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
2533         (__sigvec): Convert definition to prototype.
2534         (sigvec): Replace weak_alias with compat_symbol.
2535         * signal/Versions (libc: GLIBC_2.21): New version set.
2536         * include/signal.h: Remove __sigvec declaration.
2537         * sysdeps/unix/bsd/sigvec.c: Remove file.
2538         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
2539         * manual/signal.texi (BSD Handler): Remove subsection.
2540         Move siginterrupt up to ...
2541         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
2542         (Blocking in BSD): Fold subsection into its parent.
2543         * NEWS: Mention sigvec removal.
2545 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
2547         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
2548         (DLA_FMS): Make definition conditional only on [__FMA4__].
2549         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
2550         definition.
2552         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
2553         Make definition conditional only on [PROF].
2554         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
2555         definition.
2556         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
2557         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
2559         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
2560         !__GNUC__].
2561         * include/signal.h (__sigpause): Move declaration above call to
2562         libc_hidden_proto.
2563         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
2564         variable.
2565         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
2566         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
2568 2014-11-14  David S. Miller  <davem@davemloft.net>
2570         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
2571         Define before including <string/memcpy.c> and <string/mempcpy.c>.
2573 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
2575         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
2576         * configure: Regenerated.
2577         * manual/install.texi (Tools for Compilation): Document a
2578         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
2579         compiler verified to work.
2580         * INSTALL: Regenerated.
2582         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
2583         redeclare with asm name.
2584         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
2585         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
2586         including <string.h>.
2587         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2588         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
2589         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2590         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
2591         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2592         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2593         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2595 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
2597         * stdlib/strtol.c (__strtol): Use prototype definition.
2599         [BZ #17594]
2600         * stdlib/strtol.c (SYM__): New macro.
2601         (SYM__1): Likewise.
2602         (__strtol): Likewise.
2603         (strtol): Rename to __strtol and define as weak alias of
2604         __strtol.  Use libc_hidden_weak.
2606 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2608         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
2609         Use numbered labels in inline assembly.
2611 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2613         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
2614         Add setjmp LIBC_PROBE.
2615         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
2616         Likewise.
2617         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
2618         Add longjmp, longjmp_target LIBC_PROBE.
2619         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
2620         Likewise.
2622 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2624         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
2625         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
2626         to get rid of unused variable warning.
2628 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2630         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
2631         Check for unwind_backtrace ==  NULL only in SHARED case.
2632         (__backchain_backtrace): Compile only in SHARED case.
2633         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
2634         Likewise.
2635         (__backchain_backtrace): Declare as static.
2637 2014-11-12  Roland McGrath  <roland@hack.frob.com>
2639         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
2640         (__libc_multiple_threads_ptr): Variable moved ...
2641         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
2643 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
2645         * conform/GlibcConform.pm: New file.
2646         * conform/conformtest.pl: Use GlibcConform module.
2647         * conform/linknamespace.pl: New file.
2648         * conform/list-header-symbols.pl: Likewise.
2649         * conform/Makefile (linknamespace-symlists-base): New variable.
2650         (linknamespace-symlists-tests): Likewise.
2651         (linknamespace-header-base): Likewise.
2652         (linknamespace-header-tests): Likewise.
2653         (tests-special): Add new tests.
2654         ($(linknamespace-symlists-tests)): New rule.
2655         (linknamespace-libs): New variable.
2656         ($(objpfx)symlist-stdlibs): New rule.
2657         ($(linknamespace-header-tests)): Likewise.
2658         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
2659         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
2660         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
2661         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
2662         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
2663         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
2664         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
2665         (test-xfail-ISO/math.h/linknamespace): Likewise.
2666         (test-xfail-ISO/signal.h/linknamespace): Likewise.
2667         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
2668         (test-xfail-ISO/time.h/linknamespace): Likewise.
2669         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
2670         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
2671         (test-xfail-ISO99/math.h/linknamespace): Likewise.
2672         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
2673         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
2674         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
2675         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
2676         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
2677         (test-xfail-ISO11/math.h/linknamespace): Likewise.
2678         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
2679         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
2680         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
2681         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
2682         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
2683         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
2684         (test-xfail-XPG3/math.h/linknamespace): Likewise.
2685         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
2686         (test-xfail-XPG3/search.h/linknamespace): Likewise.
2687         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
2688         (test-xfail-XPG3/time.h/linknamespace): Likewise.
2689         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
2690         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
2691         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
2692         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
2693         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
2694         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
2695         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
2696         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
2697         (test-xfail-XPG4/math.h/linknamespace): Likewise.
2698         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
2699         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
2700         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
2701         (test-xfail-XPG4/search.h/linknamespace): Likewise.
2702         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
2703         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
2704         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
2705         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
2706         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
2707         (test-xfail-XPG4/time.h/linknamespace): Likewise.
2708         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
2709         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
2710         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
2711         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
2712         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
2713         (test-xfail-POSIX/math.h/linknamespace): Likewise.
2714         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
2715         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
2716         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
2717         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
2718         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
2719         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
2720         (test-xfail-POSIX/time.h/linknamespace): Likewise.
2721         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
2722         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
2723         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
2724         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
2725         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
2726         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
2727         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
2728         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
2729         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
2730         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
2731         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
2732         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
2733         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
2734         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
2735         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
2736         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
2737         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
2738         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
2739         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
2740         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
2741         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
2742         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
2743         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
2744         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
2745         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
2746         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
2747         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
2748         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
2749         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
2750         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
2751         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
2752         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
2753         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
2754         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
2755         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
2756         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
2757         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
2758         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
2759         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
2760         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
2761         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
2762         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
2763         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
2764         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
2765         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
2766         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
2767         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
2768         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
2769         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
2770         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
2771         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
2772         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
2773         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
2774         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
2775         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
2776         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
2777         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
2778         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
2779         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
2780         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
2781         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
2782         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
2783         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
2784         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
2785         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
2786         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
2787         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
2788         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
2789         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
2790         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
2791         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
2792         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
2793         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
2794         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
2795         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
2796         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
2797         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
2798         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
2799         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
2800         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
2801         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
2802         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
2803         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
2804         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
2805         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
2806         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
2807         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
2808         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
2809         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
2810         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
2811         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
2812         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
2813         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
2814         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
2815         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
2816         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
2817         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
2818         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
2820         [BZ #17589]
2821         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
2822         of fgets_unlocked.
2824         [BZ #17585]
2825         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
2826         (memmem): Rename to __memmem and define as weak alias of
2827         __memmem.  Use libc_hidden_weak.
2828         (__memmem): Use libc_hidden_def.
2829         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
2830         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
2831         memmem.
2833         [BZ #17582]
2834         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
2835         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
2836         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
2837         and define as weak alias of __fgets_unlocked.  Use
2838         libc_hidden_weak.
2839         (__fgets_unlocked): Use libc_hidden_def.
2840         * include/stdio.h (__fgets_unlocked): Declare.  Use
2841         libc_hidden_proto.
2842         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
2843         __fgets_unlocked instead of fgets_unlocked.
2844         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
2845         (GET_NPROCS_CONF_PARSER): Likewise.
2846         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
2847         (GET_NPROCS_CONF_PARSER): Likewise.
2849         [BZ #17574]
2850         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
2851         weak alias of __wmemset.  Use libc_hidden_weak.
2852         (__wmemset): Use libc_hidden_def.
2853         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
2854         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
2855         of wmemset.
2857         [BZ #17573]
2858         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
2859         with asm name __mempcpy.
2860         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
2862         [BZ #17572]
2863         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
2864         and define as weak alias of __rawmemchr.
2865         (__rawmemchr): Do not define as strong alias of rawmemchr.
2867         [BZ #17571]
2868         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
2869         alias of __qsort_r.
2870         (qsort): Call __qsort_r instead of qsort_r.
2871         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
2872         (__qsort_r): Declare.  Call libc_hidden_proto.
2873         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
2874         instead of qsort_r.
2875         * nscd/gai.c (__qsort_r): Define to qsort_r.
2876         * posix/tst-rfc3484.c (__qsort_r): Likewise.
2877         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
2878         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
2880         [BZ #17570]
2881         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
2882         define as weak alias of __malloc_info.
2884         [BZ #17584]
2885         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
2886         as weak alias of __rewinddir.  Don't use libc_hidden_def.
2887         (__rewinddir): Use libc_hidden_def.
2888         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
2889         as weak alias of __rewinddir.  Don't use libc_hidden_def.
2890         (__rewinddir): Use libc_hidden_def.
2891         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
2892         weak alias of __rewinddir.  Don't use libc_hidden_def.
2893         (__rewinddir): Use libc_hidden_def.
2894         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
2895         (__rewinddir): Use libc_hidden_proto.
2896         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
2897         rewinddir.
2898         (__getcwd): Use __rewinddir instead of rewinddir.
2900         [BZ #17583]
2901         * libio/fileno.c (fileno): Rename to __fileno and define as weak
2902         alias of __fileno.  Use libc_hidden_weak.
2903         (__fileno): Use libc_hidden_def.
2904         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
2905         * libio/ftello.c (ftello): Rename to __ftello and define as weak
2906         alias of __ftello.
2907         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
2908         __ftello.
2909         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
2910         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
2911         libc_hidden_def.
2912         (fread_unlocked): Don't use libc_hidden_ver.
2913         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
2914         and define as weak alias of __fread_unlocked.  Don't use
2915         libc_hidden_def.
2916         (__fread_unlocked): Use libc_hidden_def.
2917         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
2918         (ftello): Don't use libc_hidden_proto.
2919         (__ftello): Declare.  Use libc_hidden_proto.
2920         (fread_unlocked): Don't use libc_hidden_proto.
2921         (__fread_unlocked): Declare.  Use libc_hidden_proto.
2922         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
2923         and __ftello instead of fileno, fread_unlocked and ftello.
2925 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
2927         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
2928         GOT12.
2929         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
2930         Likewise.
2931         (_dl_start_user): Likewise.
2932         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
2934 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
2935             Siddhesh Poyarekar  <siddhesh@redhat.com>
2937         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
2938         Move argv and envp down instead of moving argc up.
2939         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
2941 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
2943         [BZ #17506]
2944         * test-skeleton.c (main): Return successful if one of
2945         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
2946         * string/tst-strcoll-overflow.c: Define expected status.
2948 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
2950         [BZ #17475]
2951         * locale/iso-639.def: Define Bhili and Tulu language codes.
2953 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
2955         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
2957 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
2959         [BZ #17555]
2960         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
2962 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
2964         * configure.ac: Updated check of minimal required version to
2965         2.22.
2966         * manual/install.texi (Tools for Compilation): Updated version
2967         number.
2968         * configure: Regenerated.
2969         * INSTALL: Likewise.
2971 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
2973         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
2974         __tls_get_addr.
2976 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
2978         * include/sys/wait.h (__libc_waitpid): Remove declaration.
2979         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
2980         (__waitpid): Don't define as alias.  Use libc_hidden_def not
2981         libc_hidden_weak.
2982         (waitpid): Define as alias of __waitpid.
2983         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
2984         __waitpid.
2985         (__waitpid): Don't define as alias.  Use libc_hidden_def not
2986         libc_hidden_weak.
2987         (waitpid): Define as alias of __waitpid.
2988         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
2989         __libc_waitpid alias.
2990         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
2991         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
2992         Likewise.
2993         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
2994         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
2995         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
2996         alias.
2997         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
2998         __waitpid.
2999         (__waitpid): Don't define as alias.  Use libc_hidden_def not
3000         libc_hidden_weak.
3001         (waitpid): Define as alias of __waitpid.
3003 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
3005         * manual/llio.texi: Add comment that write safety has been
3006         fixed in Linux.
3008         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
3009         (localplt-build-dso): Add elf/ld.so.
3010         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
3011         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
3012         and free for ld.so.
3013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
3014         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
3015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
3016         Likewise.
3017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3018         Likewise.
3019         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
3020         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
3021         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
3022         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
3023         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
3024         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
3025         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
3026         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
3027         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
3028         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
3029         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
3031 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
3033         [BZ #14132]
3034         * include/libc-symbols.h (INTUSE): Remove macro.
3035         (INTDEF): Likewise.
3036         (INTVARDEF): Likewise.
3037         (_INTVARDEF): Likewise.
3038         (INTDEF2): Likewise.
3039         (INTVARDEF2): Likewise.
3040         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
3041         rtld_hidden_def instead of INTVARDEF.
3042         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
3043         (_dl_starting_up_internal): Remove declaration.
3044         (_dl_starting_up): Use rtld_hidden_proto.
3045         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
3046         declaration.
3047         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
3048         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
3049         _dl_starting_up.
3050         * elf/dl-writev.h (_dl_writev): Likewise.
3051         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
3052         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
3053         _dl_starting_up_internal.
3055 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3057         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
3058         test-skeleton.c.
3060 2014-11-05  Will Newton  <will.newton@linaro.org>
3062         * benchtests/Makefile: (bench-malloc): Add malloc thread
3063         scalability benchmark.
3064         * benchtests/bench-malloc-threads.c: New file.
3066 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
3068         * sysdeps/aarch64/strchrnul.S: New file.
3070 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3072         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
3073         definition.
3074         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
3075         Likwise.
3076         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
3077         Likewise.
3078         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
3079         Likewise.
3080         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
3081         Likewise.
3082         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
3083         Likewise.
3085 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
3087         * catgets/test-gencat.c: Use test-skeleton.c.
3088         * catgets/tst-catgets.c: Likewise.
3089         * csu/tst-empty.c: Likewise.
3090         * elf/tst-audit2.c: Likewise.
3091         * elf/tst-global1.c: Likewise.
3092         * elf/tst-pathopt.c: Likewise.
3093         * elf/tst-piemod1.c: Likewise.
3094         * elf/tst-tls10.c: Likewise.
3095         * elf/tst-tls11.c: Likewise.
3096         * elf/tst-tls12.c: Likewise.
3097         * gnulib/tst-gcc.c: Likewise.
3098         * iconvdata/tst-e2big.c: Likewise.
3099         * iconvdata/tst-loading.c: Likewise.
3100         * iconv/tst-iconv1.c: Likewise.
3101         * iconv/tst-iconv2.c: Likewise.
3102         * inet/test-inet6_opt.c: Likewise.
3103         * inet/tst-gethnm.c: Likewise.
3104         * inet/tst-network.c: Likewise.
3105         * inet/tst-ntoa.c: Likewise.
3106         * intl/tst-codeset.c: Likewise.
3107         * intl/tst-gettext2.c: Likewise.
3108         * intl/tst-gettext3.c: Likewise.
3109         * intl/tst-ngettext.c: Likewise.
3110         * intl/tst-translit.c: Likewise.
3111         * io/test-stat.c: Likewise.
3112         * libio/test-fmemopen.c: Likewise.
3113         * libio/tst-freopen.c: Likewise.
3114         * libio/tst-sscanf.c: Likewise.
3115         * libio/tst-ungetwc1.c: Likewise.
3116         * libio/tst-ungetwc2.c: Likewise.
3117         * libio/tst-widetext.c: Likewise.
3118         * localedata/tst-ctype.c: Likewise.
3119         * localedata/tst-digits.c: Likewise.
3120         * localedata/tst-leaks.c: Likewise.
3121         * localedata/tst-mbswcs1.c: Likewise.
3122         * localedata/tst-mbswcs2.c: Likewise.
3123         * localedata/tst-mbswcs3.c: Likewise.
3124         * localedata/tst-mbswcs4.c: Likewise.
3125         * localedata/tst-mbswcs5.c: Likewise.
3126         * localedata/tst-setlocale.c: Likewise.
3127         * localedata/tst-trans.c: Likewise.
3128         * localedata/tst-wctype.c: Likewise.
3129         * localedata/tst-xlocale1.c: Likewise.
3130         * login/tst-grantpt.c: Likewise.
3131         * malloc/tst-calloc.c: Likewise.
3132         * malloc/tst-malloc.c: Likewise.
3133         * malloc/tst-mallocstate.c: Likewise.
3134         * malloc/tst-mcheck.c: Likewise.
3135         * malloc/tst-mtrace.c: Likewise.
3136         * malloc/tst-obstack.c: Likewise.
3137         * math/atest-exp2.c: Likewise.
3138         * math/atest-exp.c: Likewise.
3139         * math/atest-sincos.c: Likewise.
3140         * math/test-matherr.c: Likewise.
3141         * math/test-misc.c: Likewise.
3142         * math/test-powl.c: Likewise.
3143         * math/tst-definitions.c: Likewise.
3144         * misc/tst-dirname.c: Likewise.
3145         * misc/tst-efgcvt.c: Likewise.
3146         * misc/tst-fdset.c: Likewise.
3147         * misc/tst-hsearch.c: Likewise.
3148         * misc/tst-mntent2.c: Likewise.
3149         * nptl/tst-sem7.c: Likewise.
3150         * nptl/tst-sem8.c: Likewise.
3151         * nptl/tst-sem9.c: Likewise.
3152         * nss/test-netdb.c: Likewise.
3153         * posix/tst-fnmatch.c: Likewise.
3154         * posix/tst-getlogin.c: Likewise.
3155         * posix/tst-gnuglob.c: Likewise.
3156         * posix/tst-mmap.c: Likewise.
3157         * pwd/tst-getpw.c: Likewise.
3158         * resolv/tst-inet_ntop.c: Likewise.
3159         * rt/tst-timer.c: Likewise.
3160         * stdio-common/test-fseek.c: Likewise.
3161         * stdio-common/test-popen.c: Likewise.
3162         * stdio-common/test-vfprintf.c: Likewise.
3163         * stdio-common/tst-cookie.c: Likewise.
3164         * stdio-common/tst-fileno.c: Likewise.
3165         * stdio-common/tst-gets.c: Likewise.
3166         * stdio-common/tst-obprintf.c: Likewise.
3167         * stdio-common/tst-perror.c: Likewise.
3168         * stdio-common/tst-sprintf2.c: Likewise.
3169         * stdio-common/tst-sprintf3.c: Likewise.
3170         * stdio-common/tst-sprintf.c: Likewise.
3171         * stdio-common/tst-swprintf.c: Likewise.
3172         * stdio-common/tst-tmpnam.c: Likewise.
3173         * stdio-common/tst-unbputc.c: Likewise.
3174         * stdio-common/tst-wc-printf.c: Likewise.
3175         * stdlib/tst-environ.c: Likewise.
3176         * stdlib/tst-fmtmsg.c: Likewise.
3177         * stdlib/tst-limits.c: Likewise.
3178         * stdlib/tst-rand48-2.c: Likewise.
3179         * stdlib/tst-rand48.c: Likewise.
3180         * stdlib/tst-random2.c: Likewise.
3181         * stdlib/tst-random.c: Likewise.
3182         * stdlib/tst-strtol.c: Likewise.
3183         * stdlib/tst-strtoll.c: Likewise.
3184         * stdlib/tst-tls-atexit.c: Likewise.
3185         * stdlib/tst-xpg-basename.c: Likewise.
3186         * string/test-ffs.c: Likewise.
3187         * string/tst-bswap.c: Likewise.
3188         * string/tst-inlcall.c: Likewise.
3189         * string/tst-strtok.c: Likewise.
3190         * string/tst-strxfrm.c: Likewise.
3191         * sysdeps/x86_64/tst-audit10.c: Likewise.
3192         * sysdeps/x86_64/tst-audit3.c: Likewise.
3193         * sysdeps/x86_64/tst-audit4.c: Likewise.
3194         * sysdeps/x86_64/tst-audit5.c: Likewise.
3195         * time/tst-ftime_l.c: Likewise.
3196         * time/tst-getdate.c: Likewise.
3197         * time/tst-mktime3.c: Likewise.
3198         * time/tst-mktime.c: Likewise.
3199         * time/tst-posixtz.c: Likewise.
3200         * time/tst-strptime2.c: Likewise.
3201         * time/tst-strptime3.c: Likewise.
3202         * wcsmbs/tst-btowc.c: Likewise.
3203         * wcsmbs/tst-mbrtowc.c: Likewise.
3204         * wcsmbs/tst-mbsrtowcs.c: Likewise.
3205         * wcsmbs/tst-wchar-h.c: Likewise.
3206         * wcsmbs/tst-wcpncpy.c: Likewise.
3207         * wcsmbs/tst-wcrtomb.c: Likewise.
3208         * wcsmbs/tst-wcsnlen.c: Likewise.
3209         * wcsmbs/tst-wcstof.c: Likewise.
3211 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
3213         [BZ #14132]
3214         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
3215         INTDEF.
3216         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
3217         declaration.
3218         (_dl_mcount): Use rtld_hidden_proto.
3219         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
3220         _dl_mcount.
3221         * elf/rtld.c (_rtld_global_ro): Likewise.
3223         [BZ #14132]
3224         * elf/dl-init.c (_dl_init): Don't use INTDEF.
3225         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
3226         of _dl_init_internal.
3227         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
3228         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
3229         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
3230         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
3231         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
3232         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
3233         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
3234         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
3235         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
3236         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
3237         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
3238         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
3239         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3240         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3241         * sysdeps/tile/dl-start.S (_start): Likewise.
3242         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
3243         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
3245         [BZ #14132]
3246         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
3247         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
3248         (rtld_progname): Make macro definition unconditional.
3249         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
3250         INTDEF.
3251         (dlmopen_doit): Do not use INTUSE with _dl_argv.
3252         (dl_main): Likewise.
3253         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
3254         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
3255         instead of _dl_argv_internal.
3256         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3257         __GI__dl_argv instead of INTUSE(_dl_argv).
3258         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
3259         __GI__dl_argv instead of _dl_argv_internal.
3261         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
3262         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
3263         macro.
3264         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
3265         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
3266         New macro.
3267         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
3268         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
3269         macro.
3270         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
3271         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
3273 2014-11-04  Andreas Schwab  <schwab@suse.de>
3275         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
3277 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3279         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
3280         mtvsrd instruction in binary form.
3282 2014-11-03  Andreas Schwab  <schwab@suse.de>
3284         [BZ #17522]
3285         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
3286         for less than MB_LEN_MAX use a local buffer of that size.
3287         * libio/tst-fputws.c: New file.
3288         * libio/Makefile (tests): Add tst-fputws.
3290 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
3292         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
3293         the size of the fpu_fr.fpu_dregs[] array.
3295 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
3297         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
3298         (__nanosleep): Do not define as alias.
3299         (nanosleep): Define as alias of __nanosleep.
3300         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
3301         __libc_nanosleep name.
3303 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
3305         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
3306         install.texi in comment.
3308 2014-10-31  Torvald Riegel  <triegel@redhat.com>
3310         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
3311         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
3312         ... add here and use lwsync or sync ...
3313         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
3314         ... and add here using lwsync.
3316 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
3318         * elf/dl-machine-reject-phdr.h: New file.
3319         * elf/dl-load.c: #include that.
3320         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
3321         if that returned true.
3323 2014-10-31  Roland McGrath  <roland@hack.frob.com>
3325         [BZ #17496]
3326         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
3327         gen-as-const-headers chunk.  Add a big scare comment after the last
3328         safe place to touch before-compile.
3330 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
3332         * manual/install.texi (Tools for Compilation): Update autoconf
3333         version requirements.
3334         * INSTALL: Regenerated.
3336         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
3337         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
3338         (__libc_pselect): Likewise.
3340         [BZ #14138]
3341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
3342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3346 2014-10-31  Torvald Riegel  <triegel@redhat.com>
3348         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
3349         correct barrier instruction.
3350         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
3351         Likewise.
3352         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
3353         Likewise.
3355 2014-10-30  Roland McGrath  <roland@hack.frob.com>
3357         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
3358         after defining inlines.  Instead, just use parens to defeat macro
3359         expansion of __isctype in its declaration.
3361 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
3363         * include/sys/uio.h (__libc_readv): Remove declaration.
3364         (__libc_writev): Likewise.
3365         * misc/readv.c (__libc_readv): Rename to __readv.
3366         (__readv): Do not define as alias.
3367         (readv): Define as alias of __readv.
3368         * misc/writev.c (__libc_writev): Rename to __writev.
3369         (__writev): Do not define as alias.
3370         (writev): Define as alias of __writev.
3371         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
3372         (__readv): Do not define as alias.
3373         (readv): Define unconditionally as alias of __readv.
3374         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
3375         (__writev): Do not define as alias.
3376         (writev): Define unconditionally as alias of __writev.
3377         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
3378         name.
3379         (writev): Do not define __libc_writev name.
3381 2014-10-30  Roland McGrath  <roland@hack.frob.com>
3383         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
3384         (convert_charseq): New function, broken out of ...
3385         (use_from_charmap): ... here.  Call it.
3386         (use_to_charmap): Use convert_charseq and free instead of duplicating
3387         its code with a variable-length stack struct.
3389 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
3391         * include/fcntl.h (__libc_creat): Remove declaration.
3392         * io/creat.c (__libc_creat): Rename to creat.
3393         (creat): Do not define as alias.
3394         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
3395         of creat instead of __libc_creat.
3396         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
3397         to creat.
3398         (creat): Do not define as alias.
3399         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
3400         __libc_creat.
3401         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
3402         __libc_creat name.
3403         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
3404         Likewise.
3406 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
3408         * manual/llio.texi: Add comments discussing why write() may be
3409         considered MT-unsafe on Linux.
3411 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
3413         * dl-load.c (local_strdup): Remove.
3414         (expand_dynamic_string_token): Use __strdup.
3415         (decompose_rpath): Likewise.
3416         (_dl_map_object): Likewise.
3418 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
3420         [BZ #14132]
3421         * sysdeps/generic/unwind-dw2-fde.c
3422         (__register_frame_info_bases_internal): Do not declare.
3423         (__register_frame_info_table_bases_internal): Likewise.
3424         (__deregister_frame_info_bases_internal): Likewise.
3425         (__register_frame_info_bases): Declare and use hidden_proto before
3426         definition.  Use hidden_def instead of INTDEF.
3427         (__register_frame_info_table_bases): Likewise.
3428         (__deregister_frame_info_bases): Likewise.
3429         (__register_frame_info): Do not use INTUSE.
3430         (__register_frame): Likewise.
3431         (__register_frame_info_table): Likewise.
3432         (__register_frame_table): Likewise.
3433         (__deregister_frame_info): Likewise.
3434         (__deregister_frame): Likewise.
3436 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
3438         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3439         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
3440         not undefine.
3441         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
3442         Likewise.
3443         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
3444         Likewise.
3446 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
3448         [BZ #14138]
3449         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
3450         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
3451         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
3452         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
3453         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
3454         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
3455         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
3456         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
3457         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
3458         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
3459         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
3460         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
3461         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
3462         syscall.
3463         (setfsuid): Likewise.
3464         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
3465         (setfsuid): Likewise.
3466         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
3467         (setfsuid): Likewise.
3468         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
3469         Likewise.
3470         (setfsuid): Likewise.
3471         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
3472         (setfsuid): Likewise.
3473         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
3474         Likewise.
3475         (setfsuid): Likewise.
3477 2014-10-27  Andreas Schwab  <schwab@suse.de>
3479         [BZ #17501]
3480         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
3481         check for Slow_SSE4_2 feature bit.
3482         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
3483         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
3484         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
3485         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
3487 2014-10-24  Roland McGrath  <roland@hack.frob.com>
3489         * configure.ac: Validate compiler version with a empirical test of
3490         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
3491         $CC -v output.
3492         * configure: Regenerated.
3494         * inet/htons.c (htons): Prototypify.
3495         * inet/htonl.c (htonl): Likewise.
3497 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3499         * string/strncat.c (strncat): Improve performance by using strlen.
3501 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3503         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
3505 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3507         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
3508         Call libc_fetestexcept_aarch64.
3510 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3512         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
3513         Call libc_feholdexcept_aarch64.
3515 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3517         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
3518         Call get_rounding_mode.
3520 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3522         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3523         Simplify logic.
3525 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3527         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
3528         Simplify logic.
3530 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
3532         [BZ #14138]
3533         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
3534         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
3535         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
3536         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
3537         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
3538         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
3539         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
3540         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
3541         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
3542         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
3543         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3544         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
3545         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
3546         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
3547         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
3548         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
3549         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
3550         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
3551         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
3552         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
3553         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
3554         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
3555         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
3556         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
3557         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
3558         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
3559         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
3560         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
3561         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
3562         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
3563         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
3564         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
3565         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
3566         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
3567         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
3568         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
3569         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
3570         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
3571         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
3572         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
3573         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
3574         syscall.
3575         (geteuid): Likewise.
3576         (getgid): Likewise.
3577         (getuid): Likewise.
3578         (getresgid): Likewise.
3579         (getresuid): Likewise.
3580         (getgroups): Likewise.
3581         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
3582         (geteuid): Likewise.
3583         (getgid): Likewise.
3584         (getuid): Likewise.
3585         (getresgid): Likewise.
3586         (getresuid): Likewise.
3587         (getgroups): Likewise.
3588         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
3589         (geteuid): Likewise.
3590         (getgid): Likewise.
3591         (getuid): Likewise.
3592         (getresgid): Likewise.
3593         (getresuid): Likewise.
3594         (getgroups): Likewise.
3595         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
3596         Likewise.
3597         (geteuid): Likewise.
3598         (getgid): Likewise.
3599         (getuid): Likewise.
3600         (getresgid): Likewise.
3601         (getresuid): Likewise.
3602         (getgroups): Likewise.
3603         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
3604         (geteuid): Likewise.
3605         (getgid): Likewise.
3606         (getuid): Likewise.
3607         (getresgid): Likewise.
3608         (getresuid): Likewise.
3609         (getgroups): Likewise.
3610         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
3611         Likewise.
3612         (geteuid): Likewise.
3613         (getgid): Likewise.
3614         (getuid): Likewise.
3615         (getgroups): Likewise.
3617         [BZ #14138]
3618         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
3619         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
3620         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
3621         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
3622         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
3623         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
3624         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
3625         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
3626         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
3627         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
3628         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
3629         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
3630         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
3631         __chown.
3632         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
3633         (lchown): Likewise.
3634         (fchown): Likewise.
3635         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
3636         Likewise.
3637         (lchown): Likewise.
3638         (fchown): Likewise.
3639         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
3640         (lchown): Likewise.
3641         (fchown): Likewise.
3642         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
3643         Likewise.
3644         (lchown): Likewise.
3645         (fchown): Likewise.
3647 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
3649         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
3650         Simplify logic.
3652 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
3654         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
3655         Cleanup logic.
3657 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
3659         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
3660         Remove unused include.
3662 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
3664         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
3665         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
3666         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
3667         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
3669 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
3670             Helge Deller <deller@gmx.de>
3672         [BZ #17508]
3673         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
3674         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
3675         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
3677 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
3679         [BZ #14132]
3680         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
3681         Remove macro definition.
3682         (__ashrdi3_v_glibc20): Likewise.
3683         (__lshrdi3_v_glibc20): Likewise.
3684         (__cmpdi2_v_glibc20): Likewise.
3685         (__ucmpdi2_v_glibc20): Likewise.
3686         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
3687         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
3688         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
3689         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
3690         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
3691         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
3693 2014-10-22  Roland McGrath  <roland@hack.frob.com>
3695         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
3696         old GNU extension [0] syntax.
3697         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
3698         alloca rather than an array member with variable length.
3699         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
3700         * nscd/nscd.c (invalidate_db): New function, broken out of ...
3701         (parse_opt): ... here.  Likewise use alloca there.
3702         Validate the -i argument before checking for rootness.
3703         (send_shutdown): New function, broken out of ...
3704         (parse_opt): ... here.
3706 2014-10-22  Roland McGrath  <roland@hack.frob.com>
3708         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
3709         macro to get at the _rt_local_ro field.
3710         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
3711         ([PIC] case) or _dl_hwcap ([!PIC] case).
3712         * sysdeps/arm/setjmp.S: Likewise.
3714         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
3715         * sysdeps/arm/configure.ac: New check to define it.
3716         * sysdeps/arm/configure: Regenerated.
3717         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
3718         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
3719         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
3720         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
3721         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
3722         Use move/movt pair instead of a load.
3723         (LDST_GLOBAL): Macro removed.
3724         (LDR_GLOBAL): New macro replaces it.
3725         (LDR_HIDDEN): New macro.
3726         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
3727         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
3729         * setjmp/tst-setjmp-static.c: New file.
3730         * setjmp/Makefile (tests): Add it.
3731         (tests-static): New variable.
3733 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
3735         [BZ #17485]
3736         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
3738 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
3740         [BZ #14132]
3741         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
3743 2014-10-21  Roland McGrath  <roland@hack.frob.com>
3745         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
3747 2014-10-20  Roland McGrath  <roland@hack.frob.com>
3749         * io/fts.c (dirent_not_directory): New function.
3750         (fts_build): Call it.
3752 2014-10-20  Roland McGrath  <roland@hack.frob.com>
3754         * nptl/version.c (__nptl_main): Use normal __write rather than
3755         INTERNAL_SYSCALL.
3756         (banner): Update copyright years.
3758         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
3759         gettimeofday.
3760         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3761         * nptl/pthread_cond_timedwait.c: Likewise.
3762         * nptl/pthread_mutex_timedlock.c: Likewise.
3763         * nptl/sem_timedwait.c: Likewise.
3765         * sysdeps/nptl/bits/libc-lock.h
3766         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
3767         (__libc_lock_init_recursive): Return void, not 0.
3768         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
3769         (__libc_rwlock_init): Likewise.
3770         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
3772 2014-10-20  Torvald Riegel  <triegel@redhat.com>
3774         [BZ #15215]
3775         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
3776         (__pthread_once_slow): ... here.
3777         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
3778         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
3780 2014-10-20  Torvald Riegel  <triegel@redhat.com>
3782         [BZ #15215]
3783         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
3784         __PTHREAD_ONCE_FORK_GEN_INCR): New.
3785         * sysdeps/nptl/fork.c (__libc_fork): Use them.
3786         * nptl/pthread_once.c (__pthread_once): Likewise.
3787         Update comments.
3789 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
3791         [BZ #14138]
3792         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
3793         name.
3794         (writev): Use __libc_writev as strong name.
3795         * sysdeps/unix/sysv/linux/readv.c: Remove file.
3796         * sysdeps/unix/sysv/linux/writev.c: Likewise.
3798 2014-10-17  Roland McGrath  <roland@hack.frob.com>
3800         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
3802         * sysdeps/i386/nptl/tls.h
3803         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
3804         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
3805         New macros.
3806         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
3807         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
3808         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
3809         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
3810         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
3811         Call CHECK_THREAD_SYSINFO instead of doing an assert.
3813         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
3814         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
3815         on [__NR_futex].
3816         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
3817         broken out of ...
3818         (__pthread_mutex_init): ... here.  Call it.
3819         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
3820         Conditionalize PI cases on [__NR_futex].
3821         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
3822         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
3823         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3825         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
3826         conditional on [SIGSETXID].
3827         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
3828         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
3829         is defined.  Likewise for SIGSETXID.
3830         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
3831         Conditionalize definitions on [SIGSETXID].
3832         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
3833         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
3834         unblocking on [SIGCANCEL].
3836         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
3837         [__NR_set_robust_list].
3839 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
3841         * string/strcoll_l.c (get_next_seq): Fix up formatting.
3842         (do_compare): Likewise.
3844 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
3846         [BZ #15884]
3847         * string/strcoll_l.c: Don't include stdio.h.
3848         (coll_seq): Remove members idxarr and rulearr.
3849         (get_next_seq_cached): Remove function.
3850         (get_next_seq): Likewise.
3851         (get_next_seq_nocache): Rename to get_next_seq.
3852         (do_compare): Remove function.
3853         (do_compare_nocache): Rename to do_compare.
3854         (STRCOLL): Remove weight and rules cache.
3856 2014-10-16  Roland McGrath  <roland@hack.frob.com>
3858         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
3859         * sysdeps/arm/sfp-machine.h: ... to here.
3860         * sysdeps/arm/Implies: Remove arm/soft-fp.
3862 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
3864         * conform/data/sys/utsname.h-data (*_t): Allow.
3865         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
3866         [POSIX] (WEXITED): Do not expect constant.
3867         [POSIX] (WSTOPPED): Likewise.
3868         [POSIX] (WNOHANG): Likewise.
3869         [POSIX] (WNOWAIT): Likewise.
3870         [POSIX] (siginfo_t): Do not expect type or elements.
3871         [POSIX] (pid_t): Do not expect type.
3872         [POSIX] (signal.h): Do not allow header.
3873         [POSIX] (sys/resource.h): Likewise.
3874         [POSIX] (si_*): Do not allow pattern.
3875         [POSIX] (W*): Likewise.
3876         [POSIX] (P_*): Likewise.
3877         [POSIX] (BUS_*): Likewise.
3878         [POSIX] (CLD_*): Likewise.
3879         [POSIX] (FPE_*): Likewise.
3880         [POSIX] (ILL_*): Likewise.
3881         [POSIX] (POLL_*): Likewise.
3882         [POSIX] (SEGV_*): Likewise.
3883         [POSIX] (SI_*): Likewise.
3884         [POSIX] (TRAP_*): Likewise.
3885         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
3886         variable.
3888 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
3890         [BZ #12926]
3891         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
3892         infinite loop when __recvmsg returns 0.
3894 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
3896         * CANCEL-FCT-WAIVE: Remove file.
3897         * CANCEL-FILE-WAIVE: Likewise.
3899         [BZ #14132]
3900         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
3901         instead of INTVARDEF.
3902         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
3903         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
3904         rtld_hidden_data_def instead of INTVARDEF.
3905         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
3906         * elf/dl-deps.c (expand_dst): Likewise.
3907         * elf/dl-load.c (_dl_dst_count): Likewise.
3908         (_dl_dst_substitute): Likewise.
3909         (decompose_rpath): Likewise.
3910         (_dl_init_paths): Likewise.
3911         (open_path): Likewise.
3912         (_dl_map_object): Likewise.
3913         * elf/rtld.c (dl_main): Likewise.
3914         (process_dl_audit): Likewise.
3915         (process_envvars): Likewise.
3916         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
3917         Remove declaration.
3918         (__libc_enable_secure): Use rtld_hidden_proto.
3920 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3922         * elf/dl-load.c
3923         (add_path): New function broken out of _dl_rtld_di_serinfo.
3924         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
3926 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
3928         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
3929         parentheses around macro arguments.
3930         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
3931         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
3932         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
3933         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
3934         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
3935         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
3936         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
3937         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
3938         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
3939         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
3940         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
3941         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
3942         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
3943         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
3944         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
3945         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
3946         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
3947         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
3948         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
3949         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
3950         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
3951         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
3952         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
3953         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
3954         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
3955         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
3956         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
3957         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
3958         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
3959         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
3960         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
3961         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
3962         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
3963         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
3964         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
3965         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
3966         Likewise.
3967         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
3968         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
3969         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
3970         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
3971         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
3972         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
3973         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
3974         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
3975         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
3976         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
3977         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
3978         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
3979         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
3980         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
3981         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
3982         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
3983         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
3984         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
3985         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
3986         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
3987         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
3988         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
3989         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
3990         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
3991         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
3992         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
3993         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
3994         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
3995         (_FP_FRAC_SRS_1): Likewise.
3996         (_FP_FRAC_CLZ_1): Likewise.
3997         (_FP_MUL_MEAT_1_imm): Likewise.
3998         (_FP_MUL_MEAT_1_wide): Likewise.
3999         (_FP_MUL_MEAT_1_hard): Likewise.
4000         (_FP_SQRT_MEAT_1): Likewise.
4001         (_FP_FRAC_ASSEMBLE_1): Likewise.
4002         (_FP_FRAC_DISASSEMBLE_1): Likewise.
4003         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
4004         (__FP_CLZ_2): Likewise.
4005         (_FP_MUL_MEAT_2_wide): Likewise.
4006         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
4007         (_FP_MUL_MEAT_2_gmp): Likewise.
4008         (_FP_MUL_MEAT_2_120_240_double): Likewise.
4009         (_FP_SQRT_MEAT_2): Likewise.
4010         (_FP_FRAC_ASSEMBLE_2): Likewise.
4011         (_FP_FRAC_DISASSEMBLE_2): Likewise.
4012         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
4013         (_FP_FRAC_CLZ_4): Likewise.
4014         (_FP_MUL_MEAT_4_wide): Likewise.
4015         (_FP_MUL_MEAT_4_gmp): Likewise.
4016         (_FP_SQRT_MEAT_4): Likewise.
4017         (_FP_FRAC_ASSEMBLE_4): Likewise.
4018         (_FP_FRAC_DISASSEMBLE_4): Likewise.
4019         * soft-fp/op-common.h (_FP_CMP): Likewise.
4020         (_FP_CMP_EQ): Likewise.
4021         (_FP_CMP_UNORD): Likewise.
4022         (_FP_TO_INT): Likewise.
4023         (_FP_FROM_INT): Likewise.
4024         [!__FP_CLZ] (__FP_CLZ): Likewise.
4025         (_FP_DIV_HELP_imm): Likewise.
4026         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
4027         Likewise.
4028         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
4029         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
4030         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
4031         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
4032         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
4033         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
4034         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
4035         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
4036         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
4037         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
4038         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
4039         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
4040         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
4041         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
4042         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
4043         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
4044         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
4045         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
4046         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
4047         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
4048         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
4049         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
4050         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
4051         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
4052         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
4053         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
4054         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
4055         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
4056         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
4057         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
4058         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
4059         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
4060         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
4061         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
4062         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
4063         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
4064         (FP_UNPACK_RAW_SP): Likewise.
4065         (FP_PACK_RAW_S): Likewise.
4066         (FP_PACK_RAW_SP): Likewise.
4067         (FP_UNPACK_S): Likewise.
4068         (FP_UNPACK_SP): Likewise.
4069         (FP_UNPACK_SEMIRAW_S): Likewise.
4070         (FP_UNPACK_SEMIRAW_SP): Likewise.
4071         (FP_PACK_S): Likewise.
4072         (FP_PACK_SP): Likewise.
4073         (FP_PACK_SEMIRAW_S): Likewise.
4074         (FP_PACK_SEMIRAW_SP): Likewise.
4075         (_FP_SQRT_MEAT_S): Likewise.
4076         (FP_CMP_S): Likewise.
4077         (FP_CMP_EQ_S): Likewise.
4078         (FP_CMP_UNORD_S): Likewise.
4079         (FP_TO_INT_S): Likewise.
4080         (FP_FROM_INT_S): Likewise.
4082         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
4084         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
4085         (FP_EX_INVALID_IMZ): Likewise.
4086         (FP_EX_INVALID_IMZ_FMA): Likewise.
4087         (FP_EX_INVALID_ISI): Likewise.
4088         (FP_EX_INVALID_ZDZ): Likewise.
4089         (FP_EX_INVALID_IDI): Likewise.
4090         (FP_EX_INVALID_SQRT): Likewise.
4091         (FP_EX_INVALID_CVI): Likewise.
4092         (FP_EX_INVALID_VC): Likewise.
4093         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
4094         "invalid" exceptions.
4095         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
4096         (_FP_ADD_INTERNAL): Likewise.
4097         (_FP_MUL): Likewise.
4098         (_FP_FMA): Likewise.
4099         (_FP_DIV): Likewise.
4100         (_FP_CMP_CHECK_NAN): Likewise.
4101         (_FP_SQRT): Likewise.
4102         (_FP_TO_INT): Likewise.
4103         (FP_EXTEND): Likewise.
4105 2014-10-09  Allan McRae  <allan@archlinux.org>
4107         * po/fr.po: Update French translation from translation project.
4109 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
4111         [BZ #14132]
4112         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
4113         of INTDEF.
4114         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
4115         (__cxa_atexit): Use libc_hidden_proto.
4116         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
4118         [BZ #14132]
4119         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
4120         declaration.
4121         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
4122         [!_ISOMAC] (__iswspace_l_internal): Likewise.
4123         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
4124         [!_ISOMAC] (__iswctype_internal): Likewise.
4125         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
4126         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
4127         alias.
4128         (fcntl): Remove __fcntl_internal alias.
4129         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
4130         __connect_internal alias.
4131         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
4132         Likewise.
4134         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
4135         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
4136         FP_DENORM_ZERO.
4137         (_FP_CHECK_FLUSH_ZERO): New macro.
4138         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
4139         (_FP_CMP): Likewise.
4140         (_FP_CMP_EQ): Likewise.
4141         (_FP_TO_INT): Do not set inexact for subnormal arguments if
4142         FP_DENORM_ZERO.
4143         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
4144         (FP_TRUNC): Likewise.
4146         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
4147         treated as invalid conversion, not as normal exponent.
4149         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
4150         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
4151         (_FP_CMP_EQ): Likewise.
4152         (_FP_CMP_UNORD): Likewise.
4153         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
4154         (FP_CMP_EQ_D): Likewise.
4155         (FP_CMP_UNORD_D): Likewise.
4156         * soft-fp/extended.h (FP_CMP_E): Likewise.
4157         (FP_CMP_EQ_E): Likewise.
4158         (FP_CMP_UNORD_E): Likewise.
4159         * soft-fp/quad.h (FP_CMP_Q): Likewise.
4160         (FP_CMP_EQ_Q): Likewise.
4161         (FP_CMP_UNORD_Q): Likewise.
4162         * soft-fp/single.h (FP_CMP_S): Likewise.
4163         (FP_CMP_EQ_S): Likewise.
4164         (FP_CMP_UNORD_S): Likewise.
4165         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
4166         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
4167         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
4168         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
4169         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
4170         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
4171         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
4172         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
4173         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
4174         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
4175         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
4176         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
4177         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
4178         to FP_CMP_Q.
4179         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
4180         FP_CMP_Q.
4181         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
4182         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
4183         FP_CMP_EQ_Q.
4184         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
4185         FP_CMP_Q.
4186         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
4187         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
4188         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
4189         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
4190         FP_CMP_EQ_Q.
4191         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
4192         FP_CMP_Q.
4193         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
4194         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
4195         FP_CMP_EQ_Q.
4196         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
4197         FP_CMP_Q.
4198         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
4199         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
4200         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
4201         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
4202         FP_CMP_EQ_Q.
4204         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
4205         a subnormal result, set the underflow exception if trapping on
4206         underflow is enabled.
4207         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
4208         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
4209         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
4210         redefine to 0.
4211         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
4212         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
4213         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
4214         * soft-fp/extendxftf2.c (__extendxftf2): Use
4215         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
4217         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
4218         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
4219         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4220         FP_HANDLE_EXCEPTIONS.
4221         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
4222         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4223         FP_HANDLE_EXCEPTIONS.
4224         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
4225         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4226         FP_HANDLE_EXCEPTIONS.
4227         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
4228         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4229         FP_HANDLE_EXCEPTIONS.
4231 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
4233         [BZ #14132]
4234         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
4235         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
4236         use INTUSE.
4237         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
4238         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
4239         Remove alias.
4240         (__adjtimex): Define using libc_hidden_ver.
4241         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
4242         Remove declaration.
4243         (ntp_gettime): Call __adjtimex directly.
4244         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
4245         Remove declaration.
4246         (ntp_gettimex): Call __adjtimex directly.
4247         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
4248         __adjtimex_internal alias.
4250 2014-10-08  Roland McGrath  <roland@hack.frob.com>
4252         [BZ #17460]
4253         * nscd/nscd.c (more_help): Rewrite list of tables collection
4254         using xstrdup and asprintf.
4256         * nscd/nscd_conf.c: Remove local xstrdup declaration.
4258 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4259             Roland McGrath  <roland@hack.frob.com>
4261         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
4262         (do_lookup_unique): ... local function 'enter' here; update callers.
4264 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
4266         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
4267         compat_symbol calls on [SHARED].
4268         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
4269         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
4270         Remove.
4271         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4272         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
4273         (oldsetrlimit): Remove.
4274         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
4276         (lchown): New syscall entry.
4277         (oldsetrlimit): Remove.
4278         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4279         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
4280         (oldsetrlimit): Remove.
4281         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4283         [BZ #14138]
4284         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
4285         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
4286         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
4287         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
4288         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
4289         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
4290         (fchown): Likewise.
4291         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
4292         (fchown): Likewise.
4293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
4294         Likewise.
4296 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4298         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
4299         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
4300         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
4301         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
4302         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
4303         Likewise.
4304         (__old_sem_post): Likewise.
4306 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
4308         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
4309         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
4310         HAVE_CLOCK_GETTIME_VSYSCALL macros.
4311         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
4312         Use INLINE_VSYSCALL macro.
4313         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
4314         __vdso_clock_gettime.
4315         * sysdeps/unix/sysv/linux/tile/init-first.c
4316         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
4317         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
4318         __vdso_clock_gettime.
4320         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
4321         to set up frame more cleanly.
4323         * sysdeps/tile/memcmp.c: New file.
4325         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
4327         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
4328         * sysdeps/tile/tilegx/strcasestr.c: New file.
4329         * sysdeps/tile/tilegx/strnlen.c: New file.
4330         * sysdeps/tile/tilegx/strstr.c: New file.
4332         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
4334 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
4336         * nptl/tst-setuid3.c: Write errors to stdout.
4338 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4340         * elf/dl-deps.c
4341         (preload): New functions broken out of _dl_map_object_deps.
4342         (_dl_map_object_deps):  Remove a nested function. Update call sites.
4344 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
4346         [BZ #14138]
4347         * sysdeps/unix/sysv/linux/execve.c: Remove file.
4348         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
4350 2014-10-01  Steve Ellcey  <sellcey@mips.com>
4352         * sysdeps/mips/strcmp.S: New.
4354 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
4356         [BZ #14138]
4357         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
4358         (linkat): Likewise.
4359         (mkdirat): Likewise.
4360         (readlinkat): Likewise.
4361         (renameat): Likewise.
4362         (symlinkat): Likewise.
4363         (unlinkat): Likewise.
4364         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
4365         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
4366         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
4367         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
4368         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
4369         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
4370         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
4372 2014-09-30  Will Newton  <will.newton@linaro.org>
4374         * math/math.h: Define long double math functions if
4375         _LIBC_TEST is defined.
4376         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
4378         * localedata/Makefile: Move assignment to tests-special
4379         into an ifdef testing run-built-tests.
4380         * timezone/Makefile: Likewise.
4382 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
4384         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
4385         with $(BASH) not $(SHELL).
4387 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
4388             Matthew LeGendre  <legendre1@llnl.gov>
4390         [BZ #17411]
4391         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
4392         l_reloc_result.
4394 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4396         * stdio-common/printf_fp.c
4397         (hack_digit): New function, broken out of ...
4398         (__printf_fp): ... local function here.  Update call sites.
4399         hack_digit now takes an additional parameter that is a pointer
4400         to a struct of the referenced locals.  Those locals moved inside
4401         the struct and references updated.
4403 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
4405         * aclocal.m4: Require autoconf 2.69.
4406         * configure: Regenerated.
4407         * sysdeps/aarch64/configure: Likewise.
4408         * sysdeps/alpha/configure: Likewise.
4409         * sysdeps/arm/armv7/configure: Likewise.
4410         * sysdeps/arm/configure: Likewise.
4411         * sysdeps/ia64/configure: Likewise.
4412         * sysdeps/mach/configure: Likewise.
4413         * sysdeps/mips/configure: Likewise.
4414         * sysdeps/s390/configure: Likewise.
4415         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
4416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
4418         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
4419         file.
4420         * sysdeps/ia64/configure.ac: Likewise.
4422 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
4424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
4425         specify symbol version for ld.so.  Do not include entry for
4426         libpthread.
4427         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4428         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
4429         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4431         [BZ #14171]
4432         * Makeconfig [$(build-shared) = yes]
4433         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
4434         makefiles.
4435         [$(build-shared) = yes && $(soversions.mk-done) = t]
4436         ($(common-objpfx)gnu/lib-names.h): Remove rule.
4437         [$(build-shared) = yes && $(soversions.mk-done) = t]
4438         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
4439         to Makerules.
4440         [$(build-shared) = yes && $(soversions.mk-done) = t]
4441         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
4442         here.
4443         [$(build-shared) = yes && $(soversions.mk-done) = t]
4444         (common-generated): Don't append gnu/lib-names.h and
4445         gnu/lib-names.stmp here.
4446         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
4447         (lib-names-h-abi): New variable.
4448         [$(build-shared) = yes && $(soversions.mk-done) = t]
4449         (lib-names-stmp-abi): Likewise.
4450         [$(build-shared) = yes && $(soversions.mk-done) = t &&
4451         abi-variants] (before-compile): Append
4452         $(common-objpfx)$(lib-names-h-abi).
4453         [$(build-shared) = yes && $(soversions.mk-done) = t &&
4454         abi-variants] (common-generated): Append gnu/lib-names.h.
4455         [$(build-shared) = yes && $(soversions.mk-done) = t &&
4456         abi-variants] (install-others-nosubdir): Depend on
4457         $(inst_includedir)/$(lib-names-h-abi).
4458         [$(build-shared) = yes && $(soversions.mk-done) = t &&
4459         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
4460         [$(build-shared) = yes && $(soversions.mk-done) = t]
4461         ($(common-objpfx)$(lib-names-h-abi)): New rule.
4462         [$(build-shared) = yes && $(soversions.mk-done) = t]
4463         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
4464         [$(build-shared) = yes && $(soversions.mk-done) = t]
4465         (common-generated): Append $(lib-names-h-abi) and
4466         $(lib-names-stmp-abi).
4467         * scripts/lib-names.awk: Do not handle multi being set.
4468         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
4469         Remove variable.
4470         (abi-lp64_be-ld-soname): Likewise.
4471         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
4472         Likewise.
4473         (abi-hard-ld-soname): Likewise.
4474         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
4475         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
4476         Remove variable.
4477         (abi-o32_hard-ld-soname): Likewise.
4478         (abi-o32_soft_2008-ld-soname): Likewise.
4479         (abi-o32_hard_2008-ld-soname): Likewise.
4480         (abi-n32_soft-ld-soname): Likewise.
4481         (abi-n32_hard-ld-soname): Likewise.
4482         (abi-n32_soft_2008-ld-soname): Likewise.
4483         (abi-n32_hard_2008-ld-soname): Likewise.
4484         (abi-n64_soft-ld-soname): Likewise.
4485         (abi-n64_hard-ld-soname): Likewise.
4486         (abi-n64_soft_2008-ld-soname): Likewise.
4487         (abi-n64_hard_2008-ld-soname): Likewise.
4488         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
4489         Likewise.
4490         (abi-64-v2-ld-soname): Likewise.
4491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
4492         ld.so entries.
4493         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
4494         variable.
4495         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
4496         entry.
4497         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
4498         variable.
4499         (abi-64-ld-soname): Likewise.
4500         (abi-x32-ld-soname): Likewise.
4501         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
4502         entry.
4503         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4505 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
4507         [BZ #14138]
4508         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
4509         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
4510         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
4511         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
4512         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
4513         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
4514         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
4515         syscall entry for GLIBC_2.2 symbol version.
4516         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
4517         Likewise.
4518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
4519         (setrlimit): Likewise.
4520         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
4521         Likewise.
4523 2014-09-23  Will Newton  <will.newton@linaro.org>
4525         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
4526         _LINUX_ARM_SYSDEP_H include guard too.
4527         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
4528         define.
4530 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
4532         * sysdeps/unix/sysv/linux/eventfd.c:
4533         Make first argument unsigned.
4534         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
4535         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
4537 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
4539         * socket/recvmmsg.c (recvmmsg): Drop const argument.
4540         * socket/sys/socket.h: Likewise
4541         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
4543 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4545         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
4547 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
4549         * time/tst-ftime.c: New test.
4550         * time/Makefile (tests): Add tst-ftime.
4552 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
4554         * soft-fp/extended.h: Fix comment formatting.
4555         * soft-fp/op-1.h: Likewise.
4556         * soft-fp/op-2.h: Likewise.
4557         * soft-fp/op-4.h: Likewise.
4558         * soft-fp/op-8.h: Likewise.
4559         * soft-fp/op-common.h: Likewise.
4560         * soft-fp/soft-fp.h: Likewise.
4562         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
4564 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
4566         [BZ #6652]
4567         * Makeconfig (soversions-default-setname): Remove variable.
4568         ($(common-objpfx)soversions.i): Don't pass default_setname to
4569         soversions.awk.
4570         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
4571         oldest_abi to abi-versions.awk.
4572         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
4573         * config.make.in (oldest-abi): Remove variable.
4574         * configure.ac (--enable-oldest-abi): Remove configure option.
4575         * configure: Regenerated.
4576         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
4577         text.
4578         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
4579         * scripts/soversions.awk: Do not handle default_setname variable.
4580         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
4581         variable.
4582         * sysdeps/mach/hurd/configure: Regenerated.
4583         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
4584         variable.
4585         * sysdeps/unix/sysv/linux/configure: Regenerated.
4587 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4589         * elf/Makefile (CFLAGS-interp.c): Remove.
4590         ($(elf-objpfx)runtime-linker.h): Generate header with linker
4591         path string.
4592         * elf/interp.c: Include generated runtime-linker.h
4594         * Makerules (lib%.so): Don't include $(+interp) in
4595         prerequisites.
4596         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
4597         * dlfcn/eval.c: Remove file.
4599         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
4600         macros.
4602         [BZ #17266]
4603         * misc/sys/cdefs.h: Define __extern_always_inline for clang
4604         4.2 and newer.
4606         [BZ #17370]
4607         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
4609 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4610             Jakub Jelinek  <jakub@redhat.com>
4612         [BZ #17266]
4613         * libio/stdio.h: Check definition of __fortify_function
4614         instead of __extern_always_inline to include bits/stdio2.h.
4615         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
4616         check if __extern_always_inline is defined.
4617         [__USE_MISC || __USE_XOPEN]: Likewise.
4618         [__USE_ISOC99] Likewise.
4619         * misc/sys/cdefs.h (__fortify_function): Define only if
4620         __extern_always_inline is defined.
4621         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
4622         __extern_always_inline and __extern_inline only for g++-4.3
4623         and newer or a compatible gcc.
4625 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
4627         [BZ #17371]
4628         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4629         last change to handle zero prefix length.
4631 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4633         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
4634         _SC_REGEX_VERSION.
4636         * posix/getconf.c (vars): Add _POSIX_IPV6 and
4637         _POSIX_RAW_SOCKETS.
4639 2014-09-13  Allan McRae  <allan@archlinux.org>
4641         * po/ru.po: Update Russian translation from translation project.
4643 2014-09-12  Roland McGrath  <roland@hack.frob.com>
4645         * locale/programs/locale.c (show_locale_vars): Inline local function
4646         into its sole call site.  Clean up some style nits.
4647         (print_item): New function, broken out of ...
4648         (show_info): ... local function here.  Clean up style nits.
4650         * locale/programs/ld-ctype.c (set_one_default): New function, broken
4651         out of ...
4652         (set_class_defaults): ... local function set_default here.
4653         Define set_default as a macro locally to pass constant parameters.
4654         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
4655         rather than a shared local.
4657         * stdlib/rpmatch.c (try): New function, broken out of ...
4658         (rpmatch): ... local function here.  Also, prototypify definition.
4660 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
4662         * scripts/soversions.awk: Do not handle configuration names.
4663         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
4664         vendor and os variables to soversions.awk.
4665         * configure.ac: Do not modify gnu-* host_os.
4666         * configure: Regenerated
4667         * shlib-versions: Remove first column with configuration names.
4668         * nptl/shlib-versions: Likewise.
4669         * nptl_db/shlib-versions: Likewise.
4670         * sysdeps/hppa/shlib-versions: Likewise.
4671         * sysdeps/m68k/shlib-versions: Likewise.
4672         * sysdeps/mach/hurd/shlib-versions: Likewise.
4673         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
4674         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
4675         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
4676         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
4677         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
4678         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
4679         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
4680         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
4681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
4682         Likewise.
4683         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4684         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
4685         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
4686         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
4687         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
4688         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
4689         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
4690         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
4693         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
4694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
4695         Regenerated.
4696         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
4697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
4698         Condition symbol version definitions on [HAVE_ELFV2_ABI].
4700         * shlib-versions: Remove OS-specific entries.  Moved to files in
4701         sysdeps.
4702         * sysdeps/mach/hurd/shlib-versions: New file.
4703         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
4705         * nptl/shlib-versions: Remove architecture-specific entries.
4706         Moved to files in sysdeps.
4707         * shlib-versions: Likewise.
4708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
4709         file.
4710         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4711         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
4712         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
4713         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
4715         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
4716         (UDP_NO_CHECK6_RX): Likewise.
4718 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4720         * sysdeps/posix/sysconf.c (__sysconf): Spell
4721         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
4723 2014-08-12  Florian Weimer  <fweimer@redhat.com>
4725         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
4726         loading.
4727         * iconv/Versions (__gconv_transliterate): Export for use from
4728         gconv modules.
4729         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
4730         (struct __gconv_trans_data, __gconv_trans_fct,
4731         __gconv_trans_context_fct, __gconv_trans_query_fct,
4732         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
4733         definitions.
4734         (struct __gconv_step_data): Remove __trans member.
4735         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
4736         longer hidden.  Remove unused trans_data argument.
4737         * iconv/gconv_int.h (struct trans_struct): Remove definition.
4738         (__gconv_translit_find): Remove declaration.
4739         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
4740         prototype.
4741         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
4742         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
4743         trans_data argument.  Add hidden definition.
4744         (__gconv_translit_find): Remove.
4745         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
4746         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
4747         * iconv/skeleton.c: Remove transliteration initialization.
4748         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
4749         __gconv_step_data initialization.
4750         * libio/iofwide.c (__libio_translit_): Remove.
4751         (_IO_fwide): Adjust struct __gconv_step_data initialization.
4752         * wcsmbs/btowc.c (__btowc): Likewise.
4753         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4754         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4755         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
4756         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
4757         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
4758         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
4759         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
4760         * wcsmbs/wctob.c (wctob): Likewise.
4762 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4764         [BZ #16194]
4765         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
4766         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
4767         register usage.
4768         * sysdeps/x86/Makefile: Adjust.
4770 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4771             Roland McGrath  <roland@hack.frob.com>
4773         * locale/weight.h: Add include guard.
4774         (findidx): Make static rather than auto; take new parameters
4775         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
4776         * locale/weightwc.h: Likewise.
4777         * posix/fnmatch_loop.c
4778         (FCT): Change type of EXTRA from int32_t to wint_t.
4779         Don't include either header inside the function.
4780         Call FINDIDX rather than findidx, and pass new arguments.
4781         #undef FINDIDX at the end of the file.
4782         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
4783         FINDIDX before including fnmatch_loop.c for the non-wide version.
4784         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
4785         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
4786         for the wide version.
4787         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
4788         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
4789         Pass new arguments to findidx.
4790         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
4791         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
4792         Don't #include it inside the function.  Pass new arguments to findidx.
4793         * posix/regex_internal.h
4794         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
4795         (re_string_elem_size_at): Don't #include it inside the function.
4796         Pass new arguments to findidx.
4797         * string/strcoll_l.c: #include WEIGHT_H at top level.
4798         (get_next_seq): Don't #include it inside the function.
4799         Pass new arguments to findidx.
4800         (get_next_seq_nocache): Likewise.
4801         * string/strxfrm_l.c: #include WEIGHT_H at top level.
4802         (STRXFRM): Don't #include it inside the function.
4803         Pass new arguments to findidx.
4805 2014-09-11  Florian Weimer  <fweimer@redhat.com>
4807         [BZ #17344]
4808         * malloc/malloc.c (unlink): Turn asserts into a call to
4809         malloc_printerr.
4811 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
4813         [BZ #17370]
4814         * libio/wfileops (do_ftell_wide): Free OUT.
4816 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
4818         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
4820 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4822         [BZ #17363]
4823         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
4824         group if the current group is empty.
4826 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4828         * benchtests/bench-memset.c (test_main): Add more test from size
4829         from 32 to 512 bytes.
4830         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4831         Add POWER8 memset object.
4832         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4833         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
4834         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
4835         implementation.
4836         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
4837         Likewise.
4838         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
4839         multiarch POWER8 memset optimization.
4840         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
4841         POWER8 memset optimization.
4843         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4844         Remove bzero multiarch objects.
4845         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
4846         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
4847         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
4848         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
4849         Remove define.
4850         [__bzero]: Redefine to specific name.
4851         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
4852         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
4853         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
4854         define.
4855         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4856         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4858 2014-09-10  Florian Weimer  <fweimer@redhat.com>
4860         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
4861         warnings into errors.
4863         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
4864         __cxa_thread_atexit_impl prototype.
4866 2014-09-09  Steve Ellcey  <sellcey@mips.com>
4868         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
4869         Fix capitalization of error message.
4871 2014-09-09  Steve Ellcey  <sellcey@mips.com>
4873         * sysdeps/mips/preconfigure: Modify ABI tests.
4875 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
4877         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
4879 2014-09-07  Roland McGrath  <roland@hack.frob.com>
4880             Carlos O'Donell  <carlos@systemhalted.org>
4882         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
4883         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
4884         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
4885         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
4886         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
4887         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
4888         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
4889         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
4890         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
4891         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
4892         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
4893         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
4894         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
4895         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
4896         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
4897         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
4898         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
4899         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
4900         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
4901         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
4902         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
4903         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
4904         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
4905         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
4906         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
4907         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
4908         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
4909         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
4910         Deconditionalize the code that was previously under [RESET_PID].
4911         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
4912         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
4913         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
4914         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
4915         include sysdep.h.
4917 2014-09-08  Allan McRae  <allan@archlinux.org>
4919         * version.h (RELEASE): Set to "development".
4920         (VERSION): Set to "2.20.90"
4922 2014-09-07  Allan McRae  <allan@archlinux.org
4924         * version.h (RELEASE): Set to "stable".
4925         (VERSION): Set to "2.20"
4926         * include/features.h (__GLIBC_MINOR__): Set to 20.
4928         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
4929         Liebler.
4931         * po/ko.po: Update Korean translation from translation project.
4933 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
4935         [BZ #17354]
4936         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
4937         macro for handling signed relocations.
4939 2014-09-03  Florian Weimer  <fweimer@redhat.com>
4941         [BZ #17325]
4942         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
4943         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
4944         assert.
4945         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
4946         * iconvdata/ibm935.c (BODY): Likewise.
4947         * iconvdata/ibm937.c (BODY): Likewise.
4948         * iconvdata/ibm939.c (BODY): Likewise.
4949         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
4950         assert.
4951         * iconvdata/Makefile (iconv-test.out): Pass module list to test
4952         script.
4953         * iconvdata/run-iconv-test.sh: New test loop for checking for
4954         decoder crashers.
4956 2014-09-02  Khem Raj  <raj.khem@gmail.com>
4958         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
4959         libm_hidden_ver.
4961 2014-09-01  Allan McRae  <allan@archlinux.org>
4963         * po/eo.po: Update Esperanto translation from translation project.
4965         * po/ca.po: Update Catalan translation from translation project.
4967 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4969         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
4970         __proc_dostop call.
4972 2014-08-27  Mark Wielaard  <mjw@redhat.com>
4974         [BZ #17319]
4975         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
4976         to call set_thread_area instead of hand written asm.
4977         (__NR_set_thread_area): Removed define.
4978         (TLS_FLAG_WRITABLE): Likewise.
4979         (__ASSUME_SET_THREAD_AREA): Remove check.
4980         (TLS_EBX_ARG): Remove define.
4981         (TLS_LOAD_EBX): Likewise.
4983 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4985         Simplify atomicity of socket creation in bind.
4987         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
4988         looking up the name after linking the file.
4990 2014-08-27  Allan McRae  <allan@archlinux.org>
4992         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4994 2014-08-26  Florian Weimer  <fweimer@redhat.com>
4996         [BZ #17187]
4997         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
4998         trans_compare, open_translit, __gconv_translit_find):
4999         Remove module loading code.
5001 2014-08-26  Allan McRae  <allan@archlinux.org>
5003         * po/vi.po: Update Vietnamese translation from translation project.
5005         * po/uk.po: Update Ukrainian translation from translation project.
5007         * po/fr.po: Update French translation from translation project.
5009         * po/ru.po: Update Russian translation from translation project.
5011         * po/pl.po: Update Polish translation from translation project.
5013         * po/cs.po: Update Czech translation from translation project.
5015         * po/de.po: Update German translation from translation project.
5017         * po/bg.po: Update Bulgarian translation from translation project.
5019         * po/sv.po: Update Sweedish translation from translation project.
5021         * po/nl.po: Update Dutch translation from translation project.
5023         * po/es.po: Update Spanish translation from translation project.
5025 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5027         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
5029         * catgets/Makefile (CPPFLAGS-gencat): Remove.
5030         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
5031         (CPPFLAGS-iconvconfig): Likewise.
5032         * timezone/Makefile (CPPFLAGS-zic): Likewise.
5034         * include/libc-symbols.h: Remove unnecessary check for
5035         NOT_IN_libc.
5036         * nptl/pthreadP.h: Likewise.
5037         * sysdeps/aarch64/setjmp.S: Likewise.
5038         * sysdeps/alpha/setjmp.S: Likewise.
5039         * sysdeps/arm/sysdep.h: Likewise.
5040         * sysdeps/i386/setjmp.S: Likewise.
5041         * sysdeps/m68k/setjmp.c: Likewise.
5042         * sysdeps/posix/getcwd.c: Likewise.
5043         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5044         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
5045         * sysdeps/s390/s390-32/setjmp.S: Likewise.
5046         * sysdeps/s390/s390-64/setjmp.S: Likewise.
5047         * sysdeps/sh/sh3/setjmp.S: Likewise.
5048         * sysdeps/sh/sh4/setjmp.S: Likewise.
5049         * sysdeps/unix/alpha/sysdep.h: Likewise.
5050         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5051         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5052         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
5053         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5056         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5057         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5058         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5059         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5060         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5061         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5062         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5063         * sysdeps/x86_64/setjmp.S: Likewise.
5065 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
5067         [BZ #17263]
5068         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
5069         <stdint.h>.
5070         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
5071         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
5073 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
5075         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
5077         [BZ #17262]
5078         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
5079         and __x86_64__ when disabling x87 inline functions.
5081 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
5083         [BZ #17259]
5084         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
5085         asm statement with __cpuid_count.
5087 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
5089         * configure.ac: Change __ehdr_start code to dereference the struct.
5090         Run readelf on the output to look for relocations.
5091         * configure: Regenerated.
5093 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
5095         [BZ #17261]
5096         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
5097         value to 0.
5098         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
5100 2014-08-12  Roland McGrath  <roland@hack.frob.com>
5102         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
5104 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
5106         [BZ #16892]
5107         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
5108         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
5110 2014-08-12  Sean Anderson  <seanga2@gmail.com>
5112         * malloc/malloc.c: Fix typo in comment.
5114 2014-08-09  Allan McRae  <allan@archlinux.org>
5116         * Regenerate libc.po.
5118 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
5120         * intl/tst-gettext2.sh: Check every lang file for creation.
5122 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
5124         * sysdeps/aarch64/fpu/math_private.h
5125         (libc_feholdsetround_noex_aarch64_ctx): New function.
5127 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
5129         * sysdeps/arm/armv6/strcpy.S (strcpy):
5130         Fix performance issue in misaligned cases.
5132 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5134         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
5135         Move definition from termios.h.
5136         (struct termio): Likewise.
5137         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5138         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
5139         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
5140         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
5141         Likewise.
5142         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
5143         Move definition to ioctl-types.h
5144         (struct termio): Likewise.
5145         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5146         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
5147         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
5148         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
5149         Likewise.
5151 2014-08-05  Richard Henderson  <rth@redhat.com>
5153         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
5154         exceptions.
5155         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
5156         Add fraiseexcpt.
5157         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5158         Use __feraiseexcept.
5159         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
5160         Protect libm symbols with IS_IN_libm.
5162         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
5164 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
5166         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
5168 2014-08-04  Will Newton  <will.newton@linaro.org>
5170         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
5171         file.
5173 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
5175         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
5176         variants for each function.
5178 2014-08-04  Roland McGrath  <roland@hack.frob.com>
5180         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
5181         appended ...
5182         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
5183         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
5184         appended ...
5185         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
5186         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
5187         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
5188         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
5189         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
5190         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
5191         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
5192         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
5193         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
5194         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
5195         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
5196         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
5197         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
5198         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
5199         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
5200         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
5201         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
5202         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
5203         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
5204         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
5205         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
5206         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
5207         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
5208         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
5209         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
5210         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
5211         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
5212         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
5213         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
5214         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
5215         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
5216         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
5217         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
5218         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
5219         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
5220         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
5221         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
5222         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
5223         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
5224         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
5225         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
5226         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
5227         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
5228         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
5229         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
5230         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
5231         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
5232         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
5233         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
5234         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
5235         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
5236         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
5237         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
5238         Update #include.
5239         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
5240         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
5242 2014-08-04  Roland McGrath  <roland@hack.frob.com>
5244         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
5245         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
5246         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
5247         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
5248         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
5249         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
5251 2014-08-04  Roland McGrath  <roland@hack.frob.com>
5253         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
5254         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
5255         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5256         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
5258 2014-08-04  Roland McGrath  <roland@hack.frob.com>
5260         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
5261         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
5262         (__libc_vfork): Define function under this name.
5263         (__vfork): Define as an alias.
5264         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
5265         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
5267 2014-08-04  Roland McGrath  <roland@hack.frob.com>
5269         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
5270         that was previously under [RESET_PID].
5271         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
5273 2014-08-04  Andreas Schwab  <schwab@suse.de>
5275         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
5277 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
5279         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
5280         (main): Likewise.
5282 2014-08-01  Roland McGrath  <roland@hack.frob.com>
5284         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
5286 2014-08-01  Richard Henderon  <rth@redhat.com>
5288         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
5289         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
5290         typo in exact zero test.
5291         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5292         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5293         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5295 2014-08-01  Roland McGrath  <roland@hack.frob.com>
5297         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
5298         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
5299         * sysdeps/arm/sysdep.h: ... here.
5300         [!__ASSEMBLER__]: Include <stdint.h>.
5302 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
5304         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
5305         (HAVE_WCTYPE_H): Likewise.
5306         (HAVE_ISWCTYPE): Likewise.
5307         (ENABLE_NLS): Likewise.
5308         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
5309         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
5311         * posix/regex_internal.c: Check if DEBUG is defined and is
5312         set.
5314         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
5315         (HAVE_MBSRTOWCS): Likewise.
5316         * posix/fnmatch.c: Include string.h unconditionally.
5318 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
5320         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
5321         reversal.
5323 2014-07-31  Roland McGrath  <roland@hack.frob.com>
5325         * sysdeps/generic/safe-fatal.h: New file.
5326         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
5327         * nptl/forward.c: Include it.
5328         (__pthread_unwind): Use __safe_fatal as default action, rather
5329         than a bogus use of INTERNAL_SYSCALL that could never work.
5331         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
5332         * configure.ac (libc_cv_builtin_trap): New test.
5333         * configure: Regenerated.
5334         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
5335         (ABORT_INSTRUCTION): Define using __builtin_trap.
5337         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
5338         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
5339         * sysdeps/nptl/nptl-signals.h: New file.
5340         * nptl/pthreadP.h: Include <nptl-signals.h>.
5342 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
5344         * sysdeps/s390/s390-64/utf16-utf32-z9.c
5345         (ONE_DIRECTION): Define.
5346         * sysdeps/s390/s390-64/utf8-utf16-z9.c
5347         (ONE_DIRECTION): Define.
5348         * sysdeps/s390/s390-64/utf8-utf32-z9.c
5349         (ONE_DIRECTION): Define.
5351 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
5353         * sysdeps/s390/Makefile: Delete file.
5354         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
5355         * sysdeps/s390/__longjmp.c: Delete file.
5356         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
5357         Remove fields __flags and __reserved.
5358         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
5359         and add versioning.
5360         * sysdeps/s390/rtld-__longjmp.c: Delete file.
5361         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
5362         * sysdeps/s390/rtld-setjmp.S: Likewise.
5363         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
5364         * sysdeps/s390/s390-32/__longjmp.c: ... here.
5365         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
5366         * sysdeps/s390/s390-32/setjmp.S: ... here.
5367         Add versioning.
5368         (__sigsetjmp): Remove setting __flags field.
5369         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
5370         * sysdeps/s390/s390-64/__longjmp.c: ... here.
5371         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
5372         * sysdeps/s390/s390-64/setjmp.S: ... here.
5373         Add versioning.
5374         (__sigsetjmp): Remove setting __flags field.
5375         * sysdeps/s390/setjmp.S: Delete file.
5376         * sysdeps/s390/sigjmp.c: Likewise.
5377         * sysdeps/s390/v1-longjmp.c: Likewise.
5378         * sysdeps/s390/v1-setjmp.h: Likewise.
5379         * sysdeps/s390/v1-sigjmp.c: Likewise.
5380         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
5381         Remove v1-longjmp_chk.
5382         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
5383         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
5384         Include debug/longjmp_chk.c and add versioning.
5385         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
5386         Include nptl/pt-longjmp.c and add versioning.
5387         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
5388         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
5389         Include __longjmp.c.
5390         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5391         Move to ...
5392         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
5393         (__getcontext): Remove setting __flags field.
5394         Add versioning.
5395         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5396         Don't restore upper high grps.
5397         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
5398         Likewise.
5399         (__swapcontext): Remove setting uc_flags field.
5400         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
5401         Delete file.
5402         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5403         Include __longjmp.c.
5404         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5405         Move to ...
5406         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
5407         (__getcontext): Remove setting __flags field.
5408         Add versioning.
5409         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
5410         (__swapcontext): Remove setting uc_flags field.
5411         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
5412         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
5413         Remove fields uc_high_gprs and __reserved.
5414         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
5415         New file with reverted content.
5416         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
5417         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
5418         Regenerated.
5419         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
5420         Regenerated.
5422 2014-07-31  Andreas Schwab  <schwab@suse.de>
5424         * config.h.in (HAVE_IFUNC): Define to 0.
5425         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
5426         definedness.
5428 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
5430         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5431         memmove-avx-unaligned, memcpy-avx-unaligned and
5432         mempcpy-avx-unaligned.
5433         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5434         Add tests for AVX memcpy functions.
5435         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
5436         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
5437         memcpy_chk.
5438         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
5439         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
5440         memmove_chk.
5441         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
5442         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
5443         mempcpy_chk.
5444         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
5445         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
5446         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
5448 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5450         [BZ #17213]
5451         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
5452         powerpc64le.
5454 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
5456         [BZ #16839]
5457         * manual/llio.texi: Add section about open file description locks.
5458         * manual/examples/ofdlocks.c: Example of open file description
5459         lock usage.
5460         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
5461         F_OFD_SETLK, and F_OFD_SETLKW.
5463 2014-07-23  Allan McRae  <allan@archlinux.org>
5465         * po/es.po: Update Spanish translation from translation project.
5467 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
5469         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
5471 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
5473         [BZ #17078]
5474         * sysdeps/arm/dl-machine.h (elf_machine_rela)
5475         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
5476         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
5478 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
5480         [BZ #17088]
5481         * math/fesetenv.c (__fesetenv)
5482         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
5483         * math/feupdateenv.c (__feupdateenv)
5484         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
5486         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
5487         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5488         (__ASSUME_SOCKETCALL): Do not define.
5490         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
5491         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
5492         (__ASSUME_SOCKETCALL): Do not define.
5493         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
5494         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
5495         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5496         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
5497         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5498         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
5499         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5500         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5502         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
5503         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
5504         (__ASSUME_SOCKETCALL): Do not define.
5505         (__ASSUME_IPC64): Define unconditionally.
5506         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
5507         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5508         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
5509         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5510         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
5511         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5512         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
5513         Likewise.
5515         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
5516         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
5517         (__ASSUME_SOCKETCALL): Do not define.
5518         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
5519         (__ASSUME_FUTEX_LOCK_PI): Likewise.
5520         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5521         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5522         (__ASSUME_REQUEUE_PI): Define unconditionally.
5523         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
5524         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
5525         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5526         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
5527         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5528         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5530         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
5531         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
5532         (__ASSUME_SOCKETCALL): Do not define.
5533         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
5534         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5535         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5536         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
5537         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5538         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5540         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
5541         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
5542         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5543         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
5544         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5545         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
5546         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5547         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
5548         (__ASSUME_GETCPU_SYSCALL): Likewise.
5550         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
5551         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
5552         cases for individual architectures.
5553         * sysdeps/gnu/configure: Regenerated.
5554         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
5555         LIBC_SLIBDIR_RTLDDIR.
5556         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
5557         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
5558         LIBC_SLIBDIR_RTLDDIR.
5559         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
5560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
5561         LIBC_SLIBDIR_RTLDDIR.
5562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
5563         Regenerated.
5564         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
5565         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
5566         file.
5567         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
5568         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
5569         file.
5570         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
5571         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
5572         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
5573         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
5575         * sysdeps/aarch64/shlib-versions: Move to ...
5576         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
5577         * sysdeps/alpha/shlib-versions: Move to ...
5578         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
5579         * sysdeps/arm/shlib-versions: Move to ...
5580         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
5581         * sysdeps/hppa/shlib-versions: Move all contents except for
5582         libgcc_s entry to ...
5583         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
5584         entry from ...
5585         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
5586         * sysdeps/ia64/shlib-versions: Move to ...
5587         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
5588         entry from ...
5589         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
5590         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
5591         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
5592         * sysdeps/microblaze/shlib-versions: Move to ...
5593         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
5594         * sysdeps/mips/shlib-versions: Move to ...
5595         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
5596         entry from ...
5597         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
5598         * sysdeps/tile/shlib-versions: Move to ...
5599         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
5600         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
5601         from ...
5602         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
5603         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
5604         entry from ...
5605         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
5607 2014-07-17  Will Newton  <will.newton@linaro.org>
5609         * sysdeps/arm/bits/atomic.h
5610         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
5611         (__arch_compare_and_exchange_bool_16_int): Likewise.
5612         (__arch_compare_and_exchange_bool_64_int): Likewise.
5614         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
5615         into an #else block.
5617 2014-07-16  Roland McGrath  <roland@hack.frob.com>
5619         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
5620         just Linux configurations.  Test empirically that the compiler sets
5621         __ARM_EABI__, rather than using the tuple to decide.
5622         * sysdeps/arm/preconfigure: Regenerated.
5623         * sysdeps/unix/sysv/linux/arm/configure: File removed.
5624         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
5625         contents appended ...
5626         * sysdeps/arm/configure.ac: ... here.
5627         * sysdeps/arm/configure: Regenerated.
5629 2014-07-15  Roland McGrath  <roland@hack.frob.com>
5631         * nptl/pthread_kill.c: New file.
5632         * nptl/pthread_sigmask.c: New file.
5633         * nptl/pthread_sigqueue.c: New file.
5635         * sysdeps/nptl/lowlevellock.h: New file.
5636         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
5637         * sysdeps/nptl/lowlevellock-futex.h: New file.
5639         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
5640         Remove dead declarations.
5642 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
5644         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
5645         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
5646         config-cflags-avx2.
5647         * sysdeps/x86_64/configure.ac: Likewise.
5648         * sysdeps/i386/configure: Regenerated.
5649         * sysdeps/x86_64/configure: Likewise.
5650         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5651         memset-avx2 only if config-cflags-avx2 is yes.
5652         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5653         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
5654         defined.
5655         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
5656         only if HAVE_AVX2_SUPPORT is defined.
5657         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5659 2014-07-14  Alan Modra  <amodra@gmail.com>
5661         [BZ #17153]
5662         * elf/elf.h (DT_PPC64_NUM): Correct value.
5663         * NEWS: Add to fixed bug list.
5665 2014-07-13  Jim Meyering  <meyering@fb.com>
5667         [BZ 17150]
5668         regex: don't deref NULL upon heap allocation failure
5669         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
5670         failure in one more place.
5671         To trigger the segfault, configure grep -with-included-regex,
5672         build it, and run these commands:
5673         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
5675 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
5677         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
5679 2014-07-11  Richard Henderson  <rth@redhat.com>
5681         * sysdeps/aarch64/libm-test-ulps: Update.
5683 2014-07-10  Florian Weimer  <fweimer@redhat.com>
5685         [BZ #17135]
5686         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
5687         * nptl/allocatestack.c (__nptl_setxid_error): New function.
5688         (__nptl_setxid): Initialize error member.  Call
5689         __nptl_setxid_error.
5690         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
5691         * nptl/descr.h (struct xid_command): Add error member.
5692         * nptl/tst-setuid3.c: New file.
5693         * nptl/Makefile (tests): Add it.
5695 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5697         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
5698         New define.
5699         (__lll_trylock): Use __lll_base_trylock.
5700         (__lll_cond_trylock): Likewise.
5702 2014-07-10  Roland McGrath  <roland@hack.frob.com>
5704         * nptl/pthread_create.c (start_thread): Use atomic_or and
5705         lll_futex_wake directly rather than lll_robust_dead.
5706         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
5707         (lll_robust_dead): Macro removed.
5708         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
5709         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
5710         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
5711         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5712         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5713         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
5714         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
5715         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5716         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
5717         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5718         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5719         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5720         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5721         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5722         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5724         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
5725         Use atomic_compare_and_exchange_val_acq directly rather than
5726         lll_robust_trylock.
5727         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
5728         (__lll_robust_trylock, lll_robust_trylock): Removed.
5729         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
5730         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
5731         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5732         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5733         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
5734         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
5735         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5736         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
5737         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5738         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5739         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5740         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5741         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5742         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5744 2014-07-02  Florian Weimer  <fweimer@redhat.com>
5746         * manual/locale.texi (Locale Names): New section documenting
5747         locale name syntax.  Adjust menu and node chaining accordingly.
5748         (Choosing Locale): Reference Locale Names, Locale Categories.
5749         Mention setting LC_ALL=C.  Reflect that name syntax is now
5750         documented.
5751         (Locale Categories): New section title.  Reference Locale Names.
5752         LC_ALL is an environment variable, but not a category.
5753         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
5754         description, now in Locale Name.  Reference that section.  Locale
5755         name syntax is now documented.
5757 2014-07-02  Florian Weimer  <fweimer@redhat.com>
5759         [BZ #17137]
5760         * locale/findlocale.c (name_present, valid_locale_name): New
5761         functions.
5762         (_nl_find_locale): Use the loc_name variable to store name
5763         candidates.  Call name_present and valid_locale_name to check and
5764         validate locale names.  Return an error if the locale is invalid.
5766 2014-07-02  Florian Weimer  <fweimer@redhat.com>
5768         * locale/setlocale.c (setlocale): Use strdup for allocating
5769         composite name copy.
5771 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
5773         Sync up with gnulib.
5774         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
5775         [!_LIBC && ENABLE_NLS]: Include gettext.h.
5776         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
5777         and _GL_ARG_NONNULL.
5778         [USE_UNLOCKED_IO]: Include unlocked-io.h.
5779         [!_LIBC]: Include code for Windows and Cygwin.
5780         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
5781         Include prototype for int strerror_r.
5782         [!_LIBC] (is_open): New function.
5783         (flush_stdout): New function.
5784         (print_errno_message): Use it.
5785         (error): Likewise.
5786         (error_at_line): Likewise.
5787         (error_tail) Add function attribute macros.  Use
5788         __builtin_expect.
5790         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
5792         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
5794         * io/ftw.c: Include sys/param.h unconditionally.
5796         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
5798         [BZ #17125]
5799         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
5800         libc_freeres_ptr.
5801         (freecache): New function to free CACHE on exit.
5803         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
5804         initialization.
5806 2014-07-09  David S. Miller  <davem@davemloft.net>
5808         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5810         * sysdeps/sparc/nptl/internaltypes.h: Delete.
5811         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
5812         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
5813         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
5814         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
5815         * sysdeps/sparc/nptl/sem_init.c: Likewise.
5816         * sysdeps/sparc/nptl/sem_post.c: Likewise.
5817         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
5818         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
5819         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
5820         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
5821         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
5822         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
5824 2014-07-09  Andreas Schwab  <schwab@suse.de>
5826         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
5827         output.
5828         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
5829         (do_test): Likewise.
5831         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5833 2014-07-09  Will Newton  <will.newton@linaro.org>
5835         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
5836         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
5837         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
5838         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
5839         * sysdeps/hppa/start.S (_start): Likewise.
5841 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
5843         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
5845         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
5846         defined.
5848 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
5850         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
5851         after checking that it is non-NULL.
5853         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
5855 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5857         * sysdeps/powerpc/memmove.c: Remove file.
5858         * sysdeps/powerpc/powerpc32/power4/memcopy.h
5859         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
5860         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
5861         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
5862         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
5863         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
5864         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
5865         string memmove instead of removed powerpc one.
5867         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
5868         [weak_alias]: Fix compiler warning due trailing data.
5869         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
5870         [weak_alias]: Likewise.
5871         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
5872         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
5874         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5875         (__libc_ifunc_impl_list): Add memmove functions.
5877 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
5879         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
5880         Remove code.
5881         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
5882         Likewise
5883         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
5884         Likewise
5885         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
5886         Likewise
5887         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
5888         Likewise
5889         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
5890         Likewise
5891         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
5892         Likewise
5893         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
5894         Likewise
5895         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
5896         Likewise
5897         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
5898         Likewise
5899         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
5900         Likewise
5901         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
5902         Likewise
5903         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
5904         Likewise
5905         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
5906         Likewise
5907         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
5908         Likewise
5909         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
5910         Likewise
5911         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
5912         Likewise
5914 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5916         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
5917         to avoid alignment traps in non-cacheable memory.
5918         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
5920         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
5921         multiarch objects.
5922         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
5923         file: multiarch power7 memmove.
5924         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
5925         multiarch default memmove.
5926         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
5927         multiarch memove for powerpc32/power4.
5929         * string/bcopy.c: Use full path to include memmove.c.
5930         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
5931         multiarch objects.
5932         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
5933         bcopy for powerpc64.
5934         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
5935         bcopy for powerpc64.
5936         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
5937         and memmove implementations.
5938         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
5939         optimized multiarch memmove for POWER7/powerpc64.
5940         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
5941         default multiarch memmove for powerpc64.
5942         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
5943         multiarch for powerpc64.
5944         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
5945         for POWER7/powerpc64.
5946         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
5947         memmove for POWER7/powerpc64.
5949         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
5950         glibc default one.
5952         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
5953         __ELF_NATIVE_CLASS equal to 64.
5955 2014-07-07  Roland McGrath  <roland@hack.frob.com>
5957         * sysdeps/nptl/lowlevellock.h: File removed.
5959         * NEWS: NPTL is no longer an add-on!
5960         * nptl/internaltypes.h: Moved ...
5961         * sysdeps/nptl/internaltypes.h: ... here.
5962         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
5963         * sysdeps/nptl/fork.c: Likewise.
5964         * sysdeps/nptl/gai_misc.h: Likewise.
5965         * sysdeps/nptl/librt-cancellation.c: Likewise.
5966         * sysdeps/nptl/jmp-unwind.c: Likewise.
5967         * sysdeps/nptl/setxid.h: Likewise.
5968         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
5969         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
5970         * sysdeps/unix/sysv/linux/arm/Implies: New file.
5971         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
5972         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
5973         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
5974         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
5975         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
5976         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
5977         * sysdeps/unix/sysv/linux/mips/Implies: New file.
5978         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
5979         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
5980         * sysdeps/unix/sysv/linux/sh/Implies: New file.
5981         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
5982         * sysdeps/unix/sysv/linux/tile/Implies: New file.
5983         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
5984         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
5985         * nptl/Makeconfig: Moved ...
5986         * sysdeps/nptl/Makeconfig: ... here.
5987         * nptl/configure: File removed.
5988         * nptl/ANNOUNCE: File removed.
5989         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
5990         * sysdeps/unix/sysv/linux/configure: Regenerated.
5992         * nptl/Makefile (routines): Add libc_pthread_init,
5993         libc_multiple_threads, register-atfork and unregister-atfork.
5994         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
5995         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
5996         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
5997         pthread-pi-defines.sym, structsem.sym.
5998         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
5999         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
6000         [$(subdir) = nptl] (tests): Add tst-setgetname.
6001         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
6002         * sysdeps/unix/sysv/linux/sigaction.c: Just include
6003         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
6004         [!LIBC_SIGACTION]: Remove aliases.
6005         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
6006         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
6007         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6008         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
6009         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
6010         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
6011         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6012         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6013         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
6014         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
6015         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
6016         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
6017         __libc_allocate_rtsig_private.
6018         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
6019         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
6020         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
6021         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
6022         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
6023         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
6024         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
6025         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
6026         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
6027         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
6028         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
6029         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
6030         * nptl/internaltypes.h: ... here.
6031         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
6032         * sysdeps/nptl/jmp-unwind.c: ... here.
6033         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
6034         * nptl/libc-lowlevellock.c: ... here.
6035         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
6036         * nptl/libc_multiple_threads.c: ... here.
6037         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
6038         * nptl/libc_pthread_init.c: ... here.
6039         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
6040         * nptl/lowlevelbarrier.sym: ... here.
6041         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
6042         * nptl/lowlevelcond.sym: ... here.
6043         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
6044         * nptl/lowlevellock.c: ... here.
6045         * nptl/lowlevellock.h: Moved ...
6046         * sysdeps/nptl/lowlevellock.h: ... here.
6047         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
6048         * nptl/lowlevelrobustlock.c: ... here.
6049         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
6050         * nptl/lowlevelrobustlock.sym: ... here.
6051         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
6052         * nptl/lowlevelrwlock.sym: ... here.
6053         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
6054         * nptl/pt-fork.c: ... here.
6055         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
6056         * nptl/pthread-pi-defines.sym: ... here.
6057         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
6058         * nptl/pthread_attr_getaffinity.c: ... here.
6059         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
6060         * nptl/pthread_attr_setaffinity.c: ... here.
6061         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
6062         * nptl/pthread_mutex_cond_lock.c: ... here.
6063         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6064         Update #include.
6065         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
6066         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
6067         * nptl/pthread_once.c: ... here, replacing old file.
6068         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
6069         * nptl/pthread_yield.c: ... here.
6070         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
6071         * nptl/register-atfork.c: ... here.
6072         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
6073         * nptl/sem_post.c: ... here.
6074         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
6075         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
6076         * nptl/sem_timedwait.c: ... here.
6077         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
6078         * nptl/sem_trywait.c: ... here.
6079         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
6080         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
6081         * nptl/sem_wait.c: ... here.
6082         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
6083         * nptl/structsem.sym: ... here.
6084         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
6085         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
6086         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
6087         * nptl/unregister-atfork.c: ... here.
6088         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
6089         * nptl/unwindbuf.sym: ... here.
6090         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
6091         * sysdeps/nptl/fork.c: ... here.
6092         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
6093         * sysdeps/nptl/fork.h: ... here.
6094         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
6095         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
6096         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
6097         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
6098         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
6099         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
6100         * sysdeps/unix/sysv/linux/getpid.c: ... here.
6101         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
6102         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
6103         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
6104         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
6105         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
6106         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
6107         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
6108         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
6109         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
6110         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
6111         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
6112         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
6113         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
6114         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
6115         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
6116         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
6117         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
6118         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
6119         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
6120         * sysdeps/unix/sysv/linux/raise.c: ... here.
6121         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
6122         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
6123         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
6124         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
6125         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
6126         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
6127         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
6128         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
6129         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
6130         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
6131         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
6132         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
6133         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
6134         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
6135         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
6137 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
6139         * sysdeps/generic/memcopy.h: Add comment for
6140         MEMCPY_OK_FOR_FWD_MEMMOVE.
6142 2014-07-04  Will Newton  <will.newton@linaro.org>
6144         * string/memchr.c: Merge from gnulib.
6145         [_LIBC]: Remove conditionals.
6146         (__ptr_t): Remove define.
6147         (LONG_MAX_32_BITS): Likewise.
6148         (LONG_MAX): Likewise.
6149         (MEMCHR): Use ANSI prototype and optimize algorithm.
6151         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
6153 2014-07-03  Roland McGrath  <roland@hack.frob.com>
6155         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
6156         (lll_futex_timed_wait_bitset): Fix syscall argument count.
6158         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
6159         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
6160         in a bare environment with no <stdlib.h> installed.
6161         * sysdeps/nptl/configure: Regenerated.
6163         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
6165         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
6166         AC_EGREP_CPP for kernel header checks, so they only succeed if
6167         including <linux/version.h> actually works right.
6168         * sysdeps/unix/sysv/linux/configure: Regenerated.
6170         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
6171         value so it's not diagnosed as unused.
6173         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
6174         thing) with "ifeq ($(subdir),rt)".
6176 2014-07-03  Richard Henderson  <rth@redhat.com>
6178         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
6179         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
6180         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
6182         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
6183         (math_force_eval): New.
6185         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
6186         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
6188         * sysdeps/alpha/fpu/s_round.c: Remove file.
6189         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
6191         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
6192         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
6193         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
6194         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
6195         (_dl_start, print_statistics): Likewise.
6196         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
6197         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
6199         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6200         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6201         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6202         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6203         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6204         (HP_SMALL_TIMING_AVAIL): Define.
6205         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6206         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
6207         (HP_SMALL_TIMING_AVAIL): Define.
6208         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6209         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6211         * sysdeps/aarch64/hp-timing.h: New file.
6213         * sysdeps/generic/hp-timing.h: Remove dead comment.
6214         * sysdeps/generic/hp-timing-common.h: New file.
6215         * sysdeps/alpha/hp-timing.h: Include it.
6216         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
6217         * sysdeps/i386/i686/hp-timing.h: Likewise.
6218         * sysdeps/ia64/hp-timing.h: Likewise.
6219         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6220         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6221         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
6222         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
6223         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
6224         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
6225         (hp_timing_t): New.
6227         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
6228         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
6229         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
6230         * elf/rtld.c (_dl_start_final): Likewise.
6231         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
6232         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6233         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6234         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6235         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6236         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6237         (HP_TIMING_DIFF_INIT): Remove.
6238         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6239         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
6240         (HP_TIMING_DIFF_INIT): Remove.
6241         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6242         * sysdeps/i386/i686/hp-timing.c: Remove file.
6243         * sysdeps/x86_64/hp-timing.c: Remove file.
6244         * sysdeps/ia64/hp-timing.c: Remove file.
6245         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
6246         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
6247         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
6248         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
6250         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
6251         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
6252         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
6253         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6254         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6255         (HP_TIMING_ACCUM): Remove.
6256         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6257         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
6258         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6260         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
6261         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
6262         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
6263         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
6264         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
6265         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
6266         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
6267         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
6269         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
6271 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
6273         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
6275 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6277         Sync up with gettext.
6278         * intl/loadmsgcat.c: Define O_BINARY if not defined.
6279         [_MSC_VER]: Include malloc.h
6280         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
6281         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
6282         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
6283         TEMP_FAILURE_RETRY.  Cast return of alloca.
6284         [!_LIBC] Call gl_rwlock_init.
6285         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
6287 2014-07-02  Roland McGrath  <roland@hack.frob.com>
6289         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
6290         before checking its value.
6292 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6294         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
6296         * debug/memcpy_chk.c: Don't include pagecopy.h.
6297         * debug/mempcpy_chk.c: Likewise.
6298         * string/memcpy.c: Likewise.
6299         * string/memmove.c: Likewise.
6300         * sysdeps/powerpc/memmove.c: Likewise.
6301         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
6302         definition of PAGE_COPY_FWD_MAYBE here...
6303         * sysdeps/generic/pagecopy.h: ... from here.
6304         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
6306 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6307             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6309         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
6310         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
6311         optimizations.
6312         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6313         (__libc_ifunc_impl_list): Likewise.
6314         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
6315         multiarch strcat for PPC64.
6316         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
6317         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
6319 2014-07-02  Roland McGrath  <roland@hack.frob.com>
6321         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
6323 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6325         * intl/loadmsgcat.c: Remove declaration of
6326         get_sysdep_segment_value.
6327         (get_sysdep_segment_value): Use ISO C style.
6328         (_nl_load_domain): Use ISO C style.  Get rid of redundant
6329         semicolon.  Fix typo and formatting in comment.
6330         (_nl_unload_domain): Use ISO C style.
6332         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
6334 2014-07-02  Will Newton  <will.newton@linaro.org>
6336         * malloc/obstack.c: Merge from gnulib master.
6337         [HAVE_CONFIG_H]: Remove conditional code.
6338         [!_LIBC]: Include config.h.
6339         [!ELIDE_CODE]: Don't include inttypes.h, include
6340         stdint.h unconditionally.
6341         (print_and_abort): Mark as _Noreturn.
6342         (_obstack_allocated_p): Mark as __attribute_pure__.
6343         (obstack_free): Rename to __obstack_free.
6344         [!__attribute__]: Remove conditional code.
6345         * malloc/obstack.h: Merge from gnulib master.
6346         [__cplusplus]: Move conditional down.
6347         [!__attribute_pure__]: Define __attribute_pure__ here
6348         if it is not already defined.
6349         (_obstack_memory_used): Mark as __attribute_pure__.
6350         [!__obstack_free]: Define as obstack_free.
6351         [__GNUC__]: Remove check for ancient NeXT gcc.
6353 2014-07-02  Will Newton  <will.newton@linaro.org>
6354             Paul Eggert  <eggert@cs.ucla.edu>
6356         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
6358 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6360         * resolv/gethnamaddr.c: Add comment warning that the file is
6361         not maintained.
6363 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
6365         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
6366         entries.
6368         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
6369         entry for aio_cancel and aio_cancel64.
6370         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
6371         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
6372         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
6373         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
6374         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
6375         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
6376         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
6377         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
6378         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
6379         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
6380         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
6381         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
6382         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
6384 2014-07-01  Roland McGrath  <roland@hack.frob.com>
6386         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
6387         * nptl/pthread_mutex_lock.c: Likewise.
6388         * nptl/pthread_mutex_timedlock.c: Likewise.
6389         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
6391 2014-07-01  Richard henderson  <rth@redhat.com>
6393         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
6394         (__isnan, __isnanl): Remove.
6395         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
6397         * sysdeps/alpha/fpu/libm-test-ulps: Update.
6399 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
6401         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6403 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
6405         * resolv/nss_dns/dns-host.c (getanswer_r)
6406         [MULTI_PTRS_ARE_ALIASES]: Remove code.
6408 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
6410         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6411         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
6412         undefine.
6413         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
6414         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
6416 2014-07-01  Roland McGrath <roland@hack.frob.com>
6418         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
6419         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
6421         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
6422         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
6424         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
6425         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
6426         ... here.
6427         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
6428         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
6430         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
6431         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
6432         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
6433         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
6435         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
6436         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
6437         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
6438         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
6439         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
6440         Moved ...
6441         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
6442         ... here.
6443         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
6444         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
6445         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
6446         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
6447         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
6448         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
6449         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
6450         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
6451         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
6452         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
6453         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
6454         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
6455         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
6456         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
6457         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
6458         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
6459         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
6460         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
6461         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
6462         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
6463         ... here.
6464         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
6465         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
6466         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
6467         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
6468         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
6469         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
6470         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
6471         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
6473 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
6475         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
6476         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
6477         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
6478         Add sysdep.
6480 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6482         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6484 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
6486         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
6487         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6489         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6491         * sysdeps/arm/libm-test-ulps: Regenerated.
6493 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
6494             Roland McGrath <roland@hack.frob.com>
6496         * test-skeleton.c (signal_handler): Kill the whole process group
6497         before killing the child individually.
6498         (main): Report any failure on `setpgid'.
6500 2014-06-30  Roland McGrath  <roland@hack.frob.com>
6502         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
6503         from _TLS_H to _ARM_NPTL_TLS_H.
6504         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
6505         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
6507 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
6509         [BZ #16539]
6510         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
6511         (__expm1l): Return argument unchanged when small but not
6512         subnormal.
6514         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
6515         include macro name.
6516         (_FP_UNPACK_RAW_1_P): Likewise.
6517         (_FP_PACK_RAW_1): Likewise.
6518         (_FP_PACK_RAW_1_P): Likewise.
6519         (_FP_MUL_MEAT_1_wide): Likewise.
6520         (_FP_MUL_MEAT_DW_1_hard): Likewise.
6521         (_FP_MUL_MEAT_1_hard): Likewise.
6522         (_FP_DIV_MEAT_1_imm): Likewise.
6523         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
6524         (_FP_DIV_MEAT_1_udiv): Likewise.
6525         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
6526         (_FP_UNPACK_RAW_2): Likewise.
6527         (_FP_UNPACK_RAW_2_P): Likewise.
6528         (_FP_PACK_RAW_2): Likewise.
6529         (_FP_PACK_RAW_2_P): Likewise.
6530         (_FP_MUL_MEAT_DW_2_wide): Likewise.
6531         (_FP_MUL_MEAT_2_wide): Likewise.
6532         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
6533         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
6534         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
6535         (_FP_MUL_MEAT_2_gmp): Likewise.
6536         (_FP_DIV_MEAT_2_udiv): Likewise.
6537         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
6538         (_FP_FRAC_SRL_4): Likewise.
6539         (_FP_FRAC_SRST_4): Likewise.
6540         (_FP_FRAC_SRS_4): Likewise.
6541         (_FP_UNPACK_RAW_4): Likewise.
6542         (_FP_UNPACK_RAW_4_P): Likewise.
6543         (_FP_PACK_RAW_4): Likewise.
6544         (_FP_PACK_RAW_4_P): Likewise.
6545         (_FP_MUL_MEAT_DW_4_wide): Likewise.
6546         (_FP_MUL_MEAT_4_wide): Likewise.
6547         (_FP_MUL_MEAT_4_gmp): Likewise.
6548         (umul_ppppmnnn): Likewise.
6549         (_FP_DIV_MEAT_4_udiv): Likewise.
6550         (__FP_FRAC_ADD_4): Likewise.
6551         (__FP_FRAC_SUB_3): Likewise.
6552         (__FP_FRAC_SUB_4): Likewise.
6553         (__FP_FRAC_DEC_3): Likewise.
6554         (__FP_FRAC_DEC_4): Likewise.
6555         (__FP_FRAC_ADDI_4): Likewise.
6556         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
6557         (_FP_FRAC_SRL_8): Likewise.
6558         (_FP_FRAC_SRS_8): Likewise.
6560         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
6561         include macro name.
6562         (FP_UNPACK_RAW_EP): Likewise.
6563         (FP_PACK_RAW_E): Likewise.
6564         (FP_PACK_RAW_EP): Likewise.
6565         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
6566         (_FP_ISSIGNAN): Likewise.
6567         (_FP_ADD_INTERNAL): Likewise.
6568         (_FP_FMA): Likewise.
6569         (_FP_CMP): Likewise.
6570         (_FP_SQRT): Likewise.
6571         (_FP_TO_INT): Likewise.
6572         (_FP_FROM_INT): Likewise.
6573         (FP_EXTEND): Likewise.
6574         (_FP_DIV_MEAT_N_loop): Likewise.
6576 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
6578         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
6579         throughout.
6581 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
6583         [BZ #17097]
6584         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
6585         result with correct sign in case of exponents that produce
6586         overflow except for X very close to 1.
6588 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
6590         mktime: merge #if/#ifdef usage from glibc
6591         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
6592         as that works with both Glibc's and Gnulib's style.
6593         See thread starting at Siddhesh Poyarekar's bug report at:
6594         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
6596 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
6598         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
6599         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
6600         * sysdeps/tile/tilegx/memmove.c: Remove file.
6602 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
6604         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
6605         abi-name definition.
6606         * scripts/soversions.awk: Do not handle or generate ABI lines.
6607         * shlib-versions: Remove ABI entries.
6608         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
6609         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
6611 2014-06-27  Roland McGrath  <roland@hack.frob.com>
6613         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
6614         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
6615         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
6616         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
6617         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
6618         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
6619         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
6620         Moved ...
6621         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
6622         ... here.
6623         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
6624         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
6625         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
6626         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
6627         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
6628         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
6629         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
6630         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
6631         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
6632         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
6633         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
6634         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
6635         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
6636         Moved ...
6637         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
6638         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
6639         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
6640         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
6641         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
6642         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
6643         Moved ...
6644         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
6645         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
6646         Moved ...
6647         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
6648         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
6649         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
6650         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
6651         Moved ...
6652         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
6653         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
6654         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
6655         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
6656         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
6657         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
6658         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
6659         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
6660         Moved ...
6661         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
6662         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
6663         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
6664         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
6665         Moved ...
6666         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
6667         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
6668         Moved ...
6669         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
6670         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
6671         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
6672         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
6673         Moved ...
6674         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
6675         ... here.
6676         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
6677         Identical file removed.
6678         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
6679         Moved ...
6680         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
6681         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
6682         Identical file removed.
6683         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
6684         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
6685         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
6686         Moved ...
6687         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
6688         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
6689         Identical file removed.
6690         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
6691         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
6692         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
6693         Identical file removed.
6694         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
6695         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
6696         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
6697         Identical file removed.
6698         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
6699         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
6700         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
6701         Identical file removed.
6702         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
6703         Moved ...
6704         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
6705         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
6706         Identical file removed.
6707         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
6708         Moved ...
6709         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
6710         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
6711         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
6712         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
6713         Identical file removed.
6714         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
6715         Moved ...
6716         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
6717         ... here.
6718         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
6719         Identical file removed.
6720         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
6721         Moved ...
6722         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
6723         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
6724         Identical file removed.
6725         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
6726         Moved ...
6727         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
6728         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
6729         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
6730         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
6731         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
6732         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
6733         Moved ...
6734         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
6735         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
6736         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
6738         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
6739         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
6740         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
6741         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
6742         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
6744 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
6746         [BZ #17092]
6747         * nscd/nscd.c (monitor_child): Return exit status of child
6748         instead of return value from wait syscall.
6750 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
6752         * configure.ac (libc_commonpagesize): Remove variable.
6753         (libc_relro_required): Likewise.
6754         (libc_cv_z_relro): Remove configure test.
6755         * configure: Regenerated.
6756         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
6757         variable.
6758         (libc_relro_required): Likewise.
6759         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
6760         (libc_relro_required): Likewise.
6761         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
6762         (libc_relro_required): Likewise.
6763         * sysdeps/arm/preconfigure: Regenerated.
6764         * sysdeps/ia64/preconfigure: Remove file.
6765         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
6766         variable.
6767         (libc_relro_required): Likewise.
6769         [BZ #16561]
6770         [BZ #16562]
6771         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
6772         (__ieee754_yn): Set FE_TONEAREST mode internally and then
6773         recompute overflowing results in original rounding mode.
6774         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
6775         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
6776         recompute overflowing results in original rounding mode.
6777         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
6778         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6779         recompute overflowing results in original rounding mode.
6780         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
6781         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6782         recompute overflowing results in original rounding mode.
6783         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
6784         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6785         recompute overflowing results in original rounding mode.
6786         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
6787         (libc_feholdsetround_ctx): New macro.
6788         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
6789         * sysdeps/i386/fpu/libm-test-ulps: Update.
6790         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
6792 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
6794         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
6795         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
6796         corresponding .cpsetup call.
6798 2014-06-26  Roland McGrath  <roland@hack.frob.com>
6800         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
6801         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
6802         * sysdeps/arm/Makefile [$(subdir) = csu]
6803         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
6804         (static-only-routines): Add aeabi_read_tp here.
6805         (shared-only-routines): Add libc-aeabi_read_tp here.
6806         (CFLAGS-libc-start.c): Add -fexceptions here.
6807         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
6808         (sysdep_routines, static-only-routines, shared-only-routines):
6809         Don't add to these here.
6810         (CFLAGS-libc-start.c): Likewise.
6812         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
6813         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6814         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
6815         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6816         * sysdeps/arm/Makefile [$(subdir) = rt]
6817         (librt-sysdep_routines, librt-shared-only-routines):
6818         Append rt-aeabi_unwind_cpp_pr1 here.
6819         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
6820         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
6821         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
6822         (libpthread-sysdep_routines, libpthread-shared-only-routines):
6823         Append nptl-aeabi_unwind_cpp_pr1 here.
6824         (tests): Filter out tst-cleanupx4 here.
6825         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
6826         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
6827         Don't do those here.
6829 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
6831         * scripts/list-sources.sh: Do not handle ports specially.
6833 2014-06-26  Roland McGrath  <roland@hack.frob.com>
6835         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
6836         * sysdeps/arm/feupdateenv.c: Likewise.
6838         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
6840 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
6842         * manual/texinfo.tex: Update to version 2014-05-05.10 with
6843         trailing whitespace removed.
6844         * scripts/config.guess: Update to version 2014-03-23.
6845         * scripts/config.sub: Update to version 2014-05-01
6846         * scripts/install-sh: Update to version 2013-12-25.23.
6847         * scripts/move-if-change: Update from gnulib.
6849 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6851         * debug/memmove_chk.c: Remove pagecopy.h include.
6853 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
6855         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
6856         identical to gnulib mktime.
6858 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
6860         * configure.ac: Do not test for machine being rs6000.  Do not test
6861         for powerpc*-*soft.
6862         * configure: Regenerated.
6864         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
6865         test.
6866         * configure: Regenerated.
6867         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
6868         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
6869         Remove configure test.
6870         * sysdeps/arm/configure: Regenerated.
6871         * sysdeps/nptl/configure.ac: Do not check
6872         libc_cv_asm_cfi_directives.
6873         * sysdeps/nptl/configure: Regenerated.
6874         * sysdeps/x86_64/nptl/configure.ac: Remove file.
6875         * sysdeps/x86_64/nptl/configure: Remove generated file.
6876         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
6877         unconditional.
6878         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
6880 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6882         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
6883         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
6884         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
6885         it is defined.
6887         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
6888         instead of whether it is defined.
6889         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
6890         * sysdeps/hppa/dl-machine.h: Likewise.
6891         * sysdeps/ia64/dl-machine.h: Likewise.
6892         * sysdeps/m68k/dl-machine.h: Likewise.
6893         * sysdeps/microblaze/dl-machine.h: Likewise.
6894         * sysdeps/mips/dl-machine.: Likewise.
6895         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
6896         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6897         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6898         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6899         * sysdeps/sh/dl-machine.h: Likewise.
6900         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6901         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6902         * sysdeps/tile/dl-machine.h: Likewise.
6903         * sysdeps/x86_64/dl-machine.h: Likewise.
6905         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
6906         code.
6907         (verify_persistent_db): Likewise.
6909 2014-06-26  Roland McGrath  <roland@hack.frob.com>
6911         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
6912         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
6913         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
6914         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
6915         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6916         Moved ...
6917         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
6918         ... here.
6919         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
6920         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
6921         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
6922         Identical file removed.
6923         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
6924         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
6925         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
6926         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
6927         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
6928         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
6929         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
6930         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
6931         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
6932         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
6933         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6934         Moved ...
6935         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
6936         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
6937         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
6938         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
6939         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
6940         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6941         Moved ...
6942         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
6943         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
6944         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
6945         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
6946         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
6947         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
6948         Identical file removed.
6949         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
6950         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
6951         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
6952         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
6953         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6954         Moved ...
6955         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
6956         ... here.
6957         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
6958         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
6959         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
6960         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
6961         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
6962         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
6963         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
6964         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
6965         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
6966         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
6967         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6968         Moved ...
6969         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
6970         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
6971         Moved ...
6972         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
6973         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
6974         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
6975         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6976         Moved ...
6977         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
6978         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
6979         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
6981         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
6982         folded into ...
6983         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
6984         * sysdeps/unix/sysv/linux/s390/Versions
6985         (libpthread: GLIBC_2.19): New version set.
6986         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
6987         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
6988         (librt: GLIBC_2.3.3): New version set.
6989         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
6990         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
6991         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
6992         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
6993         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
6994         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
6995         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
6996         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
6997         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
6998         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
6999         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
7000         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
7001         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
7002         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
7003         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
7004         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
7005         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
7006         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
7007         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
7008         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
7009         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
7010         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
7011         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
7012         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
7013         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
7014         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
7015         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
7016         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
7017         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
7018         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
7019         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
7020         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
7021         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
7022         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
7023         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
7024         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
7025         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
7026         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
7027         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
7028         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
7029         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
7030         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
7031         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
7032         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
7033         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
7035         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
7036         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
7037         (__libc_vfork): Define the function under this name.
7038         [!NOT_IN_libc] (__vfork): Make this an alias.
7039         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
7040         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
7041         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
7042         (__libc_vfork): Define the function under this name.
7043         [!NOT_IN_libc] (__vfork): Make this an alias.
7044         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
7045         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
7046         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
7047         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
7048         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
7049         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7051         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
7052         code that was previously under [RESET_PID].
7053         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
7054         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
7055         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
7057         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
7058         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
7059         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
7060         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
7061         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
7062         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
7063         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
7064         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
7065         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
7066         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
7067         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
7068         Moved ...
7069         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
7070         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
7071         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
7072         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
7073         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
7074         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
7075         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
7076         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
7077         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
7078         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
7079         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
7080         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
7081         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
7082         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
7083         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
7084         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
7085         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
7086         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
7087         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
7088         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
7089         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
7090         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
7091         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
7092         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
7093         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
7094         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
7095         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
7096         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
7097         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
7099 2014-06-25  Roland McGrath  <roland@hack.frob.com>
7101         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
7102         that was previously under [RESET_PID].
7103         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
7105 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
7107         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
7108         not undefine and redefine.
7109         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
7110         [O_CLOEXEC]: Make code unconditional.
7111         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
7112         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
7113         <kernel-features.h>.
7114         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
7115         conditional variable definition.
7116         (shm_open) [O_CLOEXEC]: Make code unconditional.
7117         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
7118         code.
7120         * configure.ac (USE_REGPARMS): Don't define here.
7121         * configure: Regenerated.
7122         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
7123         * sysdeps/i386/configure: Regenerated.
7125         * nptl/createthread.c: Don't include kernel-features.h.
7126         * nptl/pthread_cancel.c: Likewise.
7127         * nptl/pthread_condattr_setclock.c: Likewise.
7128         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
7129         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
7130         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
7131         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
7132         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
7133         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
7134         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
7135         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
7136         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
7137         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
7138         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
7139         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
7140         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
7141         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
7142         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
7143         * nscd/gai.c: Likewise.
7144         * nss/nss_db/db-open.c: Likewise.
7145         * sysdeps/generic/ldsodefs.h: Likewise.
7146         * sysdeps/sh/nptl/tls.h: Likewise.
7147         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
7148         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
7149         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
7150         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
7151         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
7152         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
7153         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
7154         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7155         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7156         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
7157         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
7158         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7159         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
7160         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
7161         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
7162         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
7163         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
7164         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
7165         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
7166         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
7167         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
7168         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
7169         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
7170         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
7171         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
7172         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
7173         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
7174         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
7175         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
7176         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
7177         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
7178         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
7179         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
7180         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7181         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
7182         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7183         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
7184         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
7185         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
7186         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
7187         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
7188         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
7189         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
7190         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7191         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
7192         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
7193         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
7194         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
7195         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
7196         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
7197         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
7198         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
7199         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
7200         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
7201         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
7202         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
7203         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7204         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
7205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
7207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
7208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
7209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
7210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
7211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
7212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
7213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
7216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
7217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
7218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
7219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
7220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
7221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
7225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
7226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
7227         * sysdeps/unix/sysv/linux/pread.c: Likewise.
7228         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
7229         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
7230         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
7231         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
7232         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
7233         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
7234         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
7235         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
7236         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
7237         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
7238         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
7239         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
7240         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
7241         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
7242         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
7243         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7244         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
7245         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
7246         * sysdeps/unix/sysv/linux/system.c: Likewise.
7247         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
7248         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
7249         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7250         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7251         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7252         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7253         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
7255         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
7256         * configure: Regenerated.
7257         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
7259         * configure.ac (base_machine): Do not set specially for particular
7260         machines here.
7261         * configure: Regenerated.
7262         * sysdeps/powerpc/preconfigure: Move machine and base_machine
7263         settings from configure.ac.
7264         * sysdeps/i386/preconfigure: New file.
7265         * sysdeps/s390/preconfigure: Likewise.
7266         * sysdeps/sh/preconfigure: Likewise.
7267         * sysdeps/sparc/preconfigure: Likewise.
7269 2014-06-25  Roland McGrath  <roland@hack.frob.com>
7271         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
7272         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
7273         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
7274         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
7275         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
7276         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
7277         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
7278         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
7279         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
7280         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
7281         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
7282         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
7283         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
7284         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
7285         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
7286         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
7287         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
7288         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
7289         * sysdeps/sparc/sparc64/Makefile: ... appended here.
7291         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
7292         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
7293         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
7294         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
7295         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
7296         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
7297         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
7298         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
7299         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
7300         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
7301         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
7302         * sysdeps/sparc/sparc32/sem_post.c: ... here.
7303         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
7304         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
7305         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
7306         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
7307         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
7308         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
7309         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
7310         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
7311         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
7312         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
7313         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
7314         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
7315         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
7316         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
7317         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
7318         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
7319         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
7320         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
7321         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
7322         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
7323         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
7324         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
7325         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
7326         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
7327         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
7328         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
7330         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
7331         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
7332         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
7333         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
7334         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7335         Moved ...
7336         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
7337         ... here.
7338         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
7339         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
7340         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
7341         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
7342         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
7343         Moved ...
7344         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
7345         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
7346         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
7347         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
7348         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
7349         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
7350         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
7351         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7352         Moved ...
7353         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
7354         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7355         Moved ...
7356         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
7357         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
7358         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
7359         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7360         Moved ...
7361         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
7362         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
7363         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
7364         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
7365         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
7366         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
7367         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
7368         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
7369         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
7370         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7371         Moved ...
7372         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
7373         ... here.
7374         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
7375         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
7376         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
7377         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
7378         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
7379         Moved ...
7380         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
7381         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
7382         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
7383         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
7384         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
7385         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
7386         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
7387         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7388         Moved ...
7389         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
7390         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7391         Moved ...
7392         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
7393         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
7394         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
7395         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7396         Moved ...
7397         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
7398         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
7399         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
7400         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
7401         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
7403 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
7405         * timezone/checktab.awk: Update from tzcode 2014e.
7406         * timezone/private.h: Likewise.
7407         * timezone/tzfile.h: Likewise.
7408         * timezone/zdump.c: Likewise.
7409         * timezone/zic.c: Likewise.
7411         * sysdeps/unix/sysv/linux/kernel-features.h
7412         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
7413         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
7414         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
7415         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
7416         Remove conditional code.
7418 2014-06-25  Will Newton  <will.newton@linaro.org>
7420         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
7421         (_dl_arm_cap_flags): Add HWCAP2 values.
7422         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
7423         (_DL_HWCAP_COUNT): Increase to 37.
7424         (_DL_HWCAP_LAST): New define.
7425         (_DL_HWCAP2_LAST): New define.
7426         (_dl_procinfo): Add support for printing
7427         AT_HWCAP2 entries.
7428         (_dl_string_hwcap): Use _dl_hwcap_string.
7430 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7432         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7434 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
7436         * README: Do not mention ports directory.
7438         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
7439         Remove macro.
7440         * sysdeps/unix/sysv/linux/futimes.c: Do not include
7441         <kernel-features.h>.
7442         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
7443         conditional variable definition.
7444         (__futimes): Update comment.
7445         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
7446         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
7448         [BZ #16560]
7449         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
7450         arguments close to 0.
7451         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
7452         Likewise.
7453         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
7454         Likewise.
7455         * math/auto-libm-test-in: Add more tests of exp10.
7456         * math/auto-libm-test-out: Regenerated.
7457         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7459         * sysdeps/unix/sysv/linux/kernel-features.h
7460         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
7461         * sysdeps/unix/sysv/linux/readv.c: Do not include
7462         <kernel-features.h>.
7463         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
7464         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
7465         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
7466         unconditional.
7467         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
7468         conditional code.
7469         * sysdeps/unix/sysv/linux/writev.c: Do not include
7470         <kernel-features.h>.
7471         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
7472         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
7473         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
7474         unconditional.
7475         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
7476         conditional code.
7478 2014-06-25  Will Newton  <will.newton@linaro.org>
7480         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
7481         comment changes throughout the file.  Remove checks
7482         for HAVE_*_H definitions that are not required.
7483         (__gen_tempname): Call abort if an unknown kind value is
7484         passed.
7486 2014-06-25  Andreas Schwab  <schwab@suse.de>
7488         [BZ #17086]
7489         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
7490         scalbln, scalblnf, scalblnl in libc.
7492 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
7494         [BZ #17086]
7495         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
7496         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
7497         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
7499 2014-06-24  Roland McGrath  <roland@hack.frob.com>
7501         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
7502         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
7503         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
7504         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
7505         Update #include.
7506         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
7507         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
7508         Update #include.
7509         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
7510         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
7511         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
7512         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
7513         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
7514         * sysdeps/x86/bits/pthreadtypes.h: ... here.
7515         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
7516         * sysdeps/x86/bits/semaphore.h: ... here.
7517         * sysdeps/x86/nptl/elide.h: Moved ...
7518         * sysdeps/x86/elide.h: ... here.
7519         * sysdeps/x86_64/nptl/Implies: File removed.
7520         * sysdeps/i386/nptl/Implies: File removed.
7522 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
7524         [BZ #16539]
7525         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
7526         return the argument for normal arguments with exponent below -64.
7527         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7528         Likewise.
7529         * math/auto-libm-test-in: Add another test of expm1.
7530         * math/auto-libm-test-out: Regenerated.
7532         [BZ #16287]
7533         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
7534         calling __erfcl for arguments at least 16.
7535         * math/auto-libm-test-in: Add more tests of erf.
7536         * math/auto-libm-test-out: Regenerated.
7538         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
7539         individual architectures.
7540         * sysdeps/unix/sysv/linux/configure: Regenerated.
7541         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
7542         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
7543         * sysdeps/unix/sysv/linux/powerpc/configure.ac
7544         (ldd_rewrite_script): Define variable.
7545         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
7547         file.
7548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
7549         generated file.
7550         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
7551         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
7552         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
7553         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
7554         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
7555         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
7556         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
7557         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
7559 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7561         [BZ #17084]
7562         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
7563         Rename member __data.d to __data.__elision_data.
7565 2014-06-24  Wilco  <wdijkstr@arm.com>
7567         * NEWS: Add 16918 to fixed bug list.
7569 2014-06-24  Wilco  <wdijkstr@arm.com>
7571         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
7573 2014-06-24  Wilco  <wdijkstr@arm.com>
7575         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
7576         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
7577         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
7578         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
7579         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
7580         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
7581         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
7582         Use _FPU_MASK_RM.
7584 2014-06-24  Wilco  <wdijkstr@arm.com>
7586         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
7588 2014-06-24  Wilco  <wdijkstr@arm.com>
7590         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
7591         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
7592         * sysdeps/arm/fesetround.c (fesetround): Remove space.
7593         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
7595 2014-06-24  Wilco  <wdijkstr@arm.com>
7597         [BZ #16918]
7598         * sysdeps/arm/feupdateenv.c (feupdateenv):
7599         Rewrite to reduce FPSCR accesses and fix return value.
7601 2014-06-24  Wilco  <wdijkstr@arm.com>
7603         * sysdeps/arm/fclrexcpt.c (feclearexcept):
7604         Optimize to avoid unnecessary FPSCR writes.
7605         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
7606         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
7607         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
7608         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
7610 2014-06-24  Wilco  <wdijkstr@arm.com>
7612         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
7613         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
7614         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
7615         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
7616         Call libc_fetestexcept_vfp.
7617         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
7618         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
7619         __SOFTFP__ ifdef so that they can be built for softfp.
7621 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7623         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
7624         argument type signed char.
7626         * Makerules (check-abi): Dump diff of symlist if the test
7627         fails.
7629 2014-06-23  Roland McGrath  <roland@hack.frob.com>
7631         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
7632         using abort.
7634         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
7635         Remove unused variable ST.
7637 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
7639         [BZ #16354]
7640         [BZ #17061]
7641         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
7642         small arguments before calling __expm1.
7643         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
7644         small arguments before calling __expm1f.
7645         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
7646         small arguments before calling __expm1l.
7647         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
7648         Likewise.
7649         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
7650         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
7651         spurious underflow for some cosh tests.
7652         * math/auto-libm-test-out: Regenerated.
7653         * sysdeps/i386/fpu/libm-test-ulps: Update.
7655         [BZ #17050]
7656         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
7657         (__ieee754_y1): Set errno if return value overflows.
7658         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
7659         (__ieee754_y1f): Set errno if return value overflows.
7660         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
7661         (__ieee754_y1l): Set errno if return value overflows.
7662         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
7663         (__ieee754_y1l): Set errno if return value overflows.
7664         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
7665         * math/auto-libm-test-out: Regenerated.
7667         * math/gen-auto-libm-tests.c: Document use of
7668         ignore-zero-inf-sign.
7669         (input_flag_type): Add value flag_ignore_zero_inf_sign.
7670         (input_flags): Add ignore-zero-inf-sign.
7671         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
7672         * math/gen-libm-test.pl (generate_testfile): Handle
7673         ignore-zero-inf-sign.
7674         * math/auto-libm-test-in: Mark some cpow tests with
7675         ignore-zero-inf-sign and some with xfail-rounding.
7676         * math/auto-libm-test-out: Regenerated.
7677         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
7678         * sysdeps/i386/fpu/libm-test-ulps: Update.
7679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7681         [BZ #16315]
7682         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
7683         overflowing or underflowing operations take place with sign of
7684         result.
7685         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7686         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
7687         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
7688         (__ieee754_pow): Recompute overflowing and underflowing results in
7689         original rounding mode.
7690         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
7691         (__powl_helper): Allow negative argument X and scale negated value
7692         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
7693         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
7694         overflowing or underflowing operations take place with sign of
7695         result.
7696         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
7697         Include <math.h>.
7698         * math/auto-libm-test-in: Add more tests of pow.
7699         * math/auto-libm-test-out: Regenerated.
7700         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
7701         (pow_tonearest_test_data): Remove.
7702         (pow_test_tonearest): Likewise.
7703         (pow_towardzero_test_data): Likewise.
7704         (pow_test_towardzero): Likewise.
7705         (pow_downward_test_data): Likewise.
7706         (pow_test_downward): Likewise.
7707         (pow_upward_test_data): Likewise.
7708         (pow_test_upward): Likewise.
7709         (main): Don't call removed functions.
7710         * sysdeps/i386/fpu/libm-test-ulps: Update.
7711         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7713 2014-06-23  Roland McGrath  <roland@hack.frob.com>
7715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
7716         Moved ...
7717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
7718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7719         Moved ...
7720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
7721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
7722         Moved ...
7723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
7724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
7725         Moved ...
7726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
7727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
7728         File removed.
7729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
7730         File removed.
7731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
7732         File removed.
7733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
7734         File removed.
7735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
7736         File removed.
7737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
7738         File removed.
7739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
7740         File removed.
7741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7742         File removed.
7743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
7744         File removed.
7745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
7746         File removed.
7747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
7748         File removed.
7749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
7750         File removed.
7751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
7752         Moved ...
7753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
7754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
7755         Moved ...
7756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
7757         ... here.
7758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
7759         Moved ...
7760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
7761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
7762         Moved ...
7763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
7764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
7765         Moved ...
7766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
7767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
7768         Moved ...
7769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
7770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
7771         Moved ...
7772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
7773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
7774         Moved ...
7775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
7776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
7777         Moved ...
7778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
7779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
7780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
7781         ... here.
7782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
7783         Moved ...
7784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
7785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7786         Moved ...
7787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7788         ... here.
7789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
7790         Moved ...
7791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7792         ... here.
7793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7794         Moved ...
7795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
7796         ... here.
7797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
7798         Moved ...
7799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
7800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
7801         Moved ...
7802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
7803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
7804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
7805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
7806         Moved ...
7807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
7808         ... here.
7809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
7810         Moved ...
7811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
7812         ... here.
7813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
7814         Moved ...
7815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
7816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
7817         Moved ...
7818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
7819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
7820         Moved ...
7821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
7822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7823         Moved ...
7824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
7825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
7826         Moved ...
7827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
7828         ... here.
7829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
7830         Moved ...
7831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
7832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
7833         Moved ...
7834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
7835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
7836         Moved ...
7837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
7838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
7839         Moved ...
7840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
7841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
7842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
7843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
7844         Moved ...
7845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
7846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
7847         Moved ...
7848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
7849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
7850         Moved ...
7851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
7852         ... here.
7853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7854         Moved ...
7855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
7856         ... here.
7857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
7858         Moved ...
7859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
7860         ... here.
7861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
7862         Moved ...
7863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
7864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
7865         Moved ...
7866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
7867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
7868         Moved ...
7869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
7870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
7871         Moved ...
7872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
7873         ... here.
7874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
7875         Moved ...
7876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
7877         ... here.
7878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
7879         Moved ...
7880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
7881         ... here.
7882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7883         Moved ...
7884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
7885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
7886         Moved ...
7887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
7889 2014-06-23  Will Newton  <will.newton@linaro.org>
7890             Wilco  <wdijkstr@arm.com>
7892         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
7893         implementation.  Include get-rounding-mode.h.
7894         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
7895         [!libc_feholdsetround_noex_ctx]: Define
7896         libc_feholdsetround_noex_ctx.
7897         [!libc_feholdsetround_noexf_ctx]: Define
7898         libc_feholdsetround_noexf_ctx.
7899         [!libc_feholdsetround_noexl_ctx]: Define
7900         libc_feholdsetround_noexl_ctx.
7901         (libc_feholdsetround_ctx): New function.
7902         (libc_feresetround_ctx): New function.
7903         (libc_feholdsetround_noex_ctx): New function.
7904         (libc_feresetround_noex_ctx): New function.
7906 2014-06-23  Roland McGrath  <roland@hack.frob.com>
7908         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
7909         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
7910         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
7911         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
7912         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
7913         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
7915         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
7916         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
7917         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
7918         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
7919         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
7920         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
7921         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
7922         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
7923         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
7924         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
7925         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
7926         Moved ...
7927         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
7928         ... here.
7929         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
7930         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
7931         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
7932         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
7933         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
7934         Moved ...
7935         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
7936         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
7937         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
7938         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
7939         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
7940         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
7941         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
7942         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
7943         Moved ...
7944         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
7945         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
7946         Moved ...
7947         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
7948         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
7949         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
7950         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
7951         Moved ...
7952         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
7953         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
7954         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
7955         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
7956         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
7957         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
7958         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
7959         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
7960         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
7961         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
7962         Moved ...
7963         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
7964         ... here.
7965         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
7966         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
7967         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
7968         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
7969         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
7970         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
7971         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
7972         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
7973         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
7974         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
7975         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
7976         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
7977         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
7978         Moved ...
7979         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
7980         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
7981         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
7982         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
7983         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
7984         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
7985         Moved ...
7986         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
7987         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
7988         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
7989         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
7990         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
7992         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
7993         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
7994         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
7995         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
7996         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
7997         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
7998         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
7999         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
8000         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
8001         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
8002         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
8003         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
8004         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
8005         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
8006         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
8007         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
8008         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
8009         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
8010         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
8011         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
8012         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
8013         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
8014         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
8015         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
8016         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
8017         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
8018         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
8019         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
8021 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
8023         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
8024         (FALLOC_FL_COLLAPSE_RANGE): New macro.
8025         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
8026         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
8027         (IPV6_PMTUDISC_INTERFACE): Likewise.
8028         (IPV6_PMTUDISC_OMIT): Likewise.
8030 2014-06-23  Andreas Schwab  <schwab@suse.de>
8032         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
8033         Remove unused errout label.
8035 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8037         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
8038         macro: hardware supports Vector Crypto instructions.
8040 2014-06-23  Will Newton  <will.newton@linaro.org>
8042         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
8043         rather than __builtin_expect.
8045         * elf/dl-lookup.c (undefined_msg): Remove variable.
8046         (_dl_lookup_symbol_x): Replace undefined_msg with string
8047         literal.
8049         * elf/dl-lookup.c (do_lookup_unique): New function.
8050         (do_lookup_x): Move STB_GNU_UNIQUE handling code
8051         to a separate function.
8053 2014-06-23  Andreas Schwab  <schwab@suse.de>
8055         [BZ #17079]
8056         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
8057         before reading the next line.
8059 2014-06-23  Will Newton  <will.newton@linaro.org>
8061         * test-skeleton.c (signal_handler): Use printf and %m
8062         rather than perror.  Use printf rather than fprintf to
8063         stderr.  Use puts rather than fputs to stderr.
8064         (main): Likewise.
8066 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
8068         * nscd/nscd.c (thread_info_t): Remove typedef.
8069         (thread_info): Remove variable.
8071 2014-06-21  Allan McRae  <allan@archlinux.org>
8073         * NEWS: Mention CVE-2014-4043.
8075 2014-06-20  Roland McGrath  <roland@hack.frob.com>
8077         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
8078         * nptl/smp.h: ... here.
8080         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
8082         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
8083         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
8084         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
8085         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
8087         * nptl/allocatestack.c: Include <stack-aliasing.h>.
8088         * nptl/stack-aliasing.h: New file.
8089         * sysdeps/i386/i686/stack-aliasing.h: New file.
8090         * sysdeps/i386/i686/nptl/Makefile: File removed.
8091         * sysdeps/x86_64/stack-aliasing.h: New file.
8092         * sysdeps/x86_64/nptl/Makefile
8093         (CFLAGS-pthread_create.c): Variable removed.
8095         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
8096         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
8097         old file.
8098         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
8099         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
8100         old file.
8102 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
8104         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8105         (__ASSUME_SIGFRAME_V2): Remove macro.
8106         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
8107         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
8108         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
8109         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
8110         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
8111         Declare as function.  Remove conditional macro definitions.
8112         (__default_rt_sa_restorer): Likewise.
8113         (__default_sa_restorer_v1): Remove declaration.
8114         (__default_sa_restorer_v2): Likewise.
8115         (__default_rt_sa_restorer_v1): Likewise.
8116         (__default_rt_sa_restorer_v2): Likewise.
8117         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
8118         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
8119         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
8121 2014-06-20  Roland McGrath  <roland@hack.frob.com>
8123         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
8124         (libpthread-routines): Add sysdep.
8125         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
8126         * sysdeps/unix/sysv/linux/sparc/Versions
8127         (libpthread: GLIBC_2.3.3): New version set.
8128         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
8129         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
8130         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
8131         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
8132         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
8133         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
8134         Moved ...
8135         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
8136         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
8137         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
8138         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
8139         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
8140         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
8141         * sysdeps/sparc/nptl/sem_init.c: ... here.
8142         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
8143         * sysdeps/sparc/nptl/sem_post.c: ... here.
8144         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
8145         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
8146         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
8147         * sysdeps/sparc/nptl/sem_wait.c: ... here.
8148         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
8149         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
8150         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
8151         (libpthread-routines): Add cpu_relax.
8152         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
8153         File removed.
8154         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
8155         (librt: GLIBC_2.3.3): New version set.
8156         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
8157         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
8158         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
8159         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
8160         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
8161         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
8162         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
8163         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
8164         Moved ...
8165         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
8166         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
8167         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
8168         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
8169         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
8170         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
8171         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
8172         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
8173         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
8174         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
8175         Moved ...
8176         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
8177         Update #include.
8178         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
8179         Moved ...
8180         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
8181         Update #include.
8182         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
8183         Moved ...
8184         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
8185         Update #include.
8186         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
8187         Moved ...
8188         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
8189         Update #include.
8190         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
8191         Moved ...
8192         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
8193         Update #include.
8194         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
8195         Moved ...
8196         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
8197         Update #include.
8198         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
8199         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
8200         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
8201         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
8202         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
8203         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
8204         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
8205         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
8206         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
8207         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
8208         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
8209         Moved ...
8210         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
8211         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
8212         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
8213         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
8214         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
8216 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
8218         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
8219         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
8220         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
8221         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
8222         * nscd/nscd.c: Likewise.
8223         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
8224         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
8225         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
8226         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
8228         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
8229         <kernel-features.h>.
8230         (init_mq_netlink): Remove conditional have_sock_cloexec
8231         definitions.  Remove code conditional on have_sock_cloexec < 0.
8232         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
8233         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
8234         * sysdeps/unix/sysv/linux/opensock.c: Do not include
8235         <kernel-features.h>.
8236         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
8237         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
8239 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
8241         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8242         Add tests for memset_chk and memset.
8244         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
8245         with AVX2_Usable.
8247 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
8249         [BZ #16046]
8250         * elf/tst-dl-iter-static.c: New file.
8251         * elf/Makefile (tests-static): Add tst-dl-iter-static.
8253         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
8254         error.
8256 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
8258         * sysdeps/unix/sysv/linux/kernel-features.h
8259         (__ASSUME_F_GETOWN_EX): Remove macro.
8260         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
8261         <kernel-features.h>.
8262         (miss_F_GETOWN_EX): Remove variable or macro.
8263         (do_fcntl): Do not check miss_F_GETOWN_EX.
8264         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
8266         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
8267         Remove macro.
8268         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
8269         [!__ASSUME_AT_RANDOM]: Remove conditional code.
8270         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
8272         * sysdeps/unix/sysv/linux/kernel-features.h
8273         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
8274         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
8275         [ADJ_OFFSET_SS_READ]: Make code unconditional.
8276         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
8278 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
8280         [BZ #17075]
8281         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
8282         Fix calculation of the symbol's value.
8283         * sysdeps/arm/tst-armtlsdescloc.c: New file.
8284         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
8285         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
8286         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
8287         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
8288         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
8289         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
8290         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
8291         (modules-names): Add `tst-armtlsdescmod',
8292         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
8293         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
8294         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
8295         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
8296         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
8297         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
8298         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
8299         ($(objpfx)tst-armtlsdescloc): New dependency.
8300         ($(objpfx)tst-armtlsdescextnow): Likewise.
8301         ($(objpfx)tst-armtlsdescextlazy): Likewise.
8302         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
8303         TLS scheme support.
8304         * sysdeps/arm/configure: Regenerate.
8306 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
8308         * include/fcntl.h (__atfct_seterrno): Remove prototype.
8309         (__atfct_seterrno_2): Likewise.
8310         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
8311         <kernel-features.h>.
8312         (__ASSUME_ATFCTS): Do not undefine and redefine.
8313         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
8314         (__have_atfcts): Remove conditional definition.
8315         (__fxstatat([__NR_fstatat64]: Make code unconditional.
8316         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
8317         unreachable if [__ASSUME_ATFCTS].
8318         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
8319         not undefine and redefine.
8320         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
8321         <kernel-features.h>.
8322         (faccessat) [__NR_faccessat]: Make code unconditional.
8323         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
8324         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
8325         <kernel-features.h>.
8326         (fchmodat) [__NR_fchmodat]: Make code unconditional.
8327         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
8328         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
8329         <kernel-features.h>.
8330         (fchownat) [__NR_fchownat]: Make code unconditional.
8331         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
8332         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
8333         <kernel-features.h>.
8334         (futimesat) [__NR_futimesat]: Make code unconditional.
8335         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
8336         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8337         <kernel-features.h>.
8338         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
8339         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8340         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8341         <kernel-features.h>.
8342         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
8343         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
8344         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
8345         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8346         <kernel-features.h>.
8347         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
8348         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8349         * sysdeps/unix/sysv/linux/linkat.c: Do not include
8350         <kernel-features.h>.
8351         (linkat) [__NR_linkat]: Make code unconditional.
8352         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8353         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
8354         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
8355         <kernel-features.h>.
8356         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
8357         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
8358         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
8359         <kernel-features.h>.
8360         (mkdirat) [__NR_mkdirat]: Make code unconditional.
8361         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
8362         * sysdeps/unix/sysv/linux/openat.c: Do not include
8363         <kernel-features.h>.
8364         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
8365         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
8366         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
8367         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
8368         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
8369         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
8370         <kernel-features.h>.
8371         (readlinkat) [__NR_readlinkat]: Make code unconditional.
8372         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
8373         result of INLINE_SYSCALL directly, not via int variable.
8374         * sysdeps/unix/sysv/linux/renameat.c: Do not include
8375         <kernel-features.h>.
8376         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
8377         (renameat) [__NR_renameat]: Make code unconditional.
8378         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
8379         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
8380         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
8381         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
8382         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
8383         (__ASSUME_ATFCTS): Do not undefine and redefine.
8384         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
8385         <kernel-features.h>.
8386         (symlinkat) [__NR_symlinkat]: Make code unconditional.
8387         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8388         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
8389         <kernel-features.h>.
8390         (unlinkat) [__NR_unlinkat]: Make code unconditional.
8391         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8392         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
8393         (__ASSUME_ATFCTS): Do not undefine and redefine.
8394         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8395         <kernel-features.h>.
8396         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
8397         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8398         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
8399         <kernel-features.h>.
8400         (__xmknodat) [__NR_mknodat]: Make code unconditional.
8401         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
8403 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
8405         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
8407 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
8409         [BZ #17069]
8410         * posix/regcomp.c (parse_reg_exp): Deallocate partially
8411         constructed tree before returning error.
8412         * posix/bug-regexp36.c: Expand test case.
8414 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
8416         [BZ #6803]
8417         * math/libm-test.inc (scalbln_test_date):
8418         Add errno expectations.
8419         * math/w_scalblnf.c: New File.
8420         Add wrapper which checks for setting errno to ERANGE.
8421         Add weak_alias for corresponding scalbln function.
8422         * math/w_scalbln.c: Likewise.
8423         * math/w_scalblnl.c: Likewise.
8424         * math/Makefile (libm-calls): Add w_scalbln.
8425         * sysdeps/ieee754/flt-32/s_scalblnf.c:
8426         Remove weak_alias for corresponding scalbln function.
8427         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8428         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
8429         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8430         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8431         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
8432         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
8433         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
8434         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
8435         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
8436         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
8437         Remove long_double_symbol for scalblnl function in libm, libc.
8438         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
8439         Add wrapper which checks for setting errno to ERANGE.
8440         Add long_double_symbol for scalblnl function in libm, libc.
8441         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
8442         Remove long_double_symbol for scalblnl in libm.
8443         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
8444         Add wrapper which checks for setting errno to ERANGE.
8445         Add long_double_symbol for scalblnl function in libm.
8446         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
8447         Do not use wrapper because of own implementation.
8449 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
8451         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
8452         3 bytes for __pad1 for x32.
8453         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
8455 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
8456             H.J. Lu  <hongjiu.lu@intel.com>
8458         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
8459         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
8460         * sysdeps/x86_64/multiarch/memset.S: Likewise.
8461         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8462         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
8464 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
8466         [BZ #17069]
8467         * posix/regcomp.c (parse_expression): Deallocate partially
8468         constructed tree before returning error.
8469         * posix/Makefile.c (tests): Add bug-regex36.
8470         (generated): Add bug-regex36.mtrace.
8471         (tests-special): Add $(objpfx)bug-regex36-mem.out
8472         (bug-regex36-ENV): New variable.
8473         ($(objpfx)bug-regex36-mem.out): New rule.
8474         * posix/bug-regex36.c: New file.
8476 2014-06-19  Will Newton  <will.newton@linaro.org>
8478         * malloc/malloc.c (systrim): If extra is zero then return
8479         early.
8481 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
8483         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
8485 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
8487         * sysdeps/aarch64/strchr.S: New file.
8489 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
8491         [BZ #17022]
8492         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
8493         from arguments -2 or below.
8494         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
8495         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
8497 2014-06-18  Andreas Schwab  <schwab@suse.de>
8499         [BZ #17062]
8500         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
8501         of a bracket expr not to run off the end of the string.
8502         * posix/Makefile (tests): Add tst-fnmatch3.
8503         * posix/tst-fnmatch3.c: New file.
8505 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
8507         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
8508         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8509         [$(cross-compiling) = no]: Likewise.
8510         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8511         [$(cross-compiling) = no]: Likewise.
8513 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8515         [BZ #17031]
8516         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
8517         double, adjusted for any remainder from the high double.
8518         * math/libm-test.inc (nearbyint): Add tests.
8519         (rint): Likewise.
8521 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8523         * nptl/sysdeps/powerpc/Makefile: Moved ...
8524         * sysdeps/powerpc/nptl/Makefile: ... here.
8525         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
8526         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
8527         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
8528         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
8529         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
8530         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
8531         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
8532         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
8533         * nptl/sysdeps/powerpc/tls.h: Moved ...
8534         * sysdeps/powerpc/nptl/tls.h: ... here.
8536 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
8538         [BZ #16681]
8539         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
8540         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
8541         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
8542         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
8543         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
8544         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
8545         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
8546         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
8547         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
8549 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
8551         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8553 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
8555         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
8556         defined operator.
8558         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
8559         $TIMEOUTFACTOR.
8561 2014-06-16  Florian Weimer  <fweimer@redhat.com>
8563         [BZ #17058]
8564         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
8565         non-executed part of the test.
8567 2014-06-16  Andreas Schwab  <schwab@suse.de>
8569         * string/bits/string2.h (strdup, strndup): Update feature guard.
8571 2014-06-14  David S. Miller  <davem@davemloft.net>
8573         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8575 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
8577         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
8578         that was previously under [RESET_PID].
8579         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
8581         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
8582         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
8583         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
8584         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8585         (__libc_vfork): New strong alias.
8586         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
8588 2014-06-14 Andi Kleen  <ak@linux.intel.com>
8590         * sysdeps/generic/elide.h: New file.
8592 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
8594         * Makefile (installed-headers): Adjust path of pthread.h header.
8596 2014-06-13  Roland McGrath  <roland@hack.frob.com>
8598         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
8599         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
8600         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
8601         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
8603         * nptl/sysdeps/s390/Makefile: Moved ...
8604         * sysdeps/s390/nptl/Makefile: ... here.
8605         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
8606         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
8607         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
8608         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
8609         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
8610         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
8611         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
8612         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
8613         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
8614         * sysdeps/s390/nptl/pthreaddef.h: ... here.
8615         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
8616         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
8617         * nptl/sysdeps/s390/tls.h: Moved ...
8618         * sysdeps/s390/nptl/tls.h: ... here.
8620         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
8621         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
8623 2014-06-13  David S. Miller  <davem@davemloft.net>
8625         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
8626         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
8627         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
8628         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
8629         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
8630         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
8631         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
8632         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
8633         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
8634         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
8635         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
8636         Remove RESET_PID cpp guards.
8637         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
8638         Remove RESET_PID cpp guards.
8639         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
8641 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
8643         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
8644         __sp to uintptr_t.
8646 2014-06-13  Andi Kleen  <ak@linux.intel.com>
8648         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
8649         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
8650         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
8651         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
8652         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
8653         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
8654         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
8655         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
8656         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
8657         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
8658         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
8659         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
8660         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
8661         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
8662         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
8663         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
8664         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
8665         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
8666         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
8667         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8669         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
8670         (pthread_rwlock_rdlock): Add elision.
8671         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
8672         (pthread_rwlock_wrlock): Add elision.
8673         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
8674         (pthread_rwlock_trywrlock): Add elision.
8675         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
8676         (pthread_rwlock_tryrdlock): Add elision.
8677         * nptl/pthread_rwlock_unlock.c: Include elide.h.
8678         (pthread_rwlock_tryrdlock): Add elision unlock.
8679         * nptl/sysdeps/pthread/pthread.h:
8680         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
8681         (PTHREAD_RWLOCK_INITIALIZER,
8682         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
8683         Handle new elision field.
8684         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
8685         * sysdeps/arm/nptl/bits/pthreadtypes.h
8686         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8687         * sysdeps/sh/nptl/bits/pthreadtypes.h
8688         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8689         * sysdeps/tile/nptl/bits/pthreadtypes.h
8690         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8691         * sysdeps/a/nptl/bits/pthreadtypes.h
8692         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8693         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
8694         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8695         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
8696         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8697         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
8698         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8699         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
8700         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8701         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
8702         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8703         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
8704         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8705         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
8706         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8707         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
8708         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8709         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
8710         (elision_init): Set try_xbegin to zero when no RTM.
8711         * sysdeps/x86/nptl/bits/pthreadtypes.h
8712         (pthread_rwlock_t): Change __pad1 to __rwelision.
8713         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8715 2014-06-13  Andi Kleen  <ak@linux.intel.com>
8717         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
8718         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
8719         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
8720         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
8722 2014-06-13  Meador Inge  <meadori@codesourcery.com>
8724         [BZ #16996]
8725         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
8726         that the cached result has been set before returning it.
8728 2014-06-12  Roland McGrath  <roland@hack.frob.com>
8730         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
8731         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
8732         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
8733         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
8734         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
8735         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
8737         * nptl/sysdeps/sparc/Makefile: Moved ...
8738         * sysdeps/sparc/nptl/Makefile: ... here.
8739         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
8740         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
8741         * nptl/sysdeps/sparc/tls.h: Moved ...
8742         * sysdeps/sparc/nptl/tls.h: ... here.
8743         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
8744         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
8745         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
8746         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
8747         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
8748         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
8749         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
8750         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
8751         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
8752         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
8753         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
8754         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
8755         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
8756         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
8757         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
8758         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
8759         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
8760         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
8761         Update #include.
8762         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
8763         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
8764         Update #include.
8765         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
8766         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
8767         Update #include.
8768         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
8769         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
8770         Update #include.
8772         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
8774         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
8775         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
8777         * sysdeps/pthread/posix-timer.h: Include <list.h>.
8778         (struct list_links): Type removed.
8779         (struct thread_node, struct timer_node): Replace struct list_links
8780         with struct list_head.
8781         (list_unlink_ip): Likewise.
8782         * sysdeps/pthread/timer_routines.c
8783         (timer_free_list, thread_free_list, thread_active_list): Likewise.
8784         (list_append, list_insbefore): Likewise.
8785         (list_init): Function removed.
8786         (thread_init, init_module): Use INIT_LIST_HEAD instead.
8787         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
8788         * sysdeps/pthread/Makefile: ... here, new file.
8790         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
8791         * sysdeps/nptl/Implies: ... here.
8792         * sysdeps/unix/sysv/linux/Implies: Add nptl.
8793         * nptl/sysdeps/pthread/list.h: Moved ...
8794         * include/list.h: ... here.
8795         * nptl/sysdeps/pthread/createthread.c: Moved ...
8796         * nptl/createthread.c: ... here.
8797         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
8798         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
8799         * nptl/pt-longjmp.c: ... here.
8800         * nptl/sysdeps/pthread/Makefile: Moved ...
8801         * sysdeps/nptl/Makefile: ... here.
8802         * nptl/sysdeps/pthread/Subdirs: Moved ...
8803         * sysdeps/nptl/Subdirs: ... here.
8804         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
8805         * sysdeps/nptl/aio_misc.h: ... here.
8806         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
8807         * sysdeps/nptl/bits/libc-lock.h: ... here.
8808         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
8809         * sysdeps/nptl/bits/libc-lockP.h: ... here.
8810         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
8811         * sysdeps/nptl/bits/stdio-lock.h: ... here.
8812         * nptl/sysdeps/pthread/configure: Moved ...
8813         * sysdeps/nptl/configure: ... here.
8814         * nptl/sysdeps/pthread/configure.ac: Moved ...
8815         * sysdeps/nptl/configure.ac: ... here.
8816         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
8817         * sysdeps/nptl/gai_misc.h: ... here.
8818         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
8819         * sysdeps/nptl/librt-cancellation.c: ... here.
8820         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
8821         * sysdeps/nptl/malloc-machine.h: ... here.
8822         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
8823         * sysdeps/nptl/pthread-functions.h: ... here.
8824         * nptl/sysdeps/pthread/pthread.h: Moved ...
8825         * sysdeps/nptl/pthread.h: ... here.
8826         * nptl/sysdeps/pthread/setxid.h: Moved ...
8827         * sysdeps/nptl/setxid.h: ... here.
8828         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
8829         * sysdeps/nptl/sigfillset.c: ... here.
8830         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
8831         * sysdeps/nptl/tcb-offsets.h: ... here.
8832         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
8833         * sysdeps/nptl/tst-mqueue8x.c: ... here.
8834         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
8835         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
8836         * nptl/sysdeps/pthread/allocalim.h: Moved ...
8837         * sysdeps/pthread/allocalim.h: ... here.
8838         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
8839         * sysdeps/pthread/bits/sigthread.h: ... here.
8840         * nptl/sysdeps/pthread/flockfile.c: Moved ...
8841         * sysdeps/pthread/flockfile.c: ... here.
8842         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
8843         * sysdeps/pthread/ftrylockfile.c: ... here.
8844         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
8845         * sysdeps/pthread/funlockfile.c: ... here.
8846         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
8847         * sysdeps/pthread/posix-timer.h: ... here.
8848         * nptl/sysdeps/pthread/timer_create.c: Moved ...
8849         * sysdeps/pthread/timer_create.c: ... here.
8850         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
8851         * sysdeps/pthread/timer_delete.c: ... here.
8852         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
8853         * sysdeps/pthread/timer_getoverr.c: ... here.
8854         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
8855         * sysdeps/pthread/timer_gettime.c: ... here.
8856         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
8857         * sysdeps/pthread/timer_routines.c: ... here.
8858         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
8859         * sysdeps/pthread/timer_settime.c: ... here.
8860         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
8861         * sysdeps/pthread/tst-timer.c: ... here.
8862         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
8863         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
8865         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
8866         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
8868         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
8869         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
8870         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
8871         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
8872         Update #include target.
8873         * nptl/sysdeps/i386/i686/Makefile: Moved ...
8874         * sysdeps/i386/i686/nptl/Makefile: ... here.
8875         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
8876         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
8877         Update #include target.
8878         * nptl/sysdeps/i386/i686/tls.h: Moved ...
8879         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
8880         * nptl/sysdeps/i386/Makefile: Moved ...
8881         * sysdeps/i386/nptl/Makefile: ... here.
8882         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
8883         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
8884         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
8885         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
8886         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
8887         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
8888         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
8889         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
8890         * sysdeps/i386/nptl/pthreaddef.h: ... here.
8891         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
8892         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
8893         * nptl/sysdeps/i386/tls.h: Moved ...
8894         * sysdeps/i386/nptl/tls.h: ... here.
8896         * sysdeps/sh/Makefile [$(subdir) = csu]
8897         (gen-as-const-headers): Add tcb-offsets.sym.
8898         * nptl/sysdeps/sh/Makefile: File removed.
8899         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
8900         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
8901         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
8902         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
8903         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
8904         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
8905         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
8906         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
8907         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
8908         * sysdeps/sh/nptl/pthreaddef.h: ... here.
8909         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
8910         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
8911         * nptl/sysdeps/sh/tls.h: Moved ...
8912         * sysdeps/sh/nptl/tls.h: ... here.
8913         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
8914         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
8915         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
8916         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
8917         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
8918         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
8919         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
8920         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
8921         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
8922         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
8923         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
8924         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
8925         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
8926         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
8927         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
8928         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
8929         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
8930         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
8931         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
8932         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
8933         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
8934         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
8935         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
8936         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
8937         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
8938         Moved ...
8939         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
8940         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
8941         Moved ...
8942         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
8943         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
8944         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
8945         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
8946         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
8947         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
8948         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
8949         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
8950         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
8951         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
8952         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
8953         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
8954         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
8955         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
8956         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
8957         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
8958         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
8959         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
8960         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
8962 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
8964         * posix/spawn_faction_addopen.c: Include string.h.
8966 2014-06-11  Roland McGrath  <roland@hack.frob.com>
8968         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
8969         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
8970         * nptl/sysdeps/x86_64/Makefile: Moved ...
8971         * sysdeps/x86_64/nptl/Makefile: ... here.
8972         * nptl/sysdeps/x86_64/configure: Moved ...
8973         * sysdeps/x86_64/nptl/configure: ... here.
8974         * nptl/sysdeps/x86_64/configure.ac: Moved ...
8975         * sysdeps/x86_64/nptl/configure.ac: ... here.
8976         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
8977         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
8978         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
8979         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
8980         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
8981         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
8982         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
8983         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
8984         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
8985         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
8986         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
8987         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
8988         * nptl/sysdeps/x86_64/tls.h: Moved ...
8989         * sysdeps/x86_64/nptl/tls.h: ... here.
8990         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
8991         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
8992         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
8993         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
8995         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
8997 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8999         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9001 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
9003         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
9004         type.
9005         [POSIX] (off_t): Likewise.
9006         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
9007         [POSIX] (S_ISBLK): Require macro.
9008         [POSIX] (S_ISCHR): Likewise.
9009         [POSIX] (S_ISDIR): Likewise.
9010         [POSIX] (S_ISFIFO): Likewise.
9011         [POSIX] (S_ISREG): Likewise.
9012         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
9013         optional-macro.
9014         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
9015         type.
9016         [POSIX] (time_t): Likewise.
9017         [POSIX] (timer_t): Likewise.
9019 2014-06-11  Florian Weimer  <fweimer@redhat.com>
9021         [BZ #17048]
9022         * posix/spawn_int.h (struct __spawn_action): Make the path string
9023         non-const to support deallocation.
9024         * posix/spawn_faction_addopen.c
9025         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
9026         * posix/spawn_faction_destroy.c
9027         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
9028         path in all spawn_do_open actions.
9029         * posix/tst-spawn.c (do_test): Exercise the copy operation in
9030         posix_spawn_file_actions_addopen.
9032 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
9034         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
9035         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
9036         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
9037         conditional code always true.
9038         (__libc_vfork): New alias.
9040 2014-06-11  Roland McGrath  <roland@hack.frob.com>
9042         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9043         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
9045         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
9047         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9048         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
9050         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
9051         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
9053         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9054         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
9056 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
9058         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
9059         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
9060         multiarch strcmp for PPC64.
9061         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
9062         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
9063         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
9064         multiarch optimizations.
9065         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9066         (__libc_ifunc_impl_list): Likewise.
9068 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
9070         * benchtests/scripts/validate_benchout.py: New script.
9071         * benchtests/Makefile (bench-func): Call it.
9072         * benchtests/scripts/benchout.schema.json: New file.
9074 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
9076         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
9077         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
9078         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
9079         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
9080         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
9081         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
9082         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
9083         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
9084         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
9085         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
9086         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
9087         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
9088         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
9089         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
9090         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
9091         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
9092         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
9093         Moved ...
9094         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
9095         ... here.
9096         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
9097         Moved ...
9098         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
9099         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
9100         Moved ...
9101         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
9102         ... here.
9103         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
9104         Moved ...
9105         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
9106         ... here.
9107         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
9108         Moved ...
9109         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
9110         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
9111         Moved ...
9112         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
9113         ... here.
9114         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
9115         Moved ...
9116         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
9117         ... here.
9118         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
9119         Moved ...
9120         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
9121         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
9122         Moved ...
9123         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
9124         ... here.
9125         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
9126         Moved ...
9127         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
9128         ... here.
9129         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
9130         Moved ...
9131         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
9132         ... here.
9133         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
9134         Moved ...
9135         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
9136         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
9137         Moved ...
9138         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
9139         ... here.
9140         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
9141         Moved ...
9142         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
9143         ... here.
9144         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
9145         Moved ...
9146         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
9147         ... here.
9148         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
9149         Moved ...
9150         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
9151         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
9152         Moved ...
9153         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
9154         ... here.
9155         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
9156         Moved ...
9157         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
9158         ... here.
9159         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
9160         Moved ...
9161         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
9162         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
9163         Moved ...
9164         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
9165         ... here.
9166         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
9167         Moved ...
9168         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
9169         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
9170         Moved ...
9171         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
9172         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
9173         Moved ...
9174         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
9175         ... here.
9176         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
9177         Moved ...
9178         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
9179         ... here.
9180         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
9181         Moved ...
9182         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
9183         ... here.
9184         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
9185         Moved ...
9186         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
9187         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
9188         Moved ...
9189         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
9190         ... here.
9191         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
9192         Moved ...
9193         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
9194         ... here.
9195         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
9196         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
9197         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
9198         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
9199         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
9200         Moved ...
9201         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
9202         ... here.
9203         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
9204         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
9205         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
9206         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
9207         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
9208         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
9209         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
9210         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
9211         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
9212         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
9213         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
9214         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
9215         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
9216         Moved ...
9217         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
9218         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
9219         Moved ...
9220         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
9221         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
9222         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
9223         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
9224         Moved ...
9225         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
9226         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
9227         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
9228         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
9229         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
9230         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
9231         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
9233 2014-06-10  Wilco  <wdijkstr@arm.com>
9235         * math/test-fenv-return.c: New file.
9236         * math/Makefile: Add new test test-fenv-return.
9238 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
9240         [BZ #17042]
9241         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
9242         when x - 1 is zero.
9243         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
9244         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
9245         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
9246         0.0L for an argument of 1.0L.
9247         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
9248         Likewise.
9249         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
9250         value when x - 1 is zero.
9251         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
9252         * sysdeps/i386/fpu/libm-test-ulps: Update.
9253         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9255 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
9257         [BZ #15119]
9258         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
9260 2014-06-09  Roland McGrath  <roland@hack.frob.com>
9262         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
9263         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
9265 2014-06-09  Roland McGrath  <roland@hack.frob.com>
9267         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9268         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
9270         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9271         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
9273         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9274         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
9276         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9277         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
9279         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
9280         if not already defined.
9281         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
9282         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
9283         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
9284         (TLS_INIT_TP): Use it.
9285         (TLS_DEFINE_INIT_TP): New macro.
9286         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
9288 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
9290         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
9291         constant.
9292         [POSIX] (IXANY): Likewise.
9293         [POSIX] (OLCUC): Likewise.
9294         [POSIX || POSIX2008] (CBAUD): Do not allow.
9295         [POSIX || POSIX2008] (DEFECHO): Likewise.
9296         [POSIX || POSIX2008] (ECHOCTL): Likewise.
9297         [POSIX || POSIX2008] (ECHOKE): Likewise.
9298         [POSIX || POSIX2008] (ECHOPRT): Likewise.
9299         [POSIX || POSIX2008] (EXTA): Likewise.
9300         [POSIX || POSIX2008] (EXTB): Likewise.
9301         [POSIX || POSIX2008] (FLUSHO): Likewise.
9302         [POSIX || POSIX2008] (LOBLK): Likewise.
9303         [POSIX || POSIX2008] (PENDIN): Likewise.
9304         [POSIX || POSIX2008] (SWTCH): Likewise.
9305         [POSIX || POSIX2008] (VDISCARD): Likewise.
9306         [POSIX || POSIX2008] (VDSUSP): Likewise.
9307         [POSIX || POSIX2008] (VLNEXT): Likewise.
9308         [POSIX || POSIX2008] (VREPRINT): Likewise.
9309         [POSIX || POSIX2008] (VSTATUS): Likewise.
9310         [POSIX || POSIX2008] (VWERASE): Likewise.
9311         (B*): Change to B[0123456789]*.
9312         * conform/data/time.h-data [POSIX || UNIX98]
9313         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
9314         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9315         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
9316         [POSIX] (tm_*): Do not allow.
9318 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
9320         * Makefile (install): Don't set LANGUAGE.
9321         * Makefile.in (install): Likewise.
9322         * assert/Makefile (test-assert-ENV): Remove variable.
9323         (test-assert-perr-ENV): Likewise.
9324         * elf/Makefile (neededtest4-ENV): Likewise.
9325         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9326         [$(cross-compiling) = no]: Don't set LANGUAGE.
9327         * io/ftwtest-sh (LANG): Remove variable.
9328         * libio/Makefile (tst-widetext-ENV): Likewise.
9329         * manual/install.texi (Running make install): Don't refer to
9330         environment settings for make install.
9331         * INSTALL: Regenerated.
9332         * nptl/tst-tls6.sh: Don't set LANG.
9333         * posix/globtest.sh (LANG): Remove variable.
9334         * string/Makefile (tester-ENV): Likewise.
9335         (inl-tester-ENV): Likewise.
9336         (noinl-tester-ENV): Likewise.
9337         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9338         [$(cross-compiling) = no]: Don't set LANGUAGE.
9339         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
9340         without explicit environment settings.
9342 2014-06-06  Roland McGrath  <roland@hack.frob.com>
9344         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
9345         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
9346         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
9347         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
9349 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
9351         * crypt/crypt-private.h [DOS]: Add some includes taken from the
9352         other files in the crypt directory.
9353         * crypt/crypt.c: Remove duplicate includes.
9354         * crypt/crypt-entry.c: Likewise.
9355         * crypt/crypt_util.c: Likewise.
9357 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
9359         * Makeconfig (run-program-env): New variable.
9360         (run-program-prefix-before-env): Likewise.
9361         (run-program-prefix-after-env): Likewise.
9362         (run-program-prefix): Define in terms of new variables.
9363         (built-program-cmd-before-env): New variable.
9364         (built-program-cmd-after-env): Likewise.
9365         (built-program-cmd): Define in terms of new variables.
9366         (test-program-prefix-before-env): New variable.
9367         (test-program-prefix-after-env): Likewise.
9368         (test-program-prefix): Define in terms of new variables.
9369         (test-program-cmd-before-env): New variable.
9370         (test-program-cmd-after-env): Likewise.
9371         (test-program-cmd): Define in terms of new variables.
9372         * Rules (make-test-out): Use $(run-program-env).
9373         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
9374         (help): Do not mention environment variables.  Mention
9375         --timeoutfactor option.
9376         (timeoutfactor): New variable.
9377         (blacklist_exports): Remove function.
9378         (exports): Remove variable.
9379         (command): Do not include ${exports}.
9380         * manual/install.texi (Configuring and compiling): Do not mention
9381         test wrappers preserving environment variables.  Mention that last
9382         assignment to a variable must take precedence.
9383         * INSTALL: Regenerated.
9384         * benchtests/Makefile (run-bench): Use $(run-program-env).
9385         * catgets/Makefile ($(objpfx)test1.cat): Use
9386         $(built-program-cmd-before-env), $(run-program-env) and
9387         $(built-program-cmd-after-env).
9388         ($(objpfx)test2.cat): Do not specify environment variables
9389         explicitly.
9390         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
9391         $(run-program-env) and $(built-program-cmd-after-env).
9392         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
9393         $(run-program-env) and $(test-program-cmd-after-env).
9394         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
9395         explicitly.
9396         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
9397         run_program_env and test_program_cmd_after_env arguments.
9398         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
9399         * elf/tst-pathopt.sh: Use run_program_env argument.
9400         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
9401         $(test-wrapper-env) and $(run-program-env).
9402         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
9403         run_program_env arguments.
9404         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
9405         * intl/Makefile ($(objpfx)tst-gettext.out): Use
9406         $(test-program-prefix-before-env), $(run-program-env) and
9407         $(test-program-prefix-after-env).
9408         ($(objpfx)tst-gettext2.out): Likewise.
9409         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
9410         run_program_env and test_program_prefix_after_env arguments.
9411         * intl/tst-gettext2.sh: Likewise.
9412         * intl/tst-gettext4.sh: Do not set environment variables
9413         explicitly.
9414         * intl/tst-gettext6.sh: Likewise.
9415         * intl/tst-translit.sh: Likewise.
9416         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
9417         $(test-program-prefix-before-env), $(run-program-env) and
9418         $(test-program-prefix-after-env).
9419         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
9420         run_program_env and test_program_prefix_after_env arguments.
9421         * math/Makefile (run-regen-ulps): Use $(run-program-env).
9422         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
9423         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
9424         explicitly with each use of ${test_wrapper_env}.
9425         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
9426         $(test-program-prefix-before-env), $(run-program-env) and
9427         $(test-program-prefix-after-env).
9428         * posix/tst-getconf.sh: Do not set environment variables
9429         explicitly.
9430         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
9431         run_program_env and test_program_prefix_after_env arguments.
9432         * stdio-common/tst-printf.sh: Do not set environment variables
9433         explicitly.
9434         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
9435         $(test-program-prefix-before-env), $(run-program-env) and
9436         $(test-program-prefix-after-env).
9437         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
9438         run_program_env and test_program_prefix_after_env arguments.
9439         Split $test calls into $test_pre and $test.
9440         * timezone/Makefile (build-testdata): Use
9441         $(built-program-cmd-before-env), $(run-program-env) and
9442         $(built-program-cmd-after-env).
9444 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9446         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
9447         strlen for non SHARED builds.
9449 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
9451         * nptl/allocatestack.c (check_list): Inlined function...
9452         (__reclaim_stacks): ... here.
9454 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
9456         [BZ #15698]
9457         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
9458         memory overrun.
9460 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
9462         * Rules (make-test-out): Include
9463         LOCPATH=$(common-objpfx)localedata in default environment.
9464         * debug/Makefile (tst-chk1-ENV): Remove variable.
9465         (tst-chk2-ENV): Likewise.
9466         (tst-chk3-ENV): Likewise.
9467         (tst-chk4-ENV): Likewise.
9468         (tst-chk5-ENV): Likewise.
9469         (tst-chk6-ENV): Likewise.
9470         (tst-lfschk1-ENV): Likewise.
9471         (tst-lfschk2-ENV): Likewise.
9472         (tst-lfschk3-ENV): Likewise.
9473         (tst-lfschk4-ENV): Likewise.
9474         (tst-lfschk5-ENV): Likewise.
9475         (tst-lfschk6-ENV): Likewise.
9476         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
9477         (tst-iconv7-ENV): Likewise.
9478         * intl/Makefile (LOCPATH-ENV): Likewise.
9479         (tst-codeset-ENV): Likewise.
9480         (tst-gettext3-ENV): Likewise.
9481         (tst-gettext5-ENV): Likewise.
9482         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
9483         (tst-fopenloc-ENV): Likewise.
9484         (tst-fgetws-ENV): Remove variable.
9485         (tst-ungetwc1-ENV): Likewise.
9486         (tst-ungetwc2-ENV): Likewise.
9487         (bug-ungetwc2-ENV): Likewise.
9488         (tst-swscanf-ENV): Likewise.
9489         (bug-ftell-ENV): Likewise.
9490         (tst-fgetwc-ENV): Likewise.
9491         (tst-fseek-ENV): Likewise.
9492         (tst-ftell-partial-wide-ENV): Likewise.
9493         (tst-ftell-active-handler-ENV): Likewise.
9494         (tst-ftell-append-ENV): Likewise.
9495         * posix/Makefile (tst-fnmatch-ENV): Likewise.
9496         (tst-regexloc-ENV): Likewise.
9497         (bug-regex1-ENV): Likewise.
9498         (tst-regex-ENV): Likewise.
9499         (tst-regex2-ENV): Likewise.
9500         (bug-regex5-ENV): Likewise.
9501         (bug-regex6-ENV): Likewise.
9502         (bug-regex17-ENV): Likewise.
9503         (bug-regex18-ENV): Likewise.
9504         (bug-regex19-ENV): Likewise.
9505         (bug-regex20-ENV): Likewise.
9506         (bug-regex22-ENV): Likewise.
9507         (bug-regex23-ENV): Likewise.
9508         (bug-regex25-ENV): Likewise.
9509         (bug-regex26-ENV): Likewise.
9510         (bug-regex30-ENV): Likewise.
9511         (bug-regex32-ENV): Likewise.
9512         (bug-regex33-ENV): Likewise.
9513         (bug-regex34-ENV): Likewise.
9514         (bug-regex35-ENV): Likewise.
9515         (tst-rxspencer-ENV): Likewise.
9516         (tst-rxspencer-no-utf8-ENV): Likewise.
9517         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
9518         (tst-sscanf-ENV): Likewise.
9519         (tst-swprintf-ENV): Likewise.
9520         (tst-swscanf-ENV): Likewise.
9521         (test-vfprintf-ENV): Likewise.
9522         (scanf13-ENV): Likewise.
9523         (bug14-ENV): Likewise.
9524         (tst-grouping-ENV): Likewise.
9525         * stdlib/Makefile (tst-strtod-ENV): Likewise.
9526         (tst-strtod3-ENV): Likewise.
9527         (tst-strtod4-ENV): Likewise.
9528         (tst-strtod5-ENV): Likewise.
9529         (testmb2-ENV): Likewise./
9530         * string/Makefile (tst-strxfrm-ENV): Likewise.
9531         (tst-strxfrm2-ENV): Likewise.
9532         (bug-strcoll1-ENV): Likewise.
9533         (test-strcasecmp-ENV): Likewise.
9534         (test-strncasecmp-ENV): Likewise.
9535         * time/Makefile (tst-strptime-ENV): Likewise.
9536         (tst-ftime_l-ENV): Likewise.
9537         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
9538         (tst-mbrtowc-ENV): Likewise.
9539         (tst-wcrtomb-ENV): Likewise.
9540         (tst-mbrtowc2-ENV): Likewise.
9541         (tst-c16c32-1-ENV): Likewise.
9542         (tst-mbsnrtowcs-ENV): Likewise.
9544 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
9546         * manual/resource.texi (How to get information about the memory
9547         subsystem?): Fix typo.
9548         Reported by Peon de la Parra Ivan <peon@keba.com>
9550 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
9552         [BZ #16882]
9553         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
9554         (pthread_spin_lock): Branch out of spin loop to proper location.
9555         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
9556         (pthread_spin_lock): Likewise.
9558         * nptl/tst-spin4.c: New test.
9559         * nptl/Makefile (tests): Add tst-spin4.
9561 2014-06-03  Andreas Schwab  <schwab@suse.de>
9563         [BZ #15946]
9564         * resolv/res_send.c (send_dg): Reload file descriptor after
9565         calling reopen.
9567 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
9569         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9571 2014-06-03  Richard Henderson  <rth@redhat.com>
9573         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
9574         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
9575         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
9576         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
9577         in the SAVE_PID block.
9578         (__libc_vfork): New alias.
9579         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
9581         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
9582         child in registers, not on the stack.  Remove RESET_PID conditionals.
9583         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
9585 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
9587         * sysdeps/aarch64/libm-test-ulps: Regenerate.
9589 2014-06-03  Wilco  <wdijkstr@arm.com>
9591         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
9592         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
9593         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
9594         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
9595         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
9596         Likewise.
9598 2014-06-03  Wilco  <wdijkstr@arm.com>
9600         * sysdeps/aarch64/fpu/math_private.h
9601         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
9602         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
9603         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
9604         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
9605         Fix declarations.
9607 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
9609         * crypt/crypt-private.h: Include ufc-crypt.h.
9610         (__b64_from_24bit): Declare extern.
9611         * crypt/crypt_util.c(__b64_from_24bit): New function.
9612         (b64t): New static const variable.
9613         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
9614         (b64t): Remove variable.
9615         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
9616         * crypt/sha256-crypt.c: Include crypt-private.h.
9617         (b64t): Remove variable.
9618         (__sha256_crypt_r): Remove b64_from_24bit and replace
9619         with __b64_from_24bit.
9620         * crypt/sha512-crypt.c: Likewise.
9622 2014-06-02  Roland McGrath  <roland@hack.frob.com>
9624         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
9625         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
9626         Label the code __libc_vfork rather than __vfork.
9627         [!NOT_IN_libc] (vfork): Define as weak alias.
9628         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
9629         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
9630         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
9632 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9634         * malloc/malloc.c (malloc_info): Fix format specifier for
9635         n_mmaps.
9637 2014-06-02  Wilco  <wdijkstr@arm.com>
9639         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
9640         FPCR write.
9642 2014-06-02  Wilco  <wdijkstr@arm.com>
9644         [BZ #17009]
9645         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
9646         Rewrite to reduce FPCR/FPSR accesses.
9648 2014-06-01  David S. Miller  <davem@davemloft.net>
9650         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9652 2014-05-31  David S. Miller  <davem@davemloft.net>
9654         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
9655         to occur in round to nearest mode when |x| >= 2.0
9657 2014-05-30  Richard Henderson  <rth@twiddle.net>
9659         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
9660         (PSEUDO_RET_NOERRNO): Remove.
9661         (ret): Don't redefine.
9662         (ret_NOERRNO): Define in terms of ret.
9663         (ret_ERRVAL): Likewise.
9665         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
9666         use of PSEUDO_RET; perform the error check directly.
9668 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
9670         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
9671         with __int128_t.
9673 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9675         * malloc/malloc (malloc_info): Fix formatting.
9677 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9678             Roland McGrath  <roland@hack.frob.com>
9680         * malloc/malloc (malloc_info): Also print mmapped statistics.
9682 2014-05-30  Roland McGrath  <roland@hack.frob.com>
9684         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
9685         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
9687 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
9689         * malloc/malloc.c (malloc_info): Inline mi_arena.
9691 2014-05-29  Richard Henderson  <rth@twiddle.net>
9693         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
9694         Remove comma before expanding ASM_ARGS_##nr.
9695         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
9696         Make _x0 a strict output; make _x8 a strict input; adjust expansion
9697         of ASM_ARGS_##nr.
9698         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
9699         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
9700         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
9701         (ASM_ARGS_1): Add leading comma.
9703         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
9704         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
9705         to __errno_location.
9706         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
9707         Remove the expected plt for __errno_location.
9709         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9710         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
9711         call to __read_tp.
9713         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9714         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
9715         it and break it down.
9716         (DOCARGS_0, DOCARGS_1): Do nothing.
9717         (DOCARGS_2): Update to store into the new stack frame.
9718         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
9719         (UNDOCARGS_1): Update to restore from the new stack frame.
9720         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
9721         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
9723         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9724         (SINGLE_THREAD_P): New parameter for result regno.
9725         (PSEUDO): Update to match; use cbz instead of beq.
9727         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9728         Use ENTRY to define the _nocancel entry point.  Share the syscall
9729         and syscall error check paths with the cancel path.
9730         (PSEUDO_END): New.
9732         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
9733         whitespace; tabs before and after asm mnemonics.
9735 2014-05-29  Eric Wong  <normalperson@yhbt.net>
9737         [BZ #15132]
9738         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9739         Call fstat64 or stat64 internally, depending on arguments passed.
9740         Replace stat buffer argument with file descriptor argument.
9741         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
9742         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
9743         Pass fd to __internal_statvfs instead of calling fstat64.
9744         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
9745         Pass fd to __internal_statvfs64 instead of calling fstat64.
9746         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
9747         Pass -1 to __internal_statvfs instead of calling stat64.
9748         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
9749         Pass -1 to __internal_statvfs64 instead of calling stat64.
9751 2014-05-28  Roland McGrath  <roland@hack.frob.com>
9753         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
9754         that was previously under [RESET_PID].
9755         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
9757         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
9758         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
9760 2014-05-27  Roland McGrath  <roland@hack.frob.com>
9762         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
9764         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
9765         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
9767 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
9769         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
9771 2014-05-27  Andreas Schwab  <schwab@suse.de>
9773         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
9774         TLS_INIT_TP macro.
9775         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
9776         * elf/rtld.c (init_tls, dl_main): Likewise.
9777         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
9778         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
9779         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
9780         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
9781         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
9782         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
9783         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
9784         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
9785         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
9786         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
9787         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
9788         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
9789         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
9790         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
9791         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
9792         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
9793         * sysdeps/generic/tls.h: Update description.
9795 2014-05-27  Will Newton  <will.newton@linaro.org>
9797         [BZ #16990]
9798         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
9799         and restore r2 rather than just restoring.
9801 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9803         [BZ #16724]
9804         * libio/tst-ftell-append.c: New test case.
9805         * libio/Makefile (tests): Add test case.
9806         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
9807         append mode.
9808         * libio/wfileops.c (do_ftell_wide): Likewise.
9810 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9812         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9814         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
9815         ...
9816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
9817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
9818         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
9819         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
9820         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
9821         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
9822         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
9823         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
9824         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
9825         Moved ...
9826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
9827         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
9828         Moved ...
9829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
9830         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
9831         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
9832         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
9833         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
9834         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
9835         ...
9836         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
9837         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
9838         Moved ...
9839         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
9840         here.
9841         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
9842         ...
9843         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
9844         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
9845         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
9847         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
9848         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
9849         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
9850         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
9852         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
9853         merge into ...
9854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
9855         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
9856         ...
9857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
9858         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
9859         ...
9860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
9861         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
9862         Moved ...
9863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
9864         here.
9865         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
9866         Moved ...
9867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
9868         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
9869         Moved ...
9870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
9872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
9873         conditional [RESET_PID].
9874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
9875         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
9876         removed.
9877         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
9878         removed.
9880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
9881         <tcb-offsets.h>.
9882         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9883         (__libc_vfork): New strong alias.
9884         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
9885         removed.
9886         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
9887         Removed.
9889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
9890         <tcb-offsets.h>.
9891         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
9892         (__libc_vfork): New strong alias.
9893         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
9894         removed.
9895         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
9896         removed.
9898 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
9900         * malloc/malloc.c (mi_arena): New function.
9901         (malloc_info): Remove nested function mi_arena. Call non-nosted
9902         function mi_arena.
9904 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9906         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
9907         by insrwi.
9908         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
9909         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
9910         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
9911         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
9912         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
9913         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
9914         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
9916 2014-05-26  Andreas Schwab  <schwab@suse.de>
9918         [BZ #16984]
9919         * locale/programs/repertoire.c (repertoire_read): Add slash
9920         between I18NPATH element and file name.
9921         * locale/programs/locfile.c (locfile_read): Likewise.
9923 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
9925         * nptl/pthread_mutexattr_settype.c
9926         (__pthread_mutexattr_settype):
9927         Disable lock elision for PTHREAD_MUTEX_NORMAL.
9929 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
9931         * nptl/tst-mutex5 (do_test):
9932         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
9934 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9936         * benchtests/README: Document 'init' directive.
9937         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
9938         BENCH_INIT.
9939         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
9940         (parse_file): Recognize 'init' directive.
9942 2014-05-26  Kyle McMartin  <kyle@redhat.com>
9944         [BZ #16796]
9945         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
9946         alignment of struct pthread.
9948 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9950         [BZ #16878]
9951         * nscd/netgroupcache.c (addgetnetgrentX): Look for
9952         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
9953         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
9954         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
9956 2014-05-25  Richard Henderson  <rth@twiddle.net>
9958         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9959         (SINGLE_THREAD_P_PIC): Remove.
9960         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
9961         (SINGLE_THREAD_P_PIC): Remove.
9963         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
9964         branch to syscall error ...
9965         (PSEUDO): ... here.
9966         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
9967         from __local_syscall_error to .Lsyscall_error.
9968         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
9969         (SYSCALL_ERROR): Update label name.
9971         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9972         Do not use DOARGS/UNDOARGS.
9973         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
9974         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
9975         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
9976         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
9977         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
9979         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
9980         block comment.
9982         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
9983         define if !NOT_IN_libc.
9984         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
9985         define with non-default symbol versions.
9987 2014-05-23  Richard Henderson  <rth@twiddle.net>
9989         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
9990         (vfork, __vfork): Define via compat_symbol.
9992         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
9993         [!HAVE_IFUNC] (vfork_compat): Remove.
9994         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
9996 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
9998         [BZ #16978]
9999         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
10000         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
10001         variable.
10003 2014-05-23  Richard Henderson  <rth@twiddle.net>
10005         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
10006         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
10007         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
10008         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
10010         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
10011         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
10012         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
10013         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
10014         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
10015         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
10016         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
10017         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
10018         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
10019         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
10020         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
10021         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
10022         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
10023         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
10024         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
10025         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
10026         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
10027         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
10028         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
10029         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
10030         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
10031         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
10032         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
10033         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
10034         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
10035         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
10036         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
10037         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
10038         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
10039         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
10040         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
10041         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
10042         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
10043         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
10044         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
10045         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
10046         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
10047         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
10048         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
10049         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
10050         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
10051         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
10052         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
10053         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
10054         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
10055         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
10056         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
10057         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
10058         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
10059         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
10060         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
10061         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
10062         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
10063         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
10064         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
10065         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
10067         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
10068         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
10069         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
10070         before exiting on error.
10071         (__libc_vfork): New strong alias.
10072         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
10073         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
10075         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
10076         that was previously under [RESET_PID].
10077         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
10079         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
10081 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
10083         [BZ #16977]
10084         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
10085         value when x - 1 is zero.
10086         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
10087         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
10088         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
10089         0.0L for an argument of 1.0L.
10090         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
10091         Likewise.
10092         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
10093         value when x - 1 is zero.
10094         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
10095         * sysdeps/i386/fpu/libm-test-ulps: Update.
10096         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10098 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
10100         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
10101         alphasort and versionsort.
10103 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10105         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
10106         macro.
10107         [copysignf]: Likewise.
10109 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
10111         * crypt/md5-crypt.c: Fix formatting.
10113 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
10115         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
10116         (b64_from_24bit): New function.
10118 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10120         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
10121         libc_hidden_builtin_def to ifunc.
10122         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
10123         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
10125 2014-05-21  Roland McGrath  <roland@hack.frob.com>
10127         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
10128         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
10130 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
10132         * nscd/Depend (linuxthreads): Remove.
10133         (nptl): Add.
10134         * resolv/Depend (linuxthreads): Remove.
10135         * rt/Depend (linuxthreads): Remove.
10137         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
10138         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
10139         $(common-objpfx)elf/.
10140         (link-libc-before-gnulib): Likewise.
10141         (elfobjdir): Remove variable.
10142         * Makefile (install): Use $(elf-objpfx) instead of
10143         $(common-objpfx)elf/.
10144         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
10145         $(elfobjdir)/.
10146         (link-libc-deps): Likewise.
10147         ($(common-objpfx)libc.so): Likewise.
10148         ($(common-objpfx)linkobj/libc.so): Likewise.
10149         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
10150         instead of $(common-objpfx)elf/.
10151         (symbolic-link-list): Likewise.
10152         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10153         [$(cross-compiling) = no]: Likewise.
10154         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
10155         $(elfobjdir)/.
10156         (static-gnulib-arch): Likewise.
10157         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10158         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
10159         $(common-objpfx)elf/.
10161 2014-05-21  Richard Henderson  <rth@redhat.com>
10163         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10164         (SINGLE_THREAD_P): Use the correct width load.  Fold
10165         into the ldr offset.
10167         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
10168         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
10170 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
10172         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
10173         (libgcc_s_resume): Use __attribute_used__.
10174         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
10175         Likewise.
10177 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10179         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
10180         optimization when used with float constants.
10182         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10184 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
10186         [BZ #16915]
10187         * locale/nl_langinfo_l.c: Make direct reference to every
10188         _nl_current_CATEGORY symbol.
10189         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
10190         (tests-static): Add tst-langinfo-static.
10191         (tests-special): Add tst-langinfo-static.out.
10192         ($(objpfx)tst-langinfo.out): Redirect output.
10193         ($(objpfx)tst-langinfo-static.out): New.
10194         * localedata/tst-langinfo.sh: Send output to stdout.
10195         * localedata/tst-langinfo-static.c: New file.
10197         [BZ #16965]
10198         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
10199         when the shift amount is modulo the limb size.
10201 2014-05-20  Richard Henderson  <rth@redhat.com>
10203         [BZ #16967]
10204         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
10205         Change type of sa_flags from unsigned int to int.
10207         [BZ #16966]
10208         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
10210         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
10212 2014-05-20  Will Newton  <will.newton@linaro.org>
10214         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10215         Test the return value of the system call in the nocancel case.
10217 2014-05-20  Will Newton  <will.newton@linaro.org>
10218             Yvan Roux  <yvan.roux@linaro.org>
10220         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
10221         #include of asm/ptrace.h.
10222         (PTRACE_GET_THREAD_AREA): Remove #undef.
10223         (PTRACE_GETHBPREGS): Likewise.
10224         (PTRACE_SETHBPREGS): Likewise.
10225         (struct user_regs_struct): New structure.
10226         (struct user_fpsimd_struct): New structure.
10227         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
10228         #include of asm/ptrace.h and second #include of sys/user.h.
10229         (PTRACE_GET_THREAD_AREA): Remove #undef.
10230         (PTRACE_GETHBPREGS): Likewise.
10231         (PTRACE_SETHBPREGS): Likewise.
10232         (ELF_NGREG): Use new struct user_regs_struct.
10233         (elf_fpregset_t): Use new struct user_fpsimd_struct.
10235 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10237         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
10238         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
10240 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
10242         [BZ #16958]
10243         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
10244         membar to avoid block loads/stores to overlap previous stores.
10246 2014-05-17  Richard Henderson  <rth@redhat.com>
10248         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
10249         Create the __##syscall_name##_nocancel entry point.
10250         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
10251         Remove; let the sysdep-cancel.h code create it.
10253 2014-05-17  David S. Miller  <davem@davemloft.net>
10255         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
10256         Protect with __USE_GNU.
10257         (TIOCSET_TEMPT): Likewise.
10258         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
10259         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
10260         these are already provided in bits/ioctl-types.h
10262 2014-05-16  Roland McGrath  <roland@hack.frob.com>
10264         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
10265         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
10267         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
10268         Use wait4 regardless of [__NR_waitpid].
10270 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
10272         PR libgcc/60166
10273         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
10274         (_FP_NANSIGN_Q): Set the quiet bit.
10276 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
10278         * benchtests/Makefile
10279         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
10280         not $(common-objpfx)math/libm.so.
10281         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
10282         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
10283         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
10284         $(common-objpfx)dlfcn/libdl.so.
10285         ($(objpfx)tst-audit8): Depend on $(libm), not
10286         $(common-objpfx)math/libm.so.
10287         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
10288         not $(common-objpfx)dlfcn/libdl.so.
10289         * math/Makefile
10290         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10291         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
10292         [$(build-shared) = yes].
10293         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
10294         $(common-objpfx)nptl/libpthread.so.
10295         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
10296         $(common-objpfx)math/libm.so$(libm.so-version) or
10297         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
10298         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
10299         $(common-objpfx)dlfcn/libdl.so.
10300         * setjmp/Makefile (link-libm): Remove variable.
10301         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
10302         * stdio-common/Makefile (link-libm): Remove variable.
10303         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
10304         * stdlib/Makefile (link-libm): Remove variable.
10305         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
10306         ($(objpfx)tst-strtod-round): Likewise.
10307         ($(objpfx)tst-tininess): Likewise.
10308         ($(objpfx)tst-strtod-underflow): Likewise.
10309         ($(objpfx)tst-strtod6): Likewise.
10310         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
10311         $(libdl), not $(common-objpfx)nptl/libpthread.so and
10312         $(common-objpfx)dlfcn/libdl.so.
10314 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10316         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
10317         BSD terminal modes definitions.
10319 2014-05-16  Roland McGrath  <roland@hack.frob.com>
10321         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
10322         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
10324         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
10325         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
10326         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
10327         Don't do #include_next.
10328         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
10329         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
10330         Don't do #include_next.
10331         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
10332         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
10333         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
10334         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
10336 2014-05-16  Allan McRae  <allan@archlinux.org>
10338         * po/sv.po: Update Swedish translation from translation project.
10340         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
10341         in sed expression.
10343 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
10345         [BZ #16917]
10346         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
10347         errno if the TIOCGPTN ioctl fails with an error different than
10348         EINVAL.
10349         * login/tst-ptsname.c: New file.
10350         * login/Makefile (tests): Add tst-ptsname.
10352         [BZ #16943]
10353         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
10354         and prlimit64.
10356 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10358         [BZ #16849]
10359         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
10360         herrno to return EAI_AGAIN.
10362 2014-05-14  Roland McGrath  <roland@hack.frob.com>
10364         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
10365         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
10366         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
10367         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
10368         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
10369         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
10370         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
10371         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
10372         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
10373         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
10374         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
10375         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
10376         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
10377         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
10378         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
10379         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
10380         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
10381         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
10382         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
10383         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
10384         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
10385         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
10386         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
10387         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
10388         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
10389         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
10390         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
10391         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
10392         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
10393         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
10394         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
10395         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
10396         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
10397         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
10398         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
10399         Moved ...
10400         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
10401         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
10402         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
10403         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
10404         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
10405         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
10406         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
10407         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
10408         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
10409         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
10410         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
10411         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
10412         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
10413         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
10414         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
10415         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
10416         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
10417         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
10418         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
10419         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
10420         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
10421         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
10422         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
10423         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
10424         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
10425         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
10426         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
10427         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
10428         Moved ...
10429         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
10430         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
10431         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
10432         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
10433         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
10434         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
10435         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
10436         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
10437         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
10438         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
10439         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
10440         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
10441         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
10442         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
10443         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
10444         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
10445         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
10446         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
10447         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
10448         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
10449         Moved ...
10450         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
10451         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
10452         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
10454         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
10455         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
10456         (libpthread-sysdep_routines): Add elision-related stuff here instead.
10457         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
10458         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
10459         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
10460         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
10461         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
10462         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
10463         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
10464         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
10465         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
10466         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
10467         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
10468         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
10469         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
10470         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
10471         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
10472         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
10473         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
10474         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
10475         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
10476         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
10477         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
10478         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
10479         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
10480         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
10481         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
10482         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
10483         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
10484         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
10486         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
10487         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
10489         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
10490         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
10491         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
10492         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
10493         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
10494         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
10495         Moved ...
10496         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
10497         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
10498         Moved ...
10499         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
10500         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
10501         Moved ...
10502         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
10503         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
10504         Moved ...
10505         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
10506         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
10507         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
10508         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
10509         Moved ...
10510         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
10511         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
10512         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
10513         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
10514         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
10515         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
10516         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
10517         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
10518         Moved ...
10519         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
10520         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
10521         Moved ...
10522         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
10523         ... here.
10524         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
10525         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
10526         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
10527         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
10528         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
10529         Moved ...
10530         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
10531         ... here.
10532         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
10533         Moved ...
10534         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
10535         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
10536         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
10537         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
10538         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
10539         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
10540         Moved ...
10541         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
10542         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
10543         Moved ...
10544         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
10545         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
10546         Moved ...
10547         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
10548         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
10549         Moved ...
10550         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
10551         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
10552         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
10553         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
10554         Moved ...
10555         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
10556         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
10557         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
10558         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
10559         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
10560         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
10561         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
10562         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
10563         Moved ...
10564         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
10565         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
10566         Moved ...
10567         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
10568         ... here.
10569         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
10570         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
10571         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
10572         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
10573         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
10574         Moved ...
10575         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
10576         ... here.
10577         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
10578         Moved ...
10579         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
10580         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
10581         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
10582         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
10583         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
10584         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
10585         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
10586         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
10587         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
10588         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
10589         Moved ...
10590         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
10591         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
10592         Moved ...
10593         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
10594         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
10595         Moved ...
10596         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
10597         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
10598         Moved ...
10599         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
10600         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
10601         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
10602         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
10603         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
10604         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
10605         Moved ...
10606         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
10607         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
10608         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
10609         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
10610         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
10611         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
10612         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
10613         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
10614         Moved ...
10615         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
10616         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
10617         Moved ...
10618         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
10619         ... here.
10620         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
10621         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
10622         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
10623         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
10624         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
10625         Moved ...
10626         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
10627         ... here.
10628         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
10629         Moved ...
10630         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
10631         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
10632         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
10633         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
10634         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
10635         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
10636         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
10637         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
10638         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
10639         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
10640         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
10642         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
10643         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
10645         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
10646         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
10648         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
10649         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
10650         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
10651         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
10652         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
10653         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
10654         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
10655         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
10656         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
10657         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
10658         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
10659         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
10660         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
10661         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
10662         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
10663         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
10664         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
10665         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
10666         Moved ...
10667         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
10668         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
10669         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
10670         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
10671         Moved ...
10672         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
10673         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
10674         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
10675         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
10676         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
10677         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
10678         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
10679         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
10680         Moved ...
10681         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
10682         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
10683         Moved ...
10684         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
10685         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
10686         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
10687         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
10688         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
10689         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
10690         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
10691         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
10692         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
10693         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
10694         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
10695         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
10696         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
10697         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
10698         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
10699         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
10700         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
10702         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
10703         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
10704         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
10705         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
10706         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
10708         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
10709         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
10710         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
10711         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
10712         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
10713         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
10714         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
10715         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
10716         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
10717         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
10719         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
10720         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
10722         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
10723         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
10724         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
10725         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
10726         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
10727         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
10728         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
10729         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
10730         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
10731         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
10732         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
10733         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
10734         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
10735         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
10736         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
10737         Update #include.
10738         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
10739         Likewise.
10740         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
10741         Likewise.
10742         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
10743         Likewise.
10744         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
10745         Likewise.
10746         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
10747         Likewise.
10748         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
10749         Likewise.
10750         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
10751         Likewise.
10752         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
10753         Likewise.
10754         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
10755         Likewise.
10756         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
10757         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
10758         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
10759         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
10760         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
10761         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
10762         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
10763         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
10764         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
10765         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
10766         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
10767         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
10768         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
10769         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
10770         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
10772         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
10773         that was previously under [RESET_PID].
10774         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10775         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
10776         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
10778         * sysdeps/i386/nptl/Implies: New file.
10779         * sysdeps/x86_64/nptl/Implies: New file.
10780         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
10781         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
10782         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
10783         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
10785         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
10786         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10787         (__libc_vfork): New strong alias.
10788         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
10789         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
10791         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
10792         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10793         (__libc_vfork): New strong alias.
10794         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
10795         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
10797         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
10798         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10799         (__libc_vfork): New strong alias.
10800         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
10801         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
10802         * nptl/pt-vfork.c: New file.
10803         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
10804         (libpthread: GLIBC_2.20): New version set (empty).
10806 2014-05-14  Will Newton  <will.newton@linaro.org>
10808         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
10809         rather than #if.
10811 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
10813         [BZ #16564]
10814         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
10815         arguments with exponent 65 or above.
10816         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
10817         arguments 0x1p113L or above.
10818         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
10819         to arguments 0x1p107L or above.
10820         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
10821         positive arguments with exponent 65 or above.
10822         * math/auto-libm-test-in: Add more tests of log1p.
10823         * math/auto-libm-test-out: Regenerated.
10825         [BZ #16928]
10826         * math/s_cacos.c (__cacos): Ensure zero real part of result from
10827         non-finite arguments is +0.
10828         * math/s_cacosf.c (__cacosf): Likewise.
10829         * math/s_cacosl.c (__cacosl): Likewise.
10830         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
10831         * sysdeps/i386/fpu/libm-test-ulps: Update.
10832         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10834         [BZ #16927]
10835         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
10836         value.
10837         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
10838         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
10839         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
10840         for explicit high bit of mantissa when testing for argument equal
10841         to 1.
10842         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
10843         * sysdeps/i386/fpu/libm-test-ulps: Update.
10844         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10846         [BZ #16516]
10847         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
10848         (__erf): Scale by 16 instead of 8 in potentially underflowing
10849         case.  Ensure exception if result actually underflows.
10850         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
10851         (__erff): Scale by 16 instead of 8 in potentially underflowing
10852         case.  Ensure exception if result actually underflows.
10853         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
10854         (efx8): Remove variable.
10855         (__erfl): Scale by 16 instead of 8 in potentially underflowing
10856         case.  Ensure exception if result actually underflows.
10857         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
10858         (efx8): Remove variable.
10859         (__erfl): Scale by 16 instead of 8 in potentially underflowing
10860         case.  Ensure exception if result actually underflows.
10861         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
10862         (efx8): Remove variable.
10863         (__erfl): Scale by 16 instead of 8 in potentially underflowing
10864         case.  Ensure exception if result actually underflows.
10865         * math/auto-libm-test-in: Add more tests of erf.
10866         * math/auto-libm-test-out: Regenerated.
10868 2014-05-14  Andreas Schwab  <schwab@suse.de>
10870         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
10871         Remove code conditionalized on USE___THREAD.
10873         * config.h.in (HAVE_PT_CHOWN): Define as 0.
10874         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
10875         not definedness.
10877 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
10879         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
10880         Define unconditionally.
10881         (__ASSUME_O_CLOEXEC): Likewise.
10882         (__ASSUME_SOCK_CLOEXEC): Likewise.
10883         (__ASSUME_IN_NONBLOCK): Likewise.
10884         (__ASSUME_PIPE2): Likewise.
10885         (__ASSUME_EVENTFD2): Likewise.
10886         (__ASSUME_SIGNALFD4): Likewise.
10887         (__ASSUME_DUP3): Likewise.
10888         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10889         (__ASSUME_DUP3): Do not define.
10890         (__ASSUME_EVENTFD2): Likewise.
10891         (__ASSUME_IN_NONBLOCK): Likewise.
10892         (__ASSUME_O_CLOEXEC): Likewise.
10893         (__ASSUME_PIPE2): Likewise.
10894         (__ASSUME_SIGNALFD4): Likewise.
10895         (__ASSUME_SOCK_CLOEXEC): Likewise.
10896         (__ASSUME_UTIMES): Undefine.
10897         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10898         (__ASSUME_UTIMES): Do not define.
10899         (__ASSUME_O_CLOEXEC): Likewise.
10900         (__ASSUME_SOCK_CLOEXEC): Likewise.
10901         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
10902         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
10903         0x020621].
10904         (__ASSUME_PIPE2): Likewise.
10905         (__ASSUME_EVENTFD2): Likewise.
10906         (__ASSUME_SIGNALFD4): Likewise.
10907         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
10908         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
10909         Do not define.
10910         (__ASSUME_EVENTFD2): Likewise.
10911         (__ASSUME_SIGNALFD4): Likewise.
10912         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10913         (__ASSUME_32BITUIDS): Likewise.
10914         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
10915         (__ASSUME_IPC64): Likewise.
10916         (__ASSUME_ST_INO_64_BIT): Likewise.
10917         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
10918         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
10919         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10920         (__ASSUME_UTIMES): Do not define.
10921         (__ASSUME_PSELECT): Likewise.
10922         (__ASSUME_PPOLL): Likewise.
10923         (__ASSUME_O_CLOEXEC): Likewise.
10924         (__ASSUME_SOCK_CLOEXEC): Likewise.
10925         (__ASSUME_IN_NONBLOCK): Likewise.
10926         (__ASSUME_PIPE2): Likewise.
10927         (__ASSUME_EVENTFD2): Likewise.
10928         (__ASSUME_SIGNALFD4): Likewise.
10929         (__ASSUME_DUP3): Likewise.
10930         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10931         (__ASSUME_UTIMES): Likewise.
10932         (__ASSUME_O_CLOEXEC): Likewise.
10933         (__ASSUME_SOCK_CLOEXEC): Likewise.
10934         (__ASSUME_IN_NONBLOCK): Likewise.
10935         (__ASSUME_PIPE2): Likewise.
10936         (__ASSUME_EVENTFD2): Likewise.
10937         (__ASSUME_SIGNALFD4): Likewise.
10938         (__ASSUME_DUP3): Likewise.
10939         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10940         (__ASSUME_UTIMES): Likewise.
10941         (__ASSUME_O_CLOEXEC): Likewise.
10942         (__ASSUME_SOCK_CLOEXEC): Likewise.
10943         (__ASSUME_IN_NONBLOCK): Likewise.
10944         (__ASSUME_PIPE2): Likewise.
10945         (__ASSUME_EVENTFD2): Likewise.
10946         (__ASSUME_SIGNALFD4): Likewise.
10947         (__ASSUME_DUP3): Likewise.
10948         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
10949         Likewise.
10950         (__ASSUME_UTIMES): Likewise.
10951         (__ASSUME_EVENTFD2): Likewise.
10952         (__ASSUME_SIGNALFD4): Likewise.
10953         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10954         (__ASSUME_O_CLOEXEC): Likewise.
10955         (__ASSUME_SOCK_CLOEXEC): Likewise.
10956         (__ASSUME_IN_NONBLOCK): Likewise.
10957         (__ASSUME_PIPE2): Likewise.
10958         (__ASSUME_EVENTFD2): Likewise.
10959         (__ASSUME_SIGNALFD4): Likewise.
10960         (__ASSUME_DUP3): Likewise.
10961         (__ASSUME_UTIMES): Undefine.
10963         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
10964         feclearexcept.  Remove symbol versioning code.
10965         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
10966         symbol versioning code.
10967         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
10968         symbol versioning code.
10969         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
10970         feupdateenv.  Remove symbol versioning code.
10971         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
10972         fegetexceptflag.  Remove symbol versioning code.
10973         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
10974         fesetexceptflag.  Remove symbol versioning code.
10975         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
10976         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
10977         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
10978         (__posix_fadvise64_l32): Remove prototype.
10979         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
10980         code.
10982 2014-05-13  Roland McGrath  <roland@hack.frob.com>
10984         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
10985         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
10986         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
10987         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
10989 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
10991         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
10992         current working directory
10994 2014-05-13  Roland McGrath  <roland@hack.frob.com>
10996         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
10997         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
10998         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
10999         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
11000         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
11001         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
11002         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
11003         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
11004         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
11005         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
11006         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
11007         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
11008         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
11009         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
11010         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
11011         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
11012         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
11013         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
11014         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
11015         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
11016         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
11017         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
11018         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
11019         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
11020         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
11021         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
11022         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
11023         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
11024         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
11025         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
11026         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
11027         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
11028         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
11029         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
11030         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
11031         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
11032         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
11033         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
11034         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
11035         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
11036         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
11037         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
11039         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
11040         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
11042         * sysdeps/unix/sysv/linux/arm/Makefile
11043         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
11044         Add rt-aeabi_unwind_cpp_pr1.
11045         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
11046         Add nptl-aeabi_unwind_cpp_pr1.
11047         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
11048         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
11049         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
11050         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
11051         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
11052         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
11054         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
11055         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
11056         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
11057         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
11059         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
11060         Deconditionalize the code that was previously under [RESET_PID].
11061         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
11063         * sysdeps/generic/exit-thread.h: New file.
11064         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
11065         * include/unistd.h (__exit_thread): Remove declaration.
11066         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
11067         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
11068         * csu/libc-start.c: Include <exit-thread.h>.
11069         (LIBC_START_MAIN): Pass no argument to __exit_thread.
11070         * nptl/pthread_create.c: Include <exit-thread.h>.
11071         (start_thread): Call __exit_thread in place of __exit_thread_inline.
11072         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
11073         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
11074         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
11075         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
11076         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
11077         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
11078         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
11079         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
11080         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
11081         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
11082         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
11083         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
11084         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
11085         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
11086         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
11087         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
11089 2014-05-13  Andreas Schwab  <schwab@suse.de>
11091         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
11093 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
11095         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
11096         (__ASSUME_UTIMES): Do not condition on kernel version.
11097         (__ASSUME_PSELECT): Define unconditionally.
11098         (__ASSUME_PPOLL): Likewise.
11099         (__ASSUME_ATFCTS): Likewise.
11100         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
11101         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
11102         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
11103         (__ASSUME_UTIMENSAT): Define unconditionally.
11104         (__ASSUME_PRIVATE_FUTEX): Likewise.
11105         (__ASSUME_FALLOCATE): Likewise.
11106         (__ASSUME_O_CLOEXEC): Likewise.
11107         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
11108         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
11109         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
11110         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
11111         (__ASSUME_IN_NONBLOCK): Likewise.
11112         (__ASSUME_PIPE2): Likewise.
11113         (__ASSUME_EVENTFD2): Likewise.
11114         (__ASSUME_SIGNALFD4): Likewise.
11115         (__ASSUME_DUP3): Likewise.
11116         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11117         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
11118         (__ASSUME_AT_RANDOM): Likewise.
11119         (__ASSUME_PREADV): Likewise.
11120         (__ASSUME_PWRITEV): Likewise.
11121         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
11122         (__ASSUME_F_GETOWN_EX): Define unconditionally.
11123         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
11124         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
11125         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
11126         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11127         (__ASSUME_O_CLOEXEC): Define unconditionally.
11128         (__ASSUME_PSELECT): Do not undefine conditionally.
11129         (__ASSUME_PPOLL): Likewise.
11130         (__ASSUME_ATFCTS): Likewise.
11131         (__ASSUME_SET_ROBUST_LIST): Likewise.
11132         (__ASSUME_UTIMENSAT): Likewise.
11133         (__ASSUME_FDATASYNC): Define unconditionally.
11134         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11135         (__ASSUME_SIGFRAME_V2): Likewise.
11136         )__ASSUME_EVENTFD2): Likewise.
11137         (__ASSUME_SIGNALFD4): Likewise.
11138         (__ASSUME_PSELECT): Do not undefine conditionally.
11139         (__ASSUME_PPOLL): Likewise.
11140         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11141         (__ASSUME_PSELECT): Define unconditionally.
11142         (__ASSUME_PPOLL): Likewise.
11143         (__ASSUME_O_CLOEXEC): Likewise.
11144         (__ASSUME_SOCK_CLOEXEC): Likewise.
11145         (__ASSUME_IN_NONBLOCK): Likewise.
11146         (__ASSUME_PIPE2): Likewise.
11147         (__ASSUME_EVENTFD2): Likewise.
11148         (__ASSUME_SIGNALFD4): Likewise.
11149         (__ASSUME_DUP3): Likewise.
11150         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11151         (__ASSUME_O_CLOEXEC): Likewise.
11152         (__ASSUME_SOCK_CLOEXEC): Likewise.
11153         (__ASSUME_IN_NONBLOCK): Likewise.
11154         (__ASSUME_PIPE2): Likewise.
11155         (__ASSUME_EVENTFD2): Likewise.
11156         (__ASSUME_SIGNALFD4): Likewise.
11157         (__ASSUME_DUP3): Likewise.
11158         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11159         (__ASSUME_EVENTFD2): Likewise.
11160         (__ASSUME_SIGNALFD4): Likewise.
11161         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11163 2014-05-12  Andreas Schwab  <schwab@suse.de>
11165         [BZ #16932]
11166         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
11167         (_nss_nis_gethostbyname4_r): Return error if item length is larger
11168         than maximum RPC packet size.
11169         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
11170         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
11171         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
11172         (_nss_nis_getservbyport_r): Likewise.
11174 2014-05-12  Will Newton  <will.newton@linaro.org>
11176         * malloc/Makefile (tests): Add tst-mallopt.
11177         * malloc/tst-mallopt.c: New file.
11179 2014-05-09  Roland McGrath  <roland@hack.frob.com>
11181         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
11182         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
11184 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11186         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
11187         (tst-tlsmod6.so): Likewise.
11189 2014-05-09  Roland McGrath  <roland@hack.frob.com>
11191         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
11193 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
11195         [BZ #16064]
11196         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
11197         and <dl-procinfo.h>.
11198         (__fegetenv): Save SSE state in envp->__eip if supported.
11199         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
11200         envp->__eip if supported.
11201         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
11202         and <dl-procinfo.h>.
11203         (__fesetenv): Always set __eip, __cs_selector, __opcode,
11204         __data_offset and __data_selector in environment to 0.  Set SSE
11205         state if supported.
11206         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
11207         test-fenv-sse.
11208         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
11209         -mfpmath=sse.
11210         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
11212 2014-05-09  Will Newton  <will.newton@linaro.org>
11214         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
11215         and libc_relro_required for ARM.
11216         * sysdeps/arm/preconfigure: Regenerate.
11218 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
11219             Stefan Liebler  <stli@linux.vnet.ibm.com>
11221         * config.make.in (enable-lock-elision): New Makefile variable.
11222         * configure.ac: Likewise.
11223         * configure: Regenerate.
11224         * sysdeps/s390/configure.ac:
11225         Add check for gcc transactions support.
11226         * sysdeps/s390/configure: Regenerate.
11227         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
11228         Build elision files if enabled.
11229         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
11230         Add lock elision support for s390.
11231         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
11232         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
11233         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
11234         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
11235         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
11236         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
11237         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
11238         Likewise.
11239         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
11240         Likewise.
11241         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
11242         Likewise.
11243         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
11244         Likewise.
11245         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
11246         (__lll_timedlock_elision, __lll_lock_elision)
11247         (__lll_unlock_elision, __lll_trylock_elision)
11248         (lll_timedlock_elision, lll_lock_elision)
11249         (lll_unlock_elision, lll_trylock_elision): Add.
11250         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11251         (pthread_mutex_t): Add lock elision support for s390.
11253 2014-05-14  Wilco  <wdijkstr@arm.com>
11255         * sysdeps/arm/fclrexcpt.c: Cleanup.
11256         * sysdeps/arm/fedisblxcpt.c: Cleanup.
11257         * sysdeps/arm/feenablxcpt.c: Cleanup.
11258         * sysdeps/arm/fegetenv.c: Cleanup.
11259         * sysdeps/arm/fegetexcept.c: Cleanup.
11260         * sysdeps/arm/fegetround.c: Cleanup.
11261         * sysdeps/arm/feholdexcpt.c: Cleanup.
11262         * sysdeps/arm/fesetenv.c: Cleanup.
11263         * sysdeps/arm/fesetround.c: Cleanup.
11264         * sysdeps/arm/feupdateenv.c: Cleanup.
11265         * sysdeps/arm/fgetexcptflg.c: Cleanup.
11266         * sysdeps/arm/fraiseexcpt.c: Cleanup.
11267         * sysdeps/arm/fsetexcptflg.c: Cleanup.
11268         * sysdeps/arm/ftestexcept.c: Cleanup.
11269         * sysdeps/arm/get-rounding-mode.h: Cleanup.
11270         * sysdeps/arm/setfpucw.c: Cleanup.
11272 2014-05-09  Will Newton  <will.newton@linaro.org>
11274         * sysdeps/arm/armv7/strcmp.S: New file.
11275         * NEWS: Mention addition of ARMv7 optimized strcmp.
11277 2014-05-08  Roland McGrath  <roland@hack.frob.com>
11279         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
11280         look for %.ac rather than %.in.
11282         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
11283         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
11284         * sysdeps/mach/hurd/configure: Regenerated.
11285         * sysdeps/unix/sysv/linux/configure: Regenerated.
11287         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
11289 2014-05-07  Steve Ellcey  <sellcey@mips.com>
11291         [BZ# 16922]
11292         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
11293         (LONG_SUB): Ditto.
11294         (PTR_SUB): Ditto.
11296 2014-05-07  Andreas Schwab  <schwab@suse.de>
11298         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
11299         when skipping over non-matching result from nscd.
11301 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
11303         [BZ #16876]
11304         * nptl/sockperf.c (client): Check socket return value.
11306         [BZ #16877]
11307         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
11308         nscd security class.
11310 2014-05-06  Roland McGrath  <roland@hack.frob.com>
11312         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
11313         * sysdeps/arm/unwind.h: ... here.
11315 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
11317         [BZ# 16916]
11318         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
11319         Define.
11321 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
11323         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
11324         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
11325         multiarch strncpy for PPC64.
11326         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
11327         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
11328         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
11329         multiarch optimizations.
11330         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11331         (__libc_ifunc_impl_list): Likewise.
11332         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
11333         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
11334         multiarch stpncpy for PPC64.
11335         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
11336         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
11338 2014-05-06  Andreas Schwab  <schwab@suse.de>
11340         [BZ #16912]
11341         * gmon/mcount.c (_MCOUNT_DECL): Use
11342         atomic_compare_and_exchange_bool_acq instead of
11343         catomic_compare_and_exchange_bool_acq.
11345 2014-05-05  Roland McGrath  <roland@hack.frob.com>
11347         * elf/Makefile (others, install-bin): Remove pldd.
11348         (pldd-modules): Variable removed.
11349         ($(objpfx)pldd): Target removed.
11350         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
11351         (others, install-bin): Append pldd here.
11352         ($(objpfx)pldd): New target.
11354         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
11355         to 0, so the first #if test emitted later doesn't see it undefined.
11356         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
11357         * sysdeps/gnu/errlist.c: Regenerated.
11359 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11361         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
11362         [libc_hidden_builtin_def]: Define to empty value.
11363         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
11364         [libc_hidden_builtin_def]: Likewise.
11365         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
11366         [libc_hidden_builtin_def]: Likewise.
11367         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
11368         [libc_hidden_builtin_def]: Likewise.
11369         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
11370         __redirect_memcpy and define ifunc as default hidden symbol.
11371         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
11372         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
11374 2014-05-04  Adam Conrad  <adconrad@0c3.net>
11376         * locale/iso-4217.def: Reintroduce XDR currency.
11378 2014-05-04  Allan McRae  <allan@archlinux.org>
11380         * po/eo.po: Update Esperanto translation from translation project.
11382 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
11384         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
11385         and FEATURE_INDEX_MAX to 1.
11386         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
11388 2014-05-01  Steve Ellcey  <sellcey@mips.com>
11390         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
11391         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
11392         * iconvdata/big5.c (ONE_DIRECTION): Define.
11393         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
11394         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
11395         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
11396         * iconvdata/cp932.c (ONE_DIRECTION): Define.
11397         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
11398         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
11399         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
11400         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
11401         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
11402         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
11403         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
11404         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
11405         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
11406         * iconvdata/gbk.c (ONE_DIRECTION): Define.
11407         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
11408         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
11409         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
11410         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
11411         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
11412         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
11413         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
11414         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
11415         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
11416         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
11417         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
11418         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
11419         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
11420         * iconvdata/iso646.c (ONE_DIRECTION): Define.
11421         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
11422         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
11423         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
11424         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
11425         * iconvdata/johab.c (ONE_DIRECTION): Define.
11426         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
11427         * iconvdata/sjis.c (ONE_DIRECTION): Define.
11428         * iconvdata/t.61.c (ONE_DIRECTION): Define.
11429         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
11430         * iconvdata/tscii.c (ONE_DIRECTION): Define.
11431         * iconvdata/uhc.c (ONE_DIRECTION): Define.
11432         * iconvdata/unicode.c (ONE_DIRECTION): Define.
11433         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
11434         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
11435         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
11437 2014-05-01  Roland McGrath  <roland@hack.frob.com>
11439         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
11440         (_IO_JUMPS_OFFSET): Define to 0.
11442         * nptl/sysdeps/pthread/bits/libc-lock.h
11443         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
11444         (__libc_lock_define_initialized_recursive): Always define using
11445         initializer.  Modern compilers treat uninitialized (implicit zero) and
11446         explicit zero initializers the same (i.e. put the datum in bss).
11448 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
11450         * nscd/nscd-client.h: Include <string.h>.
11452 2014-05-01  David S. Miller  <davem@davemloft.net>
11454         [BZ #16885]
11455         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
11456         multiple zero bytes exist at the end of a string.
11457         Reported by Aurelien Jarno <aurelien@aurel32.net>
11459         * string/test-strcmp.c (check): Add explicit test for situations where
11460         there are multiple zero bytes after the first.
11462 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
11464         [BZ #16890]
11465         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
11466         when compiling wprintf.
11467         * stdio-common/tstdiomisc.c (t3): New function.
11468         (main): Call it.
11470 2014-05-01  Steve Ellcey  <sellcey@mips.com>
11472         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
11473         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
11474         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
11475         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
11477 2014-05-01  Steve Ellcey  <sellcey@mips.com>
11479         * stdlib/longlong.h: Updated from GCC.
11481 2014-05-01  Will Newton  <will.newton@linaro.org>
11482             Bernard Ogden  <bernie.ogden@linaro.org>
11484         * NEWS: Update fixed bug list.
11486         [BZ #15119]
11487         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
11489 2014-04-30  David S. Miller  <davem@davemloft.net>
11491         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
11492         (libc_feholdexcept_setround_sparc_ctx): New function.
11493         (libc_fesetenv_sparc_ctx): Likewise.
11494         (libc_feupdateenv_sparc_ctx): Likewise.
11495         (libc_feholdsetround_sparc_ctx): Likewise.
11496         (libc_feholdexcept_setround_ctx): Define.
11497         (libc_feholdexcept_setroundf_ctx): Likewise.
11498         (libc_feholdexcept_setroundl_ctx): Likewise.
11499         (libc_fesetenv_ctx): Likewise.
11500         (libc_fesetenvf_ctx): Likewise.
11501         (libc_fesetenvl_ctx): Likewise.
11502         (libc_feupdateenv_ctx): Likewise.
11503         (libc_feupdateenvf_ctx): Likewise.
11504         (libc_feupdateenvl_ctx): Likewise.
11505         (libc_feresetround_ctx): Likewise.
11506         (libc_feresetroundf_ctx): Likewise.
11507         (libc_feresetroundl_ctx): Likewise.
11508         (libc_feholdsetround_ctx): Likewise.
11509         (libc_feholdsetroundf_ctx): Likewise.
11510         (libc_feholdsetroundl_ctx): Likewise.
11512         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
11513         with __USE_GNU instead of XOPEN cpp guards.
11515         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
11516         0.
11518         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
11519         with XOPEN cpp guards.
11521 2014-04-30  Julian Brown  <julian@codesourcery.com>
11523         [BZ #16888]
11524         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
11525         handling.
11527 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
11529         [BZ #9894]
11530         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
11531         Change to 2.6.32.
11532         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
11533         * sysdeps/unix/sysv/linux/configure: Regenerated.
11534         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
11535         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
11536         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
11537         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
11538         * README: Update reference to required Linux kernel version.
11539         * manual/install.texi (Linux): Update reference to required Linux
11540         kernel headers version.
11541         * INSTALL: Regenerated.
11543         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
11544         header inclusion.
11545         [POSIX] (limits.h): Likewise.
11546         [POSIX] (math.h): Likewise.
11547         [POSIX] (sys/wait.h): Likewise.
11548         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
11549         function.
11550         [POSIX] (stddef.h): Do not allow header inclusion.
11552 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11554         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
11556 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
11558         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
11559         Return immediately after lll_futex_wake.
11561 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11563         [BZ #16791]
11564         * nscd/nscd-client.h (datahead_init_common): Initialize entire
11565         structure.
11566         (datahead_init_pos): Call datahead_init_common early.
11567         (datahead_init_neg): Likewise.
11569         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
11570         datahead_init_neg): New functions.
11571         * nscd/aicache.c (addhstaiX): Use them.
11572         * nscd/grpcache.c (cache_addgr): Likewise.
11573         * nscd/hstcache.c (cache_addhst): Likewise.
11574         * nscd/initgrcache.c (addinitgroupsX): Likewise.
11575         * nscd/netgroupcache.c (do_notfound): Likewise.
11576         (addgetnetgrentX): Likewise.
11577         (addinnetgrX): Likewise.
11578         * nscd/pwdcache.c (cache_addpw): Likewise.
11579         * nscd/servicescache.c (cache_addserv): Likewise.
11581 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11582             Atsushi Onoe  <atsushi@onoe.org>
11584         [BZ #14308]
11585         [BZ #12994]
11586         [BZ #13651]
11587         * resolv/res_query.c (__libc_res_nsearch): Return if at least
11588         one response is valid.
11589         * resolv/res_send.c (send_dg): Check for validity of other
11590         response if the current response is a referral.
11592 2014-04-29  Steve Ellcey  <sellcey@mips.com>
11594         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
11596 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
11598         [BZ #16823]
11599         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
11600         Always divide by positive zero when computing -Inf result.
11601         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11602         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
11604 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11606         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
11607         FPSCR if value do not change.
11608         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11609         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
11610         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
11611         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
11612         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
11613         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
11614         function.
11616 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
11618         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
11619         * sysdeps/unix/sysv/linux/hppa: Move directory from
11620         ports/systeps/unix/sysv/linux/hppa.
11621         * README: Update listing for hppa-*-linux-gnu.
11623 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
11625         [BZ #16754]
11626         * manual/stdio.texi (Hook functions): Fix types of stream hook
11627         functions.
11628         [BZ #16854]
11629         * socket/sys/socket.h: Fix typo in comment.
11631 2014-04-28  Wilco  <wdijkstr@arm.com>
11633         * sysdeps/arm/fenv_private.h: New file.
11634         * sysdeps/arm/math_private.h: New file.
11635         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
11637 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
11639         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
11640         with __int128_t.
11641         (La_x86_64_retval): Likewise.
11643 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
11645         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
11646         fpsr if value didn't change.
11647         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
11648         to fpcr if value didn't change.
11649         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
11650         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
11651         fpsr or fpcr if value didn't change.
11652         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
11653         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
11654         fpcr if value didn't change.
11655         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
11656         to fpsr if value didn't change.
11658 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
11660         * nptl/tst-sem3.c: Use test-skeleton.c
11661         (main): Rename to do_test.  Use return instead of
11662         exit.
11663         * nptl/tst-sem4.c: Use test-skeleton.c
11664         (main): Rename to do_test.
11666 2014-04-22  David S. Miller  <davem@davemloft.net>
11668         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
11669         (struct sigaction): New struct member __glibc_reserved0, change
11670         type of sa_flags to int.
11672 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
11674         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
11675         (COUNT_LEADING_ZEROS_0): Define for AArch64.
11677 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
11679         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
11680         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
11682 2014-04-22  Will Newton  <will.newton@linaro.org>
11683             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
11685         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
11686         (__longjmp): Add longjmp and longjmp_target SystemTap
11687         probes.
11688         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
11689         (__sigsetjmp): Add setjmp SystemTap probe.
11691 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
11693         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
11694         match manual order.
11696 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11698         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
11700         * sysdeps/powerpc/fpu/fenv_private.h
11701         (libc_feholdexcept_setroundl_ctx): Define to
11702         libc_feholdexcept_setround_ppc_ctx.
11703         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
11704         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
11705         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
11706         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
11708 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
11710         * sysdeps/aarch64/math-tests.h: New file.
11712 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
11714         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
11715         New.
11716         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11717         Check and set bit_AVX2_Usable.
11718         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
11719         macro.
11720         (bit_AVX2): Likewise.
11721         (index_AVX2_Usable): Likewise.
11722         (CPUID_AVX2): Likewise.
11723         (HAS_AVX2): Likewise.
11725 2014-04-17  Will Newton  <will.newton@linaro.org>
11727         * manual/setjmp.texi (System V contexts): Add note that
11728         calling setcontext on a context created by a call to a
11729         signal handler is undefined.  Update text to note that
11730         setcontext from a signal handler is possible but not
11731         recommended.
11733         [BZ #16629]
11734         * stdlib/tst-setcontext.c: Include signal.h.
11735         (main): Check that the signal stack before and
11736         after swapcontext is the same.
11738         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
11739         Re-implement to restore registers in user code and avoid
11740         rt_sigreturn system call.
11742 2014-04-17  Wilco  <wdijkstr@arm.com>
11744         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
11745         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
11746         * math/test-fenv.c: Skip exception trap tests on targets which only
11747         support non-stop mode.
11749 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
11750             Wilco Dijkstra  <wilco.dijkstra@arm.com>
11752         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
11753         (libc_feholdsetround_aarch64_ctx)
11754         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
11755         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
11756         (libc_feresetround_ctx, libc_feresetroundf_ctx)
11757         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
11758         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
11759         (libc_feresetround_noexl_ctx): Define.
11761 2014-04-16  Richard Henderson  <rth@redhat.com>
11763         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
11765         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
11766         unwind tables.
11768         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
11769         const from the non-libc, non-ldso copy.
11771         * sysdeps/alpha/libm-test-ulps: Regenerate.
11773 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
11774             Wilco Dijkstra  <wilco.dijkstra@arm.com>
11776         * sysdeps/aarch64/fpu/math_private.h: New file.
11778 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
11780         * sysdeps/aarch64/libm-test-ulps: Regenerate.
11782 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
11784         [BZ #16275]
11785         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
11786         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
11787         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
11788         Intel MPX bound registers before _dl_profile_fixup.
11789         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
11790         registers after _dl_profile_fixup.  Save and restore bound
11791         registers bnd0/bnd1 when calling _dl_call_pltexit.
11792         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
11793         (LR_BND_OFFSET): Likewise.
11794         (LRV_BND0_OFFSET): Likewise.
11795         (LRV_BND1_OFFSET): Likewise.
11797 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11799         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
11800         to...
11801         * sysdeps/mach/hurd/i386/tls.h: ... here.
11802         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
11803         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
11804         fields.
11806 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11808         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
11810 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
11812         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11814 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
11816         [BZ #14770]
11817         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
11818         * sysdeps/s390/configure: Regenerate.
11820         [BZ #16824]
11821         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
11822         Set round-to-nearest internally to reduce error accumulation.
11824 2014-04-16  Alan Modra  <amodra@gmail.com>
11826         [BZ #16740]
11827         [BZ #16619]
11828         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
11829         * math/libm-test.inc (frexp_test_data): Add tests.
11830         * NEWS: Update fixed bug list.
11832 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11834         * benchtests/Makefile: Depend on libraries in build directory.
11835         (bench-math): Separate out math tests.
11836         (bench-pthread): Separate out pthread tests.
11837         (bench): Include math and pthread tests.
11839 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
11841         [BZ #16831]
11842         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
11843         _dl_debug_initialize.
11845         * configure.ac: Remove SELinux header check.
11846         * configure: Regenerate.
11847         * nscd/selinux.c (perms): Array of const char* to permission names.
11848         (nscd_request_avc_has_perm): Call security_deny_unknown to find
11849         default policy. Call string_to_security_class and string_to_av_perm to
11850         translate strings. Enforce default policy and call avs_has_perm with
11851         results of translated strings.
11853 2014-04-13  David S. Miller  <davem@davemloft.net>
11855         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11857 2014-04-12  Allan McRae  <allan@archlinux.org>
11859         [BZ #16838]
11860         * manual/string.texi (Collation Functions): Fix qsort argument
11861         order in example.
11862         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
11864 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
11866         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
11867         Make the test a no-op if there are no exceptions defined.
11869 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
11871         * elf/Makefile (tests): make tst-dlopen-aout conditional on
11872         enable-hardcoded-path-in-tests
11874 2014-04-11  Will Newton  <will.newton@linaro.org>
11876         * benchtests/Makefile (extra-objs): Add json-lib.o.
11877         (bench-func): Tidy up JSON output.
11878         * benchtests/bench-skeleton.c: Include json-lib.h.
11879         (main): Use JSON library functions to do output of
11880         benchmark results.
11881         * benchtests/bench-timing-type.c (main): Output the
11882         timing type simply, leaving formatting to the user.
11883         * benchtests/json-lib.c: New file.
11884         * benchtests/json-lib.h: Likewise.
11886 2014-04-11  Torvald Riegel  <triegel@redhat.com>
11888         [BZ #15215]
11889         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
11890         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
11891         memory barriers.  Add comments.
11892         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
11893         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
11894         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
11895         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
11896         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
11897         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
11899 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
11901         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
11902         * sysdeps/s390/s390-64/configure.ac: ... this ...
11903         * sysdeps/s390/configure.ac: ... to here.
11904         * sysdeps/s390/s390-32/configure: Delete file.
11905         * sysdeps/s390/s390-64/configure: Delete file.
11906         * sysdeps/s390/configure: Regenerate.
11908 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
11910         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
11912 2014-04-11  Will Newton  <will.newton@linaro.org>
11914         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
11915         to zero if it is not defined elsewhere.  (mtrim): Test
11916         the value of MALLOC_DEBUG with #if rather than #ifdef.
11918 2014-04-10 Torvald Riegel  <triegel@redhat.com>
11920         * benchtests/pthread_once-inputs: New file.
11921         * benchtests/pthread_once-source.c: New file.
11922         * benchtests/README: Update documentation.
11924 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
11925             H.J. Lu  <hongjiu.lu@intel.com>
11927         [BZ #16275]
11928         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
11929         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
11930         * sysdeps/x86_64/configure: Regenerated.
11931         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
11932         macro.
11933         (REGISTER_SAVE_RAX): Likewise.
11934         (REGISTER_SAVE_RCX): Likewise.
11935         (REGISTER_SAVE_RDX): Likewise.
11936         (REGISTER_SAVE_RSI): Likewise.
11937         (REGISTER_SAVE_RDI): Likewise.
11938         (REGISTER_SAVE_R8): Likewise.
11939         (REGISTER_SAVE_R9): Likewise.
11940         (REGISTER_SAVE_BND0): Likewise.
11941         (REGISTER_SAVE_BND1): Likewise.
11942         (REGISTER_SAVE_BND2): Likewise.
11943         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
11944         bound registers when calling _dl_fixup.
11946 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11948         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
11949         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
11950         of its definition.
11951         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
11952         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
11953         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
11954         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
11955         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
11956         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
11957         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
11959 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
11961         [BZ #15514]
11962         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
11963         pathconf(_PC_NAME_MAX).
11965 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11967         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
11968         Remove macro usage.
11969         (__PTHREAD_SPINS): Move definition to ...
11970         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
11971         (__PTHREAD_SPINS): ... here.
11972         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11973         (__PTHREAD_SPIN): Likewise.
11974         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
11975         (__PTHREAD_SPIN): Likewise.
11976         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
11977         (__PTHREAD_SPIN): Likewise.
11978         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
11979         (__PTHREAD_SPIN): Likewise.
11980         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
11981         (__PTHREAD_SPIN): Likewise.
11982         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
11983         (__PTHREAD_SPIN): Likewise.
11984         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
11985         (__PTHREAD_SPIN): Likewise.
11986         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
11987         (__PTHREAD_SPIN): Likewise.
11988         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
11989         (__PTHREAD_SPIN): Likewise.
11990         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
11991         (__PTHREAD_SPIN): Likewise.
11992         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
11993         (__PTHREAD_SPIN): Likewise.
11994         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
11995         (__PTHREAD_SPIN): Likewise.
11997         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
11998         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
11999         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
12000         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
12001         imply folder.
12002         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
12003         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
12004         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
12005         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
12006         correct imply path.
12007         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
12008         strlen symbol for non multi-arch builds.
12009         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
12010         missing hidden_def and weak_alias.
12012 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
12014         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
12016 2014-04-07  Will Newton  <will.newton@linaro.org>
12018         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
12019         and contents.  [!_LIBC] Remove #ifndef and contents.
12020         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
12021         * string/memccpy.c (__memccpy): Use ANSI prototype.
12022         * string/memfrob.c (memfrob): Likewise.
12023         * string/strcoll.c (STRCOLL): Likewise.
12024         * string/strlen.c (strlen): Likewise.
12025         * string/strtok.c (STRTOK): Likewise.
12026         * string/strcat.c: Remove unused #include of memcopy.h.
12027         (strcat): Use ANSI prototype.
12028         * string/strchr.c: Remove unused #include of memcopy.h.
12029         (strchr): Use ANSI prototype.
12030         * string/strcmp.c: Remove unused #include of memcopy.h.
12031         (strcmp): Use ANSI prototype.
12032         * string/strcpy.c: Remove unused #include of memcopy.h.
12033         (strcpy): Use ANSI prototype.
12035 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12037         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
12038         * config.make.in (config-extra-cppflags): Set it from
12039         libc_extra_cppflags.
12040         * configure.ac (libc_extra_cflags): Make it accumulate over
12041         configure fragments.
12042         (libc_extra_cppflags): New flag.
12043         * configure. Regenerate.
12044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
12045         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
12046         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
12047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
12049         [BZ #16815]
12050         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
12051         result for FE_DOWNWARD rounding mode.
12052         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
12053         Likewise.
12054         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12056 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
12058         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
12059         in function argument name.
12061 2014-04-03  David Svoboda  <svoboda@cert.org>
12063         [BZ #5666]
12064         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
12065         explicitly.
12067 2014-04-03  Roland McGrath  <roland@hack.frob.com>
12069         * elf/dl-unmap-segments.h: New file.
12070         * sysdeps/generic/ldsodefs.h
12071         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
12072         * elf/dl-close.c: Include <dl-unmap-segments.h>.
12073         * elf/dl-fptr.c: Likewise.
12074         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
12075         * sysdeps/aarch64/tlsdesc.c: Likewise.
12076         * sysdeps/arm/tlsdesc.c: Likewise.
12077         * sysdeps/i386/tlsdesc.c: Likewise.
12078         * sysdeps/tile/dl-runtime.c: Likewise.
12079         * sysdeps/x86_64/tlsdesc.c: Likewise.
12080         * elf/dl-load.h: New file.
12081         * elf/dl-load.c: Include it.
12082         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
12083         Macros moved to dl-load.h.
12084         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
12085         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
12086         Use _dl_unmap_segments in place of __munmap.
12087         Break out segment-mapping loop into ...
12088         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
12090 2014-04-03  Will Newton  <will.newton@linaro.org>
12092         * elf/dl-lookup.c (do_lookup_x): Remove comment
12093         referring to nested function and move variable
12094         declarations down to before first use.
12096 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
12098         [BZ #16799]
12099         [BZ #16800]
12100         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
12101         with 0 numerator.
12102         * math/s_catanf.c (__catanf): Likewise.
12103         * math/s_catanh.c (__catanh): Likewise.
12104         * math/s_catanhf.c (__catanhf): Likewise.
12105         * math/s_catanhl.c (__catanhl): Likewise.
12106         * math/s_catanl.c (__catanl): Likewise.
12107         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
12108         by positive zero when computing -Inf result.
12109         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
12110         (catanh_test): Likewise.
12111         * sysdeps/i386/fpu/libm-test-ulps: Update.
12112         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12114         [BZ #16789]
12115         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
12116         instead of using underflowing value in computing result.
12117         * math/s_clog10.c (__clog10): Likewise.
12118         * math/s_clog10f.c (__clog10f): Likewise.
12119         * math/s_clog10l.c (__clog10l): Likewise.
12120         * math/s_clogf.c (__clogf): Likewise.
12121         * math/s_clogl.c (__clogl): Likewise.
12122         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
12123         (clog10_test): Likewise.
12124         * sysdeps/i386/fpu/libm-test-ulps: Update.
12125         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12127 2014-04-02  Alan Modra  <amodra@gmail.com>
12129         [BZ #16739]
12130         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
12131         output when value is near a power of two.  Use int64_t for lx and
12132         remove casts.  Use decimal rather than hex exponent constants.
12133         Don't use long double multiplication when double will suffice.
12134         * math/libm-test.inc (nextafter_test_data): Add tests.
12135         * NEWS: Add 16739 and 16786 to bug list.
12137         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
12139         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
12141 2014-04-01  Will Newton  <will.newton@linaro.org>
12143         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
12144         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
12146 2014-04-01  Florian Weimer  <fweimer@redhat.com>
12148         [BZ #13347]
12149         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
12150         * nptl/tst-setuid2.c: New file.
12151         * nptl/Makefile (xtests): Add tst-setuid2.
12153 2014-04-01  Alan Modra  <amodra@gmail.com>
12155         [BZ #16786]
12156         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
12158 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
12160         [BZ #6803]
12161         [BZ #6804]
12162         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
12163         set errno as appropriate.
12164         * math/w_scalbf.c (__scalbf): Likewise.
12165         * math/w_scalbl.c (__scalbl): Likewise.
12166         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
12167         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
12168         * math/libm-test.inc (scalb_test_data): Add errno expectations.
12169         Add more NaN tests.
12171         [BZ #16349]
12172         * math/w_atan2.c: Include <errno.h>.
12173         (__atan2): Set errno for result underflowing to zero.
12174         * math/w_atan2f.c: Include <errno.h>.
12175         (__atan2f): Set errno for result underflowing to zero.
12176         * math/w_atan2l.c: Include <errno.h>.
12177         (__atan2l): Set errno for result underflowing to zero.
12178         * math/auto-libm-test-in: Don't allow missing errno for some atan2
12179         tests.
12180         * math/auto-libm-test-out: Regenerated.
12182 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12184         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
12185         Encode instruction correctly in little endian.
12186         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
12187         Likewise.
12188         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
12189         Likewise.
12190         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
12191         Likewise.
12192         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
12193         Likewise.
12195 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
12197         [BZ #9894]
12198         * sysdeps/unix/sysv/linux/kernel-features.h
12199         [__sparc__ && !__arch64__ && !__sparc_v9__]
12200         (__ASSUME_SET_ROBUST_LIST): Do not define.
12201         [__sparc__ && !__arch64__ && !__sparc_v9__]
12202         (__ASSUME_FUTEX_LOCK_PI): Likewise.
12203         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
12204         Likewise.
12205         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12206         (__ASSUME_FUTEX_LOCK_PI): Undefine.
12207         (__ASSUME_REQUEUE_PI): Likewise.
12208         (__ASSUME_SET_ROBUST_LIST): Likewise.
12209         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12210         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
12211         Undefine.
12212         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12213         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
12214         Likewise.
12215         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
12216         Likewise.
12217         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
12218         Likewise.
12219         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12220         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
12221         Undefine.
12222         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
12223         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
12224         Likewise.
12226         [BZ #16648]
12227         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12228         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
12229         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
12231 2014-03-31  Will Newton  <will.newton@linaro.org>
12233         * benchtests/Makefile (bench): Add ffs and ffsll to list
12234         of tests.
12235         * benchtests/ffs-inputs: New file.
12236         * benchtests/ffsll-inputs: Likewise.
12238 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
12240         [BZ #16770]
12241         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
12242         too large before casting to int.
12243         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
12244         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
12245         * math/libm-test.inc (scalb_test_data): Add more tests.
12247 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
12249         * benchtests/Makefile (DETAILED_OPT): New make option.
12250         (bench-func): Run benchmark program with -d if DETAILED_OPT is
12251         set.
12252         * benchtests/bench-skeleton.c: Include stdbool.h.
12253         (main): Store and print timings per input.
12254         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
12255         member to each argument value.
12256         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
12257         (_print_arg_data): Initialize per-input timing to 0.
12259         * benchtests/Makefile (timing-type): New binary.
12260         (bench-clean): Also remove bench-timing-type.
12261         (bench): New target for timing-type.
12262         (bench-func): Print output in JSON format.
12263         * benchtests/bench-skeleton.c (main): Print output in JSON
12264         format.
12265         * benchtests/bench-timing-type.c: New file.
12266         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
12267         (TIMING_PRINT_STATS): Remove.
12268         * benchtests/scripts/bench.py (_print_arg_data): Store variant
12269         name separately.
12271         * benchtests/bench-modf.c: Remove.
12272         * benchtests/modf-inputs: New inputs file.
12274 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
12276         [BZ #16362]
12277         * math/s_clog10.c (M_PI_LOG10E): New macro.
12278         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
12279         imaginary parts are 0.
12280         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
12281         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
12282         imaginary parts are 0.
12283         * math/s_clog10l.c (M_PI_LOG10El): New macro.
12284         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
12285         imaginary parts are 0.
12286         * math/libm-test.inc (clog10_test_data): Update expected results
12287         for when real and imaginary parts are 0.
12289 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
12291         * elf/dl-load.c: Finish conversion of __builtin_expect into
12292         __glibc_{un}likely.
12294 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
12296         [BZ #16348]
12297         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
12298         1+x for argument with exponent below -67.
12299         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
12300         Likewise.
12301         * math/auto-libm-test-in: Add more tests of exp.
12302         * math/auto-libm-test-out: Regenerated.
12304 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12306         [BZ #16759]
12307         * inet/getnetgrent_r.c (get_nonempty_val): New function.
12308         (nscd_getnetgrent): Use it.
12310         [BZ #16760]
12311         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
12312         of stpcpy.
12314 2014-03-27  Andi Kleen  <ak@linux.intel.com>
12316         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
12317         (lll_robust_lock, lll_cond_lock, lll_timedlock)
12318         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
12319         (lll_robust_unlock): Remove out of line section. Use cfi
12320         intrinsics.
12321         (LLL_STUB_UNWIND_INFO*): Remove.
12322         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
12323         (lll_robust_lock, lll_cond_lock, lll_timedlock)
12324         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
12325         (lll_robust_unlock): Remove out of line section. Use cfi
12326         intrinsics.
12327         (LLL_STUB_UNWIND_INFO*): Remove.
12329 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12331         [BZ #16758]
12332         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
12333         blank values.
12335 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
12337         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
12339 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
12341         [BZ #16198]
12342         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
12343         fnstenv.
12344         * math/test-fenv-preserve.c: New file.
12345         * math/Makefile (tests): Add test-fenv-preserve.
12347 2014-03-26  Will Newton <will.newton@linaro.org>
12349         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
12351 2014-03-25  Roland McGrath  <roland@hack.frob.com>
12353         * scripts/versionlist.awk: Partition the version sets and emit all
12354         GLIBC_* (sorted) before all others (sorted).
12356 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
12358         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
12359         GLIBC_2.2.5 version.
12361 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12363         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
12364         calls.
12366         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
12367         previous change.
12369         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12371 2014-03-25  Andreas Schwab  <schwab@suse.de>
12373         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
12374         label to be used after in6ailist is initialized.
12376 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12378         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
12379         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
12381 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
12383         [BZ #16357]
12384         [BZ #16599]
12385         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
12386         min_plus_half.
12387         (fp_formats): Update initializers.
12388         (init_fp_formats): Initialize new field.
12389         (output_for_one_input_case): Allow underflow for results up to
12390         min_plus_half.
12391         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
12392         * math/auto-libm-test-in: Don't mark some underflows from asin and
12393         atanh as spurious.
12394         * math/auto-libm-test-out: Regenerated.
12395         * sysdeps/i386/fpu/libm-test-ulps: Update.
12396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12398 2014-03-25  Andreas Schwab  <schwab@suse.de>
12400         * libio/Makefile (tst-ftell-partial-wide-ENV)
12401         (tst-ftell-active-handler-ENV): Define.
12403 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
12405         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
12407 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
12409         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
12411 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
12413         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
12414         * sysdeps/x86_64/fpu/multiarch/e_exp.c
12415         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12417 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
12419         [BZ #16634]
12420         * elf/dl-load.c (open_verify): Add mode parameter.
12421         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
12422         (open_path): Change from boolean 'secure' to complete flag 'mode'
12423         (_dl_map_object): Adjust.
12424         * elf/Makefile (tests): Add tst-dlopen-aout.
12425         * elf/tst-dlopen-aout.c: New test.
12427 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
12429         [BZ #16714]
12430         * sysdeps/unix/sysv/linux/s390/bits/stat.h
12431         (struct stat): Rename member pad0 to __glibc_reserved0.
12433         [BZ #16712]
12434         * sysdeps/s390/s390-32/bits/wordsize.h
12435         (__WORDSIZE32_SIZE_ULONG): New define.
12436         * sysdeps/s390/s390-64/bits/wordsize.h
12437         (__WORDSIZE32_SIZE_ULONG): Likewise.
12438         * sysdeps/generic/stdint.h (SIZE_MAX):
12439         Define as UL if __WORDSIZE32_SIZE_ULONG.
12441         [BZ #16713]
12442         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
12443         (__glibc_reserved0): New variable.
12444         (sa_flags): Change type to int.
12446         * posix/Makefile (before-compile): Use += before-compile instead
12447         of a :=.
12449         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12450         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
12452 2014-03-20  Andreas Schwab  <schwab@suse.de>
12454         [BZ #16743]
12455         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
12456         non-matching result from nscd.
12458 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12460         * scripts/bench.py: Moved to ...
12461         * benchtests/scripts/bench.py: ... here.
12462         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
12464 2014-03-24  Andreas Schwab  <schwab@suse.de>
12466         [BZ #16002]
12467         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
12468         alloca_account and account alloca use for struct in6ailist.
12470 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
12472         [BZ #16284]
12473         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
12474         rounding mode to recompute results that overflow to infinity or
12475         underflow to zero.
12476         * math/auto-libm-test-in: Don't mark tests as expected to fail for
12477         bug 16284.
12478         * math/auto-libm-test-out: Regenerated.
12479         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
12480         (ccosh_test): Likewise.
12481         (csin_test_data): Use plus_oflow.
12482         (csin_test): Use ALL_RM_TEST.
12483         (csinh_test_data): Use plus_oflow.
12484         (csinh_test): Use ALL_RM_TEST.
12485         * sysdeps/i386/fpu/libm-test-ulps: Update.
12486         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12488 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
12490         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
12491         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
12492         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
12494         [BZ #16731]
12495         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
12496         when x - 1 is zero.
12497         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
12498         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
12499         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
12500         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
12501         argument is 1.
12502         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
12503         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
12504         zero.
12505         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
12506         * sysdeps/i386/fpu/libm-test-ulps: Update.
12507         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12509 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12511         * scripts/bench.pl: Remove file.
12512         * scripts/bench.py: New benchmark script.
12513         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
12514         * benchtests/README: Mention python dependency.
12515         * scripts/pylintrc: New file.
12516         * scripts/pylint: New file.
12518         * bits/mathdef.h: Use #ifdef instead of #if.
12519         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
12520         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12521         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
12522         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12523         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
12524         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12526 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12527             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
12529         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
12530         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
12531         and strpbrk-ppc64 objects.
12532         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12533         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
12534         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
12535         multiarch strpbrk for POWER7.
12536         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
12537         multiarch strpbrk for PPC64.
12538         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
12539         ifunc selector.
12540         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
12541         strpbrk for POWER7.
12543 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
12545         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
12546         (atan_test): Likewise.
12547         (atanh_test_data): Use NO_TEST_INLINE for two tests.
12548         (atanh_test): Use ALL_RM_TEST.
12549         (atan2_test_data): Likewise.
12550         (cabs_test): Likewise.
12551         (cacosh_test): Likewise.
12552         (carg_test): Likewise.
12553         (casin_test): Likewise.
12554         (casinh_test): Likewise.
12555         (cbrt_test): Likewise.
12556         (csqrt_test): Likewise.
12557         (erf_test): Likewise.
12558         (erfc_test): Likewise.
12559         (pow10_test): Likewise.
12560         (exp2_test): Likewise.
12561         (hypot_test): Likewise.
12562         (j0_test): Likewise.
12563         (j1_test): Likewise.
12564         (lgamma_test): Likewise.
12565         (gamma_test): Likewise.
12566         (sincos_test): Likewise.
12567         (tanh_test): Likewise.
12568         (y0_test): Likewise.
12569         (y1_test): Likewise.
12570         * sysdeps/i386/fpu/libm-test-ulps: Update.
12571         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12573 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12575         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
12576         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
12577         and strcspn-ppc64 objects.
12578         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12579         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
12580         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
12581         multiarch strcspn for POWER7.
12582         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
12583         multiarch strcspn for PPC64.
12584         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
12585         ifunc selector.
12586         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
12587         strcspn for POWER7.
12589 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
12591         * math/gen-libm-test.pl (generate_testfile): Expect only function
12592         name as argument to AUTO_TESTS_* and pass results for all rounding
12593         modes to parse_args.
12594         (parse_auto_input): Separate inputs of automatic tests from
12595         outputs before storing in %auto_tests.
12596         * math/libm-test.inc (acos_test_data): Update call to
12597         AUTO_TESTS_f_f.
12598         (acos_test): Use ALL_RM_TEST.
12599         (acos_tonearest_test_data): Remove.
12600         (acos_test_tonearest): Likewise.
12601         (acos_towardzero_test_data): Likewise.
12602         (acos_test_towardzero): Likewise.
12603         (acos_downward_test_data): Likewise.
12604         (acos_test_downward): Likewise.
12605         (acos_upward_test_data): Likewise.
12606         (acos_test_upward): Likewise.
12607         (acosh_test_data): Update call to AUTO_TESTS_f_f.
12608         (asin_test_data): Likewise.
12609         (asin_test): Use ALL_RM_TEST.
12610         (asin_tonearest_test_data): Remove.
12611         (asin_test_tonearest): Likewise.
12612         (asin_towardzero_test_data): Likewise.
12613         (asin_test_towardzero): Likewise.
12614         (asin_downward_test_data): Likewise.
12615         (asin_test_downward): Likewise.
12616         (asin_upward_test_data): Likewise.
12617         (asin_test_upward): Likewise.
12618         (asinh_test_data): Update call to AUTO_TESTS_f_f.
12619         (atan_test_data): Likewise.
12620         (atanh_test_data): Likewise.
12621         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
12622         (cabs_test_data): Update call to AUTO_TESTS_c_f.
12623         (carg_test_data): Likewise.
12624         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
12625         (ccos_test_data): Update call to AUTO_TESTS_c_c.
12626         (ccosh_test_data): Likewise.
12627         (cexp_test_data): Likewise.
12628         (clog_test_data): Likewise.
12629         (clog10_test_data): Likewise.
12630         (cos_test_data): Update call to AUTO_TESTS_f_f.
12631         (cos_test): Use ALL_RM_TEST.
12632         (cos_tonearest_test_data): Remove.
12633         (cos_test_tonearest): Likewise.
12634         (cos_towardzero_test_data): Likewise.
12635         (cos_test_towardzero): Likewise.
12636         (cos_downward_test_data): Likewise.
12637         (cos_test_downward): Likewise.
12638         (cos_upward_test_data): Likewise.
12639         (cos_test_upward): Likewise.
12640         (cosh_test_data): Update call to AUTO_TESTS_f_f.
12641         (cosh_test): Use ALL_RM_TEST.
12642         (cosh_tonearest_test_data): Remove.
12643         (cosh_test_tonearest): Likewise.
12644         (cosh_towardzero_test_data): Likewise.
12645         (cosh_test_towardzero): Likewise.
12646         (cosh_downward_test_data): Likewise.
12647         (cosh_test_downward): Likewise.
12648         (cosh_upward_test_data): Likewise.
12649         (cosh_test_upward): Likewise.
12650         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
12651         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
12652         (ctan_test_data): Likewise.
12653         (ctan_test): Use ALL_RM_TEST.
12654         (ctan_tonearest_test_data): Remove.
12655         (ctan_test_tonearest): Likewise.
12656         (ctan_towardzero_test_data): Likewise.
12657         (ctan_test_towardzero): Likewise.
12658         (ctan_downward_test_data): Likewise.
12659         (ctan_test_downward): Likewise.
12660         (ctan_upward_test_data): Likewise.
12661         (ctan_test_upward): Likewise.
12662         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
12663         (ctanh_test): Use ALL_RM_TEST.
12664         (ctanh_tonearest_test_data): Remove.
12665         (ctanh_test_tonearest): Likewise.
12666         (ctanh_towardzero_test_data): Likewise.
12667         (ctanh_test_towardzero): Likewise.
12668         (ctanh_downward_test_data): Likewise.
12669         (ctanh_test_downward): Likewise.
12670         (ctanh_upward_test_data): Likewise.
12671         (ctanh_test_upward): Likewise.
12672         (erf_test_data): Update call to AUTO_TESTS_f_f.
12673         (erfc_test_data): Likewise.
12674         (exp_test_data): Likewise.
12675         (exp_test): Use ALL_RM_TEST.
12676         (exp_tonearest_test_data): Remove.
12677         (exp_test_tonearest): Likewise.
12678         (exp_towardzero_test_data): Likewise.
12679         (exp_test_towardzero): Likewise.
12680         (exp_downward_test_data): Likewise.
12681         (exp_test_downward): Likewise.
12682         (exp_upward_test_data): Likewise.
12683         (exp_test_upward): Likewise.
12684         (exp10_test_data): Update call to AUTO_TESTS_f_f.
12685         (exp10_test): Use ALL_RM_TEST.
12686         (exp10_tonearest_test_data): Remove.
12687         (exp10_test_tonearest): Likewise.
12688         (exp10_towardzero_test_data): Likewise.
12689         (exp10_test_towardzero): Likewise.
12690         (exp10_downward_test_data): Likewise.
12691         (exp10_test_downward): Likewise.
12692         (exp10_upward_test_data): Likewise.
12693         (exp10_test_upward): Likewise.
12694         (exp2_test_data): Update call to AUTO_TESTS_f_f.
12695         (expm1_test_data): Likewise.
12696         (expm1_test): Use ALL_RM_TEST.
12697         (expm1_tonearest_test_data): Remove.
12698         (expm1_test_tonearest): Likewise.
12699         (expm1_towardzero_test_data): Likewise.
12700         (expm1_test_towardzero): Likewise.
12701         (expm1_downward_test_data): Likewise.
12702         (expm1_test_downward): Likewise.
12703         (expm1_upward_test_data): Likewise.
12704         (expm1_test_upward): Likewise.
12705         (fma_test_data): Update call to AUTO_TESTS_fff_f.
12706         (fma_test): Use ALL_RM_TEST.
12707         (fma_towardzero_test_data): Remove.
12708         (fma_test_towardzero): Likewise.
12709         (fma_downward_test_data): Likewise.
12710         (fma_test_downward): Likewise.
12711         (fma_upward_test_data): Likewise.
12712         (fma_test_upward): Likewise.
12713         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
12714         (j0_test_data): Update call to AUTO_TESTS_f_f.
12715         (j1_test_data): Likewise.
12716         (jn_test_data): Update call to AUTO_TESTS_if_f.
12717         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
12718         (log_test_data): Update call to AUTO_TESTS_f_f.
12719         (log10_test_data): Likewise.
12720         (log1p_test_data): Likewise.
12721         (log2_test_data): Likewise.
12722         (pow_test_data): Update call to AUTO_TESTS_ff_f.
12723         (pow_tonearest_test_data): Likewise.
12724         (sin_test_data): Update call to AUTO_TESTS_f_f.
12725         (sin_test): Use ALL_RM_TEST.
12726         (sin_tonearest_test_data): Remove.
12727         (sin_test_tonearest): Likewise.
12728         (sin_towardzero_test_data): Likewise.
12729         (sin_test_towardzero): Likewise.
12730         (sin_downward_test_data): Likewise.
12731         (sin_test_downward): Likewise.
12732         (sin_upward_test_data): Likewise.
12733         (sin_test_upward): Likewise.
12734         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
12735         (sinh_test_data): Update call to AUTO_TESTS_f_f.
12736         (sinh_test): Use ALL_RM_TEST.
12737         (sinh_tonearest_test_data): Remove.
12738         (sinh_test_tonearest): Likewise.
12739         (sinh_towardzero_test_data): Likewise.
12740         (sinh_test_towardzero): Likewise.
12741         (sinh_downward_test_data): Likewise.
12742         (sinh_test_downward): Likewise.
12743         (sinh_upward_test_data): Likewise.
12744         (sinh_test_upward): Likewise.
12745         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
12746         (sqrt_test): Use ALL_RM_TEST.
12747         (sqrt_tonearest_test_data): Remove.
12748         (sqrt_test_tonearest): Likewise.
12749         (sqrt_towardzero_test_data): Likewise.
12750         (sqrt_test_towardzero): Likewise.
12751         (sqrt_downward_test_data): Likewise.
12752         (sqrt_test_downward): Likewise.
12753         (sqrt_upward_test_data): Likewise.
12754         (sqrt_test_upward): Likewise.
12755         (tan_test_data): Update call to AUTO_TESTS_f_f.
12756         (tan_test): Use ALL_RM_TEST.
12757         (tan_tonearest_test_data): Remove.
12758         (tan_test_tonearest): Likewise.
12759         (tan_towardzero_test_data): Likewise.
12760         (tan_test_towardzero): Likewise.
12761         (tan_downward_test_data): Likewise.
12762         (tan_test_downward): Likewise.
12763         (tan_upward_test_data): Likewise.
12764         (tan_test_upward): Likewise.
12765         (tanh_test_data): Update call to AUTO_TESTS_f_f.
12766         (tgamma_test_data): Likewise.
12767         (y0_test_data): Likewise.
12768         (y1_test_data): Likewise.
12769         (yn_test_data): Update call to AUTO_TESTS_if_f.
12770         (main): Do not call removed functions.
12772 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
12774         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
12775         (ldexp_test_data): Remove.
12776         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
12777         scalbn_test_data.
12778         (scalb_test): Use ALL_RM_TEST.
12780 2014-03-19  Andreas Schwab  <schwab@suse.de>
12782         * nscd/nscd.service: Also invalidate netgroup cache on reload.
12784 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
12786         [BZ #16649]
12787         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12788         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
12789         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
12790         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12791         (__ASSUME_PREADV): Undefine.
12792         (__ASSUME_PWRITEV): Likewise.
12794 2014-03-18  Roland McGrath  <roland@hack.frob.com>
12796         * bits/mman-linux.h: Add comment about non-Linux use.
12797         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
12798         bits/mman-linux.h resting place.
12800         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
12801         * bits/mman-linux.h: ... here.
12803 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12805         * conform/conformtest.pl: Add standard definition when calling C
12806         preprocessor on data files.
12807         (checknamespace): Remove unused variable.
12809 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
12811         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
12812         minus_oflow, plus_uflow and minus_uflow in expected results.
12813         * math/libm-test.inc (scalbn_test_data): Add more tests of
12814         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
12815         minus_uflow.
12816         (scalbn_test): Use ALL_RM_TEST.
12817         (scalbln_test_data): Add more tests of negative arguments.  Use
12818         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
12819         (scalbln_test): Use ALL_RM_TEST.
12821 2014-03-18  Roland McGrath  <roland@hack.frob.com>
12823         * scripts/abilist.awk: Ignore symbols marked with .hidden.
12825 2014-03-18  Will Newton  <will.newton@linaro.org>
12827         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
12828         inaccurate comment.
12830 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
12832         * Makerules [!subdir] (check-abi): Exit with error status if a
12833         test failed.
12835 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
12837         * math/libm-test.inc (nearbyint_test_data): Include all tests used
12838         for rint.  Include results for all rounding modes.
12839         (nearbyint_test): Use ALL_RM_TEST.
12840         (rint_test_data): Include all tests used for nearbyint.
12842 2014-03-17  Will Newton  <will.newton@linaro.org>
12844         * nptl/sysdeps/pthread/pthread.h: Revert previous
12845         change.
12847         * sysdeps/generic/ldsodefs.h: Revert previous
12848         change.
12850         * libio/genops.c: Revert previous change.
12851         * libio/libioP.h: Likewise.
12852         * stdio-common/vfprintf.c: Likewise.
12854         * sysdeps/generic/math_private.h: Revert previous
12855         change.
12857         * sysdeps/generic/math_private.h: Check whether
12858         HAVE_RM_CTX is defined with #ifdef rather
12859         than #if.
12861         * argp/argp-fmtstream.h: Check whether
12862         __STRICT_ANSI__ is defined with #ifdef rather
12863         than #if.
12864         * argp/argp.h: Likewise.
12866         * libio/genops.c: Check whether
12867         _IO_JUMPS_OFFSET is defined with #ifdef rather
12868         than #if.
12869         * libio/libioP.h: Likewise.
12870         * stdio-common/vfprintf.c: Likewise.
12872         * sysdeps/generic/ldsodefs.h: Check whether
12873         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
12874         than #if.
12876         * nptl/sysdeps/pthread/pthread.h: Check
12877         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
12878         its value.
12880 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
12882         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
12883         setting O_APPEND.
12884         * libio/tst-ftell-active-handler.c (do_append_test): Add a
12885         test case.
12887         [BZ #16680]
12888         * libio/fileops.c (_IO_file_open): Seek to end of file but
12889         don't cache the offset.
12890         (get_file_offset): Remove function.
12891         (do_ftell): Use cached offset when available.
12892         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
12893         don't cache the offset.
12894         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
12895         case.
12896         (do_one_test): Call it.
12897         (do_ftell_test): Fix up expected old offset for a+ mode.
12898         * libio/wfileops.c (do_ftell_wide): Used cached offset when
12899         available.
12901         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
12902         up test status with function return status.
12903         (do_write_test): Likewise.
12904         (do_append_test): Likewise.
12906         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
12907         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
12908         Remove.
12910 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
12912         * math/gen-libm-test.pl (parse_args): Handle results specified for
12913         each rounding mode separately.
12914         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
12915         tests and results from lrint_tonearest_test_data,
12916         lrint_towardzero_test_data, lrint_downward_test_data and
12917         lrint_upward_test_data.
12918         (lrint_test): Use ALL_RM_TEST.
12919         (lrint_tonearest_test_data): Remove.
12920         (lrint_test_tonearest): Likewise.
12921         (lrint_towardzero_test_data): Likewise.
12922         (lrint_test_towardzero): Likewise.
12923         (lrint_downward_test_data): Likewise.
12924         (lrint_test_downward): Likewise.
12925         (lrint_upward_test_data): Likewise.
12926         (lrint_test_upward): Likewise.
12927         (llrint_test_data): Merge in per-rounding-mode tests and results
12928         from llrint_tonearest_test_data, llrint_towardzero_test_data,
12929         llrint_downward_test_data and llrint_upward_test_data.
12930         (llrint_test): Use ALL_RM_TEST.
12931         (llrint_tonearest_test_data): Remove.
12932         (llrint_test_tonearest): Likewise.
12933         (llrint_towardzero_test_data): Likewise.
12934         (llrint_test_towardzero): Likewise.
12935         (llrint_downward_test_data): Likewise.
12936         (llrint_test_downward): Likewise.
12937         (llrint_upward_test_data): Likewise.
12938         (llrint_test_upward): Likewise.
12939         (rint_test_data): Merge in per-rounding-mode tests and results
12940         from rint_tonearest_test_data, rint_towardzero_test_data,
12941         rint_downward_test_data and rint_upward_test_data.  Add
12942         per-rounding-mode results for tests not in those arrays.
12943         (rint_test): Use ALL_RM_TEST.
12944         (rint_tonearest_test_data): Remove.
12945         (rint_test_tonearest): Likewise.
12946         (rint_towardzero_test_data): Likewise.
12947         (rint_test_towardzero): Likewise.
12948         (rint_downward_test_data): Likewise.
12949         (rint_test_downward): Likewise.
12950         (rint_upward_test_data): Likewise.
12951         (rint_test_upward): Likewise.
12952         (main): Don't call removed functions.
12954 2014-03-14  Roland McGrath  <roland@hack.frob.com>
12956         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
12957         "Compiled on ..." crapola.  It is anti-useful.
12959 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
12961         * scripts/evaluate-test.sh: Handle fourth argument to determine
12962         whether test run should stop on failure.
12963         * Makeconfig (stop-on-test-failure): New variable.
12964         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
12965         $(stop-on-test-failure).
12966         * Makefile (tests): Give a summary of results from testing and
12967         exit with failure status if they include an ERROR or FAIL.
12968         (xtests): Likewise.
12969         * manual/install.texi (Configuring and compiling): Mention
12970         stop-on-test-failure=y.
12971         * INSTALL: Regenerated.
12973 2014-03-14  Roland McGrath  <roland@hack.frob.com>
12975         * scripts/versionlist.awk: New file.
12976         * Makerules [$(build-shared) = yes]
12977         (postclean-generated): Add Versions.def, not Versions.def.v and
12978         Versions.def.v.i.
12979         ($(common-objpfx)Versions.def.v.i): Target removed.
12980         ($(common-objpfx)Versions.def): New target.
12981         ($(common-objpfx)Versions.all): Depend on that rather that
12982         $(common-objpfx)Versions.def.v.
12983         * Versions.def: File removed.
12985         * Makeconfig (+gccwarn): Add -Wundef.
12986         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
12987         a dl-sysdep.h breaking its contract.
12988         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
12989         * include/stackinfo.h: New file.
12990         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
12991         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
12992         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
12993         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
12994         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
12995         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
12996         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12997         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12998         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12999         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13000         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13001         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
13002         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13003         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13004         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13006 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13008         [BZ #16707]
13009         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
13010         implementation.
13011         * math/libm-test.inc (round_test_data): Add more tests.
13013         [BZ #16706]
13014         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
13015         implementation.
13016         * math/libm-test.inc (nearbyint_test_data): Add more tests.
13018         [BZ #16701]
13019         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
13020         implementation.
13021         * math/libm-test.inc (ceil_test_data): Add more tests.
13023         * math/libm-test.inc (trunc_test_data): Add more tests related to
13024         BZ#16414.
13026 2014-03-14  Roland McGrath  <roland@hack.frob.com>
13028         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
13029         with #if rather than #ifdef.
13030         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
13032 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
13034         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
13035         first.  Disable AVX-512 GCC support if assembler doesn't support
13036         it.
13037         * sysdeps/x86_64/configure: Regenerated.
13039 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
13041         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
13042         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
13043         (__old_pthread_attr_setstack): Likewise.
13044         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
13045         [!_STACK_GROWS_DOWN]: Likewise.
13047 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
13049         * config.make.in (have-bash2): Delete.
13050         * configure.ac (libc_cv_have_bash2): Delete.
13051         * configure: Regenerate.
13052         * elf/Makefile (common-ldd-rewrite): Rename to ...
13053         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
13054         (sh-ldd-rewrite): Delete.
13055         (bash-ldd-rewrite): Delete.
13056         (have-bash2): Delete checks.
13057         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
13058         ldd-rewrite.
13060         * config.make.in (have-ksh): Delete.
13061         (KSH): Delete.
13062         * configure.ac (libc_cv_have_ksh): Delete.
13063         * configure: Regenerate.
13065         * elf/Makefile: Delete $(have-ksh) check.
13066         ($(objpfx)sotruss): Change KSH to BASH.
13067         * elf/sotruss.ksh: Rename to ...
13068         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
13069         function style to match POSIX.  Drop ksh vim mode setting.
13071         * manual/time.texi (Specifying the Time Zone with TZ): Change
13072         Tuesday to Thursday.
13074         * debug/tst-longjmp_chk2.c: Update header comment.
13075         (stackoverflow_handler): Add comment.  Call assert on pass value.
13077 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
13079         [BZ #16194]
13080         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
13081         (HAVE_AVX512_ASM_SUPPORT): Likewise.
13082         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
13083         (La_x86_64_vector): Add zmm.
13084         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
13085         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
13086         ($(objpfx)tst-audit10): New target.
13087         ($(objpfx)tst-audit10.out): Likewise.
13088         (tst-audit10-ENV): New.
13089         (AVX512-CFLAGS): Likewise.
13090         (CFLAGS-tst-audit10.c): Likewise.
13091         (CFLAGS-tst-auditmod10a.c): Likewise.
13092         (CFLAGS-tst-auditmod10b.c): Likewise.
13093         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
13094         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
13095         * sysdeps/x86_64/configure: Regenerated.
13096         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
13097         AVX-512 zmm register support.
13098         (_dl_x86_64_save_sse): Likewise.
13099         (_dl_x86_64_restore_sse): Likewise.
13100         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
13101         size vector registers.
13102         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
13103         (ZMM_SIZE): Likewise.
13104         * sysdeps/x86_64/tst-audit10.c: New file.
13105         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
13106         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
13108 2014-03-13  Roland McGrath  <roland@hack.frob.com>
13110         * configure.ac (HAVE_EHDR_START): New check.
13111         * configure: Regenerated.
13112         * config.h.in (HAVE_EHDR_START): New #undef.
13113         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
13114         assuming the lowest-addressed segment maps the start of the file.
13116 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
13118         * INSTALL: Regenerated.
13120 2014-03-13  Will Newton  <will.newton@linaro.org>
13122         * manual/setjmp.texi (System V contexts): Improve
13123         clarity and grammar of documentation.
13125 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
13127         [BZ #16381]
13128         * elf/Makefile (tests): Add tst-pie2.
13129         (tests-pie): Add tst-pie2.
13130         * elf/tst-pie2.c: New file.
13131         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
13132         for ET_EXEC.
13133         * elf/rtld.c (map_doit): Load executable as lt_executable.
13134         (dl_main): Likewise.
13136 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
13138         [BZ #16642]
13139         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13140         (__ASSUME_PSELECT): Undefine.
13142 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13144         [BZ #16689]
13145         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
13146         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
13147         static build.
13148         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
13149         selector for static builds.
13151 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13153         [BZ #16695]
13154         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
13155         key in the buffer.
13157 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13159         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
13160         IFUNC selector for static builds.
13162 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
13164         * sysdeps/mips/math_private.h [__mips_hard_float]
13165         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
13166         libc_feresetround_mips_ctx.
13167         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
13168         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
13169         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
13171         [BZ #16677]
13172         * math/s_nextafter.c (__nextafter): Do not return value from
13173         overflowing computation.
13174         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
13175         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
13176         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
13177         Likewise.
13178         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
13179         Likewise.
13180         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
13181         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
13183 2014-03-11  Roland McGrath  <roland@hack.frob.com>
13185         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
13186         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
13187         Move sfi_sp use from the load-multiple (that no longer sets sp) to
13188         the new mov targetting sp.
13190 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13192         [BZ #16683]
13193         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
13194         Define it for static builds as well.
13195         (NO_BZERO_IMPL): Likewise.
13197 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
13199         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
13200         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
13201         multiarch strspn for PPC64.
13202         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
13203         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
13204         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13205         (__libc_ifunc_impl_list): Likewise.
13206         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
13207         multiarch optimizations
13208         * string/strspn.c (strspn): Using macro to redefine symbol name.
13210 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
13211             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13213         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
13214         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
13215         multiarch strncat for PPC64.
13216         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
13217         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
13218         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13219         (__libc_ifunc_impl_list): Likewise.
13220         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
13221         multiarch optimizations
13223 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13225         [BZ #16639]
13226         * nscd/nscd.service: Make service type forking.
13228 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13230         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
13231         sign in non default rounding modes.
13232         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
13234 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
13236         * math/libm-test.inc (ALL_RM_TEST): New macro.
13237         (ceil_test): Use ALL_RM_TEST.
13238         (cimag_test): Likewise.
13239         (conj_test): Likewise.
13240         (copysign_test): Likewise.
13241         (cproj_test): Likewise.
13242         (creal_test): Likewise.
13243         (fabs_test): Likewise.
13244         (floor_test): Likewise.
13245         (fmax_test): Likewise.
13246         (fmin_test): Likewise.
13247         (fmod_test): Likewise.
13248         (fpclassify_test): Likewise.
13249         (frexp_test): Likewise.
13250         (ilogb_test): Likewise.
13251         (isfinite_test): Likewise.
13252         (finite_test): Likewise.
13253         (isgreater_test): Likewise.
13254         (isgreaterequal_test): Likewise.
13255         (isinf_test): Likewise.
13256         (isless_test): Likewise.
13257         (islessequal_test): Likewise.
13258         (islessgreater_test): Likewise.
13259         (isnan_test): Likewise.
13260         (isnormal_test): Likewise.
13261         (issignaling_test): Likewise.
13262         (isunordered_test): Likewise.
13263         (logb_test): Likewise.
13264         (logb_downward_test_data): Remove.
13265         (logb_test_downward): Likewise.
13266         (lround_test): Use ALL_RM_TEST.
13267         (llround_test): Likewise.
13268         (modf_test): Likewise.
13269         (nexttoward_test): Likewise.
13270         (remainder_test): Likewise.
13271         (drem_test): Likewise.
13272         (remainder_tonearest_test_data): Likewise.
13273         (remainder_test_tonearest): Likewise.
13274         (drem_test_tonearest): Likewise.
13275         (remainder_towardzero_test_data): Likewise.
13276         (remainder_test_towardzero): Likewise.
13277         (drem_test_towardzero): Likewise.
13278         (remainder_downward_test_data): Likewise.
13279         (remainder_test_downward): Likewise.
13280         (drem_test_downward): Likewise.
13281         (remainder_upward_test_data): Likewise.
13282         (remainder_test_upward): Likewise.
13283         (drem_test_upward): Likewise.
13284         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
13285         (round_test): Use ALL_RM_TEST.
13286         (signbit_test): Likewise.
13287         (trunc_test): Likewise.
13288         (significand_test): Likewise.
13289         (main): Don't call removed functions.
13291 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
13293         [BZ #16674]
13294         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
13295         || __USE_XOPEN2K8].
13296         (ILL_ILLOPN): Likewise.
13297         (ILL_ILLADR): Likewise.
13298         (ILL_ILLTRP): Likewise.
13299         (ILL_PRVOPC): Likewise.
13300         (ILL_PRVREG): Likewise.
13301         (ILL_COPROC): Likewise.
13302         (ILL_BADSTK): Likewise.
13303         (FPE_INTDIV): Likewise.
13304         (FPE_INTOVF): Likewise.
13305         (FPE_FLTDIV): Likewise.
13306         (FPE_FLTOVF): Likewise.
13307         (FPE_FLTUND): Likewise.
13308         (FPE_FLTRES): Likewise.
13309         (FPE_FLTINV): Likewise.
13310         (FPE_FLTSUB): Likewise.
13311         (SEGV_MAPERR): Likewise.
13312         (SEGV_ACCERR): Likewise.
13313         (BUS_ADRALN): Likewise.
13314         (BUS_ADRERR): Likewise.
13315         (BUS_OBJERR): Likewise.
13316         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13317         (TRAP_TRACE): Likewise.
13318         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13319         __USE_XOPEN2K8].
13320         (CLD_KILLED): Likewise.
13321         (CLD_DUMPED): Likewise.
13322         (CLD_TRAPPED): Likewise.
13323         (CLD_STOPPED): Likewise.
13324         (CLD_CONTINUED): Likewise.
13325         (POLL_IN): Likewise.
13326         (POLL_OUT): Likewise.
13327         (POLL_MSG): Likewise.
13328         (POLL_ERR): Likewise.
13329         (POLL_PRI): Likewise.
13330         (POLL_HUP): Likewise.
13331         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
13332         Likewise.
13333         (ILL_ILLOPN): Likewise.
13334         (ILL_ILLADR): Likewise.
13335         (ILL_ILLTRP): Likewise.
13336         (ILL_PRVOPC): Likewise.
13337         (ILL_PRVREG): Likewise.
13338         (ILL_COPROC): Likewise.
13339         (ILL_BADSTK): Likewise.
13340         (FPE_INTDIV): Likewise.
13341         (FPE_INTOVF): Likewise.
13342         (FPE_FLTDIV): Likewise.
13343         (FPE_FLTOVF): Likewise.
13344         (FPE_FLTUND): Likewise.
13345         (FPE_FLTRES): Likewise.
13346         (FPE_FLTINV): Likewise.
13347         (FPE_FLTSUB): Likewise.
13348         (SEGV_MAPERR): Likewise.
13349         (SEGV_ACCERR): Likewise.
13350         (BUS_ADRALN): Likewise.
13351         (BUS_ADRERR): Likewise.
13352         (BUS_OBJERR): Likewise.
13353         (BUS_MCEERR_AR): Likewise.
13354         (BUS_MCEERR_AO): Likewise.
13355         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13356         (TRAP_TRACE): Likewise.
13357         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13358         __USE_XOPEN2K8].
13359         (CLD_KILLED): Likewise.
13360         (CLD_DUMPED): Likewise.
13361         (CLD_TRAPPED): Likewise.
13362         (CLD_STOPPED): Likewise.
13363         (CLD_CONTINUED): Likewise.
13364         (POLL_IN): Likewise.
13365         (POLL_OUT): Likewise.
13366         (POLL_MSG): Likewise.
13367         (POLL_ERR): Likewise.
13368         (POLL_PRI): Likewise.
13369         (POLL_HUP): Likewise.
13370         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
13371         (ILL_ILLOPN): Likewise.
13372         (ILL_ILLADR): Likewise.
13373         (ILL_ILLTRP): Likewise.
13374         (ILL_PRVOPC): Likewise.
13375         (ILL_PRVREG): Likewise.
13376         (ILL_COPROC): Likewise.
13377         (ILL_BADSTK): Likewise.
13378         (FPE_INTDIV): Likewise.
13379         (FPE_INTOVF): Likewise.
13380         (FPE_FLTDIV): Likewise.
13381         (FPE_FLTOVF): Likewise.
13382         (FPE_FLTUND): Likewise.
13383         (FPE_FLTRES): Likewise.
13384         (FPE_FLTINV): Likewise.
13385         (FPE_FLTSUB): Likewise.
13386         (SEGV_MAPERR): Likewise.
13387         (SEGV_ACCERR): Likewise.
13388         (BUS_ADRALN): Likewise.
13389         (BUS_ADRERR): Likewise.
13390         (BUS_OBJERR): Likewise.
13391         (BUS_MCEERR_AR): Likewise.
13392         (BUS_MCEERR_AO): Likewise.
13393         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13394         (TRAP_TRACE): Likewise.
13395         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13396         __USE_XOPEN2K8].
13397         (CLD_KILLED): Likewise.
13398         (CLD_DUMPED): Likewise.
13399         (CLD_TRAPPED): Likewise.
13400         (CLD_STOPPED): Likewise.
13401         (CLD_CONTINUED): Likewise.
13402         (POLL_IN): Likewise.
13403         (POLL_OUT): Likewise.
13404         (POLL_MSG): Likewise.
13405         (POLL_ERR): Likewise.
13406         (POLL_PRI): Likewise.
13407         (POLL_HUP): Likewise.
13408         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
13409         Likewise.
13410         (ILL_ILLOPN): Likewise.
13411         (ILL_ILLADR): Likewise.
13412         (ILL_ILLTRP): Likewise.
13413         (ILL_PRVOPC): Likewise.
13414         (ILL_PRVREG): Likewise.
13415         (ILL_COPROC): Likewise.
13416         (ILL_BADSTK): Likewise.
13417         (ILL_BADIADDR): Likewise.
13418         (ILL_BREAK): Likewise.
13419         (FPE_INTDIV): Likewise.
13420         (FPE_INTOVF): Likewise.
13421         (FPE_FLTDIV): Likewise.
13422         (FPE_FLTOVF): Likewise.
13423         (FPE_FLTUND): Likewise.
13424         (FPE_FLTRES): Likewise.
13425         (FPE_FLTINV): Likewise.
13426         (FPE_FLTSUB): Likewise.
13427         (FPE_DECOVF): Likewise.
13428         (FPE_DECDIV): Likewise.
13429         (FPE_DECERR): Likewise.
13430         (FPE_INVASC): Likewise.
13431         (FPE_INVDEC): Likewise.
13432         (SEGV_MAPERR): Likewise.
13433         (SEGV_ACCERR): Likewise.
13434         (SEGV_PSTKOVF): Likewise.
13435         (BUS_ADRALN): Likewise.
13436         (BUS_ADRERR): Likewise.
13437         (BUS_OBJERR): Likewise.
13438         (BUS_MCEERR_AR): Likewise.
13439         (BUS_MCEERR_AO): Likewise.
13440         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13441         (TRAP_TRACE): Likewise.
13442         (TRAP_BRANCH): Likewise.
13443         (TRAP_HWBKPT): Likewise.
13444         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13445         __USE_XOPEN2K8].
13446         (CLD_KILLED): Likewise.
13447         (CLD_DUMPED): Likewise.
13448         (CLD_TRAPPED): Likewise.
13449         (CLD_STOPPED): Likewise.
13450         (CLD_CONTINUED): Likewise.
13451         (POLL_IN): Likewise.
13452         (POLL_OUT): Likewise.
13453         (POLL_MSG): Likewise.
13454         (POLL_ERR): Likewise.
13455         (POLL_PRI): Likewise.
13456         (POLL_HUP): Likewise.
13457         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
13458         (ILL_ILLOPN): Likewise.
13459         (ILL_ILLADR): Likewise.
13460         (ILL_ILLTRP): Likewise.
13461         (ILL_PRVOPC): Likewise.
13462         (ILL_PRVREG): Likewise.
13463         (ILL_COPROC): Likewise.
13464         (ILL_BADSTK): Likewise.
13465         (FPE_INTDIV): Likewise.
13466         (FPE_INTOVF): Likewise.
13467         (FPE_FLTDIV): Likewise.
13468         (FPE_FLTOVF): Likewise.
13469         (FPE_FLTUND): Likewise.
13470         (FPE_FLTRES): Likewise.
13471         (FPE_FLTINV): Likewise.
13472         (FPE_FLTSUB): Likewise.
13473         (SEGV_MAPERR): Likewise.
13474         (SEGV_ACCERR): Likewise.
13475         (BUS_ADRALN): Likewise.
13476         (BUS_ADRERR): Likewise.
13477         (BUS_OBJERR): Likewise.
13478         (BUS_MCEERR_AR): Likewise.
13479         (BUS_MCEERR_AO): Likewise.
13480         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13481         (TRAP_TRACE): Likewise.
13482         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13483         __USE_XOPEN2K8].
13484         (CLD_KILLED): Likewise.
13485         (CLD_DUMPED): Likewise.
13486         (CLD_TRAPPED): Likewise.
13487         (CLD_STOPPED): Likewise.
13488         (CLD_CONTINUED): Likewise.
13489         (POLL_IN): Likewise.
13490         (POLL_OUT): Likewise.
13491         (POLL_MSG): Likewise.
13492         (POLL_ERR): Likewise.
13493         (POLL_PRI): Likewise.
13494         (POLL_HUP): Likewise.
13495         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
13496         (ILL_ILLOPN): Likewise.
13497         (ILL_ILLADR): Likewise.
13498         (ILL_ILLTRP): Likewise.
13499         (ILL_PRVOPC): Likewise.
13500         (ILL_PRVREG): Likewise.
13501         (ILL_COPROC): Likewise.
13502         (ILL_BADSTK): Likewise.
13503         (FPE_INTDIV): Likewise.
13504         (FPE_INTOVF): Likewise.
13505         (FPE_FLTDIV): Likewise.
13506         (FPE_FLTOVF): Likewise.
13507         (FPE_FLTUND): Likewise.
13508         (FPE_FLTRES): Likewise.
13509         (FPE_FLTINV): Likewise.
13510         (FPE_FLTSUB): Likewise.
13511         (SEGV_MAPERR): Likewise.
13512         (SEGV_ACCERR): Likewise.
13513         (BUS_ADRALN): Likewise.
13514         (BUS_ADRERR): Likewise.
13515         (BUS_OBJERR): Likewise.
13516         (BUS_MCEERR_AR): Likewise.
13517         (BUS_MCEERR_AO): Likewise.
13518         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13519         (TRAP_TRACE): Likewise.
13520         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13521         __USE_XOPEN2K8].
13522         (CLD_KILLED): Likewise.
13523         (CLD_DUMPED): Likewise.
13524         (CLD_TRAPPED): Likewise.
13525         (CLD_STOPPED): Likewise.
13526         (CLD_CONTINUED): Likewise.
13527         (POLL_IN): Likewise.
13528         (POLL_OUT): Likewise.
13529         (POLL_MSG): Likewise.
13530         (POLL_ERR): Likewise.
13531         (POLL_PRI): Likewise.
13532         (POLL_HUP): Likewise.
13533         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
13534         (ILL_ILLOPN): Likewise.
13535         (ILL_ILLADR): Likewise.
13536         (ILL_ILLTRP): Likewise.
13537         (ILL_PRVOPC): Likewise.
13538         (ILL_PRVREG): Likewise.
13539         (ILL_COPROC): Likewise.
13540         (ILL_BADSTK): Likewise.
13541         (FPE_INTDIV): Likewise.
13542         (FPE_INTOVF): Likewise.
13543         (FPE_FLTDIV): Likewise.
13544         (FPE_FLTOVF): Likewise.
13545         (FPE_FLTUND): Likewise.
13546         (FPE_FLTRES): Likewise.
13547         (FPE_FLTINV): Likewise.
13548         (FPE_FLTSUB): Likewise.
13549         (SEGV_MAPERR): Likewise.
13550         (SEGV_ACCERR): Likewise.
13551         (BUS_ADRALN): Likewise.
13552         (BUS_ADRERR): Likewise.
13553         (BUS_OBJERR): Likewise.
13554         (BUS_MCEERR_AR): Likewise.
13555         (BUS_MCEERR_AO): Likewise.
13556         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13557         (TRAP_TRACE): Likewise.
13558         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13559         __USE_XOPEN2K8].
13560         (CLD_KILLED): Likewise.
13561         (CLD_DUMPED): Likewise.
13562         (CLD_TRAPPED): Likewise.
13563         (CLD_STOPPED): Likewise.
13564         (CLD_CONTINUED): Likewise.
13565         (POLL_IN): Likewise.
13566         (POLL_OUT): Likewise.
13567         (POLL_MSG): Likewise.
13568         (POLL_ERR): Likewise.
13569         (POLL_PRI): Likewise.
13570         (POLL_HUP): Likewise.
13571         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
13572         (ILL_ILLOPN): Likewise.
13573         (ILL_ILLADR): Likewise.
13574         (ILL_ILLTRP): Likewise.
13575         (ILL_PRVOPC): Likewise.
13576         (ILL_PRVREG): Likewise.
13577         (ILL_COPROC): Likewise.
13578         (ILL_BADSTK): Likewise.
13579         (ILL_DBLFLT): Likewise.
13580         (ILL_HARDWALL): Likewise.
13581         (FPE_INTDIV): Likewise.
13582         (FPE_INTOVF): Likewise.
13583         (FPE_FLTDIV): Likewise.
13584         (FPE_FLTOVF): Likewise.
13585         (FPE_FLTUND): Likewise.
13586         (FPE_FLTRES): Likewise.
13587         (FPE_FLTINV): Likewise.
13588         (FPE_FLTSUB): Likewise.
13589         (SEGV_MAPERR): Likewise.
13590         (SEGV_ACCERR): Likewise.
13591         (BUS_ADRALN): Likewise.
13592         (BUS_ADRERR): Likewise.
13593         (BUS_OBJERR): Likewise.
13594         (BUS_MCEERR_AR): Likewise.
13595         (BUS_MCEERR_AO): Likewise.
13596         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13597         (TRAP_TRACE): Likewise.
13598         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13599         __USE_XOPEN2K8].
13600         (CLD_KILLED): Likewise.
13601         (CLD_DUMPED): Likewise.
13602         (CLD_TRAPPED): Likewise.
13603         (CLD_STOPPED): Likewise.
13604         (CLD_CONTINUED): Likewise.
13605         (POLL_IN): Likewise.
13606         (POLL_OUT): Likewise.
13607         (POLL_MSG): Likewise.
13608         (POLL_ERR): Likewise.
13609         (POLL_PRI): Likewise.
13610         (POLL_HUP): Likewise.
13611         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
13612         (ILL_ILLOPN): Likewise.
13613         (ILL_ILLADR): Likewise.
13614         (ILL_ILLTRP): Likewise.
13615         (ILL_PRVOPC): Likewise.
13616         (ILL_PRVREG): Likewise.
13617         (ILL_COPROC): Likewise.
13618         (ILL_BADSTK): Likewise.
13619         (FPE_INTDIV): Likewise.
13620         (FPE_INTOVF): Likewise.
13621         (FPE_FLTDIV): Likewise.
13622         (FPE_FLTOVF): Likewise.
13623         (FPE_FLTUND): Likewise.
13624         (FPE_FLTRES): Likewise.
13625         (FPE_FLTINV): Likewise.
13626         (FPE_FLTSUB): Likewise.
13627         (SEGV_MAPERR): Likewise.
13628         (SEGV_ACCERR): Likewise.
13629         (BUS_ADRALN): Likewise.
13630         (BUS_ADRERR): Likewise.
13631         (BUS_OBJERR): Likewise.
13632         (BUS_MCEERR_AR): Likewise.
13633         (BUS_MCEERR_AO): Likewise.
13634         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13635         (TRAP_TRACE): Likewise.
13636         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13637         __USE_XOPEN2K8].
13638         (CLD_KILLED): Likewise.
13639         (CLD_DUMPED): Likewise.
13640         (CLD_TRAPPED): Likewise.
13641         (CLD_STOPPED): Likewise.
13642         (CLD_CONTINUED): Likewise.
13643         (POLL_IN): Likewise.
13644         (POLL_OUT): Likewise.
13645         (POLL_MSG): Likewise.
13646         (POLL_ERR): Likewise.
13647         (POLL_PRI): Likewise.
13648         (POLL_HUP): Likewise.
13649         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
13650         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
13652         [BZ #16670]
13653         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
13654         before #include of <time.h>.
13655         [!__USE_XOPEN2K] (__need_timespec): Likewise.
13656         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
13657         (test-xfail-UNIX98/sched.h/conform): Likewise.
13659 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
13661         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
13662         error absence of trapping exception support.
13663         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
13665 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
13667         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
13668         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
13669         * timezone/Makefile (testdata): Move definition above include of
13670         Rules.
13671         (test-zones): New variable.
13672         (tests-special): Add zone files.
13673         (build-testdata): Use $(evaluate-test).
13675         * elf/Makefile (tests-special): Rename tests to end with .out.
13676         ($(objpfx)noload-mem): Likewise.
13677         ($(objpfx)tst-leaks1-mem): Likewise.
13678         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
13679         * iconv/Makefile (xtests-special): Change test-iconvconfig to
13680         $(objpfx)test-iconvconfig.out.
13681         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
13682         set -e inside subshell and redirect output to file.
13683         * iconvdata/Makefile (generated): Rename tests to end with .out.
13684         Correct type.
13685         (tests-special): Rename tests to end with .out.
13686         ($(objpfx)mtrace-tst-loading): Likewise.
13687         * intl/Makefile (generated): Likewise.
13688         (tests-special): Likewise.
13689         ($(objpfx)mtrace-tst-gettext): Likewise.
13690         * misc/Makefile (generated): Likewise.
13691         (tests-special): Likewise.
13692         ($(objpfx)tst-error1-mem): Likewise.
13693         * nptl/Makefile (tests-special): Likewise.
13694         ($(objpfx)tst-stack3-mem): Likewise.
13695         (generated): Likewise.
13696         * posix/Makefile (generated): Likewise.
13697         (tests-special): Likewise.
13698         (xtests-special): Likewise.
13699         ($(objpfx)tst-fnmatch-mem): Likewise.
13700         ($(objpfx)bug-regex2-mem): Likewise.
13701         ($(objpfx)bug-regex14-mem): Likewise.
13702         ($(objpfx)bug-regex21-mem): Likewise.
13703         ($(objpfx)bug-regex31-mem): Likewise.
13704         ($(objpfx)tst-vfork3-mem): Likewise.
13705         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
13706         ($(objpfx)tst-pcre-mem): Likewise.
13707         ($(objpfx)tst-boost-mem): Likewise.
13708         ($(objpfx)bug-ga2-mem): Likewise.
13709         ($(objpfx)bug-glob2-mem): Likewise.
13710         * resolv/Makefile (generate): Likewise.
13711         (tests-special): Likewise.
13712         (xtests-special): Likewise.
13713         (generated): Likewise.
13714         ($(objpfx)mtrace-tst-leaks): Likewise.
13715         ($(objpfx)mtrace-tst-leaks2): Likewise.
13717         * scripts/merge-test-results.sh: New file.
13718         * Makefile (tests-special-notdir): New variable.
13719         (tests): Run merge-test-results.sh.
13720         (xtests): Likewise.
13721         * Rules (tests-special-notdir): New variable.
13722         (xtests-special-notdir): Likewise.
13723         (tests): Run merge-test-results.sh
13724         (xtests): Likewise.
13726         * Makeconfig (test-xfail-name): New variable.
13727         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
13728         compute variable name for expected failures.
13729         * conform/Makefile (conformtest-headers-data): New variable.
13730         (conformtest-standards): Likewise.
13731         (conformtest-headers-ISO): Likewise.
13732         (conformtest-headers-ISO99): Likewise.
13733         (conformtest-headers-ISO11): Likewise.
13734         (conformtest-headers-POSIX): Likewise.
13735         (conformtest-headers-XPG3): Likewise.
13736         (conformtest-headers-XPG4): Likewise.
13737         (conformtest-headers-UNIX98): Likewise.
13738         (conformtest-headers-XOPEN2K): Likewise.
13739         (conformtest-headers-POSIX2008): Likewise.
13740         (conformtest-headers-XOPEN2K8): Likewise.
13741         (conformtest-header-list-base): Likewise.
13742         (conformtest-header-list-tests): Likewise.
13743         (conformtest-header-base): Likewise.
13744         (conformtest-header-tests): Likewise.
13745         (tests-special): Add $(conformtest-header-list-tests).  If
13746         [$(fast-check) && !$(cross-compiling)], add
13747         $(conformtest-header-tests) instead of
13748         $(objpfx)run-conformtest.out.
13749         (generated): Add $(conformtest-header-list-base).  If
13750         [$(fast-check) && !$(cross-compiling)], add
13751         $(conformtest-header-base).  Remove previous setting.
13752         ($(conformtest-header-list-tests)): New target.
13753         (test-xfail-run-conformtest): Remove variable.
13754         ($(objpfx)run-conformtest.out): Remove target.
13755         (test-xfail-ISO11/complex.h/conform): New variable.
13756         (test-xfail-ISO11/stdalign.h/conform): Likewise.
13757         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
13758         (test-xfail-XPG3/varargs.h/conform): Likewise.
13759         (test-xfail-XPG4/varargs.h/conform): Likewise.
13760         (test-xfail-UNIX98/varargs.h/conform): Likewise.
13761         (test-xfail-XPG4/ndbm.h/conform): Likewise.
13762         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
13763         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
13764         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
13765         (test-xfail-XPG3/fcntl.h/conform): Likewise.
13766         (test-xfail-XPG3/ftw.h/conform): Likewise.
13767         (test-xfail-XPG3/grp.h/conform): Likewise.
13768         (test-xfail-XPG3/langinfo.h/conform): Likewise.
13769         (test-xfail-XPG3/limits.h/conform): Likewise.
13770         (test-xfail-XPG3/pwd.h/conform): Likewise.
13771         (test-xfail-XPG3/search.h/conform): Likewise.
13772         (test-xfail-XPG3/signal.h/conform): Likewise.
13773         (test-xfail-XPG3/stdio.h/conform): Likewise.
13774         (test-xfail-XPG3/stdlib.h/conform): Likewise.
13775         (test-xfail-XPG3/string.h/conform): Likewise.
13776         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
13777         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
13778         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
13779         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
13780         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
13781         (test-xfail-XPG3/sys/types.h/conform): Likewise.
13782         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
13783         (test-xfail-XPG3/termios.h/conform): Likewise.
13784         (test-xfail-XPG3/time.h/conform): Likewise.
13785         (test-xfail-XPG3/unistd.h/conform): Likewise.
13786         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
13787         (test-xfail-XPG4/fcntl.h/conform): Likewise.
13788         (test-xfail-XPG4/langinfo.h/conform): Likewise.
13789         (test-xfail-XPG4/netdb.h/conform): Likewise.
13790         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
13791         (test-xfail-XPG4/signal.h/conform): Likewise.
13792         (test-xfail-XPG4/stdio.h/conform): Likewise.
13793         (test-xfail-XPG4/stdlib.h/conform): Likewise.
13794         (test-xfail-XPG4/stropts.h/conform): Likewise.
13795         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
13796         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
13797         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
13798         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
13799         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
13800         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
13801         (test-xfail-XPG4/sys/time.h/conform): Likewise.
13802         (test-xfail-XPG4/sys/types.h/conform): Likewise.
13803         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
13804         (test-xfail-XPG4/termios.h/conform): Likewise.
13805         (test-xfail-XPG4/ucontext.h/conform): Likewise.
13806         (test-xfail-XPG4/unistd.h/conform): Likewise.
13807         (test-xfail-XPG4/utmpx.h/conform): Likewise.
13808         (test-xfail-POSIX/sched.h/conform): Likewise.
13809         (test-xfail-POSIX/signal.h/conform): Likewise.
13810         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
13811         (test-xfail-POSIX/tar.h/conform): Likewise.
13812         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
13813         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
13814         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
13815         (test-xfail-UNIX98/netdb.h/conform): Likewise.
13816         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
13817         (test-xfail-UNIX98/sched.h/conform): Likewise.
13818         (test-xfail-UNIX98/signal.h/conform): Likewise.
13819         (test-xfail-UNIX98/stdio.h/conform): Likewise.
13820         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
13821         (test-xfail-UNIX98/stropts.h/conform): Likewise.
13822         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
13823         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
13824         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
13825         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
13826         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
13827         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
13828         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
13829         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
13830         (test-xfail-UNIX98/unistd.h/conform): Likewise.
13831         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
13832         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
13833         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
13834         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
13835         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
13836         (test-xfail-XOPEN2K/math.h/conform): Likewise.
13837         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
13838         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
13839         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
13840         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
13841         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
13842         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
13843         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
13844         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
13845         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
13846         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
13847         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
13848         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
13849         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
13850         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
13851         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
13852         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
13853         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
13854         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
13855         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
13856         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
13857         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
13858         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
13859         (test-xfail-POSIX2008/signal.h/conform): Likewise.
13860         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
13861         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
13862         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
13863         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
13864         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
13865         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
13866         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
13867         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
13868         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
13869         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
13870         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
13871         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
13872         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
13873         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
13874         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
13875         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
13876         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
13877         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
13878         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
13879         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
13880         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
13881         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
13882         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
13883         (conformtest-cc-flags): Likewise.
13884         ($(conformtest-header-tests): New target.
13885         * conform/check-header-lists.sh: New file.
13886         * conform/run-conformtest.sh: Remove.
13888         * conform/conformtest.pl: Allow ' and \ in values given for
13889         constants.
13890         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
13891         inclusion.
13892         [POSIX] (sys/types.h): Likewise.
13893         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
13894         inclusion.
13895         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
13896         inclusion.
13897         * conform/data/signal.h-data (SIGIO): Remove expectation.
13898         [XPG3] (SIGBUS): Do not expect.
13899         [POSIX || XPG3] (SIGPOLL): Likewise.
13900         [POSIX || XPG3] (SIGPROF): Likewise.
13901         [POSIX || XPG3] (SIGSYS): Likewise.
13902         [XPG3] (SIGTRAP): Likewise.
13903         [POSIX || XPG3] (SIGURG): Likewise.
13904         [POSIX || XPG3] (SIGVTALRM): Likewise.
13905         [POSIX || XPG3] (SIGXCPU): Likewise.
13906         [POSIX || XPG3] (SIGXFSZ): Likewise.
13907         [POSIX] (SA_SIGINFO): Expect.
13908         [XPG3] (siginfo_t): Do not expect type or contents.
13909         [POSIX] (si_pid): Do not expect element.
13910         [POSIX] (si_uid): Likewise.
13911         [POSIX] (si_addr): Likewise.
13912         [POSIX] (si_status): Likewise.
13913         [POSIX] (si_band): Likewise.
13914         [XPG4] (si_value): Likewise.
13915         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
13916         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
13917         [POSIX || XPG3] (ILL_ILLADR): Likewise.
13918         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
13919         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
13920         [POSIX || XPG3] (ILL_PRVREG): Likewise.
13921         [POSIX || XPG3] (ILL_COPROC): Likewise.
13922         [POSIX || XPG3] (ILL_BADSTK): Likewise.
13923         [POSIX || XPG3] (FPE_INTDIV): Likewise.
13924         [POSIX || XPG3] (FPE_INTOVF): Likewise.
13925         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
13926         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
13927         [POSIX || XPG3] (FPE_FLTUND): Likewise.
13928         [POSIX || XPG3] (FPE_FLTRES): Likewise.
13929         [POSIX || XPG3] (FPE_FLTINV): Likewise.
13930         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
13931         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
13932         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
13933         [POSIX || XPG3] (BUS_ADRALN): Likewise.
13934         [POSIX || XPG3] (BUS_ADRERR): Likewise.
13935         [POSIX || XPG3] (BUS_OBJERR): Likewise.
13936         [POSIX || XPG3] (CLD_EXITED): Likewise.
13937         [POSIX || XPG3] (CLD_KILLED): Likewise.
13938         [POSIX || XPG3] (CLD_DUMPED): Likewise.
13939         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
13940         [POSIX || XPG3] (CLD_STOPPED): Likewise.
13941         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
13942         [POSIX || XPG3] (POLL_IN): Likewise.
13943         [POSIX || XPG3] (POLL_OUT): Likewise.
13944         [POSIX || XPG3] (POLL_MSG): Likewise.
13945         [POSIX || XPG3] (POLL_ERR): Likewise.
13946         [POSIX || XPG3] (POLL_PRI): Likewise.
13947         [POSIX || XPG3] (POLL_HUP): Likewise.
13948         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
13949         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
13950         (SIG*): Do not allow.
13951         [XPG3] (si_*): Likewise.
13952         [XPG3] (SI_*): Likewise.
13953         [XPG3 || XPG4] (sigev_*): Likewise.
13954         [XPG3 || XPG4] (SIGEV_*): Likewise.
13955         [XPG3 || XPG4] (sival_*): Likewise.
13956         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
13957         [POSIX || XPG3] (BUS_*): Likewise.
13958         [POSIX || XPG3] (CLD_*): Likewise.
13959         [POSIX || XPG3] (FPE_*): Likewise.
13960         [POSIX || XPG3] (ILL_*): Likewise.
13961         [POSIX || XPG3] (POLL_*): Likewise.
13962         [POSIX || XPG3] (SEGV_*): Likewise.
13963         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
13964         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
13965         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
13966         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
13967         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
13968         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
13969         Specify type and value.
13970         (TVERSLEN): Likewise.
13971         (REGTYPE): Likewise.
13972         (AREGTYPE): Likewise.
13973         (LNKTYPE): Likewise.
13974         (SYMTYPE): Likewise.
13975         (CHRTYPE): Likewise.
13976         (BLKTYPE): Likewise.
13977         (DIRTYPE): Likewise.
13978         (FIFOTYPE): Likewise.
13979         (CONTTYPE): Likewise.
13980         (TSUID): Likewise.
13981         (TSGID): Likewise.
13982         (TSVTX): Likewise.
13983         (TUREAD): Likewise.
13984         (TUWRITE): Likewise.
13985         (TUEXEC): Likewise.
13986         (TGREAD): Likewise.
13987         (TGWRITE): Likewise.
13988         (TGEXEC): Likewise.
13989         (TOREAD): Likewise.
13990         (TOWRITE): Likewise.
13991         (TOEXEC): Likewise.
13992         [POSIX] (TSVTX): Expect constant.
13994 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
13996         * Makefile (tests): Change dependencies to ....
13997         (tests-special): ... additions to this variable.
13998         (tests): Depend on $(tests-special).
13999         * Makerules (check-abi-list): New variable.
14000         (check-abi): Depend on $(check-abi-list).
14001         [$(subdir) = elf] (tests-special): Add
14002         $(objpfx)check-abi-libc.out.
14003         [$(build-shared) = yes && subdir] (tests-special): Add
14004         $(check-abi-list).
14005         [$(build-shared) = yes && subdir] (tests): Do not depend on
14006         check-abi.
14007         * Rules (tests): Depend on $(tests-special).
14008         (xtests): Depend on $(xtests-special).
14009         * catgets/Makefile (tests): Change dependencies to ....
14010         (tests-special): ... additions to this variable.
14011         * conform/Makefile (tests): Change dependencies to ....
14012         (tests-special): ... additions to this variable.
14013         * elf/Makefile (tests): Change dependencies to ....
14014         (tests-special): ... additions to this variable.
14015         * grp/Makefile (tests): Change dependencies to ....
14016         (tests-special): ... additions to this variable.
14017         * iconv/Makefile (xtests): Change dependencies to ....
14018         (xtests-special): ... additions to this variable.
14019         * iconvdata/Makefile (tests): Change dependencies to ....
14020         (tests-special): ... additions to this variable.
14021         * intl/Makefile (tests): Change dependencies to ....
14022         (tests-special): ... additions to this variable.  Also add
14023         $(objpfx)tst-gettext.out.
14024         * io/Makefile (tests): Change dependencies to ....
14025         (tests-special): ... additions to this variable.
14026         * libio/Makefile (tests): Change dependencies to ....
14027         (tests-special): ... additions to this variable.
14028         * malloc/Makefile (tests): Change dependencies to ....
14029         (tests-special): ... additions to this variable.
14030         * misc/Makefile (tests): Change dependencies to ....
14031         (tests-special): ... additions to this variable.
14032         * nptl/Makefile (tests): Change dependencies to ....
14033         (tests-special): ... additions to this variable.
14034         * nptl_db/Makefile (tests): Change dependencies to ....
14035         (tests-special): ... additions to this variable.
14036         * posix/Makefile (tests): Change dependencies to ....
14037         (tests-special): ... additions to this variable.
14038         (xtests): Change dependencies to ....
14039         (xtests-special): ... additions to this variable.
14040         * resolv/Makefile (tests): Change dependencies to ....
14041         (tests-special): ... additions to this variable.
14042         (xtests): Change dependencies to ....
14043         (xtests-special): ... additions to this variable.
14044         * stdio-common/Makefile (tests): Change dependencies to ....
14045         (tests-special): ... additions to this variable.
14046         (do-tst-unbputc): Remove target.
14047         (do-tst-printf): Likewise.
14048         * stdlib/Makefile (tests): Change dependencies to ....
14049         (tests-special): ... additions to this variable.
14050         * string/Makefile (tests): Change dependencies to ....
14051         (tests-special): ... additions to this variable.
14052         * sysdeps/x86/Makefile (tests): Change dependencies to ....
14053         (tests-special): ... additions to this variable.
14055         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
14056         whole file.
14057         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
14058         whole file.
14059         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
14060         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
14062         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
14063         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
14064         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
14065         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
14066         * conform/data/libgen.h-data [XPG3]: Likewise.
14067         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
14068         * conform/data/ndbm.h-data [XPG3]: Likewise.
14069         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
14070         * conform/data/netdb.h-data [XPG3]: Likewise.
14071         * conform/data/netinet/in.h-data [XPG3]: Likewise.
14072         * conform/data/poll.h-data [XPG3]: Likewise.
14073         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
14074         * conform/data/strings.h-data [XPG3]: Likewise.
14075         * conform/data/stropts.h-data [XPG3]: Likewise.
14076         * conform/data/sys/mman.h-data [XPG3]: Likewise.
14077         * conform/data/sys/resource.h-data [XPG3]: Likewise.
14078         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
14079         Likewise.
14080         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
14081         * conform/data/sys/time.h-data [XPG3]: Likewise.
14082         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
14083         * conform/data/sys/uio.h-data [XPG3]: Likewise.
14084         * conform/data/sys/un.h-data [XPG3]: Likewise.
14085         * conform/data/syslog.h-data [XPG3]: Likewise.
14086         * conform/data/ucontext.h-data [XPG3]: Likewise.
14087         * conform/data/utmpx.h-data [XPG3]: Likewise.
14088         * conform/data/varargs.h-data [UNIX98]: Enable file.
14090         * manual/Makefile (INSTALL_INFO): Remove variable setting.
14092         * math/libm-test.inc (struct test_f_f_data): Move expected results
14093         into structure for each rounding mode.
14094         (struct test_ff_f_data): Likewise.
14095         (struct test_ff_f_data_nexttoward): Likewise.
14096         (struct test_fi_f_data): Likewise.
14097         (struct test_fl_f_data): Likewise.
14098         (struct test_if_f_data): Likewise.
14099         (struct test_fff_f_data): Likewise.
14100         (struct test_c_f_data): Likewise.
14101         (struct test_f_f1_data): Likewise.
14102         (struct test_fF_f1_data): Likewise.
14103         (struct test_ffI_f1_data): Likewise.
14104         (struct test_c_c_data): Likewise.
14105         (struct test_cc_c_data): Likewise.
14106         (struct test_f_i_data): Likewise.
14107         (struct test_ff_i_data): Likewise.
14108         (struct test_f_l_data): Likewise.
14109         (struct test_f_L_data): Likewise.
14110         (struct test_fFF_11_data): Likewise.
14111         (RM_): New macro.
14112         (RM_FE_DOWNWARD): Likewise.
14113         (RM_FE_TONEAREST): Likewise.
14114         (RM_FE_TOWARDZERO): Likewise.
14115         (RM_FE_UPWARD): Likewise.
14116         (RUN_TEST_LOOP_f_f): Update references to expected results.
14117         (RUN_TEST_LOOP_2_f): Likewise.
14118         (RUN_TEST_LOOP_fff_f): Likewise.
14119         (RUN_TEST_LOOP_c_f): Likewise.
14120         (RUN_TEST_LOOP_f_f1): Likewise.
14121         (RUN_TEST_LOOP_fF_f1): Likewise.
14122         (RUN_TEST_LOOP_fI_f1): Likewise.
14123         (RUN_TEST_LOOP_ffI_f1): Likewise.
14124         (RUN_TEST_LOOP_c_c): Likewise.
14125         (RUN_TEST_LOOP_cc_c): Likewise.
14126         (RUN_TEST_LOOP_f_i): Likewise.
14127         (RUN_TEST_LOOP_f_i_tg): Likewise.
14128         (RUN_TEST_LOOP_ff_i_tg): Likewise.
14129         (RUN_TEST_LOOP_f_b): Likewise.
14130         (RUN_TEST_LOOP_f_b_tg): Likewise.
14131         (RUN_TEST_LOOP_f_l): Likewise.
14132         (RUN_TEST_LOOP_f_L): Likewise.
14133         (RUN_TEST_LOOP_fFF_11): Likewise.
14134         * math/gen-libm-test.pl (parse_args): Output four copies of
14135         expected results for each test.
14137         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14138         (__ASSUME_UTIMES): Remove.
14139         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14140         (__ASSUME_UTIMES): Likewise.
14142         * math/gen-auto-libm-tests.c: Update comment on output format.
14143         (output_for_one_input_case): Generate before-rounding and
14144         after-rounding information as conditions on output flags not
14145         floating-point format.
14146         * math/auto-libm-test-out: Regenerated.
14147         * math/gen-libm-test.pl (cond_value): New function.
14148         (or_cond_value): Use cond_value.
14149         (generate_testfile): Handle conditional exceptions.
14151 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
14153         * math/libm-test.inc (max_valid_error): New variable.
14154         (init_max_error): Take new argument specifying whether function
14155         results are exactly determined.  Set max_valid_error and bound
14156         other variables for errors based on this argument.
14157         (set_max_error): Do not record results above max_valid_error.
14158         (check_float_internal): Only accept errors of up to 0.5ulps if
14159         also at most max_valid_error.
14160         (START): Take new argument EXACT and pass it to init_max_error.
14161         (acos_test): Update call to START.
14162         (acos_test_tonearest): Likewise.
14163         (acos_test_towardzero): Likewise.
14164         (acos_test_downward): Likewise.
14165         (acos_test_upward): Likewise.
14166         (acosh_test): Likewise.
14167         (asin_test): Likewise.
14168         (asin_test_tonearest): Likewise.
14169         (asin_test_towardzero): Likewise.
14170         (asin_test_downward): Likewise.
14171         (asin_test_upward): Likewise.
14172         (asinh_test): Likewise.
14173         (atan_test): Likewise.
14174         (atanh_test): Likewise.
14175         (atan2_test): Likewise.
14176         (cabs_test): Likewise.
14177         (cacos_test): Likewise.
14178         (cacosh_test): Likewise.
14179         (carg_test): Likewise.
14180         (casin_test): Likewise.
14181         (casinh_test): Likewise.
14182         (catan_test): Likewise.
14183         (catanh_test): Likewise.
14184         (cbrt_test): Likewise.
14185         (ccos_test): Likewise.
14186         (ccosh_test): Likewise.
14187         (ceil_test): Likewise.
14188         (cexp_test): Likewise.
14189         (cimag_test): Likewise.
14190         (clog_test): Likewise.
14191         (clog10_test): Likewise.
14192         (conj_test): Likewise.
14193         (copysign_test): Likewise.
14194         (cos_test): Likewise.
14195         (cos_test_tonearest): Likewise.
14196         (cos_test_towardzero): Likewise.
14197         (cos_test_downward): Likewise.
14198         (cos_test_upward): Likewise.
14199         (cosh_test): Likewise.
14200         (cosh_test_tonearest): Likewise.
14201         (cosh_test_towardzero): Likewise.
14202         (cosh_test_downward): Likewise.
14203         (cosh_test_upward): Likewise.
14204         (cpow_test): Likewise.
14205         (cproj_test): Likewise.
14206         (creal_test): Likewise.
14207         (csin_test): Likewise.
14208         (csinh_test): Likewise.
14209         (csqrt_test): Likewise.
14210         (ctan_test): Likewise.
14211         (ctan_test_tonearest): Likewise.
14212         (ctan_test_towardzero): Likewise.
14213         (ctan_test_downward): Likewise.
14214         (ctan_test_upward): Likewise.
14215         (ctanh_test): Likewise.
14216         (ctanh_test_tonearest): Likewise.
14217         (ctanh_test_towardzero): Likewise.
14218         (ctanh_test_downward): Likewise.
14219         (ctanh_test_upward): Likewise.
14220         (erf_test): Likewise.
14221         (erfc_test): Likewise.
14222         (exp_test): Likewise.
14223         (exp_test_tonearest): Likewise.
14224         (exp_test_towardzero): Likewise.
14225         (exp_test_downward): Likewise.
14226         (exp_test_upward): Likewise.
14227         (exp10_test): Likewise.
14228         (exp10_test_tonearest): Likewise.
14229         (exp10_test_towardzero): Likewise.
14230         (exp10_test_downward): Likewise.
14231         (exp10_test_upward): Likewise.
14232         (pow10_test): Likewise.
14233         (exp2_test): Likewise.
14234         (expm1_test): Likewise.
14235         (expm1_test_tonearest): Likewise.
14236         (expm1_test_towardzero): Likewise.
14237         (expm1_test_downward): Likewise.
14238         (expm1_test_upward): Likewise.
14239         (fabs_test): Likewise.
14240         (fdim_test): Likewise.
14241         (floor_test): Likewise.
14242         (fma_test): Likewise.
14243         (fma_test_towardzero): Likewise.
14244         (fma_test_downward): Likewise.
14245         (fma_test_upward): Likewise.
14246         (fmax_test): Likewise.
14247         (fmin_test): Likewise.
14248         (fmod_test): Likewise.
14249         (fpclassify_test): Likewise.
14250         (frexp_test): Likewise.
14251         (hypot_test): Likewise.
14252         (ilogb_test): Likewise.
14253         (isfinite_test): Likewise.
14254         (finite_test): Likewise.
14255         (isgreater_test): Likewise.
14256         (isgreaterequal_test): Likewise.
14257         (isinf_test): Likewise.
14258         (isless_test): Likewise.
14259         (islessequal_test): Likewise.
14260         (islessgreater_test): Likewise.
14261         (isnan_test): Likewise.
14262         (isnormal_test): Likewise.
14263         (issignaling_test): Likewise.
14264         (isunordered_test): Likewise.
14265         (j0_test): Likewise.
14266         (j1_test): Likewise.
14267         (jn_test): Likewise.
14268         (ldexp_test): Likewise.
14269         (lgamma_test): Likewise.
14270         (gamma_test): Likewise.
14271         (lrint_test): Likewise.
14272         (lrint_test_tonearest): Likewise.
14273         (lrint_test_towardzero): Likewise.
14274         (lrint_test_downward): Likewise.
14275         (lrint_test_upward): Likewise.
14276         (llrint_test): Likewise.
14277         (llrint_test_tonearest): Likewise.
14278         (llrint_test_towardzero): Likewise.
14279         (llrint_test_downward): Likewise.
14280         (llrint_test_upward): Likewise.
14281         (log_test): Likewise.
14282         (log10_test): Likewise.
14283         (log1p_test): Likewise.
14284         (log2_test): Likewise.
14285         (logb_test): Likewise.
14286         (logb_test_downward): Likewise.
14287         (lround_test): Likewise.
14288         (llround_test): Likewise.
14289         (modf_test): Likewise.
14290         (nearbyint_test): Likewise.
14291         (nextafter_test): Likewise.
14292         (nexttoward_test): Likewise.
14293         (pow_test): Likewise.
14294         (pow_test_tonearest): Likewise.
14295         (pow_test_towardzero): Likewise.
14296         (pow_test_downward): Likewise.
14297         (pow_test_upward): Likewise.
14298         (remainder_test): Likewise.
14299         (drem_test): Likewise.
14300         (remainder_test_tonearest): Likewise.
14301         (drem_test_tonearest): Likewise.
14302         (remainder_test_towardzero): Likewise.
14303         (drem_test_towardzero): Likewise.
14304         (remainder_test_downward): Likewise.
14305         (drem_test_downward): Likewise.
14306         (remainder_test_upward): Likewise.
14307         (drem_test_upward): Likewise.
14308         (remquo_test): Likewise.
14309         (rint_test): Likewise.
14310         (rint_test_tonearest): Likewise.
14311         (rint_test_towardzero): Likewise.
14312         (rint_test_downward): Likewise.
14313         (rint_test_upward): Likewise.
14314         (round_test): Likewise.
14315         (scalb_test): Likewise.
14316         (scalbn_test): Likewise.
14317         (scalbln_test): Likewise.
14318         (signbit_test): Likewise.
14319         (sin_test): Likewise.
14320         (sin_test_tonearest): Likewise.
14321         (sin_test_towardzero): Likewise.
14322         (sin_test_downward): Likewise.
14323         (sin_test_upward): Likewise.
14324         (sincos_test): Likewise.
14325         (sinh_test): Likewise.
14326         (sinh_test_tonearest): Likewise.
14327         (sinh_test_towardzero): Likewise.
14328         (sinh_test_downward): Likewise.
14329         (sinh_test_upward): Likewise.
14330         (sqrt_test): Likewise.
14331         (sqrt_test_tonearest): Likewise.
14332         (sqrt_test_towardzero): Likewise.
14333         (sqrt_test_downward): Likewise.
14334         (sqrt_test_upward): Likewise.
14335         (tan_test): Likewise.
14336         (tan_test_tonearest): Likewise.
14337         (tan_test_towardzero): Likewise.
14338         (tan_test_downward): Likewise.
14339         (tan_test_upward): Likewise.
14340         (tanh_test): Likewise.
14341         (tgamma_test): Likewise.
14342         (trunc_test): Likewise.
14343         (y0_test): Likewise.
14344         (y1_test): Likewise.
14345         (yn_test): Likewise.
14346         (significand_test): Likewise.
14348         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
14349         individual tests in comment.
14350         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
14351         (prev_max_error): New variable.
14352         (prev_real_max_error): Likewise.
14353         (prev_imag_max_error): Likewise.
14354         (compare_ulp_data): Don't refer to test names in comment.
14355         (find_test_ulps): Remove function.
14356         (find_function_ulps): Likewise.
14357         (find_complex_function_ulps): Likewise.
14358         (init_max_error): Take function name as argument.  Look up ulps
14359         for that function.
14360         (print_ulps): Remove function.
14361         (print_max_error): Use prev_max_error instead of calling
14362         find_function_ulps.
14363         (print_complex_max_error): Use prev_real_max_error and
14364         prev_imag_max_error instead of calling find_complex_function_ulps.
14365         (check_float_internal): Take max_ulp parameter instead of calling
14366         find_test_ulps.  Don't call print_ulps.
14367         (check_float): Update call to check_float_internal.
14368         (check_complex): Update calls to check_float_internal.
14369         (START): Pass argument to init_max_error.
14370         * math/gen-libm-test.pl (%results): Don't include "kind"
14371         information.
14372         (parse_ulps): Don't handle ulps of individual tests.
14373         (print_ulps_file): Likewise.
14374         (output_ulps): Likewise.
14375         * math/README.libm-test: Update.
14376         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
14377         individual tests.
14378         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
14379         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
14380         * sysdeps/arm/libm-test-ulps: Likewise.
14381         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
14382         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
14383         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
14384         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
14385         * sysdeps/microblaze/libm-test-ulps: Likewise.
14386         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
14387         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14388         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14389         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
14390         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14391         * sysdeps/sh/libm-test-ulps: Likewise.
14392         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14393         * sysdeps/tile/libm-test-ulps: Likewise.
14394         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14396 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
14398         * math/libm-test.inc (print_complex_max_error): Check separately
14399         whether real and imaginary errors are within allowed range and
14400         pass 0 to print_complex_function_ulps instead of value within
14401         allowed range.
14403 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14405         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
14406         formatting.
14407         (get_handles_fopen): Likewise.
14408         (do_write_test): Likewise.
14410         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
14412         * libio/fileops.c (do_ftell): Use cached offset when
14413         available.
14414         * libio/iofwide.c (do_ftell_wide): Likewise.
14415         * libio/iofdopen.c (_IO_new_fdopen): Don't use
14416         _IO_file_attach.
14417         * libio/wfileops.c (_IO_fwide): Don't cache offset.
14419         [BZ #16532]
14420         * libio/libioP.h (get_file_offset): New function.
14421         * libio/fileops.c (get_file_offset): Likewise.
14422         (do_ftell): Likewise.
14423         (_IO_new_file_seekoff): Split out ftell logic.
14424         * libio/wfileops.c (do_ftell_wide): Likewise.
14425         (_IO_wfile_seekoff): Split out ftell logic.
14426         * libio/tst-ftell-active-handler.c: New test case.
14427         * libio/Makefile (tests): Add it.
14429 2014-03-03  Roland McGrath  <roland@hack.frob.com>
14431         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
14432         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
14434 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
14436         [BZ #16639]
14437         * nscd/connections.c (nscd_init): Call do_exit.
14438         (start_threads): Call do_exit and notify_parent.
14439         (begin_drop_privileges): Call do_exit.
14440         (finish_drop_privileges): Likewise.
14441         * nscd/selinux.c (preserve_capabilities): Likewise.
14442         (install_real_capabilities): Likewise.
14443         (nscd_selinux_enabled): Likewise.
14444         (avc_create_thread): Likewise.
14445         (avc_alloc_lock): Likewise.
14446         (nscd_avc_init): Likewise.
14447         * nscd/nscd.c (parent_fd): New static variable.
14448         (main): Create a pipe between parent and child processes.
14449         Skip closing parent_fd.
14450         (monitor_child): New function.
14451         (do_exit): Likewise.
14452         (notify_parent): Likewise.
14453         * nscd/nscd.h (notify_parent): Likewise.
14454         (do_exit): Likewise.
14456 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
14458         * malloc/malloc.c (__libc_calloc): Revert last change.
14460 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14462         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14464 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14466         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
14467         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
14468         implementation.
14469         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14470         (__libc_ifunc_impl_list): Likewise.
14471         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
14472         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
14473         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
14474         * string/strrchr.c: Define STRRCHR.
14476 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
14478         * benchtest/bench-strtok.c (simple_strtok): Delete.
14479         (strtok_string): Use as benchmark.
14480         * string/strtok (STRTOK): New macro.
14482 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
14484         * manual/threads.texi: Add header and standard comments to all
14485         functions.
14487         * elf/dl-lookup.c (check_match): New function.
14488         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
14489         (do_lookup_x): Remove nested function check_match. Use non-nested
14490         function check_match.
14492 2014-02-28  Roland McGrath  <roland@hack.frob.com>
14494         * csu/Makefile (generated, before-compile): Use += rather than =.
14495         * catgets/Makefile (generated, generated-dirs): Likewise.
14496         * debug/Makefile (generated): Likewise.
14497         * dlfcn/Makefile (generated): Likewise.
14498         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
14499         * iconvdata/Makefile (before-compile, generated): Likewise.
14500         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
14501         * libio/Makefile (generated): Likewise.
14502         * malloc/Makefile (generated): Likewise.
14503         * manual/Makefile (generated, generated-dirs): Likewise.
14504         * misc/Makefile (generated): Likewise.
14505         * posix/Makefile (generated): Likewise.
14506         * resolv/Makefile (generated): Likewise.
14507         * sunrpc/Makefile (generated, generated-dirs): Likewise.
14508         * timezone/Makefile (generated, generated-dirs): Likewise.
14510         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
14512 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14514         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
14515         power8 implementation.
14516         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
14517         file: POWER8 llround ifunc implementation.
14518         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
14519         (__lllround): Add POWER8 implementation.
14520         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
14521         POWER8 llround implementation.
14523         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
14524         power8 implementation.
14525         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
14526         file: POWER8 llrint ifunc implementation.
14527         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
14528         Add POWER8 implementation.
14529         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
14530         POWER8 llrint implementation.
14532         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
14533         power8 implementation.
14534         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
14535         file: POWER8 finite ifunc implementation.
14536         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
14537         Add POWER8 implementation.
14538         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
14539         Likewise.
14540         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
14541         POWER8 finite implementation.
14542         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
14544         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
14545         power8 implementation.
14546         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
14547         file: POWER8 isinf ifunc implementation.
14548         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
14549         POWER8 implementation.
14550         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
14551         Likewise.
14552         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
14553         isinf implementation.
14554         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
14556         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
14557         (INIT_ARCH): Add hwcap2 initialization.
14558         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
14559         power8 implementation.
14560         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
14561         file: POWER8 isnan ifunc implementation.
14562         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
14563         POWER8 implementation.
14564         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
14565         Likewise.
14566         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
14567         isnan implementation.
14568         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
14570 2014-02-27  Joey Ye  <joey.ye@arm.com>
14572         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
14573         (_FP_NANFRAC_Q): Set to zero.
14575 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14577         [BZ #16623]
14578         * math/auto-libm-test-in: New test inputs.
14579         * math/auto-libm-test-out: Regenerate.
14580         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
14581         and DA.
14582         (__cos): Likewise.
14583         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
14585 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
14587         * scripts/evaluate-test.sh: Take new argument indicating whether
14588         failure is expected.
14589         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
14590         indicating whether failure is expected.
14591         * conform/Makefile (test-xfail-run-conformtest): New variable.
14592         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
14593         level.
14594         * posix/Makefile (test-xfail-annexc): New variable.
14595         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
14597 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
14599         * argp/Makefile: Include Makeconfig immediately after defining
14600         subdir.
14601         * assert/Makefile: Likewise.
14602         * benchtests/Makefile: Likewise.
14603         * catgets/Makefile: Likewise.
14604         * conform/Makefile: Likewise.
14605         * crypt/Makefile: Likewise.
14606         * csu/Makefile: Likewise.
14607         (all): Remove target.
14608         * ctype/Makefile: Include Makeconfig immediately after defining
14609         subdir.
14610         * debug/Makefile: Likewise.
14611         * dirent/Makefile: Likewise.
14612         * dlfcn/Makefile: Likewise.
14613         * gmon/Makefile: Likewise.
14614         * gnulib/Makefile: Likewise.
14615         * grp/Makefile: Likewise.
14616         * gshadow/Makefile: Likewise.
14617         * hesiod/Makefile: Likewise.
14618         * hurd/Makefile: Likewise.
14619         (all): Remove target.
14620         * iconvdata/Makefile: Include Makeconfig immediately after
14621         defining subdir.
14622         * inet/Makefile: Likewise.
14623         * intl/Makefile: Likewise.
14624         * io/Makefile: Likewise.
14625         * libio/Makefile: Likewise.
14626         (all): Remove target.
14627         * locale/Makefile: Include Makeconfig immediately after defining
14628         subdir.
14629         * login/Makefile: Likewise.
14630         * mach/Makefile: Likewise.
14631         (all): Remove target.
14632         * malloc/Makefile: Include Makeconfig immediately after defining
14633         subdir.
14634         (all): Remove target.
14635         * manual/Makefile: Include Makeconfig immediately after defining
14636         subdir.
14637         * math/Makefile: Likewise.
14638         * misc/Makefile: Likewise.
14639         * nis/Makefile: Likewise.
14640         * nss/Makefile: Likewise.
14641         * po/Makefile: Likewise.
14642         (all): Remove target.
14643         * posix/Makefile: Include Makeconfig immediately after defining
14644         subdir.
14645         * pwd/Makefile: Likewise.
14646         * resolv/Makefile: Likewise.
14647         * resource/Makefile: Likewise.
14648         * rt/Makefile: Likewise.
14649         * setjmp/Makefile: Likewise.
14650         * shadow/Makefile: Likewise.
14651         * signal/Makefile: Likewise.
14652         * socket/Makefile: Likewise.
14653         * soft-fp/Makefile: Likewise.
14654         * stdio-common/Makefile: Likewise.
14655         * stdlib/Makefile: Likewise.
14656         * streams/Makefile: Likewise.
14657         * string/Makefile: Likewise.
14658         * sunrpc/Makefile: Likewise.
14659         (all): Remove target.
14660         * sysvipc/Makefile: Include Makeconfig immediately after defining
14661         subdir.
14662         * termios/Makefile: Likewise.
14663         * time/Makefile: Likewise.
14664         * timezone/Makefile: Likewise.
14665         (all): Remove target.
14666         * wcsmbs/Makefile: Include Makeconfig immediately after defining
14667         subdir.
14668         * wctype/Makefile: Likewise.
14670 2014-02-26  Steve Ellcey  <sellcey@mips.com>
14672         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
14673         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
14674         (libc_feholdexcept_setround_mips): Ditto.
14675         (libc_feholdsetround): New.
14676         (libc_feholdsetroundf): New.
14677         (libc_feholdsetroundl): New.
14678         (libc_feupdateenv_test_mips): New.
14679         (libc_feupdateenv_test): New.
14680         (libc_feupdateenv_testf): New.
14681         (libc_feupdateenv_testl): New.
14682         (libc_feresetround): New.
14683         (libc_feresetroundf): New.
14684         (libc_feresetroundl): New.
14685         (libc_fetestexcept_mips): New.
14686         (libc_fetestexcept): New.
14687         (libc_fetestexceptf): New.
14688         (libc_fetestexceptl): New.
14689         (HAVE_RM_CTX): New.
14690         (libc_feholdexcept_setround_mips_ctx): New.
14691         (libc_feholdexcept_setround_ctx): New.
14692         (libc_feholdexcept_setroundf_ctx): New.
14693         (libc_feholdexcept_setroundl_ctx): New.
14694         (libc_fesetenv_mips_ctx): New.
14695         (libc_fesetenv_ctx): New.
14696         (libc_fesetenv_ctxf): New.
14697         (libc_fesetenv_ctxl): New.
14698         (libc_feupdateenv_mips_ctx): New.
14699         (libc_feupdateenv_ctx): New.
14700         (libc_feupdateenvf_ctx): New.
14701         (libc_feupdateenvl_ctx): New.
14702         (libc_feholdsetround_mips_ctx): New.
14703         (libc_feholdsetround_ctx): New.
14704         (libc_feholdsetroundf_ctx): New.
14705         (libc_feholdsetroundl_ctx): New.
14706         (libc_feresetround_mips_ctx): New.
14707         (libc_feresetround_ctx): New.
14708         (libc_feresetroundf_ctx): New.
14709         (libc_feresetroundl_ctx): New.
14711 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
14713         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
14715         * manual/ipc.texi: New file.
14716         * manual/Makefile (chapters): Add ipc.
14717         * manual/job.texi: Add "Inter-Process Communication" to next.
14718         * manual/process.texi: Add "Inter-Process Communication" to prev.
14720 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14722         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14724 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
14726         * malloc/malloc.c (__libc_calloc): Simplify implementation.
14728         * manual/arith.texi: Fix spaces after sentences.
14729         * manual/charset.texi: Likewise.
14730         * manual/errno.texi: Likewise.
14731         * manual/install.texi: Likewise.
14732         * manual/llio.texi: Likewise.
14733         * manual/locale.texi: Likewise.
14734         * manual/maint.texi: Likewise.
14735         * manual/math.texi: Likewise.
14736         * manual/memory.texi: Likewise.
14737         * manual/message.texi: Likewise.
14738         * manual/probes.texi: Likewise.
14739         * manual/resource.texi: Likewise.
14740         * manual/signal.texi: Likewise.
14741         * manual/socket.texi: Likewise.
14742         * manual/stdio.texi: Likewise.
14743         * manual/string.texi: Likewise.
14744         * manual/time.texi: Likewise.
14745         * manual/users.texi: Likewise.
14747 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
14749         [BZ #16632]
14750         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
14751         _DEFAULT_SOURCE is defined.
14753 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
14754             Carlos O'Donell  <carlos@redhat.com>
14756         [BZ #16613]
14757         * elf/dl-tls.c (_dl_count_modids): New function.
14758         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
14759         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
14760         audit library and increment generation counter.
14761         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
14762         * elf/tst-audit9.c: New file.
14763         * elf/tst-auditmod9a.c: New file.
14764         * elf/tst-auditmod9b.c: New file.
14765         * elf/Makefile: Add rules to build and run tst-audit9.
14767 2014-02-25  Florian Weimer  <fweimer@redhat.com>
14769         [BZ #15347]
14770         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
14772 2014-02-25  Will Newton  <will.newton@linaro.org>
14774         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
14775         (__longjmp): Restore sp and lr before restoring callee
14776         saved registers.  Add longjmp and longjmp_target
14777         SystemTap probe point.
14778         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
14779         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
14780         Define to zero to match jmpbuf layout.
14781         * sysdeps/arm/setjmp.S: Include stap-probe.h.
14782         (__sigsetjmp): Save sp and lr before saving callee
14783         saved registers.  Add setjmp SystemTap probe point.
14785 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14787         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14789 2014-02-24  Andreas Schwab  <schwab@suse.de>
14791         [BZ #15804]
14792         * elf/pldd.c (wait_for_ptrace_stop): New function.
14793         (main): Call it after attaching.
14795 2014-02-22  Roland McGrath  <roland@hack.frob.com>
14797         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
14798         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
14799         Versions files is now verboten.
14800         * hurd/Versions (libc: GLIBC_2.0):
14801         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
14802         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
14803         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
14804         * mach/Versions: Likewise.
14806         * csu/Versions: Remove unused %include.
14807         * resolv/Versions: Likewise.
14809 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
14811         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
14812         ($(objpfx)check-local-headers.out): Likewise.
14813         ($(objpfx)begin-end-check.out): Likewise.
14814         * Makerules (check-abi-%.out): Likewise.
14815         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
14816         ($(objpfx)test2.cat): Likewise.
14817         ($(objpfx)de/libc.cat): Likewise.
14818         ($(objpfx)test-gencat.out): Likewise.
14819         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
14820         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
14821         ($(objpfx)noload-mem): Likewise.
14822         ($(objpfx)tst-pathopt.out): Likewise.
14823         ($(objpfx)tst-rtld-load-self.out): Likewise.
14824         ($(objpfx)tst-array1-cmp.out): Likewise.
14825         ($(objpfx)tst-array1-static-cmp.out): Likewise.
14826         ($(objpfx)tst-array2-cmp.out): Likewise.
14827         ($(objpfx)tst-array3-cmp.out): Likewise.
14828         ($(objpfx)tst-array4-cmp.out): Likewise.
14829         ($(objpfx)tst-array5-cmp.out): Likewise.
14830         ($(objpfx)tst-array5-static-cmp.out): Likewise.
14831         ($(objpfx)check-textrel.out): Likewise.
14832         ($(objpfx)check-execstack.out): Likewise.
14833         ($(objpfx)check-localplt.out): Likewise.
14834         ($(objpfx)order2-cmp.out): Likewise.
14835         ($(objpfx)tst-leaks1-mem): Likewise.
14836         ($(objpfx)tst-leaks1-static-mem): Likewise.
14837         ($(objpfx)tst-initorder-cmp.out): Likewise.
14838         ($(objpfx)tst-initorder2-cmp.out): Likewise.
14839         ($(objpfx)tst-unused-dep.out): Likewise.
14840         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
14841         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
14842         * iconv/Makefile (test-iconvconfig): Likewise.
14843         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
14844         ($(objpfx)iconv-test.out): Likewise.
14845         ($(objpfx)tst-tables.out): Likewise.
14846         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
14847         ($(objpfx)tst-gettext.out): Likewise.
14848         ($(objpfx)tst-translit.out): Likewise.
14849         ($(objpfx)tst-gettext2.out): Likewise.
14850         ($(objpfx)tst-gettext4.out): Likewise.
14851         ($(objpfx)tst-gettext6.out): Likewise.
14852         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
14853         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
14854         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
14855         ($(objpfx)tst-fopenloc-mem.out): Likewise.
14856         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
14857         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
14858         * posix/Makefile ($(objpfx)globtest.out): Likewise.
14859         ($(objpfx)wordexp-tst.out): Likewise.
14860         ($(objpfx)annexc.out): Likewise.
14861         ($(objpfx)tst-fnmatch-mem): Likewise.
14862         ($(objpfx)bug-regex2-mem): Likewise.
14863         ($(objpfx)bug-regex14-mem): Likewise.
14864         ($(objpfx)bug-regex21-mem): Likewise.
14865         ($(objpfx)bug-regex31-mem): Likewise.
14866         ($(objpfx)tst-vfork3-mem): Likewise.
14867         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
14868         ($(objpfx)tst-pcre-mem): Likewise.
14869         ($(objpfx)tst-boost-mem): Likewise.
14870         ($(objpfx)tst-getconf.out): Likewise.
14871         ($(objpfx)bug-ga2-mem): Likewise.
14872         ($(objpfx)bug-glob2-mem): Likewise.
14873         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
14874         ($(objpfx)mtrace-tst-leaks2): Likewise.
14875         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
14876         ($(objpfx)tst-printf.out): Likewise.
14877         ($(objpfx)tst-setvbuf1.out): Likewise.
14878         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
14879         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
14880         ($(objpfx)tst-fmtmsg.out): Likewise.
14881         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
14882         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
14884         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
14885         * bits/sigaction.h [__USE_MISC]: Likewise.
14886         * bits/waitstatus.h: Update #endif comments.
14887         * ctype/ctype.h: Likewise.
14888         * dirent/dirent.h: Likewise.
14889         [__USE_MISC]: Remove redundant conditionals.
14890         * grp/grp.h: Update #endif comments.
14891         [__USE_GNU]: Remove redundant conditionals.
14892         [__USE_MISC]: Likewise.
14893         * inet/netinet/in.h [__USE_GNU]: Likewise.
14894         * io/sys/stat.h [__USE_MISC]: Likewise.
14895         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
14896         * libio/bits/stdio.h: Update #endif comments.
14897         [__USE_MISC]: Remove redundant conditionals.
14898         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
14899         * libio/stdio.h: Update #endif comments.
14900         [__USE_MISC]: Remove redundant conditionals.
14901         * math/bits/math-finite.h [__USE_MISC]: Likewise.
14902         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
14903         * math/math.h: Update #else and #endif comments.
14904         [__USE_MISC]: Remove redundant conditionals.
14905         * misc/sys/uio.h: Update #endif comments.
14906         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
14907         * posix/glob.h [__USE_MISC]: Likewise.
14908         * posix/sys/types.h: Update #endif comments.
14909         [__USE_MISC]: Remove redundant conditionals.
14910         * posix/sys/wait.h: Update #endif comments.
14911         [__USE_MISC]: Remove redundant conditionals.
14912         * posix/unistd.h: Update #endif comments.
14913         [__USE_MISC]: Remove redundant conditionals.
14914         * pwd/pwd.h [__USE_GNU]: Likewise.
14915         [__USE_MISC]: Likewise.
14916         * resolv/netdb.h [__USE_GNU]: Likewise.
14917         * signal/signal.h: Update #endif comments.
14918         [__USE_MISC]: Remove redundant conditionals.
14919         * stdlib/stdlib.h: Update #else and #endif comments.
14920         [__USE_MISC]: Remove redundant conditionals.
14921         [__USE_GNU]: Likewise.
14922         * string/bits/string2.h [__USE_MISC]: Likewise.
14923         * string/string.h: Update #endif comments.
14924         [__USE_MISC]: Remove redundant conditionals.
14925         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
14926         Likewise.
14927         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
14928         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
14929         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
14930         Likewise.
14931         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
14932         Likewise.
14933         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
14934         comments.
14935         [__USE_MISC]: Remove redundant conditionals.
14936         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
14937         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
14938         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
14939         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
14940         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
14941         Likewise.
14942         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
14943         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
14944         Likewise.
14945         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
14946         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
14947         Likewise.
14948         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
14949         Likewise.
14950         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
14951         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
14952         Likewise.
14953         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
14954         Likewise.
14955         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
14956         * sysdeps/x86/bits/string.h: Update #endif comments.
14957         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
14958         conditionals.
14959         * time/sys/time.h: Update #endif comments.
14960         * time/time.h: Likewise.
14961         [__USE_MISC]: Remove redundant conditionals.
14963 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
14965         [BZ #16600]
14966         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
14968 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
14970         * Versions.def (librt): Add GLIBC_2.17.
14972 2014-02-21  Adam Conrad  <adconrad@0c3.net>
14974         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
14975         synonym for _SYS_AUXV_H to allow direct inclusion.
14976         * sysdeps/sparc/bits/hwcap.h: Likewise.
14977         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
14978         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
14979         * sysdeps/sparc/sysdep.h: Likewise.
14981 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14983         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
14985 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14987         * benchtests/bench-strrchr.c: Print length instead of position.
14989 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
14991         [BZ #16611]
14992         * sysdeps/unix/sysv/linux/kernel-features.h
14993         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
14994         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
14995         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
14996         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
14997         Likewise.
14998         [__i386__ || __powerpc__ || __sh__ || __sparc__]
14999         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15000         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
15001         (__ASSUME_SENDMMSG): Define instead of using previous
15002         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
15003         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15004         (__ASSUME_SENDMMSG_SYSCALL): Define.
15005         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15006         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
15007         Likewise.
15008         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15009         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15010         Likewise.
15011         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15012         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15013         Likewise.
15014         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
15015         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
15016         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
15017         [__ASSUME_SENDMMSG]: Change conditionals to
15018         [__ASSUME_SENDMMSG_SOCKETCALL].
15019         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15020         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
15021         Define.
15022         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15023         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
15024         Likewise.
15025         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
15026         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
15027         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
15028         [!__ASSUME_SENDMMSG]: Change conditional to
15029         [!__ASSUME_SENDMMSG_SOCKETCALL].
15030         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15031         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15032         Define.
15034         [BZ #16610]
15035         * sysdeps/unix/sysv/linux/kernel-features.h
15036         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
15037         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
15038         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
15039         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
15040         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15041         [__i386__ || __sparc__]
15042         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15043         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
15044         (__ASSUME_RECVMMSG): Define instead of using previous
15045         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
15046         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15047         (__ASSUME_RECVMMSG_SYSCALL): Define.
15048         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15049         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15050         Likewise.
15051         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15052         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15053         Likewise.
15054         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15055         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15056         Likewise.
15057         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
15058         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
15059         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
15060         [__ASSUME_RECVMMSG]: Change condition to
15061         [__ASSUME_RECVMMSG_SOCKETCALL].
15062         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15063         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15064         Define.
15065         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15066         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15067         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15068         Likewise.
15069         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
15070         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
15071         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
15072         [!__ASSUME_RECVMMSG]: Change condition to
15073         [!__ASSUME_RECVMMSG_SOCKETCALL].
15074         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15075         (__ASSUME_RECVMMSG_SYSCALL): Define.
15077         [BZ #16609]
15078         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
15079         __powerpc__ || __s390__ || __sh__ || __sparc__]
15080         (__ASSUME_SOCKETCALL): Define.
15081         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
15082         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
15083         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
15084         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
15085         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15086         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
15087         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
15088         (__ASSUME_ACCEPT4): Define instead of using previous
15089         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
15090         __powerpc__ || __sparc__ || __s390__)] condition.
15091         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15092         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
15093         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
15094         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
15095         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
15096         [!__ASSUME_ACCEPT4]: Change condition to
15097         [!__ASSUME_ACCEPT4_SOCKETCALL].
15098         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15099         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
15100         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
15101         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15102         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
15103         __ASSUME_ACCEPT4_SYSCALL.
15104         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
15105         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
15106         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15107         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
15108         __ASSUME_ACCEPT4_SYSCALL.
15109         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
15110         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
15111         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
15112         [__ASSUME_ACCEPT4]: Change condition to
15113         [__ASSUME_ACCEPT4_SOCKETCALL].
15114         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15115         (__ASSUME_SOCKETCALL): Define.
15116         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
15117         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15118         (__ASSUME_SOCKETCALL): Define.
15119         (__ASSUME_ACCEPT4): Remove.
15120         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
15121         Define.
15122         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15123         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
15124         Likewise.
15125         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15126         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
15128         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
15129         macro.
15130         (HWCAP_ARM_LPAE): Likewise.
15131         (HWCAP_ARM_EVTSTRM): Likewise.
15132         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
15133         Add vpfd32, lpae and evtstrm.
15134         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
15135         Increase to 22.
15137 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
15139         * math/auto-libm-test-in: Add tests of clog10.
15140         * math/auto-libm-test-out: Regenerated.
15141         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
15142         * sysdeps/i386/fpu/libm-test-ulps: Update.
15143         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15145 2014-02-18  Andreas Schwab  <schwab@suse.de>
15147         [BZ #16574]
15148         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
15149         Store non-zero if the second buffer was newly allocated.
15150         (send_dg): Likewise.
15151         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
15152         to send_vc and send_dg.
15153         (res_nsend): Pass NULL for ansp2_malloced.
15154         * resolv/res_query.c (__libc_res_nquery): Add parameter
15155         answerp2_malloced and pass it down to __libc_res_nsend.
15156         (res_nquery): Pass additional NULL to __libc_res_nquery.
15157         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
15158         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
15159         second answer buffer if answerp2_malloced was set.
15160         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
15161         (__libc_res_nquerydomain): Add parameter
15162         answerp2_malloced and pass it down to __libc_res_nquery.
15163         (res_nquerydomain): Pass additional NULL to
15164         __libc_res_nquerydomain.
15165         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
15166         additional NULL to __libc_res_nsend and __libc_res_nquery.
15167         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
15168         additional NULL to __libc_res_nsearch.
15169         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
15170         parameter of __libc_res_nsearch to check for separately allocated
15171         second buffer.
15172         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
15173         __libc_res_nquery.
15174         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
15175         additional NULL to __libc_res_nquery.
15176         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
15177         __libc_res_nsearch.
15178         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
15179         * include/resolv.h: Update prototypes of __libc_res_nquery,
15180         __libc_res_nsearch, __libc_res_nsend.
15182 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
15184         * math/auto-libm-test-in: Add tests of fma.
15185         * math/auto-libm-test-out: Regenerated.
15186         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
15187         (fma_towardzero_test_data): Likewise.
15188         (fma_downward_test_data): Likewise.
15189         (fma_upward_test_data): Likewise.
15190         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
15191         mpc_mode.
15192         (rounding_modes): Add values for new field.
15193         (func_calc_method): Add value mpfr_fff_f.
15194         (func_calc_desc): Add mpfr_fff_f union field.
15195         (test_function): Add field exact_args.
15196         (FUNC): Add macro argument EXACT_ARGS.
15197         (FUNC_mpfr_f_f): Update call to FUNC.
15198         (FUNC_mpfr_f_f): Likewise.
15199         (FUNC_mpfr_ff_f): Likewise.
15200         (FUNC_mpfr_if_f): Likewise.
15201         (FUNC_mpc_c_f): Likewise.
15202         (FUNC_mpc_c_c): Likewise.
15203         (test_functions): Add fma.  Update calls to FUNC.
15204         (handle_input_arg): Add argument exact_args.
15205         (add_test): Update call to handle_input_arg.
15206         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
15207         (output_for_one_input_case): Update call to calc_generic_results.
15208         Recalculate exact zero results in each rounding mode.
15210         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
15211         non-negative before setting low bit.
15212         * math/auto-libm-test-in: Mark one asin test possibly having
15213         spurious underflow.
15214         * math/auto-libm-test-out: Regenerated.
15215         * sysdeps/i386/fpu/libm-test-ulps: Update.
15216         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15218 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
15220         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
15221         * sysdeps/unix/sysv/linux/microblaze: Move directory from
15222         ports/sysdeps/unix/sysv/linux/microblaze.
15223         * README: Add missing listing for microblaze*-*-linux-gnu.
15225 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
15227         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
15228         duplicate code
15230 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
15232         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
15233         * sysdeps/unix/sysv/linux/ia64: Move directory from
15234         ports/sysdeps/unix/sysv/linux/ia64.
15235         * README: Update listing for ia64-*-linux-gnu.
15237 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
15238             Joseph Myers  <joseph@codesourcery.com>
15240         * Makeconfig (test-name): New variable.
15241         (evaluate-test): Likewise.
15242         * Makerules (do-test-clean): Remove .test-result files.
15243         (common-mostlyclean): Likewise.
15244         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
15245         * scripts/evaluate-test.sh: New file.
15247 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
15249         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
15250         separate $(objpfx)tst-fopenloc-cmp.out and
15251         $(objpfx)tst-fopenloc-mem.out targets.
15252         (tests): Update dependencies.
15253         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
15254         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
15255         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
15256         (tst-rxspencer-no-utf8-ARGS): New variable.
15257         (tst-rxspencer-no-utf8-ENV): Likewise.
15258         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
15259         instead of $(objpfx)tst-rxspencer-mem.
15260         ($(objpfx)tst-rxspencer-mem): Change target to
15261         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
15262         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
15263         * posix/tst-rxspencer-no-utf8.c: New file.
15265         * elf/Makefile ($(objpfx)order.out): Remove rule.
15266         [$(run-built-tests) = yes] (tests): Depend on
15267         $(objpfx)order-cmp.out.
15268         ($(objpfx)order-cmp.out): New rule.
15269         [$(run-built-tests) = yes] (tests): Depend on
15270         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
15271         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
15272         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
15273         $(objpfx)tst-array5-static-cmp.out.
15274         ($(objpfx)tst-array1.out): Remove rule.
15275         ($(objpfx)tst-array1-cmp.out): New rule.
15276         ($(objpfx)tst-array1-static.out): Remove rule.
15277         ($(objpfx)tst-array1-static-cmp.out): New rule.
15278         ($(objpfx)tst-array2.out): Remove rule.
15279         ($(objpfx)tst-array2-cmp.out): New rule.
15280         ($(objpfx)tst-array3.out): Remove rule.
15281         ($(objpfx)tst-array3-cmp.out): New rule.
15282         ($(objpfx)tst-array4.out): Remove rule.
15283         ($(objpfx)tst-array4-cmp.out): New rule.
15284         ($(objpfx)tst-array5.out): Remove rule.
15285         ($(objpfx)tst-array5-cmp.out): New rule.
15286         ($(objpfx)tst-array5-static.out): Remove rule.
15287         ($(objpfx)tst-array5-static-cmp.out): New rule.
15288         [$(run-built-tests) = yes] (tests): Depend on
15289         $(objpfx)order2-cmp.out.
15290         ($(objpfx)order2.out): Remove rule.
15291         ($(objpfx)order2-cmp.out): New rule.
15292         ($(objpfx)tst-initorder.out): Remove rule.
15293         [$(run-built-tests) = yes] (tests): Depend on
15294         $(objpfx)tst-initorder-cmp.out.
15295         ($(objpfx)tst-initorder-cmp.out): New rule.
15296         ($(objpfx)tst-initorder2.out): Remove rule.
15297         [$(run-built-tests) = yes] (tests): Depend on
15298         $(objpfx)tst-initorder2-cmp.out.
15299         ($(objpfx)tst-initorder2-cmp.out): New rule.
15300         [$(run-built-tests) = yes] (tests): Depend on
15301         $(objpfx)tst-unused-dep-cmp.out.
15302         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
15303         ($(objpfx)tst-unused-dep-cmp.out): New rule.
15304         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
15305         on $(objpfx)tst-setvbuf1-cmp.out.
15306         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
15307         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
15308         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
15309         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
15310         ($(objpfx)tst-svc.out): Remove rule.
15311         ($(objpfx)tst-svc-cmp.out): New rule.
15313 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
15315         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
15316         * ctype/ctype.h [__USE_MISC]: Likewise.
15317         * dirent/dirent.h [__USE_MISC]: Likewise.
15318         * grp/grp.h [__USE_MISC]: Likewise.
15319         * io/fcntl.h [__USE_MISC]: Likewise.
15320         * io/sys/stat.h [__USE_MISC]: Likewise.
15321         * libio/stdio.h [__USE_MISC]: Likewise.
15322         * posix/unistd.h [__USE_MISC]: Likewise.
15323         * pwd/pwd.h [__USE_MISC]: Likewise.
15324         * stdlib.h [__USE_MISC]: Likewise.
15325         * string/bits/string2.h [__USE_MISC]: Likewise.
15326         * string/string.h [__USE_MISC]: Likewise.
15327         * time/time.h [__USE_MISC]: Likewise.
15329 2014-02-13  Andreas Schwab  <schwab@suse.de>
15331         [BZ #16574]
15332         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
15333         second answer buffer if it was separately allocated.
15335 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
15337         * sysdeps/mips/math-tests.h: Include <features.h>.
15338         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
15339         (ROUNDING_TESTS_long_double): Do not define.
15340         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
15341         (EXCEPTION_TESTS_long_double): Likewise.
15342         * sysdeps/mips/mips64/libm-test-ulps: Update.
15344         * include/features.h (__USE_BSD): Remove macro definitions.
15345         (__USE_SVID): Likewise.
15346         (_BSD_SOURCE): Likewise.
15347         (_SVID_SOURCE): Likewise.
15348         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
15349         from definition of _DEFAULT_SOURCE.
15350         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
15351         [_DEFAULT_SOURCE].
15352         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
15353         * bits/mman.h [__USE_BSD]: Likewise.
15354         * bits/termios.h [__USE_BSD]: Likewise.
15355         * bits/waitstatus.h [__USE_BSD]: Likewise.
15356         * ctype/ctype.h [__USE_SVID]: Likewise.
15357         * dirent/dirent.h [__USE_BSD]: Likewise.
15358         * grp/grp.h [__USE_SVID]: Likewise.
15359         [__USE_BSD]: Likewise.
15360         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
15361         * io/fcntl.h [__USE_BSD]: Likewise.
15362         * io/ftw.h [__USE_BSD]: Likewise.
15363         * io/sys/stat.h [__USE_BSD]: Likewise.
15364         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
15365         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
15366         * libio/stdio.h [__USE_SVID]: Likewise.
15367         [__USE_BSD]: Likewise.
15368         * math/math.h [__USE_SVID]: Likewise.
15369         [__USE_BSD]: Likewise.
15370         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
15371         * misc/bits/syslog.h [__USE_BSD]: Likewise.
15372         * misc/search.h [__USE_SVID]: Likewise.
15373         * misc/sys/mman.h [__USE_BSD]: Likewise.
15374         * misc/sys/syslog.h [__USE_BSD]: Likewise.
15375         * misc/sys/uio.h [__USE_BSD]: Likewise.
15376         * posix/bits/unistd.h [__USE_BSD]: Likewise.
15377         * posix/glob.h [__USE_BSD]: Likewise.
15378         * posix/regex.h [__USE_BSD]: Likewise.
15379         * posix/sys/types.h [__USE_BSD]: Likewise.
15380         [__USE_SVID]: Likewise.
15381         * posix/sys/utsname.h [__USE_SVID]: Likewise.
15382         * posix/sys/wait.h [__USE_BSD]: Likewise.
15383         [__USE_SVID]: Likewise.
15384         * posix/unistd.h [__USE_BSD]: Likewise.
15385         [__USE_SVID]: Likewise.
15386         * pwd/pwd.h [__USE_SVID]: Likewise.
15387         * resolv/netdb.h [__USE_BSD]: Likewise.
15388         * setjmp/setjmp.h [__USE_BSD]: Likewise.
15389         * signal/signal.h [__USE_BSD]: Likewise.
15390         [__USE_SVID]: Likewise.
15391         * socket/sys/socket.h [__USE_BSD]: Likewise.
15392         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
15393         * stdlib/stdlib.h [__USE_BSD]: Likewise.
15394         [__USE_SVID]: Likewise.
15395         * string/bits/string2.h [__USE_BSD]: Likewise.
15396         [__USE_SVID]: Likewise.
15397         * string/bits/string3.h [__USE_BSD]: Likewise.
15398         * string/endian.h [__USE_BSD]: Likewise.
15399         * string/string.h [__USE_SVID]: Likewise.
15400         [__USE_BSD]: Likewise.
15401         * string/strings.h [__USE_BSD]: Likewise.
15402         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
15403         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
15404         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
15405         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
15406         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
15407         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
15408         Likewise.
15409         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
15410         Likewise.
15411         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
15412         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
15413         Likewise.
15414         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
15415         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
15416         Likewise.
15417         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
15418         Likewise.
15419         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
15420         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
15421         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
15422         Likewise.
15423         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
15424         Likewise.
15425         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
15426         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
15427         * termios/termios.h [__USE_BSD]: Likewise.
15428         * time/sys/time.h [__USE_BSD]: Likewise.
15429         * time/time.h [__USE_BSD]: Likewise.
15430         [__USE_SVID]: Likewise.
15432         * Makefile (subdir_targets): Remove subdir_lint.out.
15434         * stdio-common/Makefile (do-tst-unbputc): Remove target.
15435         (do-tst-printf): Likewise.
15436         (tests): Depend directly on $(objpfx)tst-unbputc.out and
15437         $(objpfx)tst-printf.out.
15439         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
15441         * Makerules (check-abi-%): Change target to
15442         $(objpfx)check-abi-%.out.
15443         (check-abi target): Update dependencies.
15444         (check-abi-pattern variable): Redirect output of diff to $@.
15445         (check-abi variable): Likewise.
15446         * elf/Makefile (check-abi): Update dependencies.
15448         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
15449         unused.
15450         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
15451         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
15452         subnormal range.
15453         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
15454         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
15455         value has largest subnormal exponent.
15456         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
15457         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
15458         * sysdeps/aarch64/soft-fp/sfp-machine.h
15459         (_FP_TININESS_AFTER_ROUNDING): New macro.
15460         * sysdeps/alpha/soft-fp/sfp-machine.h
15461         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15462         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15463         Likewise.
15464         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
15465         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15466         * sysdeps/mips/soft-fp/sfp-machine.h
15467         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15468         * sysdeps/powerpc/soft-fp/sfp-machine.h
15469         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15470         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15471         Likewise.
15472         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
15473         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15474         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
15475         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15476         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15477         Likewise.
15479 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
15481         [BZ #16545]
15482         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
15483         model 1.
15485 2014-02-12  Richard Henderson  <rth@redhat.com>
15487         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
15488         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
15489         * sysdeps/unix/sysv/linux/alpha: Move directory from
15490         ports/sysdeps/unix/sysv/linux/alpha.
15491         * README: Update listing for alpha-*-linux-gnu.
15493 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
15495         * include/features.h: Update comment documenting feature test
15496         macros.
15497         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
15498         _DEFAULT_SOURCE.
15499         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
15500         (_SVID_SOURCE): Likewise.
15501         (_DEFAULT_SOURCE): Update description of default features.
15502         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
15503         with _GNU_SOURCE.
15504         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
15505         (S_ISVTX): Likewise.
15506         * manual/math.texi (Mathematical Constants): Likewise.
15507         * manual/signal.texi (Interrupted Primitives): Likewise.
15508         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
15509         * math/test-matherr.c (_SVID_SOURCE): Do not define.
15510         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
15511         Don't refer to _SVID_SOURCE in warning text.
15513         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15515         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
15516         already defined.
15517         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
15518         * sysdeps/mips/dl-lookup.c: Remove.
15519         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
15521 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
15523         [BZ #16447]
15524         * math/auto-libm-test-in: Add testcase for expl.
15525         * math/auto-libm-test-out: Regenerate.
15526         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
15527         calculation of unsafe.
15528         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
15530 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
15532         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
15533         * sysdeps/unix/sysv/linux/aarch64: Move directory from
15534         ports/sysdeps/unix/sysv/linux/aarch64.
15535         * README: Update listing for aarch64*-*-linux-gnu.
15537 2014-02-11  Will Newton  <will.newton@linaro.org>
15539         * manual/probes.texi (Mathematical Function Probes): Use
15540         "triggered" instead of "hit".
15542         * manual/probes.texi (Internal Probes): Add documentation
15543         of setjmp, longjmp and longjmp_target probes.
15545         * include/stap-probe.h: Add comment about probe argument
15546         format.
15548         * malloc/mtrace.c (attribute_hidden): Remove unused macro
15549         definition.  (tr_where, tr_freehook, tr_mallochook,
15550         tr_reallochook, tr_memalignhook): Use ANSI protoype.
15552 2014-02-11  David S. Miller  <davem@davemloft.net>
15554         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
15555         processing int_tests.
15557 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
15559         * sysdeps/mips: Move directory from ports/sysdeps/mips.
15560         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
15561         * sysdeps/unix/sysv/linux/mips: Move directory from
15562         ports/sysdeps/unix/sysv/linux/mips.
15563         * README: Update listing for mips-*-linux-gnu and
15564         mips64-*-linux-gnu.
15566 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
15568         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
15569         * sysdeps/unix/sysv/linux/m68k: Move directory from
15570         ports/sysdeps/unix/sysv/linux/m68k.
15571         * README: Update listing for m68k-*-linux-gnu.
15573 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
15575         * sysdeps/tile: Move directory from ports/sysdeps/tile.
15576         * sysdeps/unix/sysv/linux/generic: Move directory from
15577         ports/sysdeps/unix/sysv/linux/generic.
15578         * sysdeps/unix/sysv/linux/tile: Move directory from
15579         ports/sysdeps/unix/sysv/linux/tile.
15580         * README: Update listing for tile*-*-linux-gnu.
15582 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
15584         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
15585         __builtin_expect.
15586         * benchtests/bench-memmem.c (simple_memmem): Likewise.
15587         * catgets/open_catalog.c (__open_catalog): Likewise.
15588         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
15589         * debug/confstr_chk.c: Likewise.
15590         * debug/fread_chk.c (__fread_chk): Likewise.
15591         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
15592         * debug/getgroups_chk.c: Likewise.
15593         * debug/mbsnrtowcs_chk.c: Likewise.
15594         * debug/mbsrtowcs_chk.c: Likewise.
15595         * debug/mbstowcs_chk.c: Likewise.
15596         * debug/memcpy_chk.c: Likewise.
15597         * debug/memmove_chk.c: Likewise.
15598         * debug/mempcpy_chk.c: Likewise.
15599         * debug/memset_chk.c: Likewise.
15600         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
15601         * debug/strcat_chk.c (__strcat_chk): Likewise.
15602         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
15603         * debug/strncat_chk.c (__strncat_chk): Likewise.
15604         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
15605         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
15606         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
15607         * debug/wcpncpy_chk.c: Likewise.
15608         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
15609         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
15610         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
15611         * debug/wcsncpy_chk.c: Likewise.
15612         * debug/wcsnrtombs_chk.c: Likewise.
15613         * debug/wcsrtombs_chk.c: Likewise.
15614         * debug/wcstombs_chk.c: Likewise.
15615         * debug/wmemcpy_chk.c: Likewise.
15616         * debug/wmemmove_chk.c: Likewise.
15617         * debug/wmempcpy_chk.c: Likewise.
15618         * debug/wmemset_chk.c: Likewise.
15619         * dirent/scandirat.c (SCANDIRAT): Likewise.
15620         * dlfcn/dladdr1.c (dladdr1): Likewise.
15621         * dlfcn/dladdr.c (dladdr): Likewise.
15622         * dlfcn/dlclose.c (dlclose_doit): Likewise.
15623         * dlfcn/dlerror.c (__dlerror): Likewise.
15624         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
15625         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
15626         * dlfcn/dlopen.c (dlopen_doit): Likewise.
15627         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
15628         * dlfcn/dlsym.c (dlsym_doit): Likewise.
15629         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
15630         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
15631         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
15632         Likewise.
15633         * elf/dl-conflict.c: Likewise.
15634         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
15635         * elf/dl-dst.h: Likewise.
15636         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
15637         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
15638         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
15639         * elf/dl-init.c (call_init, _dl_init): Likewise.
15640         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
15641         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
15642         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
15643         Likewise.
15644         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
15645         Likewise.
15646         * elf/dl-minimal.c (__libc_memalign): Likewise.
15647         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
15648         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
15649         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
15650         * elf/dl-sym.c (do_sym): Likewise.
15651         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
15652         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
15653         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
15654         * elf/dl-writev.h (_dl_writev): Likewise.
15655         * elf/ldconfig.c (search_dir): Likewise.
15656         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
15657         (dl_main): Likewise.
15658         * elf/setup-vdso.h (setup_vdso): Likewise.
15659         * grp/compat-initgroups.c (compat_call): Likewise.
15660         * grp/fgetgrent.c (fgetgrent): Likewise.
15661         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
15662         * grp/putgrent.c (putgrent): Likewise.
15663         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15664         Likewise.
15665         * hurd/hurdinit.c: Likewise.
15666         * iconvdata/8bit-gap.c (struct): Likewise.
15667         * iconvdata/ansi_x3.110.c : Likewise.
15668         * iconvdata/big5.c : Likewise.
15669         * iconvdata/big5hkscs.c : Likewise.
15670         * iconvdata/cp1255.c: Likewise.
15671         * iconvdata/cp1258.c : Likewise.
15672         * iconvdata/cp932.c : Likewise.
15673         * iconvdata/euc-cn.c: Likewise.
15674         * iconvdata/euc-jisx0213.c : Likewise.
15675         * iconvdata/euc-jp.c: Likewise.
15676         * iconvdata/euc-jp-ms.c : Likewise.
15677         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
15678         * iconvdata/gb18030.c : Likewise.
15679         * iconvdata/gbbig5.c (const): Likewise.
15680         * iconvdata/gbgbk.c: Likewise.
15681         * iconvdata/gbk.c : Likewise.
15682         * iconvdata/ibm1364.c : Likewise.
15683         * iconvdata/ibm930.c : Likewise.
15684         * iconvdata/ibm932.c: Likewise.
15685         * iconvdata/ibm933.c : Likewise.
15686         * iconvdata/ibm935.c : Likewise.
15687         * iconvdata/ibm937.c : Likewise.
15688         * iconvdata/ibm939.c : Likewise.
15689         * iconvdata/ibm943.c: Likewise.
15690         * iconvdata/iso_11548-1.c: Likewise.
15691         * iconvdata/iso-2022-cn.c : Likewise.
15692         * iconvdata/iso-2022-cn-ext.c : Likewise.
15693         * iconvdata/iso-2022-jp-3.c: Likewise.
15694         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
15695         * iconvdata/iso-2022-kr.c : Likewise.
15696         * iconvdata/iso646.c (gconv_end): Likewise.
15697         * iconvdata/iso_6937-2.c : Likewise.
15698         * iconvdata/iso_6937.c : Likewise.
15699         * iconvdata/iso8859-1.c: Likewise.
15700         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
15701         * iconvdata/shift_jisx0213.c : Likewise.
15702         * iconvdata/sjis.c : Likewise.
15703         * iconvdata/t.61.c : Likewise.
15704         * iconvdata/tcvn5712-1.c : Likewise.
15705         * iconvdata/tscii.c: Likewise.
15706         * iconvdata/uhc.c : Likewise.
15707         * iconvdata/unicode.c (gconv_end): Likewise.
15708         * iconvdata/utf-16.c (gconv_end): Likewise.
15709         * iconvdata/utf-32.c (gconv_end): Likewise.
15710         * iconvdata/utf-7.c (base64): Likewise.
15711         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
15712         * iconv/gconv_close.c (__gconv_close): Likewise.
15713         * iconv/gconv_open.c (__gconv_open): Likewise.
15714         * iconv/gconv_simple.c (internal_ucs4_loop_single)
15715         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
15716         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
15717         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
15718         (ucs4le_internal_loop_single): Likewise.
15719         * iconv/iconv.c (iconv): Likewise.
15720         * iconv/iconv_close.c: Likewise.
15721         * iconv/loop.c (SINGLE): Likewise.
15722         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
15723         * include/atomic.h: Likewise.
15724         * inet/inet6_option.c (option_alloc): Likewise.
15725         * intl/bindtextdom.c (set_binding_values): Likewise.
15726         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
15727         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
15728         * intl/localealias.c (read_alias_file): Likewise.
15729         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
15730         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
15731         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
15732         * libio/fmemopen.c (fmemopen): Likewise.
15733         * libio/iofgets.c (_IO_fgets): Likewise.
15734         * libio/iofgets_u.c (fgets_unlocked): Likewise.
15735         * libio/iofgetws.c (fgetws): Likewise.
15736         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
15737         * libio/iogetdelim.c (_IO_getdelim): Likewise.
15738         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
15739         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
15740         * locale/findlocale.c (_nl_find_locale): Likewise.
15741         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
15742         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
15743         Likewise.
15744         * locale/setlocale.c (setlocale): Likewise.
15745         * login/programs/pt_chown.c (main): Likewise.
15746         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
15747         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
15748         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
15749         (mmap, mmap64, mremap, munmap): Likewise.
15750         * math/e_exp2l.c: Likewise.
15751         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
15752         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
15753         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
15754         * math/s_catan.c (__catan): Likewise.
15755         * math/s_catanf.c (__catanf): Likewise.
15756         * math/s_catanh.c (__catanh): Likewise.
15757         * math/s_catanhf.c (__catanhf): Likewise.
15758         * math/s_catanhl.c (__catanhl): Likewise.
15759         * math/s_catanl.c (__catanl): Likewise.
15760         * math/s_ccosh.c (__ccosh): Likewise.
15761         * math/s_ccoshf.c (__ccoshf): Likewise.
15762         * math/s_ccoshl.c (__ccoshl): Likewise.
15763         * math/s_cexp.c (__cexp): Likewise.
15764         * math/s_cexpf.c (__cexpf): Likewise.
15765         * math/s_cexpl.c (__cexpl): Likewise.
15766         * math/s_clog10.c (__clog10): Likewise.
15767         * math/s_clog10f.c (__clog10f): Likewise.
15768         * math/s_clog10l.c (__clog10l): Likewise.
15769         * math/s_clog.c (__clog): Likewise.
15770         * math/s_clogf.c (__clogf): Likewise.
15771         * math/s_clogl.c (__clogl): Likewise.
15772         * math/s_csin.c (__csin): Likewise.
15773         * math/s_csinf.c (__csinf): Likewise.
15774         * math/s_csinh.c (__csinh): Likewise.
15775         * math/s_csinhf.c (__csinhf): Likewise.
15776         * math/s_csinhl.c (__csinhl): Likewise.
15777         * math/s_csinl.c (__csinl): Likewise.
15778         * math/s_csqrt.c (__csqrt): Likewise.
15779         * math/s_csqrtf.c (__csqrtf): Likewise.
15780         * math/s_csqrtl.c (__csqrtl): Likewise.
15781         * math/s_ctan.c (__ctan): Likewise.
15782         * math/s_ctanf.c (__ctanf): Likewise.
15783         * math/s_ctanh.c (__ctanh): Likewise.
15784         * math/s_ctanhf.c (__ctanhf): Likewise.
15785         * math/s_ctanhl.c (__ctanhl): Likewise.
15786         * math/s_ctanl.c (__ctanl): Likewise.
15787         * math/w_pow.c: Likewise.
15788         * math/w_powf.c: Likewise.
15789         * math/w_powl.c: Likewise.
15790         * math/w_scalb.c (sysv_scalb): Likewise.
15791         * math/w_scalbf.c (sysv_scalbf): Likewise.
15792         * math/w_scalbl.c (sysv_scalbl): Likewise.
15793         * misc/error.c (error_tail): Likewise.
15794         * misc/pselect.c (__pselect): Likewise.
15795         * nis/nis_callback.c (__nis_create_callback): Likewise.
15796         * nis/nis_call.c (__nisfind_server): Likewise.
15797         * nis/nis_creategroup.c (nis_creategroup): Likewise.
15798         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
15799         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
15800         * nis/nis_getservlist.c (nis_getservlist): Likewise.
15801         * nis/nis_lookup.c (nis_lookup): Likewise.
15802         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
15803         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
15804         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
15805         * nis/nis_xdr.c (xdr_endpoint): Likewise.
15806         * nis/nss_compat/compat-grp.c (getgrent_next_file)
15807         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
15808         * nis/nss_compat/compat-initgroups.c (add_group)
15809         (internal_getgrent_r): Likewise.
15810         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
15811         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
15812         * nis/nss_compat/compat-spwd.c (getspent_next_file)
15813         (internal_getspnam_r): Likewise.
15814         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
15815         (_nss_nis_getaliasbyname_r): Likewise.
15816         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
15817         (_nss_nis_getntohost_r): Likewise.
15818         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
15819         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
15820         (_nss_nis_getgrgid_r): Likewise.
15821         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
15822         (internal_nis_gethostent_r, internal_gethostbyname2_r)
15823         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
15824         (_nss_nis_gethostbyname4_r): Likewise.
15825         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
15826         (initgroups_netid): Likewise.
15827         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
15828         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
15829         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
15830         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
15831         (_nss_nis_getprotobynumber_r): Likewise.
15832         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
15833         (_nss_nis_getsecretkey): Likewise.
15834         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
15835         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
15836         (_nss_nis_getpwuid_r): Likewise.
15837         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
15838         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
15839         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
15840         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
15841         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
15842         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
15843         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
15844         Likewise.
15845         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
15846         (_nss_nisplus_getntohost_r): Likewise.
15847         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
15848         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
15849         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
15850         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
15851         Likewise.
15852         * nis/nss_nisplus/nisplus-initgroups.c
15853         (_nss_nisplus_initgroups_dyn): Likewise.
15854         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
15855         (_nss_nisplus_getnetbyaddr_r): Likewise.
15856         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
15857         (_nss_nisplus_getprotobynumber_r): Likewise.
15858         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
15859         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
15860         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
15861         Likewise.
15862         * nis/nss_nisplus/nisplus-service.c
15863         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
15864         (_nss_nisplus_getservbyport_r): Likewise.
15865         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
15866         (_nss_nisplus_getspnam_r): Likewise.
15867         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
15868         Likewise.
15869         * nscd/aicache.c (addhstaiX): Likewise.
15870         * nscd/cache.c (cache_search, prune_cache): Likewise.
15871         * nscd/connections.c (register_traced_file, send_ro_fd)
15872         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
15873         (main_loop_epoll): Likewise.
15874         * nscd/grpcache.c (addgrbyX): Likewise.
15875         * nscd/hstcache.c (addhstbyX): Likewise.
15876         * nscd/initgrcache.c (addinitgroupsX): Likewise.
15877         * nscd/mem.c (gc, mempool_alloc): Likewise.
15878         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
15879         (addinnetgrX): Likewise.
15880         * nscd/nscd-client.h (__nscd_acquire_maplock)
15881         (__nscd_drop_map_ref): Likewise.
15882         * nscd/nscd_getai.c (__nscd_getai): Likewise.
15883         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
15884         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
15885         Likewise.
15886         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
15887         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15888         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
15889         (__nscd_get_map_ref): Likewise.
15890         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
15891         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
15892         Likewise.
15893         * nscd/pwdcache.c (addpwbyX): Likewise.
15894         * nscd/selinux.c (preserve_capabilities): Likewise.
15895         * nscd/servicescache.c (addservbyX): Likewise.
15896         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
15897         * posix/fnmatch.c (fnmatch): Likewise.
15898         * posix/getopt.c (_getopt_internal_r): Likewise.
15899         * posix/glob.c (glob, glob_in_dir): Likewise.
15900         * posix/wordexp.c (exec_comm_child): Likewise.
15901         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
15902         (getanswer_r, gaih_getanswer_slice): Likewise.
15903         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
15904         * resolv/res_init.c: Likewise.
15905         * resolv/res_mkquery.c (res_nmkquery): Likewise.
15906         * resolv/res_query.c (__libc_res_nquery): Likewise.
15907         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
15908         Likewise.
15909         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
15910         * stdio-common/perror.c (perror): Likewise.
15911         * stdio-common/printf_fp.c (___printf_fp): Likewise.
15912         * stdio-common/tmpnam.c (tmpnam): Likewise.
15913         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
15914         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
15915         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
15916         Likewise.
15917         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
15918         * stdlib/putenv.c (putenv): Likewise.
15919         * stdlib/setenv.c (__add_to_environ): Likewise.
15920         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15921         * stdlib/strtol_l.c (INTERNAL): Likewise.
15922         * string/memmem.c (memmem): Likewise.
15923         * string/strerror.c (strerror): Likewise.
15924         * string/strnlen.c (__strnlen): Likewise.
15925         * string/test-memmem.c (simple_memmem): Likewise.
15926         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
15927         * sunrpc/pm_getport.c (__get_socket): Likewise.
15928         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
15929         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
15930         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
15931         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
15932         Likewise.
15933         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
15934         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
15935         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
15936         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
15937         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
15938         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
15939         Likewise.
15940         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
15941         Likewise.
15942         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
15943         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
15944         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15945         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
15946         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
15947         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
15948         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
15949         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
15950         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
15951         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
15952         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
15953         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
15954         Likewise.
15955         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
15956         Likewise.
15957         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
15958         Likewise.
15959         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
15960         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15961         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
15962         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
15963         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
15964         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
15965         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
15966         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
15967         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
15968         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
15969         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
15970         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15971         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
15972         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
15973         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15974         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
15975         Likewise.
15976         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
15977         Likewise.
15978         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
15979         Likewise.
15980         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
15981         Likewise.
15982         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15983         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15984         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
15985         Likewise.
15986         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
15987         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
15988         * sysdeps/posix/opendir.c (__opendirat): Likewise.
15989         * sysdeps/posix/sleep.c: Likewise.
15990         * sysdeps/posix/tempname.c: Likewise.
15991         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
15992         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15993         Likewise.
15994         * sysdeps/powerpc/powerpc32/dl-machine.h
15995         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
15996         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
15997         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15998         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
15999         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
16000         Likewise.
16001         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
16002         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
16003         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
16004         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
16005         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
16006         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
16007         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
16008         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
16009         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16010         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
16011         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
16012         (elf_machine_lazy_rel): Likewise.
16013         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
16014         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
16015         (elf_machine_lazy_rel): Likewise.
16016         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
16017         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
16018         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
16019         * sysdeps/unix/grantpt.c (grantpt): Likewise.
16020         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
16021         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
16022         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
16023         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16024         Likewise.
16025         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
16026         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
16027         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
16028         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
16029         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
16030         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
16031         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
16032         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
16033         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
16034         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
16035         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
16036         Likewise.
16037         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
16038         (__posix_fallocate64_l64): Likewise.
16039         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
16040         (posix_fallocate): Likewise.
16041         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
16042         Likewise.
16043         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16044         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
16045         (getifaddrs_internal): Likewise.
16046         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
16047         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
16048         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
16049         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
16050         * sysdeps/unix/sysv/linux/posix_fallocate64.c
16051         (__posix_fallocate64_l64): Likewise.
16052         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
16053         Likewise.
16054         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
16055         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
16056         (__get_clockfreq): Likewise.
16057         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
16058         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
16059         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
16060         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16061         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16062         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
16063         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
16064         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
16065         Likewise.
16066         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
16067         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
16068         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
16069         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
16070         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
16071         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
16072         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
16073         Likewise.
16074         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16075         (posix_fallocate): Likewise.
16076         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16077         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
16078         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
16079         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
16080         (elf_machine_rela, elf_machine_rela_relative)
16081         (elf_machine_lazy_rel): Likewise.
16082         * time/asctime.c (asctime_internal): Likewise.
16083         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
16084         * time/tzset.c (__tzset_parse_tz): Likewise.
16085         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
16086         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
16087         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
16088         * wcsmbs/wcsmbsload.h: Likewise.
16090         [BZ #15894]
16091         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
16093         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
16094         (arena_get2): Remove THREAD_STATS conditionals.
16095         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
16096         (__malloc_stats, int): Likewise.
16098 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
16100         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
16101         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
16103         * manual/setjmp.texi: Fix typos/grammar errors.
16105         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
16106         Only return early when n is <= 0.  Delete unused return statement.
16108         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
16109         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
16110         * debug/tst-longjmp_chk3.c: New file.
16112         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
16113         (test_main): Replace code with set_fortify_handler call.
16114         * debug/test-strcpy_chk.c: Likewise.
16115         * debug/tst-chk1.c: Likewise.
16116         * debug/tst-longjmp_chk.c: Likewise.
16117         * test-skeleton.c: Include fcntl.h & paths.h
16118         (set_fortify_handler): Define.
16120         * debug/tst-longjmp_chk.c: Add header comment and include
16121         ../test-skeleton.c.
16122         (do_test): Mark static.
16123         (TEST_FUNCTION): Define.
16125         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
16126         (IP_PMTUDISC_INTERFACE): Likewise.
16127         (IP_MULTICAST_IF): Likewise.
16128         (IP_MULTICAST_TTL): Likewise.
16129         (IP_MULTICAST_LOOP): Likewise.
16130         (IP_ADD_MEMBERSHIP): Likewise.
16131         (IP_DROP_MEMBERSHIP): Likewise.
16132         (IP_UNBLOCK_SOURCE): Likewise.
16133         (IP_BLOCK_SOURCE): Likewise.
16134         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
16135         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
16136         (IP_MSFILTER): Likewise.
16137         (MCAST_JOIN_GROUP): Likewise.
16138         (MCAST_BLOCK_SOURCE): Likewise.
16139         (MCAST_UNBLOCK_SOURCE): Likewise.
16140         (MCAST_LEAVE_GROUP): Likewise.
16141         (MCAST_JOIN_SOURCE_GROUP): Likewise.
16142         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
16143         (MCAST_MSFILTER): Likewise.
16144         (IP_MULTICAST_ALL): Likewise.
16145         (IP_UNICAST_IF): Likewise.
16147         * timezone/Makefile: Delete $(have-ksh) check.
16148         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
16149         * timezone/tzselect.ksh: Add +x mode bits.
16151         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
16152         (ANON_INODE_FS_MAGIC): Likewise.
16153         (BDEVFS_MAGIC): Likewise.
16154         (BINFMTFS_MAGIC): Likewise.
16155         (BTRFS_TEST_MAGIC): Likewise.
16156         (CRAMFS_MAGIC_WEND): Likewise.
16157         (DEBUGFS_MAGIC): Likewise.
16158         (ECRYPTFS_SUPER_MAGIC): Likewise.
16159         (EXT3_SUPER_MAGIC): Likewise.
16160         (EXT4_SUPER_MAGIC): Likewise.
16161         (FUTEXFS_SUPER_MAGIC): Likewise.
16162         (HOSTFS_SUPER_MAGIC): Likewise.
16163         (HUGETLBFS_MAGIC): Likewise.
16164         (MINIX3_SUPER_MAGIC): Likewise.
16165         (MTD_INODE_FS_MAGIC): Likewise.
16166         (NILFS_SUPER_MAGIC): Likewise.
16167         (OPENPROM_SUPER_MAGIC): Likewise.
16168         (PIPEFS_MAGIC): Likewise.
16169         (PSTOREFS_MAGIC): Likewise.
16170         (QNX6_SUPER_MAGIC): Likewise.
16171         (RAMFS_MAGIC): Likewise.
16172         (REISERFS_SUPER_MAGIC_STRING): Likewise.
16173         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
16174         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
16175         (SECURITYFS_MAGIC): Likewise.
16176         (SELINUX_MAGIC): Likewise.
16177         (SMACK_MAGIC): Likewise.
16178         (SOCKFS_MAGIC): Likewise.
16179         (SQUASHFS_MAGIC): Likewise.
16180         (STACK_END_MAGIC): Likewise.
16181         (TMPFS_MAGIC): Likewise.
16182         (USBDEVICE_SUPER_MAGIC): Likewise.
16183         (V9FS_MAGIC): Likewise.
16184         (XENFS_SUPER_MAGIC): Likewise.
16185         (CRAMFS_MAGIC): Fix typo in comment.
16186         (EXT2_SUPER_MAGIC): Update comment.
16187         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
16189 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
16191         * sysdeps/arm: Move directory from ports/sysdeps/arm.
16192         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
16193         * sysdeps/unix/sysv/linux/arm: Move directory from
16194         ports/sysdeps/unix/sysv/linux/arm.
16195         * README: Update listing for arm-*-linux-gnueabi.
16197         * README: Remove mention of am33.
16199 2014-02-07  Roland McGrath  <roland@hack.frob.com>
16201         * bits/sigset.h (__sigemptyset): Use a statement expression rather
16202         than the comma operator, to avoid "rhs of comma has no effect"
16203         compiler warnings.
16204         (__sigfillset, __sigandset, __sigorset): Likewise.
16205         * include/signal.h (__sigemptyset): Likewise.
16206         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
16208 2014-02-07  Allan McRae  <allan@archlinux.org>
16210         * version.h (RELEASE): Set to "development".
16211         (VERSION): Set to "2.19.90"
16212         * NEWS: Add 2.20 section.
16214 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
16216         [BZ #16529]
16217         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
16219 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
16221         * manual/contrib.texi: Update entry for Carlos O'Donell,
16222         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
16224 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
16226         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
16228         * sysdeps/unix/sysv/linux/kernel-features.h
16229         [__LINUX_KERNEL_VERSION >= 0x020621]
16230         (__ASSUME_PROC_PID_TASK_COMM): Define.
16232 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
16234         [BZ #16398]
16235         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
16236         conversion when destination buffer does not have enough space.
16237         * libio/tst-ftell-partial-wide.c: New test case.
16238         * libio/Makefile (tests): Add tst-ftell-partial-wide.
16240         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
16241         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
16242         Leonard and Allan McRae.
16244 2014-02-04  David S. Miller  <davem@davemloft.net>
16246         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
16247         32-bit.
16249 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
16252         New file
16253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
16254         New file
16255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
16256         New file.
16257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
16258         New file.
16259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
16260         New file.
16261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
16262         New file.
16263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
16264         New file.
16265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
16266         New file.
16267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
16268         New file.
16269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
16270         New file.
16271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
16272         New file.
16273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
16274         New file.
16275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
16276         New file.
16278 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16280         * nptl/shlib-versions: Change powerpc*le start to 2.17.
16281         * shlib-versions: Likewise.
16283 2014-02-04  Roland McGrath  <roland@hack.frob.com>
16284             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16286         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
16287         (abilist-pattern): New variable, set to %-le.abilist.
16289         * Makerules (abilist-pattern): New variable.
16290         (vpath): Use $(abilist-pattern) in place of %.abilist.
16291         (check-abi-% pattern rule): Likewise.
16292         (check-abi, update-abi): Likewise.
16294 2014-02-04  Eric Wong  <normalperson@yhbt.net>
16296         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16298 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
16300         * manual/startup.texi: Add next, previous, and top entries for
16301         the `Program Arguments' and `Environment Variables' nodes.
16303 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
16305         * manual/macros.texi: Add comments before MTASC-safety macros.
16307         * manual/users.texi: Document MTASC-safety properties.
16309         * manual/threads.texi (pthread_key_create, pthread_key_delete)
16310         (pthread_getspecific, pthread_setspecific): Format with
16311         @deftypefun, and add @safety note.
16312         * manual/signal.texi: Move comments that analyze the above
16313         functions to their home place.
16315 2014-02-03  Allan McRae  <allan@archlinux.org>
16317         * po/sl.po: Update Slovenian translation from translation project.
16319 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
16321         * manual/time.texi (timegm): Add missing blank after @c.
16322         Reported by Joseph Myers <joseph@codesourcery.com>.
16324 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
16326         * manual/check-safety.sh: New.
16327         * manual/Makefile ($(objpfx)stamp-summary): Run it.
16329         * manual/terminal.texi: Document MTASC-safety properties.
16331         * manual/filesys.texi: Document MTASC-safety properties.
16333         * manual/errno.texi: Document MTASC-safety properties.
16335         * manual/intro.texi: Document safety identifiers and
16336         conditionals.
16338         * manual/string.texi (wcstok): Fix prototype.
16339         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
16341         * manual/time.texi: Document MTASC-safety properties.
16343         * manual/string.texi: Document MTASC-safety properties.
16345         * manual/threads.texi: Document MTASC-safety properties.
16347         * manual/stdio.texi: Document MTASC-safety properties.
16349         * manual/syslog.texi: Document MTASC-safety properties.
16351         * manual/sysinfo.texi: Document MTASC-safety properties.
16353         * manual/startup.texi: Document MTASC-safety properties.
16355         * manual/socket.texi: Document MTASC-safety properties.
16357         * manual/signal.texi: Document MTASC-safety properties.
16359 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
16361         * manual/setjmp.texi: Document MTASC-safety properties.
16363         * manual/search.texi: Document MTASC-safety properties.
16365         * manual/resource.texi: Document MTASC-safety properties.
16367         * manual/process.texi: Document MTASC-safety properties.
16369         * manual/platform.texi: Document MTASC-safety properties.
16371         * manual/pipe.texi: Document MTASC-safety properties.
16373         * manual/pattern.texi: Document MTASC-safety properties.
16375         * manual/message.texi: Document MTASC-safety properties.
16377         [BZ #12751]
16378         * manual/memory.texi: Document MTASC-safety properties.
16380         * manual/math.texi: Document MTASC-safety properties.
16382         * manual/locale.texi: Document MTASC-safety properties.
16384         * manual/llio.texi: Document MTASC-safety properties.
16386         * manual/libdl.texi: New.
16388         * manual/lang.texi: Document MTASC-safety properties.
16390         * manual/job.texi: Document MTASC-safety properties.
16392         * manual/getopt.texi: Document MTASC-safety properties.
16394         * manual/ctype.texi: Document MTASC-safety properties.
16396 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
16398         [BZ #16046]
16399         * csu/libc-tls.c (static_map): Remove variable.
16400         (__libc_setup_tls): Use main executable's link map for TLS data.
16401         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
16402         casing for LM_ID_BASE and GL(dl_nns).
16403         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
16404         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
16405         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
16406         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
16407         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
16408         member.
16409         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
16410         l_phnum members.
16412 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
16414         * manual/debug.texi: Document MTASC-safety properties.
16416 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
16418         [BZ #16510]
16419         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
16420         of __x86_64__ when disabling x87 inline functions.
16422 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
16424         * manual/charset.texi: Document MTASC-safety properties.
16426         * manual/crypt.texi: Document MTASC-safety properties.
16428         * manual/conf.texi: Document MTASC-safety properties.
16430         * manual/arith.texi: Document MTASC-safety properties.
16432         * manual/argp.texi: Document MTASC-safety properties.
16434         * manual/macros.texi: Introduce macros to document multi
16435         thread, asynchronous signal and asynchronous cancellation
16436         safety properties.
16437         * manual/intro.texi: Introduce the properties themselves.
16439 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16441         * sysdeps/sh/sh4/Makefile: New file.
16443 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
16445         * math/gen-libm-test.pl ($srcdir): New variable.
16446         ($auto_input): Use it.
16448 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
16450         [BZ #16506]
16451         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
16452         access beyond array bounds when parsing netgroups file.
16454         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
16455         the old buffer before realloc.
16457 2014-01-27  Allan McRae  <allan@archlinux.org>
16459         * po/fr.po: Update French translation from translation project.
16461 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16463         * sysdeps/sh/libm-test-ulps: Regenerate.
16465 2014-01-24  David S. Miller  <davem@davemloft.net>
16467         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
16469 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16471         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
16472         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
16474 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16476         [BZ #16474]
16477         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
16478         string pointers after reallocation.
16480 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16482         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
16483         __SH4A__ instead of __SH_FPU_ANY__.
16485 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16487         * sysdeps/sh/fpu_control.h: New file.
16488         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
16489         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
16490         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
16491         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
16492         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
16493         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
16494         * sysdeps/sh/sys/ucontext.h: Remove.
16495         * sysdeps/sh/sys: Remove directory.
16497 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16499         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
16500         s390/sys/ucontext.h.
16501         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
16502         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
16504 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
16506         [BZ #15605]
16507         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
16509 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16511         [BZ#16431]
16512         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16513         Adjust the vDSO correctly for internal calls.
16514         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
16516 2014-01-20  Allan McRae  <allan@archlinux.org>
16518         * po/ca.po: Update Catalan translation from translation project.
16520 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
16522         * sysdeps/s390/sotruss-lib.c: New file.
16524 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16526         [BZ#16430]
16527         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
16528         (__GI___gettimeofday): Alias for a different internal symbol to avoid
16529         local calls issues by not having a PLT stub required for IFUNC calls.
16530         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
16532 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
16534         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
16535         * math/test-fpucw-static.c: Likewise.
16537 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16539         [BZ #16453]
16540         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
16542 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16544         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
16545         implementation for powerpc.
16547 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
16549         [BZ #14782]
16550         * sysdeps/posix/system.c (__libc_system): Do not enable
16551         asynchronous cancellation.
16553 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16555         [BZ #16427]
16556         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
16557         handling only for numbers special also in the IEEE case.
16559 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16561         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16563 2014-01-11  Allan McRae  <allan@archlinux.org>
16565         * po/bg.po: Update Bulgarian translation from translation project.
16567         * po/de.po: Update German translation from translation project.
16569 2014-01-10  Roland McGrath  <roland@hack.frob.com>
16571         * sysdeps/generic/gcc-compat.h: New file.
16573 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16575         * benchtests/asin-inputs: Correct slow inputs.
16576         * benchtests/acos-inputs: Likewise.
16578 2014-01-10  Allan McRae  <allan@archlinux.org>
16580         * po:sv.po: Update Swedish translation from translation project.
16582         * po/vi.po: Update Vietnamese translation from translation project.
16584         * po/eo.po: Update Esperanto translation from translation project.
16586         * po/cs.po: Update Czech translation from translation project.
16588         * po/nl.po: Update Dutch translation from translation project.
16590         * po/pl.po: Update Polish translation from translation project.
16592         * po/ru.po: Update Russian translation from translation project.
16594         * po/uk.po: Update Ukrainian translation from translation project.
16596 2014-01-08  Brooks Moses  <bmoses@google.com>
16598         * elf/dl-load.c: Fix comment typo.
16600 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
16602         * po/header.pot: Rename to...
16603         * po/pot.header: ... this.
16604         * po/Makefile: Use pot.header.
16606 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
16607             Maxim Kuvyrkov  <maxim@kugelworks.com>
16609         [BZ #16394]
16610         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
16611         SRC and DEST against LEN.
16613 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16615         [BZ #16414]
16616         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
16617         implementation.
16618         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
16620 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16622         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16624 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
16626         [BZ #16408]
16627         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
16628         for large positive arguments.
16630 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
16632         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16634         * math/auto-libm-test-in: Mark various tests with
16635         xfail-rounding:ldbl-128ibm.
16636         * math/auto-libm-test-out: Regenerated.
16638         [BZ #16407]
16639         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
16640         Increase overflow threshold.
16642 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
16644         [BZ #14286]
16645         * stdio-common/vfprintf.c: Check for integer overflow.
16647 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16649         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
16650         the first argument and return value of __tls_get_addr_internal.
16652 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16654         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
16655         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
16657 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16659         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
16660         * sysdeps/s390/rtld-global-offsets.sym: New file.
16661         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
16662         GLIBC_2.19 symbol.
16663         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
16664         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
16665         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
16666         ... this.
16667         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
16668         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
16669         ... this.
16670         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16671         Regenerate.
16672         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16673         Regenerate.
16674         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
16675         halfs of GPRs for high_gprs contexts.
16676         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
16677         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
16678         field.
16679         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
16680         uc_flags field.
16681         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
16682         64 bit versions:
16683         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
16684         for high GPRs (uc_high_gprs) and for future extensions
16685         (__reserved).
16686         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
16687         for future extensions (__reserved).
16688         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
16689         64 bit versions:
16690         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
16691         SC_HIGHGPRS offset definition.
16692         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
16693         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
16695         * Versions.def: Add GLIBC_2.19 for libpthread.
16696         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
16697         siglongjmp for libpthread with GLIBC_2.19 symver.
16698         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
16699         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
16700         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
16701         * sysdeps/s390/__longjmp.c: New file.
16702         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
16703         * sysdeps/s390/longjmp.c: New file.
16704         * sysdeps/s390/setjmp.S: New file.
16705         * sysdeps/s390/sigjmp.S: New file.
16706         * sysdeps/s390/v1-longjmp.c: New file.
16707         * sysdeps/s390/v1-setjmp.h: New file.
16708         * sysdeps/s390/v1-sigjmp.c: New file.
16709         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
16710         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
16711         GLIBC_2.19 version.
16712         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
16713         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
16714         versioned symbols for ____longjmp_chk.
16715         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
16716         Likewise.
16717         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16718         Regenerate.
16719         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16720         Regenerate.
16721         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16722         Regenerate.
16723         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16724         Regenerate.
16725         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
16726         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
16727         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
16728         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
16729         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
16730         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
16731         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
16732         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
16733         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
16734         * sysdeps/s390/rtld-__longjmp.c: New file.
16735         * sysdeps/s390/rtld-setjmp.S: New file.
16737 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
16739         [BZ #16400]
16740         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
16741         Return -__logl (x) for small positive arguments without evaluating
16742         a polynomial.
16744 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
16746         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
16747         Rename to ...
16748         (__ptrace_peeksiginfo_args): ... this.
16749         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16750         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16751         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16753 2014-01-06  Allan McRae  <allan@archlinux.org>
16755         * inet/netinet/in.h: Fix typo in comment.
16757 2014-01-05  Andreas Jaeger  <aj@suse.de>
16759         * sysdeps/i386/fpu/libm-test-ulps: Update.
16761 2014-01-05  Allan McRae  <allan@archlinux.org>
16763         * po/libc.pot: Regenerated.
16765         * malloc/memusagestat.c: Fix gettext call formatting.
16767 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
16769         * nscd/nscd.c: Improve usage() output.
16771 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
16773         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
16774         * sysdeps/unix/sysv/linux/configure: Regenerated.
16775         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
16776         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
16778 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
16780         [BZ #16390]
16781         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16782         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
16784 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16786         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
16787         extra tokens at end of #undef directive.
16788         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
16789         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
16790         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
16792 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
16794         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16796         * math/auto-libm-test-in: Mark various tests with
16797         xfail-rounding:ldbl-128ibm.
16798         * math/auto-libm-test-out: Regenerated.
16800 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
16802         [BZ #16386]
16803         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
16804         numbers with subnormal high part when calculating exponent.
16806         [BZ #16385]
16807         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
16808         fabs.
16810         [BZ #16384]
16811         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
16812         M_LN2l.
16813         (__ieee754_acoshl): Use __log1pl not __log1p.
16815 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
16817         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
16818         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
16819         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
16820         (grow_heap, heap_trim, _int_new_arena, get_free_list)
16821         (reused_arena, arena_get2): Convert to GNU style.
16822         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
16823         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
16824         (memalign_check, __malloc_set_state): Likewise.
16825         * malloc/mallocbug.c (main): Likewise.
16826         * malloc/malloc.c (__malloc_assert, malloc_init_state)
16827         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
16828         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
16829         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
16830         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
16831         (__posix_memalign, malloc_info): Likewise.
16832         * malloc/malloc.h: Likewise.
16833         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
16834         (mallochook, memalignhook, reallochook, mabort): Likewise.
16835         * malloc/mcheck.h: Likewise.
16836         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
16837         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
16838         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
16839         * malloc/morecore.c (__default_morecore): Likewise.
16840         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
16841         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
16842         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
16843         (print_and_abort): Likewise.
16844         * malloc/obstack.h: Likewise.
16845         * malloc/set-freeres.c (__libc_freeres): Likewise.
16846         * malloc/tst-mallocstate.c (main): Likewise.
16847         * malloc/tst-mtrace.c (main): Likewise.
16848         * malloc/tst-realloc.c (do_test): Likewise.
16850 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16852         [BZ #16366]
16853         * nscd/netgroupcache.c (do_notfound): New function.
16854         (addgetnetgrentX): Use it.
16856         [BZ # 16365]
16857         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
16858         NSS_STATUS_NOTFOUND.
16860 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
16862         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16863         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16865 2014-01-01  Allan McRae  <allan@archlinux.org>
16867         * scripts/update-copyrights: Update configure input file suffix.
16869         * NEWS: Update copyright year.
16870         * catgets/gencat.c: Likewise.
16871         * csu/version.c: Likewise.
16872         * debug/catchsegv.sh: Likewise.
16873         * debug/pcprofiledump.c: Likewise.
16874         * debug/xtrace.sh: Likewise.
16875         * elf/ldconfig.c: Likewise.
16876         * elf/ldd.bash.in: Likewise.
16877         * elf/pldd.c: Likewise.
16878         * elf/sotruss.ksh: Likewise.
16879         * elf/sprof.c: Likewise.
16880         * iconv/iconv_prog.c: Likewise.
16881         * iconv/iconvconfig.c: Likewise.
16882         * locale/programs/locale.c: Likewise.
16883         * locale/programs/localedef.c: Likewise.
16884         * login/programs/pt_chown.c: Likewise.
16885         * malloc/memusage.sh: Likewise.
16886         * malloc/memusagestat.c: Likewise.
16887         * malloc/mtrace.pl: Likewise.
16888         * manual/libc.texinfo: Likewise.
16889         * nscd/nscd.c: Likewise.
16890         * nss/getent.c: Likewise.
16891         * nss/makedb.c: Likewise.
16892         * posix/getconf.c: Likewise.
16893         * scripts/test-installation.pl: Likewise.
16895         * All files with FSF copyright notices: Update copyright dates
16896         using scripts/update-copyrights.
16897         * intl/plural.c: Regenerated.
16898         * locale/programs/charmap-kw.h: Likewise.
16899         * locale/programs/locfile-kw.h: Likewise.
16901 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
16903         * sysdeps/unix/sysv/linux/configure: Regenerated.
16904         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
16905         the linux/fanotify.h header.
16906         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
16907         HAVE_LINUX_FANOTIFY_H is defined.
16909 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
16911         * benchtests/cos-inputs: New inputs.
16912         * benchtests/sin-inputs: Likewise.
16914         * benchtests/atan-inputs: New inputs. Fix name of multiple
16915         precision fallback inputs.
16917         * benchtests/atanh-inputs: New inputs.
16918         * benchtests/tanh-inputs: Likewise.
16920         * benchtests/acosh-inputs: New inputs.
16921         * benchtests/asinh-inputs: Likewise.
16923         * benchtests/cosh-inputs: New inputs.
16924         * benchtests/sinh-inputs: Likewise.
16926         * benchtests/acos-inputs: Add more inputs.
16927         * benchtests/asin-inputs: Likewise.
16929 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
16931         [BZ #16375]
16932         * manual/arith.texi: Fix spelling.
16933         * manual/charset.texi: Likewise.
16934         * manual/errno.texi: Likewise.
16935         * manual/filesys.texi: Likewise.
16936         * manual/lang.texi: Likewise.
16937         * manual/llio.texi: Likewise.
16938         * manual/locale.texi: Likewise.
16939         * manual/message.texi: Likewise.
16940         * manual/resource.texi: Likewise.
16941         * manual/search.texi: Likewise.
16942         * manual/setjmp.texi: Likewise.
16943         * manual/stdio.texi: Likewise.
16944         * manual/string.texi: Likewise.
16945         * manual/sysinfo.texi: Likewise.
16946         * manual/time.texi: Likewise.
16948 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
16950         * po/sl.po: New file.
16952 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
16954         * .gitignore: Add core/.gdbinit/.gdb_history.
16956 2013-12-27  Allan McRae  <allan@archlinux.org>
16958         [BZ #16369]
16959         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
16960         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
16962 2013-12-24  Brooks Moses  <bmoses@google.com>
16964         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
16965         all compilers that claim C++98 compliance, not just GCC.
16966         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
16967         Likewise.
16969 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
16971         * NEWS: Restore accidentally deleted bug-fix entries.
16973 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
16974             Ondřej Bílka  <neleai@seznam.cz>
16976         [BZ #15073]
16977         * malloc/malloc.c (_int_free): Perform sanity check only if we
16978         have_lock.
16980 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
16982         [BZ #12986]
16983         * manual/stdio.texi (String Input Conversions): Clarify that character
16984         classes are not supported.
16986 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16988         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16990 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
16992         [BZ #16337]
16993         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
16994         Calculate results for small negative arguments directly rather
16995         than using reflection formula with special underflow handling.
16997         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
16998         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
16999         sysdeps/unix/bsd/bsd4.4/syscalls.list.
17000         (fchflags): Likewise.
17001         (revoke): Likewise.
17002         (setlogin): Likewise.
17003         (sigaltstack): Likewise.
17004         (wait4): Likewise.
17005         (sigblock): Remove.
17006         (sigsetmask): Likewise.
17007         (wait3): Likewise.
17008         (waitpid): Likewise.
17009         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
17010         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
17011         file.
17012         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
17013         * sysdeps/unix/bsd/Makefile: ... here.
17014         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
17015         * sysdeps/unix/bsd/Versions: ... here.
17016         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
17017         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
17018         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
17019         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
17020         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
17021         * sysdeps/unix/bsd/sigblock.c: ... here.
17022         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
17023         * sysdeps/unix/bsd/sigsetmask.c: ... here.
17024         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
17025         * sysdeps/unix/bsd/sigvec.c: ... here.
17026         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
17027         * sysdeps/unix/bsd/tcdrain.c: ... here.
17028         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
17029         * sysdeps/unix/bsd/tcgetattr.c: ... here.
17030         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
17031         * sysdeps/unix/bsd/tcsetattr.c: ... here.
17032         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
17033         * sysdeps/unix/bsd/wait.c: ... here.
17034         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
17035         * sysdeps/unix/bsd/wait3.c: ... here.
17036         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
17037         * sysdeps/unix/bsd/waitpid.c: ... here.
17039 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
17041         [BZ #16356]
17042         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
17043         round-to-nearest for [!USE_AS_EXPM1L].
17044         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
17045         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
17046         more tests of exp and exp10.  Expect some exp10 tests to miss
17047         exceptions or fail in directed rounding modes.
17048         * math/auto-libm-test-out: Regenerated.
17049         * math/libm-test.inc (exp10_tonearest_test_data): New array.
17050         (exp10_test_tonearest): New function.
17051         (exp10_towardzero_test_data): New array.
17052         (exp10_test_towardzero): New function.
17053         (exp10_downward_test_data): New array.
17054         (exp10_test_downward): New function.
17055         (exp10_upward_test_data): New array.
17056         (exp10_test_upward): New function.
17057         (main): Call the new functions.
17058         * sysdeps/i386/fpu/libm-test-ulps: Update.
17059         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17061 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
17063         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
17064         asinh, atan, atan2, atanh, cbrt, cos and cosh.
17065         * math/auto-libm-test-out: Regenerated.
17066         * math/libm-test.inc (acosh_test_data): Add more tests.
17067         (atanh_test_data): Likewise.
17068         (ceil_test_data): Likewise.
17069         (copysign_test_data): Likewise.
17070         * sysdeps/i386/fpu/libm-test-ulps: Update.
17071         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17073         * timezone/checktab.awk: Update from tzcode 2013i.
17074         * timezone/private.h: Likewise.
17075         * timezone/scheck.c: Likewise.
17076         * timezone/tzfile.h: Likewise.
17077         * timezone/tzselect.ksh: Likewise.
17078         * timezone/zdump.c: Likewise.
17079         * timezone/zic.c: Likewise.
17081         * math/auto-libm-test-in: Add tests of cpow.
17082         * math/auto-libm-test-out: Regenerated.
17083         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
17084         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17085         mpc_cc_c.
17086         (func_calc_desc): Add mpc_cc_c union field.
17087         (test_functions): Add cpow.
17088         (special_fill_2pi): New function.
17089         (special_real_inputs): Add 2pi.
17090         (calc_generic_results): Handle mpc_cc_c.
17091         * sysdeps/i386/fpu/libm-test-ulps: Update.
17092         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17094         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
17095         csqrt, ctan and ctanh.
17096         * math/auto-libm-test-out: Regenerated.
17097         * math/libm-test.inc (TEST_COND_x86_64): New macro.
17098         (TEST_COND_x86): Likewise.
17099         (ccos_test_data): Use AUTO_TESTS_c_c.
17100         (ccosh_test_data): Likewise.
17101         (cexp_test_data): Likewise.
17102         (clog_test_data): Likewise.
17103         (csqrt_test_data): Likewise.
17104         (ctan_test_data): Likewise.
17105         (ctan_tonearest_test_data): Likewise.
17106         (ctan_towardzero_test_data): Likewise.
17107         (ctan_downward_test_data): Likewise.
17108         (ctan_upward_test_data): Likewise.
17109         (ctanh_test_data): Likewise.
17110         (ctanh_tonearest_test_data): Likewise.
17111         (ctanh_towardzero_test_data): Likewise.
17112         (ctanh_downward_test_data): Likewise.
17113         (ctanh_upward_test_data): Likewise.
17114         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17115         mpc_c_c.
17116         (func_calc_desc): Add mpc_c_c union field.
17117         (FUNC_mpc_c_c): New macro.
17118         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
17119         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
17120         ctanh.
17121         (special_fill_min_subnorm_p120): New function.
17122         (special_real_inputs): Add min_subnorm_p120.
17123         (calc_generic_results): Handle mpc_c_c.
17124         * sysdeps/i386/fpu/libm-test-ulps: Update.
17125         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17127 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
17129         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
17130         (do_sin_slow): New functions.
17131         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
17132         (cslow2, csloww1, csloww2): Use the new functions.
17134         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
17135         Use M to change sign of result instead of X.  Assume X is
17136         positive.
17137         (csloww1): Likewise.
17138         (__sin): Adjust.
17139         (__cos): Adjust.
17141         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
17142         arguments A and DA.
17143         (__sin): Adjust.
17144         (__cos): Likewise.
17146         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
17147         (__cos): Likewise.
17148         (sloww1): Don't adjust sign of DX.
17149         (csloww1): Likewise.
17150         (sloww2): Use X directly and don't adjust sign of DX.
17151         (csloww2): Likewise.
17153 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
17155         * math/auto-libm-test-in: Add tests of cabs and carg.
17156         * math/auto-libm-test-out: Regenerated.
17157         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
17158         (carg_test_data): Likewise.
17159         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17160         mpc_c_f.
17161         (func_calc_desc): Add mpc_c_f union field.
17162         (test_functions): Add cabs and carg.
17163         (calc_generic_results): Handle mpc_c_f.
17165         * sysdeps/powerpc/powerpc32/libgcc-compat.S
17166         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
17167         as a macro and a compat symbol.
17168         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
17169         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
17170         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
17171         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
17172         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
17173         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
17174         not use .hidden.
17175         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
17176         Likewise.
17177         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
17178         Likewise.
17179         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
17180         Likewise.
17181         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
17182         Likewise.
17183         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
17184         Likewise.
17185         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
17186         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
17187         from GLIBC_2.3.2.
17189 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17191         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17193 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
17195         * manual/texinfo.tex: Update to version 2013-11-26.10 with
17196         trailing whitespace removed.
17197         * scripts/config.guess: Update to version 2013-11-29.
17198         * scripts/config.sub: Update to version 2013-10-01.
17200         * math/auto-libm-test-in: Add tests of sincos.
17201         * math/auto-libm-test-out: Regenerated.
17202         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
17203         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17204         mpfr_f_11.
17205         (func_calc_desc): Add mpfr_f_11 union field.
17206         (test_functions): Add sincos.
17207         (calc_generic_results): Handle mpfr_f_11.
17208         * sysdeps/i386/fpu/libm-test-ulps: Update.
17209         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17211 2013-12-19  Andreas Schwab  <schwab@suse.de>
17213         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
17214         CALL_MCOUNT.
17215         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
17216         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
17217         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
17219 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
17221         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
17222         * sysdeps/i386/fpu/libm-test-ulps: Update.
17223         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17225         [BZ #16293]
17226         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
17227         round-to-nearest mode when using frndint.
17228         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
17229         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
17230         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
17231         Likewise.
17232         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
17233         sinh test to fail.
17234         * math/auto-libm-test-out: Regenerated.
17235         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
17236         (TEST_COND_x86): Likewise.
17237         (expm1_tonearest_test_data): New array.
17238         (expm1_test_tonearest): New function.
17239         (expm1_towardzero_test_data): New array.
17240         (expm1_test_towardzero): New function.
17241         (expm1_downward_test_data): New array.
17242         (expm1_test_downward): New function.
17243         (expm1_upward_test_data): New array.
17244         (expm1_test_upward): New function.
17245         (main): Run the new test functions.
17246         * sysdeps/i386/fpu/libm-test-ulps: Update.
17247         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17249         * include/features.h: Update comment documenting feature test
17250         macros.  Mention _DEFAULT_SOURCE in comment.
17251         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
17252         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
17253         _BSD_SOURCE and _SVID_SOURCE.
17254         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
17255         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
17256         !_SVID_SOURCE]: Likewise.
17257         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17258         (__USE_POSIX_IMPLICITLY): Define.
17259         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17260         (_POSIX_SOURCE): Undefine and redefine.
17261         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17262         (_POSIX_C_SOURCE): Likewise.
17263         * manual/creature.texi (_DEFAULT_SOURCE): Document.
17264         (Feature Test Macros): Update documentation of default features.
17266 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17268         * benchtests/Makefile: Add bench-strtok.
17269         * benchtests/bench-strtok.c: New file: strtok benchtest.
17271 2013-12-19  Allan McRae  <allan@archlinux.org>
17273         * manual/install.texi: Suppress menu for plain text output.
17274         * INSTALL: Regenerated.
17276 2013-12-18  Brooks Moses  <bmoses@google.com>
17278         [BZ #15846]
17279         * misc/getauxval.c: Include errno.h.
17280         (__getauxval): Set errno to ENOENT if the requested type is not
17281         found.
17282         * misc/sys/auxv.h (getauxval): Document that it may set errno;
17283         don't declare with __attribute_const__.
17284         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
17285         * manual/startup.texi: Document that getauxval sets errno.
17287 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
17289         * math/auto-libm-test-in: Add tests of jn and yn.
17290         * math/auto-libm-test-out: Regenerated.
17291         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
17292         (yn_test_data): Likewise.
17293         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17294         mpfr_if_f.
17295         (func_calc_desc): Add mpfr_if_f union field.
17296         (FUNC_mpfr_if_f): New macro.
17297         (test_functions): Add jn and yn.
17298         (calc_generic_results): Assert type of second input for
17299         mpfr_ff_f.  Handle mpfr_if_f.
17300         (output_for_one_input_case): Disable all checking for arguments
17301         fitting floating-point types in case of an integer argument.
17302         * sysdeps/i386/fpu/libm-test-ulps: Update.
17303         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17306         Don't expect fegetround reference in libm.so.
17308 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17310         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
17311         $(config-cflags-nofma).
17313 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
17315         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
17316         * math/auto-libm-test-out: Regenerated.
17318         [BZ #16338]
17319         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
17320         to determine exponent and adjust argument to have exponent of -1.
17321         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
17322         log2.
17323         * math/auto-libm-test-out: Regenerated.
17324         * sysdeps/i386/fpu/libm-test-ulps: Update.
17325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17327 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
17329         * manual/probes.texi: Remove cases when per-thread arenas are
17330         disabled.
17332 2013-12-18  Andreas Schwab  <schwab@suse.de>
17334         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
17335         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
17336         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
17337         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
17338         * sysdeps/i386/i686/multiarch/Makefile: Update.
17339         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
17341 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
17343         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
17344         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
17346 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
17348         [BZ #15968]
17349         Support TZ transition times < 00:00:00.
17350         This is needed for version-3 tz-format files; it supports time
17351         stamps past 2037 for America/Godthab (the only entry in the tz
17352         database for which this change is relevant).
17353         * manual/time.texi (TZ Variable): Document transition times
17354         from -167:59:59 through -00:00:01.
17355         * time/tzset.c (tz_rule): Time of day is now signed.
17356         (__tzset_parse_tz): Parse negative time of day.
17358         Document TZ transition times >= 25:00:00.
17359         * manual/time.texi (TZ Variable): Document transition times from
17360         25:00:00 through 167:59:59.  These are already supported, and this
17361         support will help with version-3 tz-format files.
17363         * manual/time.texi (TZ Variable): Modernize North America example
17364         to reflect current (i.e., 2007-and-later) daylight saving rules.
17366         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
17368 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
17370         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
17371         * sysdeps/unix/bsd/bits/stat.h: Likewise.
17372         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
17373         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17374         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
17375         * sysdeps/unix/bsd/bsdstat.h: Likewise.
17376         * sysdeps/unix/bsd/clock.c: Likewise.
17377         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
17378         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
17379         * sysdeps/unix/bsd/init-posix.c: Likewise.
17380         * sysdeps/unix/bsd/poll.c: Likewise.
17381         * sysdeps/unix/bsd/ptsname.c: Likewise.
17382         * sysdeps/unix/bsd/seekdir.c: Likewise.
17383         * sysdeps/unix/bsd/setegid.c: Likewise.
17384         * sysdeps/unix/bsd/seteuid.c: Likewise.
17385         * sysdeps/unix/bsd/setgid.c: Likewise.
17386         * sysdeps/unix/bsd/setrgid.c: Likewise.
17387         * sysdeps/unix/bsd/setruid.c: Likewise.
17388         * sysdeps/unix/bsd/setsid.c: Likewise.
17389         * sysdeps/unix/bsd/setuid.c: Likewise.
17390         * sysdeps/unix/bsd/sigaction.c: Likewise.
17391         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
17392         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
17393         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
17394         * sysdeps/unix/bsd/telldir.c: Likewise.
17395         * sysdeps/unix/bsd/times.c: Likewise.
17396         * sysdeps/unix/bsd/usleep.c: Likewise.
17398         * misc/Makefile (install-lib): Remove libbsd-compat.a.
17399         ($(objpfx)libbsd-compat.a): Remove rule.
17401         * include/features.h (__FAVOR_BSD): Do not define.
17402         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
17403         features conflicting with POSIX.
17404         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
17405         (_BSD_SOURCE): Remove description of not being a subset of other
17406         feature test macros.
17407         * manual/job.texi (getpgrp): Do not document BSD version.
17408         (getpgid): Do not document by reference to BSD getpgrp.
17409         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
17410         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
17411         * signal/signal.h [__FAVOR_BSD]: Likewise.
17412         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
17413         instead of making contents conditional on [__FAVOR_BSD].
17414         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
17416 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17418         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17420 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
17422         [BZ #16314]
17423         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
17424         values below 2**-450, not 2**-500.
17425         * math/auto-libm-test-in: Don't allow spurious underflow from
17426         hypot.
17427         * math/auto-libm-test-out: Regenerated.
17429         [BZ #16316]
17430         [BZ #16330]
17431         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
17432         values of ha and hb and sort them after adjusting subnormal
17433         arguments.
17434         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
17435         Likewise.
17436         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
17437         values of ea and eb and sort them after adjusting subnormal
17438         arguments.
17439         * math/auto-libm-test-in: Do not expect some hypot tests of
17440         subnormals to fail.  Add more hypot tests.
17441         * math/auto-libm-test-out: Regenerated.
17443 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17445         [BZ #13304]
17446         * sysdeps/sh/s_fma.c: New file.
17447         * sysdeps/sh/s_fmaf.c: New file.
17448         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
17449         version.
17450         * sysdeps/sh/Implies: Add sh/soft-fp.
17452 2013-12-16  Roland McGrath  <roland@hack.frob.com>
17454         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
17455         level of indirection to members `objname', `errstring', `malloced'.
17456         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
17457         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
17458         it as the __longjmp argument (just pass 1 instead).
17459         (_dl_catch_error): Initialize C with argument pointers and address of
17460         volatile local ERRCODE rather than copying values out of C at return.
17462 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
17464         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
17465         * math/auto-libm-test-out: Regenerated.
17466         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
17467         (hypot_test_data): Likewise.
17468         (pow_test_data): Likewise.
17469         (pow_tonearest_test_data): Likewise.
17470         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17471         mpfr_ff_f.
17472         (func_calc_desc): Add mpfr_ff_f union field.
17473         (FUNC_mpfr_ff_f): New macro.
17474         (test_functions): Add atan2, hypot and pow.
17475         (special_fill_min): New function.
17476         (special_fill_minus_min): Likewise.
17477         (special_fill_min_subnorm): Likewise.
17478         (special_fill_minus_min_subnorm): Likewise.
17479         (special_real_inputs): Add min, -min, min_subnorm and
17480         -min_subnorm.
17481         (calc_generic_results): Handle mpfr_ff_f.
17482         * sysdeps/i386/fpu/libm-test-ulps: Update.
17483         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17485 2013-12-16  Will Newton  <will.newton@linaro.org>
17487         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
17488         (Aligned Memory Blocks): Add documentation for aligned_alloc
17489         and suggest it as an alternative to posix_memalign.
17490         (Hooks for Malloc): Document __memalign_hook is also called
17491         for aligned_alloc.  (Summary of Malloc): Add summary for
17492         aligned alloc.  Document __memalign_hook is also called
17493         for aligned_alloc.
17495 2013-12-16  Will Newton  <will.newton@linaro.org>
17497         * manual/memory.texi (Malloc Examples): Clarify default
17498         alignment documentation.  Suggest posix_memalign rather
17499         than memalign or valloc.
17500         (Aligned Memory Blocks): Remove suggestion to use memalign
17501         or valloc.  Remove obsolete comment about BSD.
17502         Document memalign errno values and mark the function obsolete.
17503         Document posix_memalign returned error codes.  Mark valloc
17504         as obsolete.  (Hooks for Malloc): __memalign_hook is also
17505         called for posix_memalign and valloc.
17506         (Summary of Malloc): Add posix_memalign to function summary.
17507         __memalign_hook is also called for posix_memalign and valloc.
17509 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17511         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
17512         TAYLOR_SIN.
17513         (__sin): Adjust.
17514         (__cos): Likewise.
17515         (sloww): Use mynumber union.  Expand ternary operator into
17516         if-else statements.
17517         (cslow): use mynumber union.
17519 2013-12-16  Allan McRae  <allan@archlinux.org>
17521         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
17522         * configure: Regenerated.
17524         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
17526         [BZ #14120]
17527         * configure.ac: Added --enable-maintainer-mode. Check for
17528         autoconf when enabled.
17529         * configure: Regenerated.
17531         * nscd/nscd.service: New file.
17532         * nscd/nscd.tmpfiles: New file.
17534 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
17536         [BZ #12100]
17537         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
17538         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
17539         * sysdeps/x86_64/multiarch/strstr.c: ... here.
17540         (strstr): Add __strstr_sse2_unaligned ifunc.
17541         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
17542         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
17543         (strcasestr): Remove __strcasestr_sse42 ifunc.
17544         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
17545         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
17546         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
17548 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17550         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
17551         * sysdeps/sh/bits/fenv.h: ... here.
17552         * sysdeps/sh/sh4/fpu/bits: Remove directory.
17554 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17556         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
17558         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
17559         hypotf multiarch implementations.
17560         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
17561         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
17562         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
17563         multiarch hypot for PPC64.
17564         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
17565         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
17566         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
17567         multiarch hypotf for PPC64.
17569         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
17570         modff multiarch implementations.
17571         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
17572         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
17573         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
17574         multiarch modf for PPC64.
17575         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
17576         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
17577         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
17578         multiarch modff for PPC64.
17580         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
17581         and logl multiarch implementations.
17582         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
17583         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
17584         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
17585         multiarch logb for PPC64.
17586         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
17587         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
17588         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
17589         multiarch logb for PPC64.
17590         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
17591         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
17592         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
17593         multiarch logb for PPC64.
17595         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
17596         isinff multiarch implementation.
17597         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
17598         file.
17599         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
17600         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
17601         multiarch isinf for PPC64.
17602         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
17603         file.
17604         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
17605         multiarch isinff for PPC64.
17607         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
17608         finitef multiarch implementation.
17609         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
17610         file.
17611         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
17612         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
17613         multiarch finite for PPC64.
17614         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
17615         file.
17616         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
17617         multiarch finitef for PPC64.
17619         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
17620         lrint multiarch implementation.
17621         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
17622         file.
17623         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
17624         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
17625         multiarch llrint for PPC64.
17626         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
17627         multiarch lrint for PPC64.
17629         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
17630         copysignf multiarch implementation.
17631         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
17632         file.
17633         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
17634         file.
17635         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
17636         multiarch copysign for PPC64.
17637         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
17638         multiarch copysignf for PPC64.
17640         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
17641         multiarch implementation.
17642         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
17643         file.
17644         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
17645         file.
17646         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
17647         file.
17648         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
17649         file.
17650         multiarch llround for PPC64.
17651         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
17652         multiarch trunc for PPC64.
17653         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
17654         multiarch truncf for PPC64.
17656         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
17657         multiarch implementation.
17658         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
17659         file.
17660         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
17661         file.
17662         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
17663         file.
17664         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
17665         file.
17666         multiarch llround for PPC64.
17667         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
17668         multiarch round for PPC64.
17669         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
17670         multiarch roundf for PPC64.
17672         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
17673         multiarch implementation.
17674         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
17675         file.
17676         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
17677         file.
17678         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
17679         file.
17680         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
17681         file.
17682         multiarch llround for PPC64.
17683         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
17684         multiarch floor for PPC64.
17685         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
17686         multiarch floorf for PPC64.
17688         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
17689         multiarch implementation.
17690         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
17691         file.
17692         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
17693         file.
17694         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
17695         file.
17696         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
17697         file.
17698         multiarch llround for PPC64.
17699         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
17700         multiarch ceil for PPC64.
17701         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
17702         multiarch ceilf for PPC64.
17704         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
17705         multiarch implementation.
17706         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
17707         file.
17708         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
17709         file.
17710         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
17711         file.
17712         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
17713         multiarch llround for PPC64.
17714         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
17715         multiarch lround for PPC64.
17717         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
17718         multiarch implementation.
17719         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
17720         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
17721         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
17722         file.
17723         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
17724         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
17725         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
17726         multiarch isnan for PPC64.
17727         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
17728         multiarch isnanf for PPC64.
17730         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
17731         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
17732         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
17733         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
17734         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
17735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
17737         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
17738         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17739         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17740         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17742         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
17743         multiarch implementations.
17744         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17745         (__libc_ifunc_impl_list): Likewise.
17746         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
17747         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
17748         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
17749         multiarch stpcpy for PPC64.
17751         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
17752         multiarch implementations.
17753         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17754         (__libc_ifunc_impl_list): Likewise.
17755         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
17756         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
17757         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
17758         multiarch strcpy for PPC64.
17760         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
17761         redefine function name.
17762         (_wordcopy_fwd_dest_aligned): Likewise.
17763         (_wordcopy_bwd_aligned): Likewise.
17764         (_wordcopy_bwd_dest_aligned): Likewise.
17765         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
17766         multiarch implementations.
17767         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17768         (__libc_ifunc_impl_list): Likewise.
17769         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
17770         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
17771         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
17772         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
17773         multiarch wcscpy for PPC64.
17775         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
17776         multiarch implementations.
17777         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17778         (__libc_ifunc_impl_list): Likewise.
17779         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
17780         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
17781         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
17782         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
17783         multiarch wcscpy for PPC64.
17785         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
17786         multiarch implementations.
17787         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17788         (__libc_ifunc_impl_list): Likewise.
17789         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
17790         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
17791         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
17792         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
17793         multiarch wcsrchr for PPC64.
17795         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
17796         multiarch implementations.
17797         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17798         (__libc_ifunc_impl_list): Likewise.
17799         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
17800         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
17801         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
17802         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
17803         multiarch wcschr for PPC64.
17805         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
17806         multiarch implementations.
17807         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17808         (__libc_ifunc_impl_list): Likewise.
17809         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
17810         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
17811         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
17812         multiarch strchrnul for PPC64.
17814         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
17815         implementations.
17816         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17817         (__libc_ifunc_impl_list): Likewise.
17818         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
17819         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
17820         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
17821         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
17822         strchr for PPC64.
17824         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
17825         implementations.
17826         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17827         (__libc_ifunc_impl_list): Likewise.
17828         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
17829         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
17830         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
17831         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
17832         strncmp for PPC64.
17834         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
17835         multiarch implementations.
17836         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17837         (__libc_ifunc_impl_list): Likewise.
17838         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
17839         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
17840         strncasecmp for PPC64.
17841         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
17842         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
17843         multiarch strncasecmp_l for PPC64.
17845         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
17846         multiarch implementations.
17847         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17848         (__libc_ifunc_impl_list): Likewise.
17849         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
17850         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
17851         multiarch strcasecmp for PPC64.
17852         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
17853         file.
17854         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
17855         multiarch strcasecmp_l for PPC64.
17857         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
17858         implementations.
17859         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17860         (__libc_ifunc_impl_list): Likewise.
17861         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
17862         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
17863         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
17864         strnlen for PPC64.
17866         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
17867         implementations.
17868         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17869         (__libc_ifunc_impl_list): Likewise.
17870         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
17871         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
17872         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
17873         strlen for PPC64.
17875         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
17876         implementations.
17877         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17878         (__libc_ifunc_impl_list): Likewise.
17879         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
17880         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
17881         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
17882         rawmemrchr for PPC64.
17884         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
17885         implementation.
17886         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17887         (__libc_ifunc_impl_list): Likewise.
17888         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
17889         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
17890         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
17891         memrchr for PPC64.
17893         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
17894         implementation.
17895         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17896         (__libc_ifunc_impl_list): Likewise.
17897         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
17898         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
17899         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
17900         memchr for PPC64.
17902         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
17903         implementation.
17904         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17905         (__libc_ifunc_impl_list): Likewise.
17906         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
17907         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
17908         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
17909         mempcpy for PPC64.
17911         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
17912         avoid cretion of __bzero symbol.
17913         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
17914         Likewise.
17915         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
17916         Likewise.
17917         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
17918         Likewise.
17919         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
17920         multiarch implementations.
17921         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17922         (__libc_ifunc_impl_list): Likewise.
17923         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
17924         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
17925         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
17926         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
17927         bzero for PPC32.
17928         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
17929         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
17930         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
17931         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
17932         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
17933         memset for PPC64.
17934         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
17936         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
17937         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
17938         implementations.
17939         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17940         (__libc_ifunc_impl_list): Likewise.
17941         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
17942         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
17943         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
17944         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
17945         memcmp for PPC64.
17947         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
17948         multiarch for POWER/PPC64.
17949         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
17950         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
17951         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
17952         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
17953         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
17954         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
17955         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
17956         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
17957         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
17958         memcpy for PPC64.
17960         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
17961         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
17962         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
17963         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
17964         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
17965         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
17966         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
17967         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
17968         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
17969         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
17970         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
17971         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
17972         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
17973         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
17974         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
17975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
17976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
17977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
17978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
17979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
17980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
17981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
17983 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17985         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
17987 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
17989         * benchtests/Makefile (bench): Add exp2 and log2.
17990         (LDLIBS-bench-exp2): Add -lm.
17991         (LDLIBS-bench-log2): Likewise.
17992         * benchtests/exp2-inputs: New inputs file.
17993         * benchtests/log2-inputs: New inputs file.
17994         * benchtests/log-inputs: Add new inputs.
17995         * benchtests/tan-inputs: Likewise.
17997 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17999         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
18000         definition...
18001         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
18002         (csloww2): ... from here.
18004         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
18005         instead of structures.
18006         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
18007         (POLYNOMIAL): Likewise.
18008         (TAYLOR_SLOW): Likewise.
18009         (__sin): Likewise.
18010         (__cos): Likewise.
18011         (slow1): Likewise.
18012         (slow2): Likewise.
18013         (sloww): Likewise.
18014         (sloww1); Likewise.
18015         (sloww2): Likewise.
18016         (bsloww1): Likewise.
18017         (bsloww2): Likewise.
18018         (cslow2): Likewise.
18019         (csloww): Likewise.
18020         (csloww1): Likewise.
18021         (csloww2): Likewise.
18023 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
18025         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
18026         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
18027         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
18028         * malloc/hooks.c (realloc_check): Likewise.
18030         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
18031         * malloc/arena.c: Remove PER_THREAD conditional.
18032         [!PER_THREAD]: Remove code.
18033         (ptmalloc_unlock_all2): Likewise.
18034         (ptmalloc_init): Likewise.
18035         (_int_new_arena): Likewise.
18036         (arena_get2): Likewise.
18037         * malloc/hooks.c (__malloc_get_state): Likewise.
18038         (__malloc_set_state): Likewise.
18039         * malloc/malloc.c: Likewise.
18040         (struct malloc_state): Likewise.
18041         (struct malloc_par): Likewise.
18042         (__libc_realloc): Likewise.
18043         (__libc_mallopt): Likewise.
18045 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18047         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
18049 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
18051         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
18052         macro to a function.  Check for zero perturb_byte.
18053         (_int_malloc, _int_free): Remove zero perturb_byte checks.
18055         * malloc/malloc.c: (force_reg): Remove.
18056         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
18057         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
18058         force_reg by atomic_forced_read.
18059         * malloc/arena.c (ptmalloc_init): Likewise.
18060         * malloc/hooks.c (top_check): Likewise.
18062 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18064         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18066 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
18068         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18070 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
18072         * math/auto-libm-test-in: Add tests of lgamma.
18073         * math/auto-libm-test-out: Regenerated.
18074         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
18075         (M_LOG_2_SQRT_PIl): Likewise.
18076         (lgamma_test_data): Use AUTO_TESTS_f_f1.
18077         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18078         mpfr_f_f1.
18079         (func_calc_desc): Add mpfr_f_f1 union field.
18080         (ARGS1): New macro.
18081         (ARGS2): Likewise.
18082         (ARGS3): Likewise.
18083         (ARGS4): Likewise.
18084         (RET1): Likewise.
18085         (RET2): Likewise.
18086         (CALC): Likewise.
18087         (FUNC): Likewise.
18088         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
18089         (test_functions): Add lgamma.
18090         (calc_generic_results): Handle mpfr_f_f1.
18091         * sysdeps/i386/fpu/libm-test-ulps: Update.
18092         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18094 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18096         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
18097         __mpn_add_n for PowerPC64/POWER7.
18098         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
18099         __mpn_sub_n for PowerPC64/POWER7.
18101         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
18102         __mpn_addmul_1 for PowerPC64.
18103         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
18104         __mpn_submul_1 for PowerPC64.
18105         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
18106         for PowerPC64.
18107         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
18108         for PowerPC64.
18110 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
18112         [BZ #15089]
18113         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
18115 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18117         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
18119         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
18120         add multiarch folders.
18121         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
18122         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
18123         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
18124         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
18125         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
18126         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
18127         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
18128         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
18129         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
18130         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
18131         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
18132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
18133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
18134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
18135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
18136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
18137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
18139         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
18140         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
18141         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
18142         New file.
18143         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
18144         New file.
18145         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
18146         multiarch __ieee754_hypot for PowerPC32.
18147         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
18148         New file.
18149         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
18150         New file.
18151         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
18152         multiarch __ieee754_hypotf for PowerPC32.
18154         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
18155         long_double_symbol only if __logbl is defined.
18156         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
18157         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
18158         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
18159         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
18160         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
18161         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
18162         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
18163         path for implementation.
18164         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
18165         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
18166         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
18167         logb, and logbl multiarch implementations for PowerPC32.
18168         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
18169         file.
18170         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
18171         file.
18172         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
18173         multiarch logb for PowerPC32.
18174         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
18175         file.
18176         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
18177         file.
18178         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
18179         multiarch logbf for PowerPC32.
18180         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
18181         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
18182         file.
18183         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
18184         multiarch logbl implementation for PowerPC32.
18186         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
18187         and modff multiarch implementations.
18188         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
18189         New file.
18190         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
18191         New file.
18192         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
18193         multiarch modf for PowerPC32.
18194         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
18195         New file.
18196         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
18197         New file.
18198         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
18199         multiarch modff for PowerPC32.
18201         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
18202         and lrintf multiarch implementations.
18203         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
18204         New file.
18205         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
18206         New file.
18207         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
18208         multiarch lrint for PowerPC32.
18209         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
18210         file: multiarch lrintf for PowerPC32.
18212         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
18213         and lroundf multiarch implementations.
18214         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
18215         New file.
18216         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
18217         New file.
18218         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
18219         New file.
18220         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
18221         multiarch lround for PowerPC32.
18222         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
18223         file: multiarch lroundf for PowerPC32.
18225         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
18226         copysign and copysignf multiarch implementations.
18227         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
18228         New file.
18229         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
18230         New file.
18231         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
18232         file: multiarch copysign for PowerPC32.
18233         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
18234         file: multiarch copysignf for PowerPC32.
18236         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
18237         and truncf multiarch implementations.
18238         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
18239         New file.
18240         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
18241         file.
18242         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
18243         multiarch trunc for PowerPC32.
18244         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
18245         New file.
18246         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
18247         New file.
18248         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
18249         multiarch truncf for PowerPC32.
18251         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
18252         and roundf multiarch implementations.
18253         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
18254         New file.
18255         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
18256         file.
18257         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
18258         multiarch round for PowerPC32.
18259         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
18260         New file.
18261         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
18262         New file.
18263         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
18264         multiarch roundf for PowerPC32.
18266         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
18267         and floorf multiarch implementations.
18268         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
18269         New file.
18270         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
18271         file.
18272         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
18273         multiarch floor for PowerPC32.
18274         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
18275         New file.
18276         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
18277         New file.
18278         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
18279         multiarch floorf for PowerPC32.
18281         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
18282         and ceilf multiarch implementations.
18283         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
18284         New file.
18285         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
18286         file.
18287         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
18288         multiarch ceil for PowerPC32.
18289         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
18290         New file.
18291         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
18292         file.
18293         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
18294         multiarch ceilf for PowerPC32.
18296         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
18297         is defined.
18298         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
18299         FINITEF is defined.
18300         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
18301         and finitef multiarch implementations.
18302         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
18303         New file.
18304         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
18305         file.
18306         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
18307         multiarch finite for PowerPC32.
18308         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
18309         New file.
18310         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
18311         file: multiarch finitef for PowerPC32.
18313         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
18314         and isinff multiarch implementations.
18315         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
18316         file.
18317         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
18318         file.
18319         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
18320         multiarch isinf for PowerPC32.
18321         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
18322         New file.
18323         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
18324         multiarch isinff for PowerPC32.
18326         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
18327         alias when __isnan is defined.
18328         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
18329         and isnanf multiarch implementations.
18330         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
18331         file.
18332         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
18333         file.
18334         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
18335         file.
18336         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
18337         file.
18338         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
18339         multiarch isnan for PowerPC32.
18340         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
18341         New file.
18342         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
18343         New file.
18344         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
18345         multiarch isnanf for PowerPC32.
18347         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
18348         and sqrtf multiarch implementations.
18349         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
18350         file.
18351         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
18352         file.
18353         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
18354         multiarch sqrt for PowerPC32.
18355         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
18356         file.
18357         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
18358         file.
18359         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
18360         multiarch sqrtf for PowerPC32.
18362         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
18363         and llroundf multiarch implementations.
18364         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
18365         New file.
18366         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
18367         New file.
18368         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
18369         New file.
18370         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
18371         file: multiarch llround for PowerPC32.
18372         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
18373         file: multiarch llroundf for PowerPC32.
18375         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
18376         multiarch PowerPC32 fpu implementations.
18377         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
18378         New file.
18379         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
18380         New file.
18381         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
18382         multiarch llrint for PowerPC32.
18383         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
18384         New file.
18385         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
18386         New file.
18387         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
18388         file.
18390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
18392         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
18393         file.
18394         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
18395         file.
18396         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
18397         file.
18398         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
18399         multiarch wordcopy for PPC32.
18400         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
18401         wordcopy objects.
18402         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18403         (__libc_ifunc_impl_list): Likewise.
18404         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
18405         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
18406         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
18407         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
18408         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
18409         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
18411         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
18412         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
18413         file.
18414         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
18415         file.
18416         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
18417         file.
18418         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
18419         multiarch wcscpy for PPC32.
18420         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
18421         multiarch objects.
18422         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18423         (__libc_ifunc_impl_list): Likewise.
18424         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
18425         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
18426         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
18427         sysdeps/powerpc/power6/wcscpy.c.
18429         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
18430         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
18431         file.
18432         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
18433         file.
18434         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
18435         file.
18436         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
18437         multiarch wcsrchr for PPC32.
18438         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
18439         multiarch objects.
18440         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18441         (__libc_ifunc_impl_list): Likewise.
18442         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
18443         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
18444         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
18445         sysdeps/powerpc/power6/wcsrchr.c.
18447         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
18448         file.
18449         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
18450         file.
18451         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
18452         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
18453         multiarch wcschr for PPc32.
18454         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
18455         multiarch objects.
18456         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18457         (__libc_ifunc_impl_list): Likewise.
18458         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
18459         * sysdeps/powerpc/power6/wcschr.c: ... to here.
18460         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
18461         sysdeps/powerpc/power6/wcschr.c.
18463         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
18464         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
18465         file.
18466         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
18467         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
18468         file: multiarch strchr for PPC32.
18469         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
18470         multiarch objects.
18471         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18472         (__libc_ifunc_impl_list): Likewise.
18474         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
18475         name.
18476         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
18477         file.
18478         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
18479         file.
18480         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
18481         multiarch strchrnul for PPC32.
18482         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
18483         multiarch objects.
18484         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18485         (__libc_ifunc_impl_list): Likewise.
18487         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
18488         file.
18489         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
18490         multiarch strncasecmp for PPC32.
18491         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
18492         file.
18493         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
18494         multiarch strncasecmp_l for PPC32.
18495         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
18496         strncasecmp multiarch objects.
18497         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18498         (__libc_ifunc_impl_list): Likewise.
18500         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
18501         file.
18502         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
18503         multiarch strncasecmp for PPC32.
18504         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
18505         New file.
18506         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
18507         multiarch strcasecmp_l for PPC32.
18508         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
18509         multiarch objects.
18510         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18511         (__libc_ifunc_impl_list): Likewise.
18513         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
18514         file.
18515         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
18516         file.
18517         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
18518         multiarch strncmp for PPC32.
18519         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
18520         multiarch objects.
18521         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18522         (__libc_ifunc_impl_list): Likewise.
18524         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
18525         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
18526         file.
18527         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
18528         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
18529         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
18530         multiarch objects.
18531         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18532         (__libc_ifunc_impl_list): Likewise.
18534         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
18535         file.
18536         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
18537         file.
18538         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
18539         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
18540         multiarch objects.
18541         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18542         (__libc_ifunc_impl_list): Likewise.
18544         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
18545         file.
18546         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
18547         file.
18548         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
18549         multiarch rawmemchr for PPC32.
18550         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
18551         multiarch objects.
18552         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18553         (__libc_ifunc_impl_list): Likewise.
18555         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
18556         file.
18557         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
18558         file.
18559         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
18560         file: memrchr multiarch for PPC32.
18561         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
18562         multiarch objects.
18563         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18564         (__libc_ifunc_impl_list): Likewise.
18566         * string/memchr.c (__memchr): Using macro to redefine symbol name.
18567         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
18568         file.
18569         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
18570         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
18571         multiarch memchr for PPC32.
18572         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
18573         multiarch objects.
18574         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18575         (__libc_ifunc_impl_list): Likewise.
18577         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
18578         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
18579         file.
18580         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
18581         file.
18582         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
18583         file: multiarch mempcpy for PPC32.
18584         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
18585         multiarch objects.
18586         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18587         (__libc_ifunc_impl_list): Likewise.
18589         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
18590         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
18591         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
18592         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
18593         multiarch bzero for PPC32.
18594         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
18595         file.
18596         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
18597         file.
18598         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
18599         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
18600         file: multiarch memset for PPC32.
18601         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
18602         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
18603         memset multiarch objects.
18604         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18605         (__libc_ifunc_impl_list): Likewise.
18607         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
18608         file.
18609         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
18610         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
18611         memcmp for PPC32.
18612         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
18613         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
18614         multiarch objects.
18615         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18616         (__libc_ifunc_impl_list): Likewise.
18618         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
18619         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
18620         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
18621         file.
18622         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
18623         file.
18624         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
18625         file.
18626         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
18627         multiarch memcpy for PPC32.
18628         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
18629         multiarch objects.
18630         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18631         (__libc_ifunc_impl_list): Likewise.
18633         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
18634         support multiarch for POWER/PPC32.
18635         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
18636         Likewise.
18637         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
18638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
18639         Implies file to make multiarch folder appers before the fpu and
18640         default folder for power4 configuration.
18642 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
18644         * scripts/bench.pl: Append volatile keyword to type.
18646 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18648         * sysdeps/sh/sotruss-lib.c: New file.
18649         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
18651 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18653         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18655 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
18657         [BZ #6810]
18658         * math/w_tgamma.c: Include <errno.h>.
18659         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
18660         * math/w_tgammaf.c: Include <errno.h>.
18661         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
18662         * math/w_tgammal.c: Include <errno.h>.
18663         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
18664         * math/auto-libm-test-in: Do not allow missing errno on tgamma
18665         underflow.  Add more tgamma tests.
18666         * math/auto-libm-test-out: Regenerated.
18667         * sysdeps/i386/fpu/libm-test-ulps: Update.
18668         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18670         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
18671         sin, sinh, tan, tanh, tgamma, y0 and y1.
18672         * math/auto-libm-test-out: Regenerated.
18673         * math/libm-test.inc (TEST_COND_x86_64): New macro.
18674         (TEST_COND_x86): Likewise.
18675         (M_E2l): Remove macro.
18676         (M_E3l): Likewise.
18677         (M_2_SQRT_PIl): Likewise.
18678         (M_SQRT_PIl): Likewise.
18679         (M_1_DIV_El): Likewise.
18680         (log_test_data): Use AUTO_TESTS_f_f.
18681         (log10_test_data): Likewise.
18682         (log1p_test_data): Likewise.
18683         (log2_test_data): Likewise.
18684         (sin_test_data): Likewise.
18685         (sin_tonearest_test_data): Likewise.
18686         (sin_towardzero_test_data): Likewise.
18687         (sin_downward_test_data): Likewise.
18688         (sin_upward_test_data): Likewise.
18689         (sinh_test_data): Likewise.
18690         (sinh_tonearest_test_data): Likewise.
18691         (sinh_towardzero_test_data): Likewise.
18692         (sinh_downward_test_data): Likewise.
18693         (sinh_upward_test_data): Likewise.
18694         (tan_test_data): Likewise.
18695         (tan_tonearest_test_data): Likewise.
18696         (tan_towardzero_test_data): Likewise.
18697         (tan_downward_test_data): Likewise.
18698         (tan_upward_test_data): Likewise.
18699         (tanh_test_data): Likewise.
18700         (tgamma_test_data): Likewise.
18701         (y0_test_data): Likewise.
18702         (y1_test_data): Likewise.
18703         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
18704         (special_real_inputs): Add pi/4.
18705         * sysdeps/i386/fpu/libm-test-ulps: Update.
18706         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18708 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18710         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
18711         "longjmp_target" static probes.
18712         (__longjmp): Rename to __longjmp_symbol.
18713         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
18714         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
18715         on which longjmp to generate.
18716         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18717         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
18718         probe.
18719         (__sigsetjmp): Rename to __sigsetjmp_symbol.
18720         (__sigjmp_save): Rename to __sigjmp_save_symbol.
18721         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
18722         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
18723         and __sigjmp_save_symbol based on which sigsetjmp to generated.
18724         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
18725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
18726         __longjmp_symbol based on which __longjmp to generate.
18727         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
18728         probe.
18729         (setjmp): Rename to setjmp_symbol.
18730         (__sigsetjmp): Rename to __sigsetjmp_symbol.
18731         (_setjmp): Rename to _setjmp_symbol.
18732         (__sigsetjmp): Rename to __sigsetjmp_symbol.
18733         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
18734         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
18735         which setjmp to generate.
18736         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
18737         "longjmp_target" static probes.
18739 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18741         * benchtests/README: Add note about output arguments.
18742         * benchtests/bench-sincos.c: Remove file.
18743         * benchtests/sincos-inputs: New file.
18744         * scripts/bench.pl: Identify output arguments and define
18745         static variables for them.
18747         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
18749         [BZ #15941]
18750         * Makefile (INSTALL): Add install-plain.texi as the primary
18751         dependency.
18752         * manual/install-plain.texi: New file.
18753         * manual/install.texi: Include node directive only for
18754         non-plaintext output.
18756 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
18758         * stdlib/longlong.h: Update from GCC.
18760         [BZ #6807]
18761         [BZ #15901]
18762         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
18763         * math/w_j0f.c (y0f): Likewise.
18764         * math/w_j0l.c (__y0l): Likewise.
18765         * math/w_j1.c (y1): Likewise.
18766         * math/w_j1f.c (y1f): Likewise.
18767         * math/w_j1l.c (__y1l): Likewise
18768         * math/w_jn.c (yn): Likewise.
18769         * math/w_jnf.c (ynf): Likewise.
18770         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
18771         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
18772         value for Bessel function domain errors outside _SVID_ mode.
18773         Adjust sign of return value for yn (negative integer, 0).
18774         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
18775         by zero in return for negative x and set sign appropriately for
18776         negative n.
18777         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
18778         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
18779         * math/libm-test.inc (y0_test_data): Add more tests and adjust
18780         expectations in error cases.
18781         (y1_test_data): Likewise.
18782         (yn_test_data): Likewise.
18783         * sysdeps/i386/fpu/libm-test-ulps: Update.
18784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18786 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18788         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
18789         "64" to "64-v1".  Add "64-v2".
18790         (abi-64-options): Rename to ...
18791         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
18792         (abi-64-condition): Rename to ...
18793         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
18794         (abi-64-ld-soname): Rename to ...
18795         (abi-64-v1-ld-soname): ... this.
18796         (abi-64-v2-options): Define.
18797         (abi-64-v2-condition): Likewise.
18798         (abi-64-v2-ld-soname): Likewise.
18799         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
18800         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
18801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
18802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
18803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
18805 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18806             Alan Modra  <amodra@gmail.com>
18808         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
18809         New versions for use with the ELFv2 ABI.
18810         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
18811         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
18812         declaration.
18813         (struct La_ppc64v2_retval): Likewise.
18814         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
18815         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
18816         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
18817         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
18818         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
18819         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18820         Do not save or restore CR.
18821         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
18822         (_dl_profile_resolve): Do no save or restore CR.  Support extended
18823         return values for ELFv2 ABI.  Fix location of FPR return registers.
18824         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
18825         updated values for _CALL_ELF == 2.
18826         (La_regs, La_retval, int_retval): Likewise.
18828 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18830         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
18831         (FRAME_MIN_SIZE_PARM): Likewise.
18832         (FRAME_BACKCHAIN): Likewise.
18833         (FRAME_CR_SAVE): Likewise.
18834         (FRAME_LR_SAVE): Likewise.
18835         (FRAME_TOC_SAVE): Likewise.
18836         (FRAME_PARM_SAVE): Likewise.
18837         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
18838         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
18839         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
18840         (call_mcount_parm_offset): New macro.
18841         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
18842         (PROF): Use symbolic stack frame offsets.
18843         (TAIL_CALL_SYSCALL_ERROR): Likewise.
18844         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
18845         Redefine in terms of FRAME_MIN_SIZE.
18846         (_dl_runtime_resolve): Use symbolic stack frame offsets.
18847         (_dl_profile_resolve): Likewise.  Update comment.
18848         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
18849         symbols stack frame offsets.
18850         (__sigsetjmp): Likewise.
18851         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
18852         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
18853         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
18854         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
18856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
18857         (FRAME_BACKCHAIN): Remove.
18858         (FRAME_CR_SAVE): Likewise.
18859         (FRAME_LR_SAVE): Likewise.
18860         (FRAME_COMPILER_DW): Likewise.
18861         (FRAME_LINKER_DW): Likewise.
18862         (FRAME_TOC_SAVE): Likewise.
18863         (FRAME_PARM_SAVE): Likewise.
18864         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
18865         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
18866         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
18867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
18868         (CHECK_SP): Use symbolic stack frame offsets.
18869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
18870         zone" instead of caller's parameter save area for temp storage.
18871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18872         Likewise.  Also, use symbolic stack frame offsets.
18873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
18874         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
18875         our own stack frame instead of the caller's.
18876         (__socket): Use symbolic stack frame offsets.
18878 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18879             Alan Modra  <amodra@gmail.com>
18881         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
18882         Define.
18883         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
18884         (PPC64_LOCAL_ENTRY_OFFSET): Define.
18885         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
18886         New function.
18887         (elf_machine_fixup_plt): Call it.
18888         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
18889         reloc arguments.
18890         (elf_machine_rela): Update call to elf_machine_plt_conflict.
18891         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
18892         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
18893         r2 before calling target.
18895 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18896             Alan Modra  <amodra@gmail.com>
18898         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
18899         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
18900         versions of macros to support ELFv2 ABI.
18901         (LOCALENTRY): New macro.
18902         (ENTRY, EALIGN): Use it.
18903         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
18904         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
18905         fall through into ENTRY entry point.
18906         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
18907         Only define if _CALL_ELF != 2.
18909         (elf_machine_matches_host): Verify ABI version matches.
18910         (RTLD_START): Use LOCALENTRY.
18911         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
18912         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
18913         (PLT_ENTRY_WORDS): New macro.
18914         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
18915         (elf_machine_runtime_setup): Support ELFv2 ABI.
18916         (elf_machine_fixup_plt): Likewise.
18917         (elf_machine_plt_conflict): Likewise.
18918         (resolve_ifunc): Likewise.
18919         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
18920         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
18921         Likewise.
18922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
18923         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
18924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18925         (makecontext): Support ELFv2 ABI.
18926         * elf/elf.h (EF_PPC64_ABI): Define.
18928 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18930         * sysdeps/powerpc/powerpc64/sysdep.h
18931         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
18932         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
18933         (ENTRY) [ASSEMBLER]: ... but instead here ...
18934         (EALIGN) [ASSEMBLER]: ... and here.
18935         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
18936         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
18937         (ENTRY_2) [!ASSEMBLER]: Use it.
18938         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
18939         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
18940         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
18941         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
18942         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
18943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
18944         Use PPC64_LOAD_FUNCPTR.
18946         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
18948 2013-12-04  Alan Modra  <amodra@gmail.com>
18950         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
18951         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
18952         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
18953         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
18955         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
18956         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
18957         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
18958         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
18959         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
18960         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
18962 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18965         (__makecontext): Fix incorrect CFI when backtracing out of
18966         context created via makecontext.
18967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
18968         (__setcontext): Fix incorrect CFI during switch to new context.
18969         (__novec_setcontext): Likewise.
18971 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
18973         [BZ #4772]
18974         * time/strptime_l.c (__strptime_internal): Allow modifiers
18975         in strptime.
18976         * time/tst-strptime.c (day_tests): Add testcase.
18978 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18980         * scripts/bench.pl: Skip over blank lines.
18982 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
18984         [BZ #926]
18985         * manual/time.texi (Calendar Time): Clarify what timezone functions
18986         use.
18988 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18990         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18992 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
18994         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
18995         implementation.
18996         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
18997         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
18998         * debug/memset_chk.c (__memset_chk): Likewise.
18999         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
19000         * debug/strncpy_chk.c: Likewise.
19002 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
19004         [BZ #15268]
19005         [BZ #15425]
19006         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
19007         (__ieee754_exp): For possibly underflowing results, check size of
19008         result and force underflow exception if required.
19009         * math/auto-libm-test-in: Add more tests of exp.
19010         * math/auto-libm-test-out: Regenerated.
19011         * sysdeps/i386/fpu/libm-test-ulps: Update.
19012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19014         [BZ #16283]
19015         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
19016         * math/w_exp2f.c (__exp2f): Likewise.
19017         * math/w_exp2l.c (__exp2l): Likewise.
19018         * math/auto-libm-test-in: Do not allow missing errno on exp2
19019         underflow.
19020         * math/auto-libm-test-out: Regenerated.
19022 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
19024         [BZ #16274]
19025         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
19026         handle filename validation.
19027         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
19028         (do_open): Delete.
19030 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
19032         [BZ #6786]
19033         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
19034         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
19035         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
19036         <float.h>.
19037         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
19038         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
19039         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19040         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
19041         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19042         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
19043         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19044         * math/auto-libm-test-in: Don't allow missing errno from erfc.
19045         Add more erfc tests.
19046         * math/auto-libm-test-out: Regenerated.
19047         * sysdeps/i386/fpu/libm-test-ulps: Update.
19048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19050         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
19051         exp2, expm1, j0 and j1.
19052         * math/auto-libm-test-out: Regenerated.
19053         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
19054         (erfc_test_data): Likewise.
19055         (exp_test_data): Likewise.
19056         (exp_tonearest_test_data): Likewise.
19057         (exp_towardzero_test_data): Likewise.
19058         (exp_downward_test_data): Likewise.
19059         (exp_upward_test_data): Likewise.
19060         (exp10_test_data): Likewise.
19061         (exp2_test_data): Likewise.
19062         (expm1_test_data): Likewise.
19063         (j0_test_data): Likewise.
19064         (j1_test_data): Likewise.
19065         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
19066         (input_flag_type): Add flag_xfail_rounding.
19067         (input_flags): Add xfail-rounding.
19068         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
19069         (output_for_one_input_case): Handle flag_xfail_rounding.
19070         * sysdeps/i386/fpu/libm-test-ulps: Update.
19071         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19073 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
19075         [BZ #16289]
19076         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
19077         division by 0.
19079 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
19081         [BZ #16195]
19082         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
19083         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
19084         (STAP_PROBE0): New macro.
19085         (STAP_PROBE1): Likewise.
19086         (STAP_PROBE2): Likewise.
19087         (STAP_PROBE3): Likewise.
19088         (STAP_PROBE4): Likewise.
19090 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
19092         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
19094 2013-12-02  Steve Ellcey  <sellcey@mips.com>
19096         * benchtests/Makefile (bench): Add sqrt.
19097         (LDLIBS-bench-sqrt): New.
19098         * benchtests/sqrt-input: New.
19100 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
19102         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
19103         (GAIH_EAI): Likewise.
19104         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
19105         (gaih_inet): Likewise.
19106         (getaddrinfo): Don't use GAIH_EAI.
19108         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
19109         (struct gaih): Remove definition.
19111 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
19113         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
19114         Use HERRNOP directly.
19116 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19118         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19120 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
19122         * math/gen-auto-libm-tests.c (test_functions): Add more
19123         single-argument functions.
19124         (special_fill_pi_2): New function.
19125         (special_fill_minus_pi_2): Likewise.
19126         (special_fill_pi_6): Likewise.
19127         (special_fill_minus_pi_6): Likewise.
19128         (special_fill_pi_3): Likewise.
19129         (special_fill_2pi_3): Likewise.
19130         (special_fill_e): Likewise.
19131         (special_fill_1_e): Likewise.
19132         (special_fill_e_minus_1): Likewise.
19133         (special_real_inputs): Add more special inputs.
19134         (output_for_one_input_case): Do not require ERANGE on underflow to
19135         zero if round-to-nearest result does not underflow to zero, unless
19136         exact results required.
19137         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
19138         atan, atanh, cbrt, cos and cosh.
19139         * math/auto-libm-test-out: Regenerated.
19140         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
19141         (acos_tonearest_test_data): Likewise.
19142         (acos_towardzero_test_data): Likewise.
19143         (acos_downward_test_data): Likewise.
19144         (acos_upward_test_data): Likewise.
19145         (acosh_test_data): Likewise.
19146         (asin_test_data): Likewise.
19147         (asin_tonearest_test_data): Likewise.
19148         (asin_towardzero_test_data): Likewise.
19149         (asin_upward_test_data): Likewise.
19150         (asinh_test_data): Likewise.
19151         (atan_test_data): Likewise.
19152         (atanh_test_data): Likewise.
19153         (cbrt_test_data): Likewise.
19154         (cos_test_data): Likewise.
19155         (cos_tonearest_test_data): Likewise.
19156         (cos_towardzero_test_data): Likewise.
19157         (cos_downward_test_data): Likewise.
19158         (cos_upward_test_data): Likewise.
19159         (cosh_test_data): Likewise.
19160         (cosh_tonearest_test_data): Likewise.
19161         (cosh_towardzero_test_data): Likewise.
19162         (cosh_downward_test_data): Likewise.
19163         (cosh_upward_test_data): Likewise.
19164         * sysdeps/i386/fpu/libm-test-ulps: Update.
19165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19167 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
19169         [BZ #6787]
19170         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
19171         * math/w_exp10f.c (__exp10f): Likewise.
19172         * math/w_exp10l.c (__exp10l): Likewise.
19173         * math/libm-test.inc (exp10_test_data): Add more tests and expect
19174         errno settings in existing tests.
19176         [BZ #14032]
19177         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
19178         precision control set to double precision.
19179         * sysdeps/i386/fpu/w_sqrt.c: New file.
19180         * math/auto-libm-test-in: Add more tests.
19181         * math/auto-libm-test-out: Update.
19183         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
19184         (sqrt_test_tonearest): New function.
19185         (sqrt_towardzero_test_data): New variable.
19186         (sqrt_test_towardzero): New function.
19187         (sqrt_downward_test_data): New variable.
19188         (sqrt_test_downward): New function.
19189         (sqrt_upward_test_data): New variable.
19190         (sqrt_test_upward): New function.
19191         (main): Call the new functions.
19193         * math/gen-auto-libm-tests.c: New file.
19194         * math/auto-libm-test-in: Likewise.
19195         * math/auto-libm-test-out: New generated file.
19196         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
19197         variables.
19198         (%beautify): Add generated representations of zero.
19199         (top level): Set $auto_input and call parse_auto_input.
19200         (beautify): Remove trailing "f" from hex float constants.
19201         (parse_args): Handle XFAIL_TEST.
19202         (convert_condition): New function.
19203         (or_value): Likewise.
19204         (or_cond_value): Likewise.
19205         (generate_testfile): Handle AUTO_TESTS_* lines.
19206         (parse_auto_input): New function.
19207         * math/libm-test.inc (XFAIL_TEST): New macro.
19208         (ERRNO_UNCHANGED): Update value.
19209         (ERRNO_EDOM): Likewise.
19210         (ERRNO_ERANGE): Likewise.
19211         (IGNORE_RESULT): Likewise.
19212         (TEST_COND_flt_32): New macro.
19213         (TEST_COND_dbl_64): Likewise.
19214         (TEST_COND_ldbl_96_intel): Likewise.
19215         (TEST_COND_ldbl_96_m68k): Likewise.
19216         (TEST_COND_ldbl_128): Likewise.
19217         (TEST_COND_ldbl_128ibm): Likewise.
19218         (TEST_COND_long32): Likewise.
19219         (TEST_COND_long64): Likewise.
19220         (TEST_COND_before_rounding): Likewise.
19221         (TEST_COND_after_rounding): Likewise.
19222         (enable_test): Handle XFAIL_TEST flag.
19223         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
19224         with finite results.
19225         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
19226         auto-libm-test-out.
19228 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19229             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19231         [BZ #16214]
19232         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
19233         __tls_get_addr_internal instead of __tls_get_offset in order to
19234         avoid GOT pointer dependency.  Make rtld export
19235         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
19236         __tls_get_addr since we are a __tls_get_offset platform.
19237         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
19238         GOT pointer being set up before.
19239         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
19241 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
19243         * manual/math.texi (Errors in Math Functions): Document accuracy
19244         goals.
19246         [BZ #15004]
19247         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
19248         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
19249         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19250         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19251         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19252         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19253         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19254         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
19255         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
19256         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19257         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19258         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19259         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19260         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19261         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19262         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
19264         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
19265         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
19266         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
19267         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
19268         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
19269         Likewise.
19270         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
19271         Likewise.
19272         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
19273         Likewise.
19274         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
19275         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
19276         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
19277         atomic-feupdateenv and flt-rounds.
19278         * sysdeps/powerpc/nofpu/Versions (libc): Add
19279         __atomic_feholdexcept, __atomic_feclearexcept,
19280         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
19281         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
19282         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
19283         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
19284         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
19285         here.
19286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
19287         Update.
19289         * manual/arith.texi (FP Exceptions): Document that exceptions may
19290         not be raised when matherr is used.
19291         (Math Error Reporting): Document overflow in directed rounding
19292         modes.  Document that errno may not be set when finite values are
19293         returned on overflow.  Document intent to set errno on underflow
19294         only for underflow to zero.
19296         [BZ #16271]
19297         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
19298         round-to-nearest then adjust result for other rounding modes.
19299         * include/fenv.h (fegetround): Use libm_hidden_proto.
19300         * math/fegetround.c (fegetround): Use libm_hidden_def.
19301         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
19302         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
19303         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
19304         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
19305         Likewise.
19306         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
19307         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19308         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
19309         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
19311 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19313         [BZ #16077]
19314         * nss/Versions (libnss_files): Add
19315         _nss_files_gethostbyname3_r.
19316         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
19317         New function.
19318         (HOST_DB_LOOKUP): Remove macro.
19319         (_nss_files_gethostbyname_r): Implement function without the
19320         HOST_DB_LOOKUP macro.
19321         (_nss_files_gethostbyname2_r): Likewise.
19323 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
19325         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
19327 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
19329         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
19330         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
19331         warning.
19333 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19335         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
19336         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
19337         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
19338         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
19339         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
19340         __fe_nomask_env_priv and attribute_hidden.
19341         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
19342         (libc_feupdateenv_test_ppc): Likewise.
19343         (libc_feresetround_ppc): Likewise.
19344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19345         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
19346         compat_symbol macro.
19347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19348         (__fe_nomask_env): Likewise.
19349         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
19351 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
19353         * string/Makefile: Remove ifunc tests.
19354         * string/test-string.h: Define TEST_IFUNC.
19355         * string/test-bcopy-ifunc.c: Remove.
19356         * string/test-bzero-ifunc.c: Likewise.
19357         * string/test-memccpy-ifunc.c: Likewise.
19358         * string/test-memchr-ifunc.c: Likewise.
19359         * string/test-memcmp-ifunc.c: Likewise.
19360         * string/test-memcpy-ifunc.c: Likewise.
19361         * string/test-memmem-ifunc.c: Likewise.
19362         * string/test-memmove-ifunc.c: Likewise.
19363         * string/test-mempcpy-ifunc.c: Likewise.
19364         * string/test-memrchr-ifunc.c: Likewise.
19365         * string/test-memset-ifunc.c: Likewise.
19366         * string/test-rawmemchr-ifunc.c: Likewise.
19367         * string/test-stpcpy-ifunc.c: Likewise.
19368         * string/test-stpncpy-ifunc.c: Likewise.
19369         * string/test-strcasecmp-ifunc.c: Likewise.
19370         * string/test-strcasestr-ifunc.c: Likewise.
19371         * string/test-strcat-ifunc.c: Likewise.
19372         * string/test-strchr-ifunc.c: Likewise.
19373         * string/test-strchrnul-ifunc.c: Likewise.
19374         * string/test-strcmp-ifunc.c: Likewise.
19375         * string/test-strcpy-ifunc.c: Likewise.
19376         * string/test-strcspn-ifunc.c: Likewise.
19377         * string/test-strlen-ifunc.c: Likewise.
19378         * string/test-strncasecmp-ifunc.c: Likewise.
19379         * string/test-strncat-ifunc.c: Likewise.
19380         * string/test-strncmp-ifunc.c: Likewise.
19381         * string/test-strncpy-ifunc.c: Likewise.
19382         * string/test-strnlen-ifunc.c: Likewise.
19383         * string/test-strpbrk-ifunc.c: Likewise.
19384         * string/test-strrchr-ifunc.c: Likewise.
19385         * string/test-strspn-ifunc.c: Likewise.
19386         * string/test-strstr-ifunc.c: Likewise.
19388 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
19390         * benchtests/Makefile: Remove ifunc tests.
19391         * benchtests/bench-string.h: Define TEST_IFUNC.
19392         * benchtests/bench-bcopy-ifunc.c: Remove.
19393         * benchtests/bench-bzero-ifunc.c: Likewise.
19394         * benchtests/bench-memccpy-ifunc.c: Likewise.
19395         * benchtests/bench-memchr-ifunc.c: Likewise.
19396         * benchtests/bench-memcmp-ifunc.c: Likewise.
19397         * benchtests/bench-memcpy-ifunc.c: Likewise.
19398         * benchtests/bench-memmem-ifunc.c: Likewise.
19399         * benchtests/bench-memmove-ifunc.c: Likewise.
19400         * benchtests/bench-mempcpy-ifunc.c: Likewise.
19401         * benchtests/bench-memrchr-ifunc.c: Likewise.
19402         * benchtests/bench-memset-ifunc.c: Likewise.
19403         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
19404         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
19405         * benchtests/bench-stpcpy-ifunc.c: Likewise.
19406         * benchtests/bench-stpncpy-ifunc.c: Likewise.
19407         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
19408         * benchtests/bench-strcasestr-ifunc.c: Likewise.
19409         * benchtests/bench-strcat-ifunc.c: Likewise.
19410         * benchtests/bench-strchr-ifunc.c: Likewise.
19411         * benchtests/bench-strchrnul-ifunc.c: Likewise.
19412         * benchtests/bench-strcmp-ifunc.c: Likewise.
19413         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
19414         * benchtests/bench-strcpy-ifunc.c: Likewise.
19415         * benchtests/bench-strcspn-ifunc.c: Likewise.
19416         * benchtests/bench-strlen-ifunc.c: Likewise.
19417         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
19418         * benchtests/bench-strncat-ifunc.c: Likewise.
19419         * benchtests/bench-strncmp-ifunc.c: Likewise.
19420         * benchtests/bench-strncpy-ifunc.c: Likewise.
19421         * benchtests/bench-strnlen-ifunc.c: Likewise.
19422         * benchtests/bench-strpbrk-ifunc.c: Likewise.
19423         * benchtests/bench-strrchr-ifunc.c: Likewise.
19424         * benchtests/bench-strsep-ifunc.c: Likewise.
19425         * benchtests/bench-strspn-ifunc.c: Likewise.
19426         * benchtests/bench-strstr-ifunc.c: Likewise.
19428 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
19430         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
19432 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
19434         * resolv/netdb.h: Use __glibc_reserved instead __unused.
19435         * rt/aio.h: Likewise.
19436         * sysdeps/gnu/bits/utmp.h: Likewise.
19437         * sysdeps/gnu/bits/utmpx.h: Likewise.
19438         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19439         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
19440         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
19441         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
19442         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
19443         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
19444         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
19445         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
19446         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
19447         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
19448         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
19449         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
19450         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
19451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
19452         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19453         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
19454         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
19455         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
19456         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
19457         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
19458         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
19459         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
19460         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
19461         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
19462         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
19463         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19464         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
19465         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
19466         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
19467         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
19468         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
19469         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
19470         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
19471         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
19472         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
19473         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
19474         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
19475         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
19476         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
19477         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
19478         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
19479         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
19481 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
19483         [BZ #16245]
19484         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
19485         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
19487 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
19489         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
19490         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
19491         Likewise.
19493 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19495         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
19496         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
19497         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
19498         (__fesetround): Remove define.
19499         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
19500         rounding and exceptions handling.
19501         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
19502         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
19503         (__fe_nomask_env): Likewise.
19504         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
19505         __fegetround instead of fegetround.
19506         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
19507         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
19509 2013-11-21  Roland McGrath  <roland@hack.frob.com>
19511         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
19512         it's there.
19514         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
19516 2013-11-21  Meador Inge  <meadori@codesourcery.com>
19518         [BZ #11157]
19519         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
19520         (encrypt_r): Likewise.
19521         * malloc/obstack.h (obstack_free): Likewise.
19522         * posix/unistd.h (encrypt): Likewise.
19524 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
19526         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
19527         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
19528         DL_CALL_DT_FINI() that call the functions directly.
19529         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
19530         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
19531         * elf/dl-fini.c: Likewise.
19533 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
19535         * malloc/hooks.c (memalign_check): Add alignment rounding.
19536         * malloc/malloc.c (_mid_memalign): New function.
19537         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
19538         Implement by calling _mid_memalign.
19539         * manual/probes.texi (Memory Allocation Probes): Remove
19540         memory_valloc_retry and memory_pvalloc_retry.
19542 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
19544         * locale/programs/locarchive.c (open_archive): Add const
19545         qualifier to ARCHIVEFNAME and copy default fname to
19546         DEFAULT_FNAME.
19548         [BZ #15601]
19549         * libio/tst-widetext.input: Rename Oriya to Odia.
19550         * locale/iso-639.def: Likewise.
19552         * manual/probes.texi (Mathematical Function Probes): Add
19553         documentation for sin, cos, asin and acos probes.
19554         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
19555         (__sin32): Add slowasin probe.
19556         (__cos32): Add slowacos probe.
19557         (__mpsin): Add slowsin probe.
19558         (__mpcos): Add slowcos probe.
19560 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
19562         [BZ #15483]
19563         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
19564         thread-local __sim_exceptions_thread and global
19565         __sim_exceptions_global.
19566         (__sim_disabled_exceptions): Change to thread-local
19567         __sim_disabled_exceptions_thread and global
19568         __sim_disabled_exceptions_global.
19569         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
19570         and global __sim_round_mode_global.
19571         (__simulate_exceptions): Use thread-local floating-point state and
19572         set global state from it as needed.
19573         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
19574         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
19575         __sim_round_mode_thread.
19576         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
19577         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
19578         and global __sim_exceptions_global.
19579         (__sim_disabled_exceptions): Change to thread-local
19580         __sim_disabled_exceptions_thread and global
19581         __sim_disabled_exceptions_global.
19582         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
19583         and global __sim_round_mode_global.
19584         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
19585         (SIM_SET_GLOBAL): Likewise.
19586         * sysdeps/powerpc/soft-fp/sfp-machine.h
19587         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
19588         __sim_round_mode_thread.
19589         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
19590         __sim_disabled_exceptions_thread.
19591         (__sim_exceptions): Change to __sim_exceptions_thread.
19592         (__sim_disabled_exceptions): Change to
19593         __sim_disabled_exceptions_thread.
19594         (__sim_round_mode): Change to __sim_round_mode_thread.
19595         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
19596         thread-local floating-point state and set global state from it as
19597         needed.
19598         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
19599         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
19600         (__sim_disabled_exceptions): Remove extern declaration.
19601         (feenableexcept): Use thread-local floating-point state and set
19602         global state from it as needed.
19603         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
19604         extern declaration.
19605         (__sim_disabled_exceptions): Likewise.
19606         (__sim_round_mode): Likewise.
19607         (__fegetenv): Use thread-local floating-point state.
19608         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
19609         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
19610         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
19611         floating-point state and set global state from it as needed.
19612         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
19613         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
19614         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
19615         Likewise.
19616         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
19617         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
19618         Likewise.
19619         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
19620         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
19621         Use __sim_round_mode_thread.
19622         * math/test-fenv-tls.c: New file.
19623         * math/Makefile (tests): Add test-fenv-tls.
19624         ($(objpfx)test-fenv-tls): Depend on
19625         $(common-objpfx)nptl/libpthread.so.
19627 2013-11-19  Andreas Schwab  <schwab@suse.de>
19629         * locale/programs/locale.c (show_info): Decode wordarray elements.
19630         * locale/categories.def (LC_MONETARY): Add element for
19631         _NL_MONETARY_CRNCYSTR.
19632         * locale/C-monetary.c (conversion_rate): New variable.
19633         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
19634         element.
19636 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
19638         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
19639         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
19641 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
19643         * elf/Makefile (tst-auxv): New test.
19644         * elf/tst-auxv.c: New
19645         * elf/rtld.c (dl_main): Adjust AT_EXECFN
19647 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
19649         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
19650         (hidden_proto): Caller changed.
19651         (hidden_tls_proto): New macro.
19652         (libc_hidden_tls_proto): Likewise.
19653         (rtld_hidden_tls_proto): Likewise.
19654         (libm_hidden_tls_proto): Likewise.
19655         (libresolv_hidden_tls_proto): Likewise.
19656         (librt_hidden_tls_proto): Likewise.
19657         (libdl_hidden_tls_proto): Likewise.
19658         (libnss_files_hidden_tls_proto): Likewise.
19659         (libnsl_hidden_tls_proto): Likewise.
19660         (libnss_nisplus_hidden_tls_proto): Likewise.
19661         (libutil_hidden_tls_proto): Likewise.
19663 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
19665         [BZ #10253]
19666         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
19667         (decompose_rpath): Defer expansion to fillin_rpath.
19668         (_dl_init_paths): Pass linkmap to fillin_rpath.
19670 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19672         * benchtests/Makefile: Add strsep.
19673         * benchtests/bench-strsep.c: New file: strsep benchtest.
19674         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
19676 2013-11-18  Andreas Schwab  <schwab@suse.de>
19678         * locale/programs/locale.c (show_info) [case byte]: Check for
19679         '\377' instead of '\177'.
19680         * locale/C-monetary.c (not_available): Always use "\377".
19681         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
19682         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
19683         detect unavailable sign_posn locale elements.
19684         * locale/localeconv.c (__localeconv): For grouping and
19685         mon_grouping handle "\177" and "\377" like no grouping.
19686         (INT_ELEM): New macro.  Use it to set all numeric members.
19687         * locale/programs/ld-monetary.c (monetary_read)
19688         <tok_mon_grouping>: Normalize single -1 to the empty string.
19689         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
19690         Likewise.
19692 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
19694         [BZ #16055]
19695         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
19696         when we match (nil).
19697         * stdio-common/tst-sscanf.c (struct test): Add testcase.
19699 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
19701         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
19702         (NO_TEST_INLINE): Update value.
19703         (ERRNO_UNCHANGED): Likewise.
19704         (ERRNO_EDOM): Likewise.
19705         (ERRNO_ERANGE): Likewise.
19706         (IGNORE_RESULT): Likewise.
19707         (check_float_internal): Check signs of NaN results if
19708         TEST_NAN_SIGN used.
19709         (check_complex): Pass TEST_NAN_SIGN flag through to second
19710         check_float_internal call.
19711         (copysign_test_data): Add tests with quiet NaNs as second
19712         argument.  Use TEST_NAN_SIGN.
19713         (fabs_test_data): Add test of negative quiet NaN argument.  Use
19714         TEST_NAN_SIGN.
19715         (signbit_test_data): Add tests of quiet NaN argument.
19716         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
19718         * math/gen-libm-test.pl (show_exceptions): Take extra argument
19719         $ignore_result.
19720         (parse_args): Handle function results specified as IGNORE.
19721         * math/libm-test.inc (IGNORE_RESULT): New macro.
19722         (check_float_internal): Do not check numerical result if flag
19723         IGNORE_RESULT set.
19724         (check_complex): Pass through IGNORE_RESULT to second
19725         check_float_internal call.
19726         (check_int): Do not check numerical result if flag IGNORE_RESULT
19727         set.
19728         (check_long): Likewise.
19729         (check_bool): Likewise.
19730         (check_longlong): Likewise.
19731         (lrint_test_data): Add tests of infinite and NaN arguments.
19732         (lrint_tonearest_test_data): Likewise.
19733         (lrint_towardzero_test_data): Likewise.
19734         (lrint_downward_test_data): Likewise.
19735         (lrint_upward_test_data): Likewise.
19736         (llrint_test_data): Likewise.
19737         (llrint_tonearest_test_data): Likewise.
19738         (llrint_towardzero_test_data): Likewise.
19739         (llrint_downward_test_data): Likewise.
19740         (llrint_upward_test_data): Likewise.
19741         (lround_test_data): Likewise.
19742         (llround_test_data): Likewise.
19744         * math/libm-test.inc (NO_TEST_INLINE): New macro.
19745         (ERRNO_UNCHANGED): Update value.
19746         (ERRNO_EDOM): Likewise.
19747         (ERRNO_ERANGE): Likewise.
19748         (NO_TEST_INLINE_FLOAT): New macro.
19749         (NO_TEST_INLINE_DOUBLE): Likewise.
19750         (enable_test): New function.
19751         (RUN_TEST_f_f): Check enable_test before running test.
19752         (RUN_TEST_2_f): Likewise.
19753         (RUN_TEST_fff_f): Likewise.
19754         (RUN_TEST_c_f): Likewise.
19755         (RUN_TEST_f_f1): Likewise.
19756         (RUN_TEST_fF_f1): Likewise.
19757         (RUN_TEST_fI_f1): Likewise.
19758         (RUN_TEST_ffI_f1): Likewise.
19759         (RUN_TEST_c_c): Likewise.
19760         (RUN_TEST_cc_c): Likewise.
19761         (RUN_TEST_f_i): Likewise.
19762         (RUN_TEST_f_i_tg): Likewise.
19763         (RUN_TEST_ff_i_tg): Likewise.
19764         (RUN_TEST_f_b): Likewise.
19765         (RUN_TEST_f_b_tg): Likewise.
19766         (RUN_TEST_f_l): Likewise.
19767         (RUN_TEST_f_L): Likewise.
19768         (RUN_TEST_fFF_11): Likewise.
19769         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
19770         conditionals.
19771         (cosh_test_data): Likewise.
19772         (exp_test_data): Likewise.
19773         (expm1_test_data): Likewise.
19774         (hypot_test_data): Likewise.
19775         (pow_test_data): Likewise.
19776         (sinh_test_data): Likewise.
19777         (tanh_test_data): Likewise.
19778         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
19779         flags argument.
19781         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
19782         tests with quiet NaN input and output.
19783         (acosh_test_data): Likewise.
19784         (asin_test_data): Likewise.
19785         (asinh_test_data): Likewise.
19786         (atan_test_data): Likewise.
19787         (atanh_test_data): Likewise.
19788         (atan2_test_data): Likewise.
19789         (cbrt_test_data): Likewise.
19790         (cos_test_data): Likewise.
19791         (cosh_test_data): Likewise.
19792         (erf_test_data): Likewise.
19793         (erfc_test_data): Likewise.
19794         (exp_test_data): Likewise.
19795         (exp10_test_data): Likewise.
19796         (exp2_test_data): Likewise.
19797         (expm1_test_data): Likewise.
19798         (hypot_test_data): Likewise.
19799         (j0_test_data): Likewise.
19800         (j1_test_data): Likewise.
19801         (jn_test_data): Likewise.
19802         (lgamma_test_data): Likewise.
19803         (log_test_data): Likewise.
19804         (log10_test_data): Likewise.
19805         (log1p_test_data): Likewise.
19806         (log2_test_data): Likewise.
19807         (pow_test_data): Likewise.
19808         (scalb_test_data): Likewise.
19809         (sin_test_data): Likewise.
19810         (sincos_test_data): Likewise.
19811         (sinh_test_data): Likewise.
19812         (tan_test_data): Likewise.
19813         (tanh_test_data): Likewise.
19814         (tgamma_test_data): Likewise.
19815         (y0_test_data): Likewise.
19816         (y1_test_data): Likewise.
19817         (yn_test_data): Likewise.
19819         [BZ #16167]
19820         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
19821         argument being NaN and avoid computations with second argument in
19822         that case.
19823         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
19824         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
19825         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
19827 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
19829         * locale/iso-639.def: Add Chitwani Tharu (the).
19831 2013-11-14  Andreas Schwab  <schwab@suse.de>
19833         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
19834         word instead of empty string.
19836 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19839         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
19840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19841         (__fe_nomask_env): Likewise.
19843 2013-11-13  Steve Ellcey  <sellcey@mips.com>
19845         * benchtests/bench-timing.h: Include time.h.
19847 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
19849         [BZ #15997]
19850         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
19851         to 3.4.0 for x32.
19852         * sysdeps/unix/sysv/linux/configure: Regenerated.
19854 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
19856         [BZ #16151]
19857         * stdlib/strtod_l.c (round_and_return): Do not consider
19858         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
19859         exponent one less than half the least subnormal exponent.
19860         * stdlib/test-strtod-round-data: Add more tests.
19861         * stdlib/tst-strtod-round.c (tests): Regenerated.
19863 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19865         [BZ #14143]
19866         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
19867         (__fe_mask_env): Likewise.
19868         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
19869         libm_hidden_proto and add function prototype.
19870         (__fe_mask_env): Add function prototype.
19871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19872         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
19873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
19874         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
19875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19876         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
19878 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19880         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
19881         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
19883 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19885         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
19886         of htab_find_slot().
19888 2013-11-11  David S. Miller  <davem@davemloft.net>
19890         [BZ #16150]
19891         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
19892         symbol in the non-vis3 case in static builds.
19893         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
19894         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
19895         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
19896         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
19898 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
19900         [BZ #387]
19901         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
19902         it is empty.
19904 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19906         * benchtests/Makefile: Add bench-strtod.
19907         * benchtests/bench-strtod.c: New file: strtod benchtest
19909 2013-11-11  Andreas Schwab  <schwab@suse.de>
19911         [BZ #16153]
19912         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
19913         terminating NUL in key length.
19915 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19917         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
19918         Add artificial ODP entry for vDSO symbol for PPC64.
19919         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
19920         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
19922 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
19924         [BZ #15374]
19925         * nss/getent.c (services_keys): Recognize services starting with digit.
19927 2013-11-06  David S. Miller  <davem@davemloft.net>
19929         [BZ #15985]
19930         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
19931         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
19933 2013-11-06  Will Newton  <will.newton@linaro.org>
19935         * manual/memory.texi (Malloc Examples): Remove register
19936         keyword from examples.
19938 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
19940         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
19942 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
19944         [BZ #6981]
19945         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
19946         depending on [__GCC_IEC_559 > 0].
19947         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
19948         depending on [__GCC_IEC_559_COMPLEX > 0].
19950 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
19952         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
19953         to iso-639.def.
19955 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
19957         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
19959 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
19961         [BZ #16112]
19962         * malloc/malloc (malloc_info): Do not handle first bin as
19963         special case.
19965 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
19967         * locale/iso-639.def: Add Central Nahuatl (nhn).
19969 2013-11-01  Bruno Haible  <bruno@clisp.org>
19971         [BZ #7003]
19972         * manual/math.texi (BSD Random): Specify range upper bound as
19973         in POSIX.
19975 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
19977         * locale/iso-639.def: Add Meadow Mari (mhr).
19979 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
19981         [BZ #14752], [BZ #15763]
19982         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
19983         Validate name.
19984         * rt/tst_shm.c: Add test for escaping directory.
19986 2013-10-31  Andreas Schwab  <schwab@suse.de>
19988         [BZ #15917]
19989         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
19990         followed by 'x' as part of digit sequence.
19991         * stdio-common/tst-sscanf.c (double_tests2): New tests.
19993 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
19995         [BZ #16037]
19996         * configure.ac: allow GNU Make 4.0 and greater.
19997         * configure: Regenerated.
19999 2013-10-30  Will Newton  <will.newton@linaro.org>
20001         [BZ #16038]
20002         * malloc/hooks.c (memalign_check): Limit alignment to the
20003         maximum representable power of two.
20004         * malloc/malloc.c (__libc_memalign): Likewise.
20005         * malloc/tst-memalign.c (do_test): Add test for very
20006         large alignment values.
20007         * malloc/tst-posix_memalign.c (do_test): Likewise.
20009 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
20011         [BZ #11087]
20012         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
20013         (munmap_chunk): Likewise.
20014         (mremap_chunk): Likewise.
20016 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
20018         [BZ #15799]
20019         * stdlib/div.c (div): Remove obsolete code.
20020         * stdlib/ldiv.c (ldiv): Likewise.
20021         * stdlib/lldiv.c (lldiv): Likewise.
20023 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20025         [BZ #16071]
20026         * nss/nss_files/files-XXX.c (get_contents_ret): New
20027         enumerator.
20028         (get_contents): New function.
20029         (internal_getent): Use it.  Expand size of LINEBUFLEN.
20031 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
20033         * configure.in: Moved to ...
20034         * configure.ac: ... here. Change reference to configure.in
20035         to configure.ac.
20036         * sysdeps/arm/preconfigure.ac: ... here.
20037         configure.in to configure.ac.
20038         * sysdeps/gnu/configure.in: Moved to ...
20039         * sysdeps/gnu/configure.ac: ... here.
20040         * sysdeps/i386/configure.in: Moved to ...
20041         * sysdeps/i386/configure.ac: ... here.
20042         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
20043         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
20044         * sysdeps/mach/configure.in: Moved to ...
20045         * sysdeps/mach/configure.ac: ... here.
20046         * sysdeps/mach/hurd/configure.in: Moved to ...
20047         * sysdeps/mach/hurd/configure.ac: ... here.
20048         * sysdeps/powerpc/configure.in: Moved to ...
20049         * sysdeps/powerpc/configure.ac: ... here.
20050         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
20051         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
20052         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
20053         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
20054         * sysdeps/s390/s390-32/configure.in: Moved to ...
20055         * sysdeps/s390/s390-32/configure.ac: ... here.
20056         * sysdeps/s390/s390-64/configure.in: Moved to ...
20057         * sysdeps/s390/s390-64/configure.ac: ... here.
20058         * sysdeps/sh/configure.in: Moved to ...
20059         * sysdeps/sh/configure.ac: ... here.
20060         * sysdeps/sparc/configure.in: Moved to ...
20061         * sysdeps/sparc/configure.ac: ... here.
20062         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
20063         * sysdeps/unix/sysv/linux/configure.ac: ... here.
20064         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
20065         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
20066         * sysdeps/x86_64/configure.in: Moved to ...
20067         * sysdeps/x86_64/configure.ac: ... here.
20068         * sysdeps/x86_64/preconfigure.in: Moved to ...
20069         * sysdeps/x86_64/preconfigure.ac: ... here.
20070         * aclocal.m4: Change reference to configure.in to configure.ac.
20071         * config.h.in: Likewise.
20072         * manual/install.texi: Likewise.
20073         * manual/maint.texi: Likewise.
20074         * Makefile: Likewise.
20075         * malloc/Makefile: Likewise.
20076         * nscd/Makefile: Likewise.
20077         * Makeconfig: Change reference to configure.in and
20078         preconfigure.in to configure.ac and preconfigure.ac
20079         respectively.
20080         * INSTALL: Regenerated.
20081         * configure: Likewise.
20082         * sysdeps/gnu/configure: Likewise.
20083         * sysdeps/i386/configure: Likewise.
20084         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
20085         * sysdeps/mach/configure: Likewise.
20086         * sysdeps/mach/hurd/configure: Likewise.
20087         * sysdeps/powerpc/configure: Likewise.
20088         * sysdeps/powerpc/powerpc32/configure: Likewise.
20089         * sysdeps/powerpc/powerpc64/configure: Likewise.
20090         * sysdeps/s390/s390-32/configure: Likewise.
20091         * sysdeps/s390/s390-64/configure: Likewise.
20092         * sysdeps/sh/configure: Likewise.
20093         * sysdeps/sparc/configure: Likewise.
20094         * sysdeps/unix/sysv/linux/configure: Likewise.
20095         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
20096         * sysdeps/x86_64/configure: Likewise.
20097         * sysdeps/x86_64/preconfigure: Likewise.
20099 2013-10-29  Andreas Schwab  <schwab@suse.de>
20101         * stdio-common/Makefile (tst-swscanf-ENV): Define.
20103 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20105         * benchtests/pow-inputs: Add new inputs.
20107         * benchtests/exp-inputs: Add new inputs.
20109         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
20110         conditional check for return value.
20111         (__cos32): Likewise.
20113 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20115         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
20116         to provide a boost for large inputs with word alignment.
20117         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
20118         implementation based on optimized PPC64 strcpy.
20119         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
20120         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
20121         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
20122         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
20124 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
20126         [BZ #2801]
20127         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
20129 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
20131         [BZ #14876]
20132         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
20133         * time/tst-strptime.c (day_tests): Add testcase.
20135 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
20137         [BZ #14029]
20138         * manual/pattern.texi: Acknowledge that fnmatch can fail.
20140 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
20142         [BZ #16074]
20143         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
20144         MAP_FAILED on error.
20146 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
20148         [BZ #16072]
20149         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
20150         heap for large requests.
20152 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
20154         [BZ #9954]
20155         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
20156         result if the result has no associated interface.
20157         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
20158         interface for all 127.X.Y.Z addresses.
20160 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
20162         * locale/iso-639.def: Add Ligurian (lij)
20164 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
20166         [BZ #15825]
20167         * sunrpc/rpc_main.c: Document rpcgen -5.
20169 2013-10-19  Michael Stahl  <mstahl@redhat.com>
20171         * elf/rtld.c (do_preload): Print the reason why preloading failed.
20173 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
20175         [BZ #10278]
20176         * posix/glob.c: Match only directories when trailing slash is present.
20177         * posix/tst-gnuglob.c (my_opendir): Do not open files.
20178         (main): Add testcase.
20180 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
20182         [BZ #15670]
20183         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
20185 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
20187         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
20188         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
20189         AUTH_DES and cindex for FIPS 140-2.
20190         (DES Encryption): Add cindex FIPS 46-3.
20192         * locale/locarchive.h (struct locarhandle): Add fname.
20193         * locale/programs/localedef.c (main): Pass ARGV[remaining]
20194         if an optional argument was specified to --list-archive,
20195         otherwise NULL.
20196         * locale/programs/locarchive.c (show_archive_content): Take new
20197         argument fname and pass it via ah.fname to open_archive.
20198         * locale/programs/localedef.h: Update decl.
20199         (open_archive): If AH->fname is non-null, open that file
20200         rather than the default file name, and don't ignore ENOENT.
20201         (create_archive): Set AH.fname to NULL.
20202         (delete_locales_from_archive): Likewise.
20203         (add_locales_to_archive): Likewise.
20204         * locale/programs/locfile.c (write_all_categories): Likewise.
20206 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
20207             Aldy Hernandez  <aldyh@redhat.com>
20209         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
20210         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
20211         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
20212         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
20213         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
20214         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
20215         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
20216         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
20217         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
20218         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
20219         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
20220         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
20221         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
20222         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
20223         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
20224         Likewise.
20225         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
20226         Likewise.
20227         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
20228         Likewise.
20229         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
20230         Likewise.
20231         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
20232         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
20233         Likewise.
20234         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
20235         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
20236         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
20237         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
20238         Likewise.
20239         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
20240         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
20241         * sysdeps/powerpc/preconfigure: Likewise.
20242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
20243         Likewise.
20244         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
20245         Replace contents of file by #include of <fenv_libc.h>.
20246         * sysdeps/powerpc/soft-fp/sfp-machine.h
20247         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
20248         and <sys/prctl.h>.
20249         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
20250         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
20251         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
20252         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
20253         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
20254         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
20255         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
20256         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
20257         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
20258         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
20259         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
20260         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
20261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
20262         Allow copysignl PLT reference to be missing.
20264 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
20265             Joseph Myers  <joseph@codesourcery.com
20267         [BZ #15948]
20268         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
20269         single character.
20270         (add_to_tablewc): Assert sequence of wide characters is nonempty.
20272 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
20274         * elf/tst-tls-dlinfo.c: Don't include tls.h.
20275         * elf/tst-tls1.c: Likewise.
20276         * elf/tst-tls10.h: Likewise.
20277         * elf/tst-tls14.c: Likewise.
20278         * elf/tst-tls2.c: Likewise.
20279         * elf/tst-tls3.c: Likewise.
20280         * elf/tst-tls4.c: Likewise.
20281         * elf/tst-tls5.c: Likewise.
20282         * elf/tst-tls6.c: Likewise.
20283         * elf/tst-tls7.c: Likewise.
20284         * elf/tst-tls8.c: Likewise.
20285         * elf/tst-tls9.c: Likewise.
20286         * elf/tst-tlsmod1.c: Likewise.
20287         * elf/tst-tlsmod13.c: Likewise.
20288         * elf/tst-tlsmod13a.c: Likewise.
20289         * elf/tst-tlsmod14a.c: Likewise.
20290         * elf/tst-tlsmod16a.c: Likewise.
20291         * elf/tst-tlsmod16b.c: Likewise.
20292         * elf/tst-tlsmod2.c: Likewise.
20293         * elf/tst-tlsmod3.c: Likewise.
20294         * elf/tst-tlsmod4.c: Likewise.
20295         * elf/tst-tlsmod5.c: Likewise.
20296         * elf/tst-tlsmod6.c: Likewise.
20298 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
20300         [BZ #12486]
20301         * malloc/malloc.c: remove checks for statistics.
20303 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
20305         [BZ #15277]
20306         * inet/inet_net.c (inet_network): Detect additional invalid strings.
20307         * inet/tst-network.c: Add testcase.
20309 2013-10-17  Andreas Schwab  <schwab@suse.de>
20311         [BZ #15218]
20312         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
20313         to determine canonical name.
20315 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
20317         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
20318         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
20319         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20320         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
20321         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20322         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
20323         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20324         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
20325         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
20326         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
20327         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20328         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20329         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20330         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20331         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
20332         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
20333         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20334         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20335         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
20336         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
20337         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20338         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20339         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20340         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
20341         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
20342         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20343         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20344         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
20345         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20346         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
20347         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
20348         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20349         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
20350         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20351         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20352         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20353         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20354         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20355         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20356         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20357         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20358         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
20359         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
20360         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20361         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
20362         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20363         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20364         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
20365         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
20366         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20367         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
20368         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20369         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
20370         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
20371         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20372         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
20373         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20374         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20376 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
20378         [BZ #16041]
20379         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
20380         make result into a quiet NaN.
20382 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
20384         * soft-fp/adddf3.c: Fix horizontal whitespace.
20385         * soft-fp/addsf3.c: Likewise.
20386         * soft-fp/addtf3.c: Likewise.
20387         * soft-fp/divdf3.c: Likewise.
20388         * soft-fp/divsf3.c: Likewise.
20389         * soft-fp/divtf3.c: Likewise.
20390         * soft-fp/double.h: Likewise.
20391         * soft-fp/eqdf2.c: Likewise.
20392         * soft-fp/eqsf2.c: Likewise.
20393         * soft-fp/eqtf2.c: Likewise.
20394         * soft-fp/extenddftf2.c: Likewise.
20395         * soft-fp/extended.h: Likewise.
20396         * soft-fp/extendsfdf2.c: Likewise.
20397         * soft-fp/extendsftf2.c: Likewise.
20398         * soft-fp/extendxftf2.c: Likewise.
20399         * soft-fp/fixdfdi.c: Likewise.
20400         * soft-fp/fixdfsi.c: Likewise.
20401         * soft-fp/fixdfti.c: Likewise.
20402         * soft-fp/fixsfdi.c: Likewise.
20403         * soft-fp/fixsfsi.c: Likewise.
20404         * soft-fp/fixsfti.c: Likewise.
20405         * soft-fp/fixtfdi.c: Likewise.
20406         * soft-fp/fixtfsi.c: Likewise.
20407         * soft-fp/fixtfti.c: Likewise.
20408         * soft-fp/fixunsdfdi.c: Likewise.
20409         * soft-fp/fixunsdfsi.c: Likewise.
20410         * soft-fp/fixunsdfti.c: Likewise.
20411         * soft-fp/fixunssfdi.c: Likewise.
20412         * soft-fp/fixunssfsi.c: Likewise.
20413         * soft-fp/fixunssfti.c: Likewise.
20414         * soft-fp/fixunstfdi.c: Likewise.
20415         * soft-fp/fixunstfsi.c: Likewise.
20416         * soft-fp/fixunstfti.c: Likewise.
20417         * soft-fp/floatdidf.c: Likewise.
20418         * soft-fp/floatdisf.c: Likewise.
20419         * soft-fp/floatditf.c: Likewise.
20420         * soft-fp/floatsidf.c: Likewise.
20421         * soft-fp/floatsisf.c: Likewise.
20422         * soft-fp/floatsitf.c: Likewise.
20423         * soft-fp/floattidf.c: Likewise.
20424         * soft-fp/floattisf.c: Likewise.
20425         * soft-fp/floattitf.c: Likewise.
20426         * soft-fp/floatundidf.c: Likewise.
20427         * soft-fp/floatundisf.c: Likewise.
20428         * soft-fp/floatunditf.c: Likewise.
20429         * soft-fp/floatunsidf.c: Likewise.
20430         * soft-fp/floatunsisf.c: Likewise.
20431         * soft-fp/floatunsitf.c: Likewise.
20432         * soft-fp/floatuntidf.c: Likewise.
20433         * soft-fp/floatuntisf.c: Likewise.
20434         * soft-fp/floatuntitf.c: Likewise.
20435         * soft-fp/fmadf4.c: Likewise.
20436         * soft-fp/fmasf4.c: Likewise.
20437         * soft-fp/fmatf4.c: Likewise.
20438         * soft-fp/gedf2.c: Likewise.
20439         * soft-fp/gesf2.c: Likewise.
20440         * soft-fp/getf2.c: Likewise.
20441         * soft-fp/ledf2.c: Likewise.
20442         * soft-fp/lesf2.c: Likewise.
20443         * soft-fp/letf2.c: Likewise.
20444         * soft-fp/muldf3.c: Likewise.
20445         * soft-fp/mulsf3.c: Likewise.
20446         * soft-fp/multf3.c: Likewise.
20447         * soft-fp/negdf2.c: Likewise.
20448         * soft-fp/negsf2.c: Likewise.
20449         * soft-fp/negtf2.c: Likewise.
20450         * soft-fp/op-1.h: Likewise.
20451         * soft-fp/op-2.h: Likewise.
20452         * soft-fp/op-4.h: Likewise.
20453         * soft-fp/op-8.h: Likewise.
20454         * soft-fp/op-common.h: Likewise.
20455         * soft-fp/quad.h: Likewise.
20456         * soft-fp/single.h: Likewise.
20457         * soft-fp/soft-fp.h: Likewise.
20458         * soft-fp/sqrtdf2.c: Likewise.
20459         * soft-fp/sqrtsf2.c: Likewise.
20460         * soft-fp/sqrttf2.c: Likewise.
20461         * soft-fp/subdf3.c: Likewise.
20462         * soft-fp/subsf3.c: Likewise.
20463         * soft-fp/subtf3.c: Likewise.
20464         * soft-fp/truncdfsf2.c: Likewise.
20465         * soft-fp/trunctfdf2.c: Likewise.
20466         * soft-fp/trunctfsf2.c: Likewise.
20467         * soft-fp/trunctfxf2.c: Likewise.
20468         * soft-fp/unorddf2.c: Likewise.
20469         * soft-fp/unordsf2.c: Likewise.
20470         * soft-fp/unordtf2.c: Likewise.
20472 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
20474         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
20475         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
20477 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
20479         * elf/dl-libc.c: Clear initfini list after freeing.
20481 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
20483         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
20484         * soft-fp/addsf3.c: Likewise.
20485         * soft-fp/addtf3.c: Likewise.
20486         * soft-fp/divdf3.c: Likewise.
20487         * soft-fp/divsf3.c: Likewise.
20488         * soft-fp/divtf3.c: Likewise.
20489         * soft-fp/double.h: Likewise.
20490         * soft-fp/eqdf2.c: Likewise.
20491         * soft-fp/eqsf2.c: Likewise.
20492         * soft-fp/eqtf2.c: Likewise.
20493         * soft-fp/extenddftf2.c: Likewise.
20494         * soft-fp/extended.h: Likewise.
20495         * soft-fp/extendsfdf2.c: Likewise.
20496         * soft-fp/extendsftf2.c: Likewise.
20497         * soft-fp/extendxftf2.c: Likewise.
20498         * soft-fp/fixdfdi.c: Likewise.
20499         * soft-fp/fixdfsi.c: Likewise.
20500         * soft-fp/fixdfti.c: Likewise.
20501         * soft-fp/fixsfdi.c: Likewise.
20502         * soft-fp/fixsfsi.c: Likewise.
20503         * soft-fp/fixsfti.c: Likewise.
20504         * soft-fp/fixtfdi.c: Likewise.
20505         * soft-fp/fixtfsi.c: Likewise.
20506         * soft-fp/fixtfti.c: Likewise.
20507         * soft-fp/fixunsdfdi.c: Likewise.
20508         * soft-fp/fixunsdfsi.c: Likewise.
20509         * soft-fp/fixunsdfti.c: Likewise.
20510         * soft-fp/fixunssfdi.c: Likewise.
20511         * soft-fp/fixunssfsi.c: Likewise.
20512         * soft-fp/fixunssfti.c: Likewise.
20513         * soft-fp/fixunstfdi.c: Likewise.
20514         * soft-fp/fixunstfsi.c: Likewise.
20515         * soft-fp/fixunstfti.c: Likewise.
20516         * soft-fp/floatdidf.c: Likewise.
20517         * soft-fp/floatdisf.c: Likewise.
20518         * soft-fp/floatditf.c: Likewise.
20519         * soft-fp/floatsidf.c: Likewise.
20520         * soft-fp/floatsisf.c: Likewise.
20521         * soft-fp/floatsitf.c: Likewise.
20522         * soft-fp/floattidf.c: Likewise.
20523         * soft-fp/floattisf.c: Likewise.
20524         * soft-fp/floattitf.c: Likewise.
20525         * soft-fp/floatundidf.c: Likewise.
20526         * soft-fp/floatundisf.c: Likewise.
20527         * soft-fp/floatunsidf.c: Likewise.
20528         * soft-fp/floatunsisf.c: Likewise.
20529         * soft-fp/floatuntidf.c: Likewise.
20530         * soft-fp/floatuntisf.c: Likewise.
20531         * soft-fp/floatuntitf.c: Likewise.
20532         * soft-fp/fmadf4.c: Likewise.
20533         * soft-fp/fmasf4.c: Likewise.
20534         * soft-fp/fmatf4.c: Likewise.
20535         * soft-fp/gedf2.c: Likewise.
20536         * soft-fp/gesf2.c: Likewise.
20537         * soft-fp/getf2.c: Likewise.
20538         * soft-fp/ledf2.c: Likewise.
20539         * soft-fp/lesf2.c: Likewise.
20540         * soft-fp/letf2.c: Likewise.
20541         * soft-fp/muldf3.c: Likewise.
20542         * soft-fp/mulsf3.c: Likewise.
20543         * soft-fp/multf3.c: Likewise.
20544         * soft-fp/negdf2.c: Likewise.
20545         * soft-fp/negsf2.c: Likewise.
20546         * soft-fp/negtf2.c: Likewise.
20547         * soft-fp/op-1.h: Likewise.
20548         * soft-fp/op-2.h: Likewise.
20549         * soft-fp/op-4.h: Likewise.
20550         * soft-fp/op-8.h: Likewise.
20551         * soft-fp/op-common.h: Likewise.
20552         * soft-fp/quad.h: Likewise.
20553         * soft-fp/single.h: Likewise.
20554         * soft-fp/soft-fp.h: Likewise.
20555         * soft-fp/sqrtdf2.c: Likewise.
20556         * soft-fp/sqrtsf2.c: Likewise.
20557         * soft-fp/sqrttf2.c: Likewise.
20558         * soft-fp/subdf3.c: Likewise.
20559         * soft-fp/subsf3.c: Likewise.
20560         * soft-fp/subtf3.c: Likewise.
20561         * soft-fp/truncdfsf2.c: Likewise.
20562         * soft-fp/trunctfdf2.c: Likewise.
20563         * soft-fp/trunctfsf2.c: Likewise.
20564         * soft-fp/trunctfxf2.c: Likewise.
20565         * soft-fp/unorddf2.c: Likewise.
20566         * soft-fp/unordsf2.c: Likewise.
20567         * soft-fp/unordtf2.c: Likewise.
20569 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
20571         [BZ #15672]
20572         * misc/error.c (error_tail): Fix possible buffer overflow.
20574 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
20576         [BZ #13028]
20577         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
20578         address.
20580 2013-10-14  P. J. McDermott  <pj@pehjota.net>
20582         [BZ #832]
20583         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
20584         testing pipefail option.
20586 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
20588         * soft-fp/double.h: Indent preprocessor directives inside #if.
20589         * soft-fp/extended.h: Likewise.
20590         * soft-fp/op-2.h: Likewise.
20591         * soft-fp/op-4.h: Likewise.
20592         * soft-fp/op-common.h: Likewise.
20593         * soft-fp/quad.h: Likewise.
20594         * soft-fp/single.h: Likewise.
20595         * soft-fp/soft-fp.h: Likewise.
20597 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
20599         * iconv/iconv_prog.c: Fix typos.
20600         * stdio-common/psiginfo-data.h: Likewise.
20602 2013-10-12   Reuben Thomas <rrt@sc3d.org>
20604         [BZ #15764]
20605         * locale/setlocale.c: Fix typo.
20607 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
20609         [BZ #16036]
20610         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
20611         signaling NaN arguments.
20612         * soft-fp/unordsf2.c (__unordsf2): Likewise.
20613         * soft-fp/unordtf2.c (__unordtf2): Likewise.
20615         [BZ #14910]
20616         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
20617         unordered operands.
20618         * soft-fp/gesf2.c (__gesf2): Likewise.
20619         * soft-fp/getf2.c (__getf2): Likewise.
20620         * soft-fp/ledf2.c (__ledf2): Likewise.
20621         * soft-fp/lesf2.c (__lesf2): Likewise.
20622         * soft-fp/letf2.c (__letf2): Likewise.
20624         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
20625         * soft-fp/eqsf2.c (__eqsf2): Likewise.
20626         * soft-fp/eqtf2.c (__eqtf2): Likewise.
20627         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
20628         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
20629         * soft-fp/fixdfti.c (__fixdfti): Likewise.
20630         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
20631         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
20632         * soft-fp/fixsfti.c (__fixsfti): Likewise.
20633         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
20634         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
20635         * soft-fp/fixtfti.c (__fixtfti): Likewise.
20636         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
20637         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
20638         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
20639         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
20640         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
20641         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
20642         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
20643         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
20644         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
20645         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
20646         * soft-fp/floatdisf.c (__floatdisf): Likewise.
20647         * soft-fp/floatsisf.c (__floatsisf): Likewise.
20648         * soft-fp/floattidf.c (__floattidf): Likewise.
20649         * soft-fp/floattisf.c (__floattisf): Likewise.
20650         * soft-fp/floattitf.c (__floattitf): Likewise.
20651         * soft-fp/floatundidf.c (__floatundidf): Likewise.
20652         * soft-fp/floatundisf.c (__floatundisf): Likewise.
20653         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
20654         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
20655         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
20656         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
20657         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
20658         * soft-fp/gesf2.c (__gesf2): Likewise.
20659         * soft-fp/getf2.c (__getf2): Likewise.
20660         * soft-fp/ledf2.c (__ledf2): Likewise.
20661         * soft-fp/lesf2.c (__lesf2): Likewise.
20662         * soft-fp/letf2.c (__letf2): Likewise.
20664         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
20665         Undefine and redefine.
20666         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
20667         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
20668         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
20669         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
20670         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20671         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
20672         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20673         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
20674         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20675         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
20676         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20677         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
20678         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20679         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
20680         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20682         [BZ #16032]
20683         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
20684         without decrementing exponent if mantissa >= that for the
20685         denominator, not >.
20686         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
20687         denominator, not >.  Decrement exponent in < case instead of
20688         incrementing in >= case.
20689         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
20690         without decrementing exponent if mantissa >= that for the
20691         denominator, not >.
20693         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
20694         computing saturated result for unsigned overflow.
20696 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20697             Jeff Law  <law@redhat.com>
20699         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
20700         (atan2Mp): Add systemtap probe marker.
20701         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
20702         (__ieee754_log): Add systemtap probe marker.
20703         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
20704         (atanMp): Add systemtap probe marker.
20705         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
20706         (tanMp): Add systemtap probe marker.
20707         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
20708         (__slowexp): Add systemtap probe marker.
20709         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
20710         (__slowpow): Add systemtap probe marker.
20711         * manual/probes.texi: Document probes.
20713 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
20715         [BZ #15362]
20716         * libio/fileops.c (_IO_new_file_write): Return count of bytes
20717         written.
20718         (_IO_new_file_xsputn): Don't return EOF if nothing has been
20719         written.
20720         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
20721         written to buffer but not flushed.
20722         * libio/iofwrite_u.c:  Likewise.
20723         * libio/iopadn.c:  Return bytes returned even if EOF was
20724         encountered.
20725         * libio/iowpadn.c:  Likewise.
20726         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
20727         if _IO_padn does not write the whole buffer.
20728         [!COMPILE_WPRINTF] (PAD): Likewise.
20730 2013-10-10  David S. Miller  <davem@davemloft.net>
20732         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
20733         directory block.
20735 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
20737         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
20738         instead of FSF address.
20739         * soft-fp/fixdfti.c: Likewise.
20740         * soft-fp/fixsfti.c: Likewise.
20741         * soft-fp/fixtfti.c: Likewise.
20742         * soft-fp/fixunsdfti.c: Likewise.
20743         * soft-fp/fixunssfti.c: Likewise.
20744         * soft-fp/fixunstfti.c: Likewise.
20745         * soft-fp/floattidf.c: Likewise.
20746         * soft-fp/floattisf.c: Likewise.
20747         * soft-fp/floattitf.c: Likewise.
20748         * soft-fp/floatuntidf.c: Likewise.
20749         * soft-fp/floatuntisf.c: Likewise.
20750         * soft-fp/floatuntitf.c: Likewise.
20751         * soft-fp/trunctfxf2.c: Likewise.
20753         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
20754         * soft-fp/fixdfti.c: Likewise.
20755         * soft-fp/fixsfti.c: Likewise.
20756         * soft-fp/fixtfti.c: Likewise.
20757         * soft-fp/fixunsdfti.c: Likewise.
20758         * soft-fp/fixunssfti.c: Likewise.
20759         * soft-fp/fixunstfti.c: Likewise.
20760         * soft-fp/floattidf.c: Likewise.
20761         * soft-fp/floattisf.c: Likewise.
20762         * soft-fp/floattitf.c: Likewise.
20763         * soft-fp/floatuntidf.c: Likewise.
20764         * soft-fp/floatuntisf.c: Likewise.
20765         * soft-fp/floatuntitf.c: Likewise.
20766         * soft-fp/trunctfxf2.c: Likewise.
20768 2013-10-10  David S. Miller  <davem@davemloft.net>
20770         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20772 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
20774         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20775         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
20776         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
20777         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
20778         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
20779         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
20780         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
20782         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
20783         for NaNs before doing comparisons on argument.
20784         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
20785         Likewise.
20787 2013-10-10  Will Newton  <will.newton@linaro.org>
20789         * malloc/hooks.c (memalign_check): Ensure the value of bytes
20790         passed to _int_memalign does not overflow.
20792 2013-10-10  Torvald Riegel  <triegel@redhat.com>
20794         * scripts/bench.pl: Add include-sources directive.
20795         * benchtests/README: Update documentation.
20797 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
20799         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
20800         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
20801         instead of FP_INIT_ROUNDMODE.
20802         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
20803         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
20805         [BZ #16034]
20806         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
20807         copy class of input value.
20808         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
20809         not handle exceptions.
20810         * soft-fp/negsf2.c (__negsf2): Likewise.
20811         * soft-fp/negtf2.c (__negtf2): Likewise.
20812         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
20814 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
20816         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
20817         semicolon.  From Linux kernel.
20819 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
20821         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
20823 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
20825         [BZ #156]
20826         * manual/socket.texi: Added statement about buffer
20827         for gethostbyname2_r.
20829 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
20831         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
20832         Use .p2align directive instead, throughout.
20833         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
20834         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
20835         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
20836         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20837         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20838         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
20839         * sysdeps/x86_64/strchr.S: Likewise.
20840         * sysdeps/x86_64/strrchr.S: Likewise.
20842 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
20844         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
20846         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
20848         * sysdeps/generic/math_private.h (__mpsin1): Remove
20849         declaration.
20850         (__mpcos1): Likewise.
20851         (__mpsin): New argument __range_reduce.
20852         (__mpcos): Likewise.
20853         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20854         (slow): Use __mpsin and __mpcos.
20855         (slow1): Likewise.
20856         (slow2): Likewise.
20857         (sloww): Likewise.
20858         (sloww1): Likewise.
20859         (sloww2): Likewise.
20860         (bsloww): Likewise.
20861         (bsloww1): Likewise.
20862         (bsloww2): Likewise.
20863         (cslow2): Likewise.
20864         (csloww): Likewise.
20865         (csloww1): Likewise.
20866         (csloww2): Likewise.
20867         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
20868         range_reduce.  Merge in __mpsin1.
20869         (__mpcos): Likewise.
20870         (__mpsin1): Remove.
20871         (__mpcos1): Likewise.
20873 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
20875         * locale/loadlocale.c (_nl_intern_locale_data): Use
20876         LOCFILE_ALIGNED_P.
20877         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
20878         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
20879         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
20880         obstack data is appropriately aligned.
20881         (obstack_int32_grow_fast): Likewise.
20882         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
20883         * locale/programs/locfile.c (add_locale_uint32): Likewise.
20884         (add_locale_uint32_array): Likewise.
20886 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
20888         * benchtests/Makefile: Remove ARGLIST and RET variables.
20889         ($(objpfx)bench-%.c): Pass only function name to the script.
20890         * benchtests/README: Update documentation.
20891         * benchtests/acos-inputs: Add new directives.
20892         * benchtests/acosh-inputs: Likewise.
20893         * benchtests/asin-inputs: Likewise.
20894         * benchtests/asinh-inputs: Likewise.
20895         * benchtests/atan-inputs: Likewise.
20896         * benchtests/atanh-inputs: Likewise.
20897         * benchtests/cos-inputs: Likewise.
20898         * benchtests/cosh-inputs: Likewise.
20899         * benchtests/exp-inputs: Likewise.
20900         * benchtests/log-inputs: Likewise.
20901         * benchtests/pow-inputs: Likewise.
20902         * benchtests/rint-inputs: Likewise.
20903         * benchtests/sin-inputs: Likewise.
20904         * benchtests/sinh-inputs: Likewise.
20905         * benchtests/tan-inputs: Likewise.
20906         * benchtests/tanh-inputs: Likewise.
20907         * scripts/bench.pl: Add support for new directives.
20909 2013-10-07  Alan Modra  <amodra@gmail.com>
20911         * README: Fix careless merge.
20913 2013-10-05  Alan Modra  <amodra@gmail.com>
20915         * NEWS: Mention powerpc64le support and bugs fixed.
20916         * README: Both big-endian and little-endian powerpc64 supported.
20918 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20920         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
20921         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
20922         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
20923         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
20925 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
20927         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
20928         match prototype.
20930 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
20932         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
20933         Move -mhard-float appending from
20934         ports/sysdeps/powerpc/powerpc32/Makefile.
20935         [$(with-fp) = yes] (ASFLAGS): Likewise.
20936         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
20937         * sysdeps/powerpc/nofpu: Move directory from
20938         ports/sysdeps/powerpc/nofpu.
20939         * sysdeps/powerpc/soft-fp: Move directory from
20940         ports/sysdeps/powerpc/soft-fp.
20941         * sysdeps/powerpc/powerpc32/405: Move directory from
20942         ports/sysdeps/powerpc/powerpc32/405.
20943         * sysdeps/powerpc/powerpc32/440: Move directory from
20944         ports/sysdeps/powerpc/powerpc32/440.
20945         * sysdeps/powerpc/powerpc32/464: Move directory from
20946         ports/sysdeps/powerpc/powerpc32/464.
20947         * sysdeps/powerpc/powerpc32/476: Move directory from
20948         ports/sysdeps/powerpc/powerpc32/476.
20949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
20950         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
20951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
20952         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
20953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
20954         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
20955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
20956         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
20957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
20958         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
20959         * README: Update for powerpc-*-linux-gnu software floating point
20960         support in libc.
20962         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
20963         case to powerpc/powerpc32*.
20964         * sysdeps/unix/sysv/linux/configure: Regenerated.
20966         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
20967         (_FPU_MASK_OM): Define as 0x04.
20968         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
20969         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
20970         0x00c10080.
20971         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
20972         0x0000003c.
20973         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
20975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
20976         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
20977         getcontext_e500.
20978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
20979         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
20980         setcontext_e500.
20981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
20982         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
20983         and setcontext_e500.
20985 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
20987         * locale/iso-3166.def: Update iso-1366.def and related occurrences
20989 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
20991         * manual/threads.texi (Default Thread Attributes): Fix typo.
20993 2013-10-04  Will Newton  <will.newton@linaro.org>
20995         * malloc/Makefile: Add tst-memalign.
20996         * malloc/tst-memalign.c: New file.
20998         * malloc/tst-posix_memalign.c: Add comments.
20999         (do_test): Add comments and call free on all potentially
21000         allocated pointers. Add space after cast.
21002         * malloc/tst-pvalloc.c: Add comments.
21003         (do_test): Add comments and call free on all potentially
21004         allocated pointers. Remove duplicate check for NULL pointer.
21005         Add space after cast.
21007         * malloc/tst-valloc.c: Add comments.
21008         (do_test): Add comments and call free on all potentially
21009         allocated pointers. Remove duplicate check for NULL pointer.
21010         Add space after cast.
21012 2013-10-04  Alan Modra  <amodra@gmail.com>
21014         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21015         Use stdint types in rather than __attribute__((mode())).
21016         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21018 2013-10-04  Alan Modra  <amodra@gmail.com>
21020         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21021         Correct handling of unaligned relocs for little-endian.
21022         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21024 2013-10-04  Alan Modra  <amodra@gmail.com>
21026         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
21027         * configure: Regenerate.
21028         * nptl/shlib-versions: Powerpc*le starts at 2.18.
21029         * shlib-versions: Likewise.
21031 2013-10-04  Alan Modra  <amodra@gmail.com>
21033         * string/tester.c (test_memrchr): Increment reported test cycle.
21035 2013-10-04  Alan Modra  <amodra@gmail.com>
21037         * string/test-memcpy.c (do_one_test): When reporting errors, print
21038         string address and don't overrun end of string.
21040 2013-10-04  Alan Modra  <amodra@gmail.com>
21042         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
21043         insrdi.  Make better use of reg selection to speed exit slightly.
21044         Schedule entry path a little better.  Remove useless "are we done"
21045         checks on entry to main loop.  Handle wrapping around zero address.
21046         Correct main loop count.  Handle single left-over word from main
21047         loop inline rather than by using loop_small.  Remove extra word
21048         case in loop_small caused by wrong loop count.  Add little-endian
21049         support.
21050         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
21051         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
21052         cache hint.
21053         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
21054         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
21055         support.  Avoid rlwimi.
21056         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
21058 2013-10-04  Alan Modra  <amodra@gmail.com>
21060         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
21061         insrdi.  Formatting.
21062         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
21063         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
21064         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
21065         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21066         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
21067         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
21069 2013-10-04  Alan Modra  <amodra@gmail.com>
21071         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
21072         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21073         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
21074         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
21075         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
21076         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21077         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21078         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
21079         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
21080         use of regs.  Use power7 mtocrf.  Tidy function tails.
21082 2013-10-04  Alan Modra  <amodra@gmail.com>
21084         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
21085         Formatting.  Consistently use rXXX register defines or rN defines.
21086         Use early exit labels that avoid restoring unused non-volatile regs.
21087         Make cr field use more consistent with rWORDn compares.  Rename
21088         regs used as shift registers for unaligned loop, using rN defines
21089         for short lifetime/multiple use regs.
21090         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21091         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
21092         addi 1,1,64 to pop stack frame.  Simplify return value code.
21093         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21095 2013-10-04  Alan Modra  <amodra@gmail.com>
21097         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
21098         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
21099         rather than rlwimi.
21100         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
21101         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
21102         little-endian support.  Correct typos.
21103         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
21104         rather than rlwimi.
21105         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
21106         in loop and entry code to keep "and." results.
21107         (strchr): Add little-endian support.  Comment.  Move cntlzd
21108         earlier in tail.
21109         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
21111 2013-10-04  Alan Modra  <amodra@gmail.com>
21113         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
21114         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
21115         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
21116         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
21118 2013-10-04  Alan Modra  <amodra@gmail.com>
21120         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
21121         (rTMP): Define as r11.
21122         (strcmp): Add little-endian support.  Optimise tail.
21123         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
21124         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21125         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
21126         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21127         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
21128         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21129         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21131 2013-10-04  Alan Modra  <amodra@gmail.com>
21133         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
21134         little-endian support.  Remove unnecessary "are we done" tests.
21135         Handle "s" wrapping around zero and extremely large "size".
21136         Correct main loop count.  Handle single left-over word from main
21137         loop inline rather than by using small_loop.  Correct comments.
21138         Delete "zero" tail, use "end_max" instead.
21139         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
21141 2013-10-04  Alan Modra  <amodra@gmail.com>
21143         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
21144         support.  Don't branch over align.
21145         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
21146         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
21147         support.  Rearrange tmp reg use to suit.  Comment.
21148         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
21150 2013-10-04  Alan Modra  <amodra@gmail.com>
21152         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
21154 2013-10-04  Alan Modra  <amodra@gmail.com>
21156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
21157         conditional form of branch and link when obtaining pc.
21158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
21160 2013-10-04  Alan Modra  <amodra@gmail.com>
21162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
21163         HIWORD/LOWORD.
21164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
21165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
21167 2013-10-04  Alan Modra  <amodra@gmail.com>
21169         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
21170         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
21171         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
21172         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
21173         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21174         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
21175         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
21176         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
21177         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
21178         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
21180 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
21181             Alistair Popple <alistair@ozlabs.au.ibm.com>
21182             Alan Modra <amodra@gmail.com>
21184         [BZ #15723]
21185         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
21186         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
21187         _dl_hwcap access for little-endian.
21188         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
21189         destroy vmx regs when saving unaligned.
21190         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
21191         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
21192         destroy vmx regs when saving unaligned.
21194 2013-10-04  Alan Modra  <amodra@gmail.com>
21196         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
21197         Don't use a union to pack hi/low value.
21199 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
21201         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
21202         for little-endian.
21203         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21204         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
21205         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21206         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
21207         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
21209 2013-10-04  Alan Modra  <amodra@gmail.com>
21211         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
21212         constants to usual value for .cst8 section, and remove redundant
21213         high address load.
21214         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
21215         constant for 0x1p52.  Load little-endian words of double from
21216         correct stack offsets.
21218 2013-10-04  Alan Modra  <amodra@gmail.com>
21220         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
21221         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
21222         words of double from correct stack offsets.
21223         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
21224         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
21225         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
21226         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
21227         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
21228         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
21229         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
21230         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
21231         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
21232         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
21233         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
21234         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
21235         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21236         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21237         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21238         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
21239         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
21241 2013-10-04  Alan Modra  <amodra@gmail.com>
21243         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
21244         64-bit int/double union.
21245         (_FPU_SETCW): Likewise.
21246         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
21247         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
21249 2013-10-04  Alan Modra  <amodra@gmail.com>
21251         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
21252         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
21254 2013-10-04  Alan Modra  <amodra@gmail.com>
21256         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
21257         use vector int constants.
21258         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
21260 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
21262         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
21263         array with long long.
21264         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
21265         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
21266         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
21267         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
21268         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
21269         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
21270         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
21271         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
21272         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
21273         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
21274         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
21275         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
21276         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
21278 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
21280         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
21281         (__signbit): Likewise.  Correct for little-endian.
21282         (__signbitl): Call __signbit.
21283         (lrint): Correct for little-endian.
21284         (lrintf): Call lrint.
21286 2013-10-04  Alan Modra  <amodra@gmail.com>
21288         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
21289         union 32-bit int array member with 64-bit int array.
21290         (t515, tm256): Double rather than long double.
21291         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
21293 2013-10-04  Alan Modra  <amodra@gmail.com>
21295         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
21296         Delete.
21297         (IEEE854_LONG_DOUBLE_BIAS): Delete.
21298         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
21299         version of math_ldbl.h.
21301 2013-10-04  Alan Modra  <amodra@gmail.com>
21303         [BZ #15734], [BZ #15735]
21304         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
21305         all uses of ieee875 long double macros and unions.  Simplify test
21306         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
21307         ldbl_extract_mantissa value for ix,iy exponents.  Properly
21308         normalize after ldbl_extract_mantissa, and don't add hidden bit
21309         already handled.  Don't treat low word of ieee854 mantissa like
21310         low word of IBM long double and mask off bit when testing for
21311         zero.
21312         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
21313         all uses of ieee875 long double macros and unions.  Simplify tests
21314         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
21315         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
21316         two1022, instead use their values.  Recognise that tests for large
21317         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
21318         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
21319         Rewrite all uses of ieee875 long double macros and unions.  Simplify
21320         test for 0.0L and nan.  Correct negation.
21321         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
21322         ieee875 long double macros and unions.  Correct output for large
21323         magnitude x.  Correct absolute value calculation.
21324         (__erfcl): Likewise.
21325         * math/libm-test.inc: Add tests for errors discovered in IBM long
21326         double versions of fmodl, remainderl, erfl and erfcl.
21328 2013-10-04  Alan Modra  <amodra@gmail.com>
21330         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
21331         all uses of ieee854 long double macros and unions.  Simplify tests
21332         for long doubles that are fully specified by the high double.
21333         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
21334         Likewise.
21335         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
21336         Remove dead code too.
21337         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
21338         (__ieee754_ynl): Likewise.
21339         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
21340         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
21341         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
21342         Remove dead code too.
21343         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
21344         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
21345         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
21346         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
21347         Simplify.
21348         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
21349         Simplify.
21350         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
21351         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
21352         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
21353         Comment on variable precision.
21354         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
21355         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21356         Likewise.
21357         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
21358         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
21359         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
21360         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
21361         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
21363 2013-10-04  Alan Modra  <amodra@gmail.com>
21365         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
21366         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
21367         all uses of ieee854 long double macros and unions.
21368         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
21369         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
21370         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
21371         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
21372         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
21373         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
21374         Likewise.
21375         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
21376         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21377         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
21378         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21379         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
21380         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
21381         Simplify sign and nan test too.
21382         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
21383         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
21384         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
21385         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
21386         Likewise.
21387         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
21388         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
21389         Likewise.
21390         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21391         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
21392         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
21393         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
21394         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
21395         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
21397 2013-10-04  Alan Modra  <amodra@gmail.com>
21399         * stdio-common/printf_size.c (__printf_size): Don't use
21400         union ieee854_long_double in fpnum union.
21401         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
21402         signbit macro to retrieve sign from long double.
21403         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
21404         retrieve sign from long double.
21405         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
21406         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
21407         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
21408         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
21409         * math/test-misc.c (main): Don't use union ieee854_long_double.
21411 2013-10-04  Alan Modra  <amodra@gmail.com>
21413         [BZ #15680]
21414         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
21415         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
21416         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
21417         calculation.  Remove unnecessary test for denormal exponent.
21418         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
21419         Correct handling of denormals.  Avoid undefined shift behaviour.
21420         Correct normalisation of low mantissa when low double is denormal.
21421         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
21422         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
21423         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
21424         Correct normalisation of low mantissa.  Test for overflow of high
21425         mantissa and normalise.
21426         (ldbl_nearbyint): Use more readable constant for two52.
21427         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
21428         (__mpn_construct_long_double): Fix test for overflow of high
21429         mantissa and correct normalisation.  Avoid undefined shift.
21431 2013-10-04  Alan Modra  <amodra@gmail.com>
21433         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
21434         (union ibm_extended_long_double): Define as an array of ieee754_double.
21435         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
21436         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
21437         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
21438         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21439         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21440         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
21441         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21442         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
21443         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
21444         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
21445         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
21447 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
21449         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
21450         page size instead of calling getpagesize.
21452         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
21453         (LOCFILE_ALIGN_MASK): Likewise.
21454         (LOCFILE_ALIGN_UP): Likewise.
21455         (LOCFILE_ALIGNED_P): Likewise.
21456         * locale/programs/ld-collate.c (collate_output): Use the new
21457         macros instead of __alignof__ (int32_t).
21458         * locale/weight.h (findidx): Likewise.
21460 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
21462         [BZ #431]
21463         * manual/string.texi: Fix strncat and wcsncat.
21465 2013-10-03  Brooks Moses  <bmoses@google.com>
21467         [BZ #15915]
21468         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
21469         * Makerules: ...here, and adjust associated comments.
21471 2013-10-02  Will Newton  <will.newton@linaro.org>
21473         * malloc/Makefile: Add tst-pvalloc.
21474         * malloc/tst-pvalloc.c: New file.
21476 2013-10-02  Will Newton  <will.newton@linaro.org>
21478         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
21479         improve test coverage.
21481 2013-10-02  Will Newton  <will.newton@linaro.org>
21483         * malloc/Makefile: Add tst-posix_memalign.
21484         * malloc/tst-posix_memalign.c: New file.
21486 2013-10-01  Eric Blake  <eblake@redhat.com>
21488         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
21489         Use __THROWNL rather than __THROW on static functions.
21491 2013-09-30  Petr Machata  <pmachata@redhat.com>
21493         * elf/elf.h (R_AARCH64_ABS16): New macro.
21494         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
21495         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
21496         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
21497         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
21498         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
21499         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
21500         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
21501         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
21502         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
21503         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
21504         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
21505         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
21506         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
21507         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
21508         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
21509         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
21510         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
21511         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
21512         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
21513         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
21514         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
21515         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
21516         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
21517         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
21518         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
21519         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
21520         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
21521         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
21522         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
21523         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
21524         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
21525         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
21526         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
21527         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
21528         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
21529         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
21530         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
21531         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
21532         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
21533         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
21534         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
21535         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
21536         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
21537         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
21538         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
21539         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
21540         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
21541         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
21542         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
21543         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
21544         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
21545         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
21546         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
21547         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
21548         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
21549         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
21550         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
21551         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
21552         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
21553         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
21554         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
21555         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
21556         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
21557         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
21558         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
21559         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
21560         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
21561         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
21562         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
21563         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
21564         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
21565         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
21566         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
21567         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
21568         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
21569         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
21570         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
21571         (R_AARCH64_TLSDESC_LDR): Likewise.
21572         (R_AARCH64_TLSDESC_ADD): Likewise.
21573         (R_AARCH64_TLSDESC_CALL): Likewise.
21575 2013-09-30  Andreas Schwab  <schwab@suse.de>
21577         [BZ #15048]
21578         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
21579         the nss database lookup.
21580         * nscd/initgrcache.c (addinitgroupsX): Likewise.
21581         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
21583 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
21585         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
21587 2013-09-28  P. J. McDermott  <pj@pehjota.net>
21589         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
21590         ${Bash-specific parameter/pattern/string} parameter expansion.
21591         * sysdeps/unix/make-syscalls.sh: Likewise.
21593 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21595         * sysdeps/sh/stackguard-macros.h: New file.
21597 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
21599         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
21600         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
21601         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
21602         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
21603         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21604         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
21606 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21608         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
21609         Fix thread ID register.
21611 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
21613         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
21614         [POSIX || UNIX98]: Require rather than permitting all symbols from
21615         <time.h>.
21616         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
21617         element of struct sched_param.
21618         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
21619         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
21620         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
21621         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
21622         constant.
21624 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
21626         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
21627         argument calculation.
21629 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
21631         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
21632         Expect macro.
21633         [POSIX] (pthread_attr_t): Do not require type.
21634         [POSIX] (pthread_cond_t): Likewise.
21635         [POSIX] (pthread_condattr_t): Likewise.
21636         [POSIX] (pthread_key_t): Likewise.
21637         [POSIX] (pthread_mutex_t): Likewise.
21638         [POSIX] (pthread_mutexattr_t): Likewise.
21639         [POSIX] (pthread_once_t): Likewise.
21640         [POSIX] (pthread_t): Likewise.
21641         [POSIX-based standards] (pthread_atfork): Expect function.
21643 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
21644             Richard Sandiford  <richard@codesourcery.com>
21646         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
21647         (swap_endianness_p): New extern variable.
21648         (set_big_endian): New inline function.
21649         (maybe_swap_uint32): Likewise.
21650         (maybe_swap_uint32_array): Likewise.
21651         (maybe_swap_uint32_obstack): Likewise.
21652         * locale/programs/locfile.c: Include <stdbool.h>.
21653         (swap_endianness_p): New variable.
21654         (add_locale_uint32): Call maybe_swap_uint32.
21655         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
21656         (write_locale_data): Call maybe_swap_uint32_array.
21657         * locale/programs/ld-collate.c (obstack_int32_grow): Call
21658         maybe_swap_uint32.
21659         (obstack_int32_grow_fast): Likewise.
21660         (output_weightwc): Call maybe_swap_uint32_obstack.
21661         (collate_output): Likewise.
21662         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
21663         (OPT_LITTLE_ENDIAN): Likewise.
21664         (options): Add --little-endian and --big-endian options.
21665         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
21666         * locale/programs/locarchive.c: Include "locfile.h".
21667         (GET): New macro.
21668         (SET): Likewise.
21669         (INC): Likewise.
21670         (create_archive): Use the new macros to access fields of
21671         structures directly mapped from or written to locale archives.
21672         (oldlocrecentcmp): Likewise.
21673         (enlarge_archive): Likewise.
21674         (insert_name): Likewise.
21675         (add_alias): Likewise.
21676         (add_locale): Likewise.
21677         (delete_locales_from_archive): Likewise.
21678         (show_archive_content): Likewise.
21679         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
21680         locale data.
21682 2013-09-24  Roland McGrath  <roland@hack.frob.com>
21684         * manual/freemanuals.texi: Updated from (newly) canonical copy at
21685         http://www.gnu.org/doc/freemanuals.texi.
21686         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
21688 2013-09-24  Will Newton  <will.newton@linaro.org>
21690         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
21691         macro.
21693 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
21695         * locale/hashval.h (compute_hashval): Interpret bytes of key as
21696         unsigned char.
21698 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
21700         * manual/threads.texi (POSIX Threads): Fix a typo.
21702 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
21704         [BZ #14547]
21705         * string/tst-strcoll-overflow.c: New test case.
21706         * string/Makefile (xtests): Add tst-strcoll-overflow.
21707         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
21708         cache if string sizes may cause integer overflow.
21710         [BZ #14547]
21711         * string/strcoll_l.c (coll_seq): New members rule, idx,
21712         save_idx and back_us.
21713         (get_next_seq_nocache): New function.
21714         (do_compare_nocache): New function.
21715         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
21716         when malloc fails.
21718 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
21720         [BZ #15754]
21721         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
21722         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
21723         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
21725         [BZ #15754]
21726         * elf/Makefile (tests): Add tst-ptrguard1.
21727         (tests-static): Add tst-ptrguard1-static.
21728         (tst-ptrguard1-ARGS): Define.
21729         (tst-ptrguard1-static-ARGS): Define.
21730         * elf/tst-ptrguard1.c: New file.
21731         * elf/tst-ptrguard1-static.c: New file.
21732         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
21733         * sysdeps/i386/stackguard-macros.h: Likewise.
21734         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
21735         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
21736         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
21737         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
21738         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
21739         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
21741 2013-09-23  Hector Marco  <hecmargi@upv.es>
21742             Ismael Ripoll  <iripoll@disca.upv.es>
21743             Carlos O'Donell  <carlos@redhat.com>
21745         [BZ #15754]
21746         * sysdeps/generic/stackguard-macros.h: Define
21747         __pointer_chk_guard_local and POINTER_CHK_GUARD.
21748         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
21749         Define __pointer_chk_guard_local.
21750         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
21751         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
21753 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
21755         [BZ #15859]
21756         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
21758 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
21760         * include/string.h (__ffs): Declare as hidden.
21761         * string/ffs.c (__ffs): Define as hidden.
21762         * sysdeps/i386/ffs.c (__ffs): Likewise.
21763         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
21764         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
21765         * sysdeps/s390/ffs.c (__ffs): Likewise.
21766         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
21768 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
21770         * NEWS: Mention malloc probes.
21772         * malloc/arena.c (new_heap): New memory_heap_new probe.
21773         (grow_heap): New memory_heap_more probe.
21774         (shrink_heap): New memory_heap_less probe.
21775         (heap_trim): New memory_heap_free probe.
21776         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
21777         (systrim): New memory_sbrk_less probe.
21778         * manual/probes.texi: Document them.
21780         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
21781         * manual/probes.texi: Document it.
21783         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
21784         (__libc_realloc): Add memory_realloc_retry probe.
21785         (__libc_memalign): Add memory_memalign_retry probe.
21786         (__libc_valloc): Add memory_valloc_retry probe.
21787         (__libc_pvalloc): Add memory_pvalloc_retry probe.
21788         (__libc_calloc): Add memory_calloc_retry probe.
21789         * manual/probes.texi: Document them.
21791         * malloc/arena.c (get_free_list): Add probe
21792         memory_arena_reuse_free_list.
21793         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
21794         and memory_arena_reuse.
21795         (arena_get2) [!PER_THREAD]: Likewise.
21796         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
21797         memory_arena_reuse_realloc.
21798         * manual/probes.texi: Document them.
21800         * malloc/malloc.c (__libc_free): Add
21801         memory_mallopt_free_dyn_thresholds probe.
21802         (__libc_mallopt): Add multiple memory_mallopt probes.
21803         * manual/probes.texi: Document them.
21805         * malloc/malloc.c: Include stap-probe.h.
21806         (__libc_mallopt): Add memory_mallopt probe.
21807         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
21808         * manual/probes.texi: New.
21809         * manual/Makefile (chapters): Add probes.
21810         * manual/threads.texi: Set next node.
21812 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
21814         [BZ #15963, #13985]
21815         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
21816         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
21817         Add `Chinese' to `nan' entry name.
21819 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21821         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
21822         (POLYNOMIAL): Likewise.
21823         (TAYLOR_SINCOS): Likewise.
21824         (TAYLOR_SLOW): Likewise.
21825         (__sin): Use TAYLOR_SINCOS.
21826         (__cos): Likewise.
21827         (slow): Use TAYLOR_SLOW.
21828         (sloww): Likewise.
21829         (bsloww): Likewise.
21830         (csloww): Likewise.
21832 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
21834         * stdlib/strtod_l.c: Fix buffer overrun.
21836 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21838         * benchtests/Makefile (bench): Add sincos.
21839         * benchtests/bench-sincos.c: New file.
21841         * math/libm-test.inc (cos_test_data): New test inputs.
21842         (sin_test_data): Likewise.
21844         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
21845         macro.
21846         (__sin): Use it.
21847         (__cos): Likewise.
21848         (slow1): Likewise.
21849         (slow2): Likewise.
21850         (sloww1): Likewise.
21851         (sloww2): Likewise.
21852         (bsloww1): Likewise.
21853         (bsloww2): Likewise.
21854         (cslow2): Likewise.
21855         (csloww1): Likewise.
21856         (csloww2): Likewise.
21858         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
21859         function.
21860         (__sin): Use it.
21861         (__cos): Likewise.
21863         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
21864         gotos.
21865         (__cos): Likewise.
21867 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
21869         * config.h.in (HAVE_MIPS_NAN2008): New macro.
21870         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
21871         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
21872         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
21873         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
21874         * elf/cache.c (print_entry): Handle the new cache flags.
21876 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
21877             Aldy Hernandez  <aldyh@redhat.com>
21879         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
21880         Change condition to [_SOFT_FLOAT].
21881         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
21882         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
21883         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
21884         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
21885         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
21886         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
21887         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
21888         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
21889         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
21890         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
21891         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
21892         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
21893         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
21894         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
21895         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
21896         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
21897         declaration.
21899 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
21901         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
21902         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
21903         (__longjmp): Use LOAD_GP to load saved GPRs.
21904         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
21905         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
21906         (__sigsetjmp): Use SAVE_GP to save GPRs.
21908         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
21909         Do not append -msoft-float.
21910         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
21912 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21914         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
21916 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
21918         [BZ #15966]
21919         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
21920         (_FPU_GETCW): Use initial "__" on variable and field names but not
21921         on macro parameter name.
21922         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
21923         parentheses around reference to macro parameter.
21925 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
21927         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
21928         prototype.
21929         (ctype_startup): Use uint32_t in cast and sizeof for
21930         ctype->charnames.
21932 2013-09-11  Jia Liu  <proljc@gmail.com>
21934         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
21935         __daddr_t_defined.
21936         [__FreeBSD__]: Likewise.
21938 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
21940         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
21941         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
21942         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
21943         (strchr): Remove __strchr_sse42 ifunc selection.
21944         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
21945         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
21947 2013-09-11  Will Newton  <will.newton@linaro.org>
21949         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
21950         parameter to RES. Remove hardcoded 1000 value.
21951         * benchtests/bench-skeleton.c (main): Pass RES parameter
21952         to TIMING_INIT and multiply result by 1000.
21954 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21956         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21958 2013-09-11  Andreas Schwab  <schwab@suse.de>
21960         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
21961         if not defined.
21962         (O_TMPFILE) [__USE_GNU]: Define.
21963         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
21964         Define.
21966 2013-09-11  Will Newton  <will.newton@linaro.org>
21968         [BZ #15857]
21969         * malloc/malloc.c (__libc_memalign): Check the value of bytes
21970         does not overflow.
21972 2013-09-11  Will Newton  <will.newton@linaro.org>
21974         [BZ #15856]
21975         * malloc/malloc.c (__libc_valloc): Check the value of bytes
21976         does not overflow.
21978 2013-09-11  Will Newton  <will.newton@linaro.org>
21980         [BZ #15855]
21981         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
21982         does not overflow.
21984 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
21986         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
21987         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21988         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21989         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21990         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21992 2013-09-10  Allan McRae  <allan@archlinux.org>
21994         [BZ #15748]
21995         * manual/arith.texi (Parsing of Floats): Clarify
21996         cross-reference.
21998         [BZ #15849]
21999         * manual/install.texi (Running make install): Mention
22000         --enable-pt-chown.
22001         * INSTALL: Regenerated.
22003 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
22005         * csu/init-first.c (_init): Remove the !SHARED condition around
22006         FPU control word initialization.
22007         * elf/dl-support.c (_dl_fpu_control): New variable.
22008         (_dl_aux_init) <AT_FPUCW>: Initialize it.
22009         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
22010         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
22011         * math/test-fpucw-static.c: New file.
22012         * math/test-fpucw-ieee.c: New file.
22013         * math/test-fpucw-ieee-static.c: New file.
22014         * math/Makefile (tests): Add `test-fpucw-ieee' and
22015         `$(tests-static)'.
22016         (tests-static): New variable.
22017         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
22018         dependency to...
22019         [($(build-shared),yes)]
22020         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
22021         ... this.
22022         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
22023         New dependency.
22025 2013-09-09  Allan McRae  <allan@archlinux.org>
22027         [BZ #15939]
22028         * manual/string.texi (Collation Functions): Fix typo in
22029         strcoll example.
22030         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
22032         [BZ #15893]
22033         * stdlib/isomac.c (get_null_defines): Fix memory leak.
22035         [BZ #15892]
22036         * libio/memstream.c (open_memstream): Fix memory leak.
22037         * libio/wmemstream.c (open_wmemstream): Likewise.
22039         [BZ #15895]
22040         * nscd/netgroupcache.c: Fix nesting of ifdefs.
22042 2013-09-09  Will Newton  <will.newton@linaro.org>
22044         * malloc/Makefile: Add tst-realloc to tests.
22045         * malloc/tst-realloc.c: New file.
22047 2013-09-09  Allan McRae  <allan@archlinux.org>
22049         [BZ #15844]
22050         * COPYING: Update from GNU website to fix FSF address.
22051         * COPYING.LIB: Likewise.
22053 2013-09-06  David S. Miller  <davem@davemloft.net>
22055         * po/zh_TW.po: Update Chinese (traditional) translation from
22056         translation project.
22058 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
22059             Joseph Myers  <joseph@codesourcery.com>
22061         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
22062         "localeinfo.h".
22063         (obstack_chunk_alloc): New macro.
22064         (obstack_chunk_free): Likewise.
22065         (record_offset): New function.
22066         (init_locale_data): Likewise.
22067         (align_locale_data): Likewise.
22068         (add_locale_empty): Likewise.
22069         (add_locale_raw_data): Likewise.
22070         (add_locale_raw_obstack): Likewise.
22071         (add_locale_string): Likewise.
22072         (add_locale_wstring): Likewise.
22073         (add_locale_uint32): Likewise.
22074         (add_locale_uint32_array): Likewise.
22075         (add_locale_char): Likewise.
22076         (start_locale_structure): Likewise.
22077         (end_locale_structure): Likewise.
22078         (start_locale_prelude): Likewise.
22079         (end_locale_prelude): Likewise.
22080         (write_locale_data): Take locale_file structure rather than an
22081         iovec.
22082         * locale/programs/locfile.h: Include "obstack.h".
22083         (struct locale_file): Change to store locale file contents instead
22084         of header.
22085         (init_locale_data): New prototype.
22086         (align_locale_data): Likewise.
22087         (add_locale_empty): Likewise.
22088         (add_locale_raw_data): Likewise.
22089         (add_locale_raw_obstack): Likewise.
22090         (add_locale_string): Likewise.
22091         (add_locale_wstring): Likewise.
22092         (add_locale_uint32): Likewise.
22093         (add_locale_uint32_array): Likewise.
22094         (add_locale_char): Likewise.
22095         (start_locale_structure): Likewise.
22096         (end_locale_structure): Likewise.
22097         (start_locale_prelude): Likewise.
22098         (end_locale_prelude): Likewise.
22099         (write_locale_data): Update prototype.
22100         * locale/programs/3level.h (struct TABLE): Remove result field.
22101         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
22102         Use new locale_file interface.
22103         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
22104         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
22105         * locale/programs/ld-address.c (address_output): Use new
22106         locale_file interface.
22107         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
22108         NO_ADD_LOCALE.
22109         (collate_finish): Don't call collseq_table_finalize.
22110         (collate_output): Use new locale_file interface.
22111         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
22112         in file.
22113         (NO_FINALIZE): Change to NO_ADD_LOCALE.
22114         (TABLE): Move defines earlier in file.
22115         (ELEMENT): Likewise.
22116         (DEFAULT): Likewise.
22117         (wctrans_table_add): Move macro and inline function earlier in
22118         file.
22119         (struct wctype_table): Move type earlier in file.
22120         (add_locale_wctype_table): New static prototype.
22121         (struct locale_ctype_t): Use logical types instead of struct iovec
22122         pointers for members.
22123         (ctype_output): Use new locale_file interface.
22124         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
22125         new locale_file interface.
22126         (allocate_arrays): Update for use of new locale_file interface.
22127         * locale/programs/ld-identification.c (identification_output): Use
22128         new locale_file interface.
22129         * locale/programs/ld-measurement.c (measurement_output): Likewise.
22130         * locale/programs/ld-messages.c (messages_output): Likewise.
22131         * locale/programs/ld-monetary.c (monetary_output): Likewise.
22132         * locale/programs/ld-name.c (name_output): Likewise.
22133         * locale/programs/ld-numeric.c (numeric_output): Likewise.
22134         * locale/programs/ld-paper.c (paper_output): Likewise.
22135         * locale/programs/ld-telephone.c (telephone_output): Likewise.
22136         * locale/programs/ld-time.c (time_output): Likewise.
22138 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22140         * benchtests/Makefile: Add memrchr benchmark.
22141         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
22142         benchmark as memrchr.
22143         * benchtests/bench-memrchr-ifunc.c: New file.
22144         * benchtests/bench-memrchr.c: New file.
22146 2013-09-06   Will Newton  <will.newton@linaro.org>
22148         * benchtests/Makefile (string-bench): Add memcpy.
22150 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
22151             Cong Wang  <amwang@redhat.com>
22153         [BZ #15850]
22154         * sysdeps/unix/sysv/linux/bits/in.h
22155         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
22156         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
22157         before __USE_KERNEL_IPV6_DEFS uses.
22158         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
22159         IPPROTO_BEETPH.
22160         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
22161         sockaddr_in6, or ipv6_mreq.
22163 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22165         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
22166         memory access for final bytes in some large inputs.
22167         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
22169 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22171         * string/test-memrchr.c: New file.
22172         * string/test-memrchr-ifunc.c: New file.
22173         * string/Makefile: Add new memrchr testcase.
22175 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
22177         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
22178         fanotify_init returns EPERM.
22180 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
22182         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
22183         errors.
22184         (top level): Treat second token from macro or constant entries for
22185         allowed headers as allowed.
22186         * include/complex.h: Condition internal declarations on
22187         [!_ISOMAC].
22188         * include/fenv.h: Condition include of <stdbool.h> and internal
22189         declarations on [!_ISOMAC].
22191 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
22193         [BZ #15923]
22194         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
22196 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
22198         * configure.in (--enable-versioning): Remove configure option.
22199         (libc_cv_asm_symver_directive): Remove configure test.
22200         (libc_cv_ld_version_script_option): Likewise.
22201         (VERSIONING): Remove variable and AC_SUBST.
22202         (DO_VERSIONING): Remove AC_DEFINE.
22203         * configure: Regenerated.
22204         * config.h.in (DO_VERSIONING): Remove macro.
22205         * Makerules [$(versioning) = yes]: Change conditionals to
22206         [$(build-shared) = yes].
22207         * config.make.in (versioning): Remove variable.
22208         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
22209         [$(build-shared) = yes].
22210         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
22211         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
22212         * elf/Makefile [$(versioning) = yes]: Change conditionals to
22213         [$(build-shared) = yes].
22214         * extra-lib.mk [$(versioning) = yes]: Likewise.
22215         * hurd/Makefile [$(versioning) = yes]: Likewise.
22216         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
22217         [SHARED].
22218         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
22219         [SHARED].
22220         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
22221         [SHARED && !NO_HIDDEN].
22222         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
22223         [SHARED].
22224         [SHARED && DO_VERSIONING]: Likewise..
22225         * libio/Makefile [$(versioning) = yes]: Change conditionals to
22226         [$(build-shared) = yes].
22227         * manual/install.texi (--disable-versioning): Remove
22228         documentation.
22229         * INSTALL: Regenerated.
22230         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
22231         to [SHARED].
22232         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
22233         [$(build-shared) = yes].
22234         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
22235         * sysdeps/i386/i686/multiarch/strstr-c.c
22236         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
22237         [SHARED && !NO_HIDDEN].
22238         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
22239         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
22240         * sysdeps/powerpc/powerpc32/dl-machine.c
22241         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
22242         * sysdeps/powerpc/powerpc32/sysdep.h
22243         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
22244         to [SHARED && PIC && !NO_HIDDEN].
22245         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
22246         conditional to [SHARED].
22248 2013-09-04   Will Newton  <will.newton@linaro.org>
22250         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
22251         * benchtests/bench-string.h: Include bench-timing.h instead
22252         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
22253         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
22254         call to HP_TIMING_DIFF_INIT.
22255         * benchtests/bench-memccpy.c: Use bench-timing.h macros
22256         instead of hp-timing.h macros.
22257         * benchtests/bench-memchr.c: Likewise.
22258         * benchtests/bench-memcmp.c: Likewise.
22259         * benchtests/bench-memcpy.c: Likewise.
22260         * benchtests/bench-memmem.c: Likewise.
22261         * benchtests/bench-memmove.c: Likewise.
22262         * benchtests/bench-memset.c: Likewise.
22263         * benchtests/bench-rawmemchr.c: Likewise.
22264         * benchtests/bench-strcasecmp.c: Likewise.
22265         * benchtests/bench-strcasestr.c: Likewise.
22266         * benchtests/bench-strcat.c: Likewise.
22267         * benchtests/bench-strchr.c: Likewise.
22268         * benchtests/bench-strcmp.c: Likewise.
22269         * benchtests/bench-strcpy.c: Likewise.
22270         * benchtests/bench-strcpy_chk.c: Likewise.
22271         * benchtests/bench-strlen.c: Likewise.
22272         * benchtests/bench-strncasecmp.c: Likewise.
22273         * benchtests/bench-strncat.c: Likewise.
22274         * benchtests/bench-strncmp.c: Likewise.
22275         * benchtests/bench-strncpy.c: Likewise.
22276         * benchtests/bench-strnlen.c: Likewise.
22277         * benchtests/bench-strpbrk.c: Likewise.
22278         * benchtests/bench-strrchr.c: Likewise.
22279         * benchtests/bench-strspn.c: Likewise.
22280         * benchtests/bench-strstr.c: Likewise.
22282 2013-09-04  Will Newton  <will.newton@linaro.org>
22284         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
22286 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
22288         [BZ #15427]
22289         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
22290         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
22291         * math/libm-test.inc (lgamma_test_data): Add more tests.
22292         * sysdeps/i386/fpu/libm-test-ulps: Update.
22293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22295 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
22297         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
22298         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22299         Add ifunc.
22300         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22301         Add strcmp-sse2-unaligned
22302         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
22304 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
22306         * Versions.def (libc): Add GLIBC_2.19.
22308 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
22310         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
22311         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
22313 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
22315         [BZ #14155]
22316         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
22317         intermediate calculations in recurrence.
22318         (__ieee754_ynf): Likewise.
22319         * math/libm-test.inc (jn_test_data): Do not allow spurious
22320         underflow exception.  Add more tests.
22321         (yn_test_data): Add more tests.
22322         * sysdeps/i386/fpu/libm-test-ulps: Update.
22323         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22325 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
22327         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
22329 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
22331         * csu/init-first.c: Fix then/than typos.
22332         * locale/programs/ld-collate.c: Likewise.
22333         * locale/programs/linereader.h: Likewise.
22334         * manual/charset.texi: Likewise.
22335         * manual/filesys.texi: Likewise.
22336         * manual/stdio.texi: Likewise.
22337         * manual/string.texi: Likewise.
22338         * stdlib/fmtmsg.c: Likewise.
22339         * sysdeps/i386/stpncpy.S: Likewise.
22340         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22341         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22342         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22343         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22345 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
22347         * elf/dl-open.c: Fix typos.
22348         * iconvdata/gbbig5.c: Likewise.
22349         * iconvdata/iso-2022-jp.c: Likewise.
22350         * iconv/gconv_int.h: Likewise.
22351         * iconv/loop.c: Likewise.
22352         * nis/rpcsvc/nis.h: Likewise.
22353         * resolv/ns_name.c: Likewise.
22354         * stdio-common/vfscanf.c: Likewise.
22355         * streams/stropts.h: Likewise.
22356         * sunrpc/rpc_thread.c: Likewise.
22357         * sysdeps/i386/strpbrk.S: Likewise.
22358         * sysdeps/ieee754/k_standard.c: Likewise.
22359         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22360         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22361         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
22362         * sysdeps/mach/hurd/profil.c: Likewise.
22363         * sysdeps/s390/dl-procinfo.h: Likewise.
22364         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
22365         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
22366         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
22367         * sysdeps/x86_64/dl-trampoline.S: Likewise.
22368         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22370 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
22372         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
22373         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
22375 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
22377         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
22378         aix specific files.
22379         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
22380         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
22381         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
22382         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
22383         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
22384         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
22385         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
22386         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
22388 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
22389             Roland McGrath  <roland@hack.frob.com>
22391         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
22392         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
22394 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22396         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
22397         __executable_start symbol instead of _start.
22399 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
22401         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
22402         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
22403         Move macros to...
22404         * sysdeps/gnu/ldsodefs.h: ... this new file.
22406         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
22407         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
22408         instead of ELFOSABI_LINUX.
22410         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
22411         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
22412         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
22413         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
22414         Likewise.
22415         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
22416         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
22417         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
22418         Likewise.
22419         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
22420         (ibm_extended_long_double): Add ieee_nan member.
22421         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
22422         (do_test): New function.
22424         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
22425         TEST_TRUNC.
22426         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
22427         functions, renamed from truncdfsf_test, trunctfsf_test,
22428         trunctfdf_test.
22429         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
22430         functions.
22431         (do_test): Run all these.
22433 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
22435         * argp/argp-help.c: Fix typos.
22436         * argp/argp-parse.c: Likewise.
22437         * debug/backtracesyms.c: Likewise.
22438         * elf/elf.h: Likewise.
22439         * malloc/malloc.c: Likewise.
22440         * nis/nis_print.c: Likewise.
22441         * resolv/res_comp.c: Likewise.
22442         * stdlib/stdlib.h: Likewise.
22443         * sunrpc/clnt_tcp.c: Likewise.
22444         * sunrpc/clnt_udp.c: Likewise.
22445         * sunrpc/clnt_unix.c: Likewise.
22446         * sysdeps/unix/bsd/ptsname.c: Likewise.
22447         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
22448         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
22449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
22450         Likewise.
22451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
22452         Likewise.
22453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
22454         Likewise.
22455         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
22457 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22459         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
22460         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22462 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
22464         [BZ #15897]
22465         * dlfcn/Makefile (tests): Add bug-dl-leaf.
22466         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
22467         ($(objpfx)bug-dl-leaf): New rule.
22468         ($(objpfx)bug-dl-leaf.so): Likewise.
22469         ($(objpfx)bug-dl-leaf.out): Likewise.
22470         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
22471         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
22472         * dlfcn/bug-dl-leaf.c: New test.
22473         * dlfcn/bug-dl-leaf-lib.c: Likewise.
22474         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
22475         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
22476         (dlclose): Likewise.
22477         (dlmopen): Likewise.
22479 2013-08-27  Roland McGrath  <roland@hack.frob.com>
22481         * include/netdb.h [!_ISOMAC]:
22482         Don't include <tls.h>.
22483         (h_errno, __libc_h_errno): Move declaration and macros out of
22484         [_LIBC_REENTRANT].
22486         * include/resolv.h [_RESOLV_H_]:
22487         Don't include <tls.h>.
22488         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
22489         * resolv/res_libc.c: Don't include <tls.h>.
22490         (_res): Use __attribute__ ((nocommon)) in place of
22491         __attribute__ ((section (".bss"))).
22493         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
22494         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
22496         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
22498         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
22499         only under [SIOCGIFCONF && SIOCGIFNETMASK].
22501         * resolv/res_mkquery.c: Include <sys/time.h>.
22503         * inet/ifreq.c: Moved to ...
22504         * sysdeps/unix/ifreq.c: ... here.
22505         * inet/ifreq.c: New file, true stub version.
22507         * socket/sa_len.c: New file.
22508         * socket/Makefile (aux): Add it.
22509         * sysdeps/unix/sysv/linux/Makefile
22510         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
22511         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
22512         and #include <socket/sa_len.c>.
22513         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
22514         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
22516         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
22517         * bits/socket.h: ... here.
22519         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
22520         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
22521         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
22523 2013-08-27  Andreas Schwab  <schwab@suse.de>
22525         [BZ #15736]
22526         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
22527         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
22528         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
22529         * string/test-strcasecmp.c (test_main): Run tests in several
22530         locales.
22531         * string/test-strncasecmp.c (test_main): Likewise.
22533         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
22534         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
22535         to __strcasecmp_nonascii and __strncasecmp_nonascii.
22536         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
22537         (__strncasecmp_ssse3) [PIC]: Likewise.
22539 2013-08-26  Roland McGrath  <roland@hack.frob.com>
22541         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
22543         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
22544         instead of explicitly declaring xdecrypt.
22545         * nis/nss_nis/nis-publickey.c: Likewise.
22547 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22549         [BZ #15890]
22550         * nscd/aicache.c: Include res_hconf.h.
22551         (addhstaiX): Initialize res_hconf.
22553 2013-08-26  Andreas Schwab  <schwab@suse.de>
22555         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
22556         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
22558 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22560         * nscd/aicache.c (addhstaiX): Fix indentation.
22562 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
22564         * configure.ac: Quote $build_pt_chown test.
22565         * configure: Regenerated.
22567 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
22569         [BZ #15532]
22570         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
22571         * math/s_cexpf.c (__cexpf): Likewise.
22572         * math/s_cexpl.c (__cexpl): Likewise.
22573         * math/libm-test.inc (cexp_test_data): Correct expected return
22574         value for NaN + i0.  Add another test.
22576 2013-08-22  David S. Miller  <davem@davemloft.net>
22578         * po/ca.po: Update Catalan translation from translation project.
22579         * po/uk.po: Add Ukrainian translations from translation project.
22581 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
22583         [BZ #15797]
22584         * math/s_fdim.c (__fdim): Check for infinite arguments if result
22585         is infinite, not alongside NaN test.
22586         * math/s_fdimf.c (__fdimf): Likewise.
22587         * math/s_fdiml.c (__fdiml): Likewise.
22588         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
22589         errno is unchanged.
22591 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
22593         * argp/argp-help.c: Fix typos.
22594         * crypt/speeds.c: Likewise.
22595         * csu/check_fds.c: Likewise.
22596         * elf/dl-load.c: Likewise.
22597         * elf/dl-open.c: Likewise.
22598         * elf/reldep3.c: Likewise.
22599         * elf/reldep.c: Likewise.
22600         * elf/sprof.c: Likewise.
22601         * iconv/iconv_charmap.c: Likewise.
22602         * iconv/skeleton.c: Likewise.
22603         * iconv/strtab.c: Likewise.
22604         * io/lockf64.c: Likewise.
22605         * libio/libioP.h: Likewise.
22606         * resolv/gai_notify.c: Likewise.
22607         * resolv/ns_name.c: Likewise.
22608         * resolv/ns_samedomain.c: Likewise.
22609         * resolv/res_send.c: Likewise.
22610         * stdlib/random.c: Likewise.
22611         * sunrpc/rpc/xdr.h: Likewise.
22612         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
22613         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
22614         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
22615         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
22616         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
22617         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
22618         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
22619         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
22620         * sysdeps/mach/hurd/check_fds.c: Likewise.
22621         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
22622         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
22623         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22624         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
22625         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
22626         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
22627         * sysdeps/pthread/aio_notify.c: Likewise.
22628         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
22629         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
22630         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
22631         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22632         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
22634 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22636         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
22637         version if bit_Slow_SSE4_2 is set.
22638         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22639         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22641 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22643         [BZ #15867]
22644         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
22645         trampoline stack frame information.
22646         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
22647         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
22648         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
22649         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
22650         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
22651         * sysdeps/unix/sysv/linux/powerpc/init-first.c
22652         (_libc_vdso_platform_setup): Initialize the signal trampolines.
22653         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
22654         sa_flags value.
22655         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
22656         interrupting a syscall and set with option SA_SIGINFO.
22658 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
22660         [BZ #15531]
22661         * math/s_cproj.c (__cproj): Only return an infinity if one part of
22662         argument is infinite.
22663         * math/s_cprojf.c (__cprojf): Likewise.
22664         * math/s_cprojl.c (__cprojl): Likewise.
22665         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
22666         * math/libm-test.inc (cproj_test_data): Add more tests.
22668         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
22670         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
22671         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
22672         size.  Use __ffs to determine corresponding shift.
22674 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
22675             Roland McGrath  <roland@hack.frob.com>
22677         * Makefile (INSTALL): Remove trailing blank lines from output of
22678         makeinfo.
22680 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22682         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
22683         Align 32 bit compat elf_greg to 8 bytes.
22685 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
22687         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
22689 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
22691         * string/strcoll_l.c (coll_seq): New structure.
22692         (get_next_seq_cached): New function.
22693         (get_next_seq): New function.
22694         (do_compare): New function.
22695         (STRCOLL): Use GNU style definition.  Simplify implementation
22696         by using get_next_seq, get_next_seq_cached and do_compare.
22698 2013-08-16  Florian Weimer  <fweimer@redhat.com>
22700         [BZ #14699]
22701         CVE-2013-4237
22702         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
22703         member.
22704         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
22705         member.
22706         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
22707         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
22708         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
22709         conditional.
22710         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
22711         GETDENTS_64BIT_ALIGNED.
22712         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
22713         * manual/filesys.texi (Reading/Closing Directory): Document
22714         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
22715         strongly.
22716         * manual/conf.texi (Limits for Files): Add portability note to
22717         NAME_MAX, PATH_MAX.
22718         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
22720 2013-08-13  Andreas Schwab  <schwab@suse.de>
22722         [BZ #15749]
22723         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
22724         of fabs.
22725         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
22726         LDBL_MAX_EXP >= 16384]: Add tests for it.
22728 2013-08-12  David S. Miller  <davem@davemloft.net>
22730         * version.h (RELEASE): Set to "development".
22731         (VERSION): Set to "2.18.90".
22732         * NEWS: Add 2.19 section.
22734 2013-08-03  David S. Miller  <davem@davemloft.net>
22736         * po/ko.po: Update Korean translation from translation project.
22738 2013-08-01  David S. Miller  <davem@davemloft.net>
22740         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
22741         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
22742         Bilka.
22744 2013-07-30  David S. Miller  <davem@davemloft.net>
22746         * po/fr.po: Update French translation from translation project.
22748 2013-07-28  David S. Miller  <davem@davemloft.net>
22750         * po/cs.po: Update Czech translation from translation project.
22752         * po/sv.po: Update Swedish translation from translation project.
22754 2013-07-27  David S. Miller  <davem@davemloft.net>
22756         * po/eo.po: Update Esperanto translation from translation project.
22758         * po/vi.po: Update Vietnamese translation from translation project.
22760         * po/de.po: Update German translation from translation project.
22762 2013-07-26  David S. Miller  <davem@davemloft.net>
22764         * po/bg.po: Update Bulgarian translation from translation project.
22766         * po/nl.po: Update Dutch translation from translation project.
22767         * po/pl.po: Update Polish translation from translation project.
22768         * po/ru.po: Update Russian translation from translation project.
22770 2013-07-24  David S. Miller  <davem@davemloft.net>
22772         * po/libc.pot: Update.
22774 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22776         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
22777         variable page size.
22778         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
22779         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
22780         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
22782 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22784         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
22786 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22787             Andreas Schwab  <schwab@suse.de>
22788             Roland McGrath  <roland@hack.frob.com>
22789             Joseph Myers  <joseph@codesourcery.com>
22790             Carlos O'Donell  <carlos@redhat.com>
22792         [BZ #15755]
22793         * config.h.in: Define HAVE_PT_CHOWN.
22794         * config.make.in (build-pt-chown): New variable.
22795         * configure.in (--enable-pt_chown): New configure option.
22796         * configure: Regenerate.
22797         * login/Makefile: Include Makeconfig.  Build pt_chown only if
22798         build-pt-chown is enabled.
22799         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
22800         pt_chown to fix pty ownership.
22801         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
22802         CLOSE_ALL_FDS.
22803         * manual/install.texi (Configuring and compiling): Mention
22804         --enable-pt_chown. Add @findex for grantpt.
22805         * INSTALL: Regenerate.
22807 2013-07-20  David S. Miller  <davem@davemloft.net>
22809         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
22810         difference between 32-bit and 64-bit.
22812 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
22814         [BZ #15711]
22815         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
22816         Avoid system header dependency with -ffreestanding.
22817         ($(objpfx)bits/syscall%d): Likewise.
22819 2013-07-13  David S. Miller  <davem@davemloft.net>
22821         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
22822         underflows from atanl/atan2l due to bug 15319.
22823         (casinh_test_data): Likewise.
22825 2013-07-07  David S. Miller  <davem@davemloft.net>
22827         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
22829 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
22831         * sysdeps/i386/fpu/libm-test-ulps: Update.
22832         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22834 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22836         * configure.in (--enable-lock-elision): Fix message text.
22837         * INSTALL: Regenerate.
22838         * configure: Regenerate.
22840 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22842         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22844 2013-07-03  Andreas Jaeger  <aj@suse.de>
22846         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
22847         define.
22848         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
22849         (ptrace_peeksiginfo_args): Add.
22850         (__ptrace_peeksiginfo_flags): Add.
22851         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22852         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22853         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22855 2013-07-03  Allan McRae  <allan@archlinux.org>
22857         * sysdeps/i386/fpu/libm-test-ulps: Update.
22859 2013-07-02  David S. Miller  <davem@davemloft.net>
22861         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22863 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
22865         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22867 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
22869         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
22870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22872 2013-07-02  Andi Kleen <ak@linux.intel.com>
22874         * config.h.in (ENABLE_LOCK_ELISION): Add.
22875         * configure.in (--enable-lock-elision): Add option.
22876         * manual/install.texi: Document --enable lock elision.
22877         * configure: Regenerate
22878         * INSTALL: Regenerate.
22880 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
22882         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
22883         SSE4.2 strcasecmp for libc.a.
22884         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
22886 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
22888         [BZ #13304]
22889         * soft-fp/op-common.h (_FP_FMA): New macro.
22890         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
22891         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
22892         (_FP_MUL_MEAT_1_imm): ... here.
22893         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
22894         (_FP_MUL_MEAT_1_wide): ... here.
22895         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
22896         (_FP_MUL_MEAT_1_hard): ... here.
22897         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
22898         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
22899         (_FP_MUL_MEAT_2_wide): ... here.
22900         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
22901         (_FP_MUL_MEAT_2_wide_3mul): ... here.
22902         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
22903         (_FP_MUL_MEAT_2_gmp): ... here.
22904         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
22905         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
22906         (_FP_MUL_MEAT_4_wide): ... here.
22907         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
22908         (_FP_MUL_MEAT_4_gmp): ... here.
22909         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
22910         (_FP_WFRACBITS_DW_S): Likewise.
22911         (_FP_WFRACXBITS_DW_S): Likewise.
22912         (_FP_HIGHBIT_DW_S): Likewise.
22913         (FP_FMA_S): Likewise.
22914         (_FP_FRAC_HIGH_DW_S): Likewise.
22915         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
22916         (_FP_WFRACBITS_DW_D): Likewise.
22917         (_FP_WFRACXBITS_DW_D): Likewise.
22918         (_FP_HIGHBIT_DW_D): Likewise.
22919         (FP_FMA_D): Likewise.
22920         (_FP_FRAC_HIGH_DW_D): Likewise.
22921         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
22922         (_FP_WFRACBITS_DW_E): Likewise.
22923         (_FP_WFRACXBITS_DW_E): Likewise.
22924         (_FP_HIGHBIT_DW_E): Likewise.
22925         (FP_FMA_E): Likewise.
22926         (_FP_FRAC_HIGH_DW_E): Likewise.
22927         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
22928         (_FP_WFRACBITS_DW_Q): Likewise.
22929         (_FP_WFRACXBITS_DW_Q): Likewise.
22930         (_FP_HIGHBIT_DW_Q): Likewise.
22931         (FP_FMA_Q): Likewise.
22932         (_FP_FRAC_HIGH_DW_Q): Likewise.
22933         * soft-fp/fmasf4.c: New file.
22934         * soft-fp/fmadf4.c: Likewise.
22935         * soft-fp/fmatf4.c: Likewise.
22937 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22939         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22940         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
22941         Silvermont.
22942         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
22943         macro.
22944         (index_Slow_SSE4_2): Likewise.
22945         (index_Prefer_PMINUB_for_stringop): Likewise.
22946         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
22947         bit_Slow_SSE4_2 is set.
22948         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22949         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22951 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22953         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
22954         rtld_global._dl_hwcap2.
22955         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
22956         POWER8.
22957         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
22958         POWER8 feature descriptions defined in _dl_hwcap2.
22959         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
22960         string handling for POWER8 feature bits.
22961         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
22962         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
22963         _dl_powerpc_cap_flags.
22964         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
22965         * sysdeps/powerpc/rtld-global-offsets.sym
22966         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
22967         _dl_hwcap2 in the rtld_global_ro structure.
22969 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22971         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
22972         hardware capabilities in support of AT_HWCAP2.
22973         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
22974         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
22975         GLRO(dl_hwcap2).
22976         (_dl_show_auxv): Add support for calling _dl_procinfo to display
22977         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
22978         explicitly the unknown a_type display mechanism is used.
22979         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
22980         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
22981         struct member.
22982         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
22983         to macro prototype for AT_HWCAP2 support.
22984         * sysdeps/i386/dl-procinfo.h: Likewise.
22985         * sysdeps/s390/dl-procinfo.h: Likewise.
22986         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
22987         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
22988         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
22989         return -1 for unknown a_type display fallback.
22990         * sysdeps/sparc/dl-procinfo.h: Likewise.
22991         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
22992         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
22994 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
22996         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
22997         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
22999 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
23001         [BZ #12492]
23002         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
23003         mprotect making __stack_prot writable.
23005 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
23006             Joseph Myers  <joseph@codesourcery.com>
23008         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
23009         as being properly aligned.
23011 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
23013         * dlfcn/modstatic5.c: New file.
23014         * dlfcn/tststatic5.c: New file.
23015         * dlfcn/Makefile (tests): Add tststatic5.
23016         (tests-static): Likewise.
23017         (modules-names): Add modstatic5.
23018         (tststatic5-ENV): New variable.
23019         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
23021         [BZ #15022]
23022         * elf/dl-support.c (_dl_main_map): New variable.
23023         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
23024         (_dl_nns, _dl_load_adds): Set to 1.
23025         (_dl_initial_searchlist): Refer to _dl_main_map.
23026         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
23027         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
23028         call to _dl_get_origin.
23029         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
23030         around call_map.
23031         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
23032         * dlfcn/modstatic3.c: New file.
23033         * dlfcn/tststatic3.c: New file.
23034         * dlfcn/tststatic4.c: New file.
23035         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
23036         (tests-static): Likewise.
23037         (modules-names): Add modstatic3.
23038         (tststatic3-ENV, tststatic4-ENV): New variables.
23039         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
23040         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
23042 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
23044         * configure.in (CC): Require GCC version 4.4 or later.
23045         * configure: Regenerated.
23046         * manual/install.texi (Tools for Compilation): Update GCC version
23047         requirement.
23048         * INSTALL: Regenerated.
23050 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23052         [BZ #15674]
23053         * string/test-memcmp.c (check2): New.
23054         (main): Call check2.
23056         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
23058 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
23060         [BZ #15022]
23061         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
23062         over to...
23063         (dl_open_worker) [!SHARED]: ... here.
23065 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23067         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
23069 2013-06-25  Richard Henderson  <rth@redhat.com>
23071         * locale/programs/locarchive.c: Include <libc-internal.h>
23073 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
23075         * manual/texinfo.tex: Update to version 2013-06-21.17, with
23076         trailing whitespace removed.
23078 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
23080         [BZ #10283]
23081         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
23082         * locale/programs/locarchive.c: Include libc-mmap.h.
23083         (prepare_address_space): Take two new outputs (the mmap base and len).
23084         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
23085         values.
23086         (create_archive): Declare new mmap base and len values for
23087         prepare_address_space, and store the result in ah.
23088         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
23089         (enlarge_archive): If ah->mmap_base is not NULL, use that and
23090         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
23091         Declare new mmap base and len values for
23092         prepare_address_space, and store the result in new_ah.
23093         (open_archive): Declare new mmap base and len values for
23094         prepare_address_space, and store the result in ah.
23095         (close_archive): If ah->mmap_base is not NULL, use that and
23096         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
23097         * sysdeps/generic/libc-mmap.h: New file.
23099 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
23101         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
23102         (ALIGN_UP): Likewise.
23103         (PTR_ALIGN_DOWN): Likewise.
23104         (PTR_ALIGN_UP): Likewise.
23106 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23108         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
23109         entry mapped to PPC_PLATFORM_POWER8.
23110         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
23111         POWER8.
23112         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
23113         (_dl_string_platform): Add case for exporting platform position for
23114         POWER8.
23115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
23116         search path to sysdeps/powerpc/powerpc32/power8 directory.
23117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
23118         search path to sysdeps/powerpc/powerpc64/power8 directory.
23119         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
23120         power7 directories.
23121         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
23122         power7 directories.
23124 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23126         * INSTALL: Regenerate.
23128         * nscd/connections.c (nscd_init): Fix comment.
23130 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
23132         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
23134         [BZ #15667]
23135         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
23136         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
23138 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
23140         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
23141         DL_DST_REQ_STATIC.
23142         (DL_DST_REQ_STATIC): Remove macro.
23144 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
23146         [BZ #7006]
23147         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
23148         with a shift of 0 bits.
23150 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
23152         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
23153         $(tststatic-ENV).
23155 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23157         [BZ #15655]
23158         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
23160 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23162         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
23163         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
23164         accepts -fno-tree-loop-distribute-patterns.
23165         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
23166         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
23167         recursive call.
23168         * string/memset.c (memset): Likewise.
23169         * string/test-memmove.c (simple_memmove): Disable loop transformation
23170         to library calls.
23171         * string/test-memset.c (simple_memset): Likewise.
23172         * benchtests/bench-memmove.c (simple_memmove): Likewise.
23173         * benchtests/bench-memset.c (simple_memset): Likewise.
23174         * configure: Regenerated.
23176 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
23178         * math/test-misc.c (main): Ignore fesetround failure when failures
23179         of subsequent rounding tests would be ignored.
23181         [BZ #15654]
23182         * math/fedisblxcpt.c (fedisableexcept): Return 0.
23183         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
23184         * math/fegetenv.c (__fegetenv): Return 0.
23185         * math/fegetexcept.c (fegetexcept): Return 0.
23186         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
23187         FE_TONEAREST.
23188         * math/feholdexcpt.c (feholdexcept): Return 0.
23189         * math/fesetenv.c (__fesetenv): Return 0.
23190         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
23191         argument FE_TONEAREST.
23192         * math/feupdateenv.c (__feupdateenv): Return 0.
23193         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
23195 2013-06-18  Roland McGrath  <roland@hack.frob.com>
23197         * elf/rtld-Rules (rtld-compile-command.S): New variable.
23198         (rtld-compile-command.s, rtld-compile-command.c): New variables.
23199         ($(objpfx)rtld-%.os rules): Use them.
23201 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23203         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
23204         fields.
23206 2013-06-17  Roland McGrath  <roland@hack.frob.com>
23208         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
23209         length of target pattern, then descending length of dependency pattern.
23210         * configure.in (AWK): Require gawk 3.1.2 or newer.
23211         * manual/install.texi (Tools for Compilation): Say that we do.
23212         * configure: Regenerated.
23214         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
23215         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
23216         * scripts/sysd-rules.awk: ... this new script.
23217         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
23218         than a glob-style pattern.
23220 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
23222         * math/test-misc.c (main): Do not treat incorrectly rounded
23223         conversions as failure unless ROUNDING_TESTS passes.
23225 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
23227         [BZ #15631]
23228         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
23229         restore exception state around main square root computation, then
23230         check for inexactness explicitly.
23232         * math/libm-test.inc (fma_test_data): Add another test.
23234 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23236         * manual/threads.texi (Non-POSIX Extensions): New document
23237         node.  Document pthread_getattr_default_np and
23238         pthread_setattr_default_np.
23240         * Versions.def (libpthread): Add GLIBC_2.18.
23241         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
23242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
23243         Likewise.
23244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23245         Likewise.
23246         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23247         Likewise.
23248         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23249         Likewise.
23250         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
23251         Likewise.
23252         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23253         Likewise.
23254         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23255         Likewise.
23256         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
23257         Likewise.
23258         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23259         Likewise.
23261 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23263         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23264         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
23266 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23267             H.J. Lu  <hjl.tools@gmail.com>
23269         [BZ #15627]
23270         * sysdeps/x86_64/rtld-memset.c: Remove file.
23271         * sysdeps/x86_64/rtld-memset.S: New file.
23273 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
23275         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
23276         (test_in_one_mode): Take arguments for whether the rounding mode
23277         is supported for each floating-point type.
23278         (do_test): Pass new arguments to test_in_one_mode using
23279         ROUNDING_TESTS.
23281 2013-06-13  Roland McGrath  <roland@hack.frob.com>
23283         * posix/tst-waitid.c (do_test): Distinguish different instances of
23284         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
23285         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
23286         before entering the kernel for waitpid.
23288 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
23290         * NEWS: Fix note on clock function precision.  Text by Roland
23291         McGrath.
23293 2013-06-13  Roland McGrath  <roland@hack.frob.com>
23295         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
23296         it into place only when and if the sanity check passes.
23298 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
23300         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
23301         output for whether conversion result is exact.  Take argument
23302         indicating whether type is IBM long double.
23303         (round_for_all): Change need_exact field to ibm_ld.
23304         * stdlib/tst-strtod-round.c (struct exactness): New type.
23305         (struct test): Change bool ld_ok field to struct exactness exact.
23306         (TEST): Update all definitions for change to field.
23307         (tests): Regenerate array contents.
23308         (test_in_one_mode): Take pointer to new field instead of old ld_ok
23309         field value.  Check for IBM long double here.
23310         (do_test): Update calls to test_in_one_mode.
23312 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
23314         [BZ #12515]
23315         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
23316         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
23318 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23320         [BZ #15605]
23321         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
23322         generated by the compiler on loop optimizations.
23323         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
23324         general definitions.
23326 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
23328         * math/bug-nextafter.c: Include <math-tests.h>.
23329         (main): Only test for exceptions if EXCEPTION_TESTS is true for
23330         the relevant type.
23331         * math/bug-nexttoward.c: Include <math-tests.h>.
23332         (main): Only test for exceptions if EXCEPTION_TESTS is true for
23333         the relevant type.
23334         * math/test-misc.c: Include <math-tests.h>.
23335         (main): Only test for exceptions if EXCEPTION_TESTS is true for
23336         the relevant type.
23338 2013-06-12  Andreas Jaeger  <aj@suse.de>
23340         * po/ia.po: Update Interlingua translation from translation
23341         project.
23343 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
23345         * include/fenv.h: Include stdbool.h.
23346         (struct rm_ctx): New structure.
23347         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
23348         Define macro.
23349         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
23350         (SET_RESTORE_ROUNDF): Likewise.
23351         (SET_RESTORE_ROUNDL): Likewise.
23352         (SET_RESTORE_ROUND_NOEX): Likewise.
23353         (SET_RESTORE_ROUND_NOEXF): Likewise.
23354         (SET_RESTORE_ROUND_NOEXL): Likewise.
23355         (SET_RESTORE_ROUND_53BIT): Likewise.
23356         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
23357         (libc_feresetround_noexf_ctx): Likewise.
23358         (libc_feresetround_noexl_ctx): Likewise.
23359         (libc_feholdsetround_53bit_ctx): Likewise.
23360         (libc_feresetround_53bit_ctx): Likewise.
23361         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
23362         (libc_feholdexcept_setround_sse_ctx): New function.
23363         (libc_fesetenv_sse_ctx): Likewise.
23364         (libc_feupdateenv_sse_ctx): Likewise.
23365         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
23366         (libc_feholdexcept_setround_387_ctx): Likewise.
23367         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
23368         (libc_feholdsetround_387_prec_ctx): Likewise.
23369         (libc_feholdsetround_387_ctx): Likewise.
23370         (libc_feholdsetround_387_53bit_ctx): Likewise.
23371         (libc_feholdsetround_sse_ctx): Likewise.
23372         (libc_feresetround_sse_ctx): Likewise.
23373         (libc_feresetround_387_ctx): Likewise.
23374         (libc_feupdateenv_387_ctx): Likewise.
23375         (libc_feholdexcept_setroundf_ctx): Define macro.
23376         (libc_fesetenvf_ctx): Likewise.
23377         (libc_feupdateenvf_ctx): Likewise.
23378         (libc_feholdsetroundf_ctx): Likewise.
23379         (libc_feresetroundf_ctx): Likewise.
23380         (libc_feholdexcept_setround_ctx): Likewise.
23381         (libc_fesetenv_ctx): Likewise.
23382         (libc_feupdateenv_ctx): Likewise.
23383         (libc_feholdsetround_ctx): Likewise.
23384         (libc_feresetround_ctx): Likewise.
23385         (libc_feholdexcept_setroundl_ctx): Likewise.
23386         (libc_feupdateenvl_ctx): Likewise.
23387         (libc_feholdsetroundl_ctx): Likewise.
23388         (libc_feresetroundl_ctx): Likewise.
23389         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
23390         (libc_feresetround_53bit_ctx): Likewise.
23392 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23394         * locale/iso-639.def: Convert to UTF-8.
23396 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
23398         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
23399         (EXCEPTION_TESTS_double): Likewise.
23400         (EXCEPTION_TESTS_long_double): Likewise.
23401         (EXCEPTION_TESTS): Likewise.
23402         * math/libm-test.inc (test_exceptions): Only test exceptions if
23403         EXCEPTION_TESTS (FLOAT).
23405 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23407         * benchtests/Makefile (string-bench): Add strcpy_chk and
23408         stpcpy_chk.
23409         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
23410         * benchtests/bench-stpcpy_chk.c: New file.
23411         * benchtests/bench-strcpy_chk-ifunc.c: New file.
23412         * benchtests/bench-strcpy_chk.c: New file.
23413         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
23414         code.
23415         (do_test): Likewise.
23417 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23419         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
23420         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
23421         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
23422         with tabs where appropriate.
23423         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
23424         dl-procinfo.h.
23425         [PPC_PLATFORM_PPC440]: Likewise.
23426         [PPC_PLATFORM_PPC464]: Likewise.
23427         [PPC_PLATFORM_PPC476]: Likewise.
23428         (_dl_string_platform): Add support for detecting ppc405, ppc440,
23429         ppc464, and ppc476 platform strings merging from ports/
23430         dl-procinfo.h.
23432 2013-06-11  Andreas Schwab  <schwab@suse.de>
23434         [BZ #14991]
23435         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
23436         (from_ucs4_idx): Regenerate.
23437         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
23438         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
23439         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
23440         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
23441         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
23442         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
23443         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
23444         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
23445         from FROM_LOOP and TO_LOOP specific macros.
23446         (BODY): Handle combining characters.
23447         * iconvdata/BIG5HKSCS.irreversible: Update.
23448         * iconvdata/BIG5HKSCS.precomposed: New file.
23449         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
23450         characters.
23451         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
23453 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23455         * include/sys/time.h: Fix indentation and add copyright header.
23457         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
23458         (do_test): Likewise.
23459         * string/test-memchr.c (do_one_test): Likewise.
23460         (do_test): Likewise.
23461         * string/test-memcmp.c (do_one_test): Likewise.
23462         (do_test): Likewise.
23463         * string/test-memcpy.c (do_one_test): Likewise.
23464         (do_test): Likewise.
23465         * string/test-memmem.c (do_one_test): Likewise.
23466         (do_test): Likewise.
23467         (do_random_tests): Likewise.
23468         * string/test-memmove.c (do_one_test): Likewise.
23469         (do_test): Likewise.
23470         * string/test-memset.c (do_one_test): Likewise.
23471         (do_test): Likewise.
23472         * string/test-rawmemchr.c (do_one_test): Likewise.
23473         (do_test): Likewise.
23474         * string/test-strcasecmp.c (do_one_test): Likewise.
23475         (do_test): Likewise.
23476         * string/test-strcasestr.c (do_one_test): Likewise.
23477         (do_test): Likewise.
23478         * string/test-strcat.c (do_one_test): Likewise.
23479         (do_test): Likewise.
23480         * string/test-strchr.c (do_one_test): Likewise.
23481         (do_test): Likewise.
23482         * string/test-strcmp.c (do_one_test): Likewise.
23483         (do_test): Likewise.
23484         * string/test-strcpy.c (do_one_test): Likewise.
23485         (do_test): Likewise.
23486         * string/test-string.h: Likewise.
23487         (test_init): Likewise.
23488         * string/test-strlen.c (do_one_test): Likewise.
23489         (do_test): Likewise.
23490         * string/test-strncasecmp.c (do_one_test): Likewise.
23491         (do_test): Likewise.
23492         * string/test-strncat.c (do_one_test): Likewise.
23493         (do_test): Likewise.
23494         * string/test-strncmp.c (do_one_test): Likewise.
23495         (do_test_limit): Likewise.
23496         (do_test): Likewise.
23497         * string/test-strncpy.c (do_one_test): Likewise.
23498         (do_test): Likewise.
23499         * string/test-strnlen.c (do_one_test): Likewise.
23500         (do_test): Likewise.
23501         * string/test-strpbrk.c (do_one_test): Likewise.
23502         (do_test): Likewise.
23503         * string/test-strrchr.c (do_one_test): Likewise.
23504         (do_test): Likewise.
23505         * string/test-strspn.c (do_one_test): Likewise.
23506         (do_test): Likewise.
23507         * string/test-strstr.c (do_one_test): Likewise.
23508         (do_test): Likewise.
23510         * benchtests/Makefile (string-bench): Add string benchmarks.
23511         * benchtests/bench-bcopy-ifunc.c: New file.
23512         * benchtests/bench-bcopy.c: New file.
23513         * benchtests/bench-bzero-ifunc.c: New file.
23514         * benchtests/bench-bzero.c: New file.
23515         * benchtests/bench-memccpy-ifunc.c: New file.
23516         * benchtests/bench-memccpy.c: New file.
23517         * benchtests/bench-memchr-ifunc.c: New file.
23518         * benchtests/bench-memchr.c: New file.
23519         * benchtests/bench-memcmp-ifunc.c: New file.
23520         * benchtests/bench-memcmp.c: New file.
23521         * benchtests/bench-memmem-ifunc.c: New file.
23522         * benchtests/bench-memmem.c: New file.
23523         * benchtests/bench-memmove-ifunc.c: New file.
23524         * benchtests/bench-memmove.c: New file.
23525         * benchtests/bench-mempcpy-ifunc.c: New file.
23526         * benchtests/bench-mempcpy.c: New file.
23527         * benchtests/bench-memset-ifunc.c: New file.
23528         * benchtests/bench-memset.c: New file.
23529         * benchtests/bench-rawmemchr-ifunc.c: New file.
23530         * benchtests/bench-rawmemchr.c: New file.
23531         * benchtests/bench-stpcpy-ifunc.c: New file.
23532         * benchtests/bench-stpcpy.c: New file.
23533         * benchtests/bench-stpncpy-ifunc.c: New file.
23534         * benchtests/bench-stpncpy.c: New file.
23535         * benchtests/bench-strcasecmp-ifunc.c: New file.
23536         * benchtests/bench-strcasecmp.c: New file.
23537         * benchtests/bench-strcasestr-ifunc.c: New file.
23538         * benchtests/bench-strcasestr.c: New file.
23539         * benchtests/bench-strcat-ifunc.c: New file.
23540         * benchtests/bench-strcat.c: New file.
23541         * benchtests/bench-strchr-ifunc.c: New file.
23542         * benchtests/bench-strchr.c: New file.
23543         * benchtests/bench-strchrnul-ifunc.c: New file.
23544         * benchtests/bench-strchrnul.c: New file.
23545         * benchtests/bench-strcmp-ifunc.c: New file.
23546         * benchtests/bench-strcmp.c: New file.
23547         * benchtests/bench-strcpy-ifunc.c: New file.
23548         * benchtests/bench-strcpy.c: New file.
23549         * benchtests/bench-strcspn-ifunc.c: New file.
23550         * benchtests/bench-strcspn.c: New file.
23551         * benchtests/bench-strlen-ifunc.c: New file.
23552         * benchtests/bench-strlen.c: New file.
23553         * benchtests/bench-strncasecmp-ifunc.c: New file.
23554         * benchtests/bench-strncasecmp.c: New file.
23555         * benchtests/bench-strncat-ifunc.c: New file.
23556         * benchtests/bench-strncat.c: New file.
23557         * benchtests/bench-strncmp-ifunc.c: New file.
23558         * benchtests/bench-strncmp.c: New file.
23559         * benchtests/bench-strncpy-ifunc.c: New file.
23560         * benchtests/bench-strncpy.c: New file.
23561         * benchtests/bench-strnlen-ifunc.c: New file.
23562         * benchtests/bench-strnlen.c: New file.
23563         * benchtests/bench-strpbrk-ifunc.c: New file.
23564         * benchtests/bench-strpbrk.c: New file.
23565         * benchtests/bench-strrchr-ifunc.c: New file.
23566         * benchtests/bench-strrchr.c: New file.
23567         * benchtests/bench-strspn-ifunc.c: New file.
23568         * benchtests/bench-strspn.c: New file.
23569         * benchtests/bench-strstr-ifunc.c: New file.
23570         * benchtests/bench-strstr.c: New file.
23572         * benchtests/Makefile: Disable parallel execution of targets.
23573         (string-bench): Add memcpy.
23574         (benchset): New variable to store a list of benchmark sets.
23575         (bench-func): Renamed from bench.
23576         (bench-set): New target.
23577         (bench): Depend on bench-func and bench-set.
23578         * benchtests/README: Add section on benchmark sets.
23579         * benchtests/bench-memcpy-ifunc.c: New file.
23580         * benchtests/bench-memcpy.c: New file.
23581         * benchtests/bench-string.h: New file.
23583 2013-06-11  Andreas Schwab  <schwab@suse.de>
23585         [BZ #15577]
23586         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
23587         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
23588         values in the triple.
23589         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
23590         terminator in the group key.
23592 2013-06-11  Andreas Jaeger  <aj@suse.de>
23594         * po/zh_TW.po: Update Chinese (traditional) translation from
23595         translation project.
23597 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23599         * include/time.h (__clock_gettime): Add libc_hidden_proto.
23600         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
23601         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
23602         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23603         (clock_getcpuclockid): Likewise.
23604         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
23605         Add weak_alias and libc_hidden_def.
23606         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
23607         * rt/clock_gettime.c (clock_gettime): Rename to
23608         __clock_gettime.  Add weak_alias and libc_hidden_def.
23609         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
23610         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
23611         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
23612         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
23613         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
23614         Likewise.
23615         * rt/clock_settime.c (clock_settime): Rename to
23616         __clock_settime.  Add weak_alias and libc_hidden_def.
23617         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
23619 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
23621         * mach/err_boot.sub: Remove trailing whitespace.
23622         * mach/err_ipc.sub: Likewise.
23623         * mach/err_mach.sub: Likewise.
23625         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
23626         (ROUNDING_TESTS_double): Likewise.
23627         (ROUNDING_TESTS_long_double): Likewise.
23628         (ROUNDING_TESTS): Likewise.
23629         * math/libm-test.inc: Include <math-tests.h>.
23630         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
23631         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
23632         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
23633         (IF_ROUND_INIT_FE_UPWARD): Likewise.
23635 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23637         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
23638         of assigning.
23640 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
23642         * sysdeps/gnu/errlist.awk: Do not generate space at end of
23643         otherwise empty TRANS lines.
23644         * sysdeps/gnu/errlist.c: Regenerated.
23646         * catgets/gencat.c (error_print): Use (void) in function
23647         definition.
23648         * crypt/crypt_util.c (__init_des): Likewise.
23649         * crypt/speeds.c (Stop): Likewise.
23650         (main): Likewise.
23651         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
23652         * inet/ruserpass.c (token): Likewise.
23653         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
23654         * intl/localealias.c (extend_alias_table): Likewise.
23655         * intl/plural-exp.c (init_germanic_plural): Likewise.
23656         * libio/fcloseall.c (__fcloseall): Likewise.
23657         * libio/genops.c (_IO_flush_all): Likewise.
23658         (_IO_flush_all_linebuffered): Likewise.
23659         (_IO_cleanup): Likewise.
23660         (_IO_iter_begin): Likewise.
23661         (_IO_iter_end): Likewise.
23662         (_IO_list_lock): Likewise.
23663         (_IO_list_unlock): Likewise.
23664         (_IO_list_resetlock): Likewise.
23665         * libio/getchar.c (getchar): Likewise.
23666         * libio/getchar_u.c (getchar_unlocked): Likewise.
23667         * libio/getwchar.c (getwchar): Likewise.
23668         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
23669         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
23670         * login/getpt.c (__getpt): Likewise.
23671         * login/tst-utmp.c (main): Likewise.
23672         * malloc/hooks.c (__malloc_check_init): Likewise.
23673         * malloc/malloc.c (__malloc_stats): Likewise.
23674         * malloc/mtrace.c (tr_break): Likewise.
23675         (mtrace): Likewise.
23676         (muntrace): Likewise.
23677         * misc/fstab.c (endfsent): Likewise.
23678         * misc/getclktck.c (__getclktck): Likewise.
23679         * misc/getdtsz.c (__getdtablesize): Likewise.
23680         * misc/gethostid.c (gethostid): Likewise.
23681         * misc/getpagesize.c (__getpagesize): Likewise.
23682         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
23683         (__get_nprocs): Likewise.
23684         (__get_phys_pages): Likewise.
23685         (__get_avphys_pages): Likewise.
23686         * misc/getttyent.c (getttyent): Likewise.
23687         (setttyent): Likewise.
23688         (endttyent): Likewise.
23689         * misc/getusershell.c (getusershell): Likewise.
23690         (endusershell): Likewise.
23691         (setusershell): Likewise.
23692         (initshells): Likewise.
23693         * misc/hsearch.c (__hdestroy): Likewise.
23694         * misc/sync.c (sync): Likewise.
23695         * misc/syslog.c (closelog_internal): Likewise.
23696         (closelog): Likewise.
23697         * misc/ttyslot.c (ttyslot): Likewise.
23698         * misc/vhangup.c (vhangup): Likewise.
23699         * posix/fork.c (__fork): Likewise.
23700         * posix/getegid.c (__getegid): Likewise.
23701         * posix/geteuid.c (__geteuid): Likewise.
23702         * posix/getgid.c (__getgid): Likewise.
23703         * posix/getpid.c (__getpid): Likewise.
23704         * posix/getppid.c (__getppid): Likewise.
23705         * posix/getuid.c (__getuid): Likewise.
23706         * posix/pause.c (pause): Likewise.
23707         * posix/setpgrp.c (setpgrp): Likewise.
23708         * posix/setsid.c (__setsid): Likewise.
23709         * posix/test-vfork.c (noop): Likewise.
23710         * resolv/gethnamaddr.c (_endhtent): Likewise.
23711         (_gethtent): Likewise.
23712         (ht_endhostent): Likewise.
23713         (gethostent): Likewise.
23714         (dns_service): Likewise.
23715         * stdlib/drand48.c (drand48): Likewise.
23716         * stdlib/lrand48.c (lrand48): Likewise.
23717         * stdlib/mrand48.c (mrand48): Likewise.
23718         * stdlib/rand.c (rand): Likewise.
23719         * stdlib/random.c (__random): Likewise.
23720         * stdlib/setenv.c (clearenv): Likewise.
23721         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
23722         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
23723         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
23724         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
23725         (__get_nprocs): Likewise.
23726         (__get_phys_pages): Likewise.
23727         (__get_avphys_pages): Likewise.
23728         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
23729         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
23730         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
23731         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
23732         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
23733         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
23734         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
23735         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
23736         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
23737         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
23738         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
23739         * sysdeps/mach/hurd/sync.c (sync): Likewise.
23740         * sysdeps/posix/clock.c (clock): Likewise.
23741         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
23742         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
23743         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
23744         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
23745         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
23746         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
23747         (__get_nprocs_conf): Likewise.
23748         (__get_phys_pages): Likewise.
23749         (__get_avphys_pages): Likewise.
23750         * time/clock.c (clock): Likewise.
23751         * time/tzset.c (__tzname_max): Likewise.
23753 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
23755         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
23756         (__bswap_32): Do not use "register".
23757         * crypt/crypt.c (_ufc_doit_r): Likewise.
23758         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
23759         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
23760         * gmon/gmon.c (__monstartup): Likewise.
23761         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
23762         * hurd/hurdmalloc.c (more_memory): Likewise.
23763         (malloc): Likewise.
23764         (free): Likewise.
23765         (realloc): Likewise.
23766         (malloc_fork_prepare): Likewise.
23767         (malloc_fork_parent): Likewise.
23768         (malloc_fork_child): Likewise.
23769         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
23770         (_svcauth_des): Likewise.
23771         * inet/inet_lnaof.c (inet_lnaof): Likewise.
23772         * inet/inet_net.c (inet_network): Likewise.
23773         * inet/inet_netof.c (inet_netof): Likewise.
23774         * inet/rcmd.c (__validuser2_sa): Likewise.
23775         * io/fts.c (fts_open): Likewise.
23776         (fts_load): Likewise.
23777         (fts_close): Likewise.
23778         (fts_read): Likewise.
23779         (fts_children): Likewise.
23780         (fts_build): Likewise.
23781         (fts_stat): Likewise.
23782         (fts_sort): Likewise.
23783         (fts_alloc): Likewise.
23784         (fts_lfree): Likewise.
23785         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
23786         (_IO_file_xsgetn): Likewise.
23787         (_IO_file_xsgetn_mmap): Likewise.
23788         * libio/iofopncook.c (_IO_cookie_read): Likewise.
23789         (_IO_cookie_write): Likewise.
23790         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
23791         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
23792         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
23793         * malloc/obstack.c (_obstack_begin): Likewise.
23794         (_obstack_begin_1): Likewise.
23795         (_obstack_newchunk): Likewise.
23796         (_obstack_allocated_p): Likewise.
23797         (obstack_free): Likewise.
23798         (_obstack_memory_used): Likewise.
23799         * misc/getttyent.c (getttynam): Likewise.
23800         (getttyent): Likewise.
23801         (skip): Likewise.
23802         (value): Likewise.
23803         * misc/getusershell.c (initshells): Likewise.
23804         * misc/syslog.c (__vsyslog_chk): Likewise.
23805         * misc/ttyslot.c (ttyslot): Likewise.
23806         * nis/nis_hash.c (__nis_hash): Likewise.
23807         * posix/fnmatch_loop.c (FCT): Likewise.
23808         * posix/getconf.c (print_all): Likewise.
23809         (main): Likewise.
23810         * posix/getopt.c (exchange): Likewise.
23811         * posix/glob.c (globfree): Likewise.
23812         (prefix_array): Likewise.
23813         (__glob_pattern_type): Likewise.
23814         * resolv/arpa/nameser.h (NS_GET16): Likewise.
23815         (NS_GET32): Likewise.
23816         (NS_PUT16): Likewise.
23817         (NS_PUT32): Likewise.
23818         * resolv/gethnamaddr.c (getanswer): Likewise.
23819         (gethostbyname2): Likewise.
23820         (gethostbyaddr): Likewise.
23821         (_gethtent): Likewise.
23822         (_gethtbyname2): Likewise.
23823         (_gethtbyaddr): Likewise.
23824         * resolv/ns_print.c (dst_s_get_int16): Likewise.
23825         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
23826         * resolv/res_init.c (__res_vinit): Likewise.
23827         (net_mask): Likewise.
23828         * resolv/res_mkquery.c (outchar): Likewise.
23829         (PRINT): Likewise.
23830         * stdio-common/printf_fp.c (outchar): Likewise.
23831         (PRINT): Likewise.
23832         * stdio-common/printf_fphex.c (outchar): Likewise.
23833         (PRINT): Likewise.
23834         * stdio-common/printf_size.c (outchar): Likewise.
23835         (PRINT): Likewise.
23836         * stdio-common/test_rdwr.c (main): Likewise.
23837         * stdio-common/tfformat.c (matches): Likewise.
23838         * stdio-common/vfprintf.c (outchar): Likewise.
23839         (printf_unknown): Likewise.
23840         (buffered_vfprintf): Likewise.
23841         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
23842         * stdio-common/xbug.c (AppendToBuffer): Likewise.
23843         (ReadFile): Likewise.
23844         * stdlib/qsort.c (SWAP): Likewise.
23845         (_quicksort): Likewise.
23846         * stdlib/setenv.c (__add_to_environ): Likewise.
23847         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
23848         * stdlib/strtol_l.c (__strtol_l): Likewise.
23849         * stdlib/tst-strtod.c (main): Likewise.
23850         * stdlib/tst-strtol.c (main): Likewise.
23851         * stdlib/tst-strtoll.c (main): Likewise.
23852         * string/bits/string2.h (__strcmp_cc): Likewise.
23853         (__strcmp_cg): Likewise.
23854         (__strcspn_c1): Likewise.
23855         (__strcspn_c2): Likewise.
23856         (__strcspn_c3): Likewise.
23857         (__strspn_c1): Likewise.
23858         (__strspn_c2): Likewise.
23859         (__strspn_c3): Likewise.
23860         (__strsep_1c): Likewise.
23861         (__strsep_2c): Likewise.
23862         (__strsep_3c): Likewise.
23863         * string/memccpy.c (__memccpy): Likewise.
23864         * string/stpcpy.c (__stpcpy): Likewise.
23865         * string/strcmp.c (strcmp): Likewise.
23866         * string/strrchr.c (strrchr): Likewise.
23867         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
23868         Likewise.
23869         * sysdeps/mach/hurd/getcwd.c
23870         (_hurd_canonicalize_directory_name_internal): Likewise.
23871         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
23872         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
23873         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
23874         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
23875         Likewise, in both definitions.
23876         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
23877         definitions.
23878         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
23879         64] (__bswap_64): Likewise.
23880         * time/test_time.c (main): Likewise.
23881         * time/tzfile.c (__tzfile_read): Likewise.
23882         (__tzfile_compute): Likewise.
23883         * time/tzset.c (__tzset_parse_tz): Likewise.
23884         (tzset_internal): Likewise.
23885         (compute_change): Likewise.
23886         * wcsmbs/wcscat.c (__wcscat): Likewise.
23887         * wcsmbs/wcschr.c (wcschr): Likewise.
23888         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
23889         * wcsmbs/wcscspn.c (wcscspn): Likewise.
23890         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
23891         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
23892         * wcsmbs/wcsspn.c (wcsspn): Likewise.
23893         * wcsmbs/wcsstr.c (wcsstr): Likewise.
23894         * wcsmbs/wmemchr.c (wmemchr): Likewise.
23895         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
23896         * wcsmbs/wmemset.c (wmemset): Likewise.
23898 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
23900         * scripts/config.guess: Update to version 2013-05-16.
23901         * scripts/config.sub: Update to version 2013-04-24.
23902         * scripts/install-sh: Update to version 2011-11-20.07.
23903         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
23904         * scripts/move-if-change: Update to version 2012-01-06 07:23.
23906 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
23908         * debug/fgetws_u_chk.c: Fix leading whitespaces.
23909         * elf/sln.c: Likewise.
23910         * hurd/hurd/ioctl.h: Likewise.
23911         * hurd/hurdmalloc.c: Likewise.
23912         * hurd/xattr.c: Likewise.
23913         * include/shlib-compat.h: Likewise.
23914         * inet/ruserpass.c: Likewise.
23915         * libio/iofgets_u.c: Likewise.
23916         * libio/iofgetws_u.c: Likewise.
23917         * locale/programs/ld-identification.c: Likewise.
23918         * locale/programs/ld-time.c: Likewise.
23919         * mach/msg-destroy.c: Likewise.
23920         * nss/nss_files/files-netgrp.c: Likewise.
23921         * resolv/res_data.c: Likewise.
23922         * soft-fp/op-1.h: Likewise.
23923         * soft-fp/op-2.h: Likewise.
23924         * soft-fp/op-4.h: Likewise.
23925         * soft-fp/op-common.h: Likewise.
23926         * stdio-common/printf_fphex.c: Likewise.
23927         * stdlib/strtod_l.c: Likewise.
23928         * sunrpc/rpc/clnt.h: Likewise.
23929         * sysdeps/generic/framestate.c: Likewise.
23930         * sysdeps/i386/bsd-_setjmp.S: Likewise.
23931         * sysdeps/i386/bsd-setjmp.S: Likewise.
23932         * sysdeps/i386/__longjmp.S: Likewise.
23933         * sysdeps/i386/setjmp.S: Likewise.
23934         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23935         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23936         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23937         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23938         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23939         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
23940         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23941         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23942         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23943         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
23944         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
23945         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
23946         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
23947         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
23948         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
23949         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23950         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
23951         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
23952         * sysdeps/ieee754/support.c: Likewise.
23953         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23954         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
23955         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
23956         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
23957         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
23958         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
23959         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
23960         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
23961         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
23962         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
23963         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
23964         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
23965         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
23966         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
23967         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
23968         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
23969         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
23972 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
23974         * posix/transbug.c: Remove executable mode.
23976 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
23978         * crypt/speeds.c: Remove trailing whitespace.
23979         * dlfcn/default.c: Likewise.
23980         * elf/ifuncdep2.c: Likewise.
23981         * elf/ifuncmain1.c: Likewise.
23982         * elf/ifuncmain1vis.c: Likewise.
23983         * elf/testobj.h: Likewise.
23984         * elf/tst-stackguard1.c: Likewise.
23985         * gmon/sys/gmon.h: Likewise.
23986         * hurd/hurdmsg.c: Likewise.
23987         * hurd/new-fd.c: Likewise.
23988         * hurd/ports-get.c: Likewise.
23989         * iconvdata/ibm1008_420.c: Likewise.
23990         * inet/tst-getni1.c: Likewise.
23991         * inet/tst-getni2.c: Likewise.
23992         * libio/ioungetc.c: Likewise.
23993         * libio/wfiledoalloc.c: Likewise.
23994         * manual/libm-err-tab.pl: Likewise.
23995         * math/w_dremf.c: Likewise.
23996         * misc/ftruncate.c: Likewise.
23997         * posix/bug-glob2.c: Likewise.
23998         * posix/tst-pcre.c: Likewise.
23999         * posix/wait4.c: Likewise.
24000         * resolv/README: Likewise.
24001         * resolv/res_debug.h: Likewise.
24002         * resolv/tst-inet_ntop.c: Likewise.
24003         * setjmp/bug269-setjmp.c: Likewise.
24004         * soft-fp/extended.h: Likewise.
24005         * soft-fp/op-1.h: Likewise.
24006         * soft-fp/op-2.h: Likewise.
24007         * soft-fp/op-4.h: Likewise.
24008         * soft-fp/op-8.h: Likewise.
24009         * soft-fp/testit.c: Likewise.
24010         * stdio-common/bug16.c: Likewise.
24011         * stdlib/random.c: Likewise.
24012         * sunrpc/rpcsvc/rquota.x: Likewise.
24013         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
24014         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24015         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24016         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24017         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24018         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24019         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24020         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24021         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24022         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24023         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24024         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
24025         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24026         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
24027         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24028         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
24029         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
24030         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24031         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
24032         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24033         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24034         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24035         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
24036         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
24037         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
24038         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
24039         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24040         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24041         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24042         * sysdeps/ieee754/s_lib_version.c: Likewise.
24043         * sysdeps/mach/hurd/check_fds.c: Likewise.
24044         * sysdeps/mach/hurd/getsockname.c: Likewise.
24045         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
24046         * sysdeps/mach/hurd/recvfrom.c: Likewise.
24047         * sysdeps/powerpc/bits/link.h: Likewise.
24048         * sysdeps/powerpc/dl-procinfo.c: Likewise.
24049         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
24050         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
24051         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
24052         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24053         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
24054         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
24055         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24056         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
24057         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
24058         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
24059         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
24060         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
24061         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
24062         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
24063         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
24064         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
24065         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
24066         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
24067         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24068         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24069         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
24070         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24071         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
24072         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
24073         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
24074         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
24075         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24076         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24077         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
24078         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
24079         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
24080         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24081         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24082         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
24083         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24084         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
24085         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
24086         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
24087         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
24088         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
24089         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
24090         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
24091         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
24092         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
24093         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
24094         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
24095         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
24096         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
24097         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
24098         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24099         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24100         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24101         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24102         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
24103         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
24104         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
24105         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24106         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
24107         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
24108         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
24109         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
24110         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
24111         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24112         * sysdeps/powerpc/sysdep.h: Likewise.
24113         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24114         * sysdeps/s390/s390-64/sub_n.S: Likewise.
24115         * sysdeps/sh/dl-trampoline.S: Likewise.
24116         * sysdeps/sh/memset.S: Likewise.
24117         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
24118         * sysdeps/sh/strlen.S: Likewise.
24119         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
24120         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
24121         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
24122         * sysdeps/sparc/sparc32/rem.S: Likewise.
24123         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
24124         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
24125         * sysdeps/sparc/sparc32/strchr.S: Likewise.
24126         * sysdeps/sparc/sparc32/udiv.S: Likewise.
24127         * sysdeps/sparc/sparc32/urem.S: Likewise.
24128         * sysdeps/sparc/sparc64/add_n.S: Likewise.
24129         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
24130         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
24131         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
24132         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
24133         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
24134         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
24135         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
24136         * sysdeps/unix/bsd/times.c: Likewise.
24137         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
24138         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
24139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
24140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
24141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
24142         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
24143         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
24144         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
24145         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
24146         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
24147         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
24148         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
24149         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
24150         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
24151         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
24152         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
24153         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
24154         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
24155         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
24156         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
24157         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
24158         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
24159         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
24160         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
24161         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
24162         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
24163         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
24164         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24165         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
24166         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
24167         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
24168         * sysdeps/x86_64/strcspn.S: Likewise.
24170 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24172         * locale/C-translit.h: Revert #include <stdint.h> because this is a
24173         generated file.  Regenerate properly from gen-translit.pl.
24174         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
24175         locale/C-translit.h.
24177 2013-06-05  Andreas Schwab  <schwab@suse.de>
24179         [BZ #15100]
24180         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
24181         week as 6 instead of -1.
24182         * time/tst-strptime.c (day_tests): Add test case.
24184 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
24186         * sysdeps/generic/math_private.h
24187         (libc_feholdexcept_setround_53bit): Replace with
24188         libc_feholdsetround_53bit.
24189         (libc_feupdateenv_53bit): Replace with
24190         libc_feresetround_53bit.
24191         (SET_RESTORE_ROUND_53BIT): Adjust.
24193 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
24195         * string/test-strchrnul.c: Add copyright header.
24197         * posix/tst-getaddrinfo4.c: Increase test timeout.
24199 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
24201         [BZ #15536]
24202         * math/libm-test.inc (MAX_EXP): Remove
24203         (MIN_EXP): Define.
24204         (ulp): Use MIN_EXP - MANT_DIG.
24205         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
24207 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
24209         * po/be.po: Revert last change.
24210         * po/zh_CN.po: Likewise.
24211         * po/header.pot: Likewise.
24213 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
24215         * Makefile ($(common-objpfx)linkobj/libc.so): Define
24216         link-libc-deps to empty as target-specific variable.
24217         * Makerules (link-libc-args): New variable.
24218         (libc-for-link): Likewise.
24219         (link-libc-deps): Likewise.
24220         (lib%.so): Depend on $(link-libc-deps).  Link with
24221         $(link-libc-args).
24222         (build-module): Link with $(link-libc-args).
24223         (build-module-asneeded): Likewise.
24224         (build-module-helper-objlist): Filter out $(link-libc-deps) from
24225         list of objects.
24226         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
24227         target-specific variable.
24228         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
24229         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
24230         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
24231         libc.
24232         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
24233         libc and ld.so.
24234         ($(objpfx)libpcprofile.so): Likewise.
24235         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
24236         libc_nonshared.a.
24237         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
24238         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
24239         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
24240         $(link-libc-deps).
24241         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
24242         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
24243         * login/Makefile ($(objpfx)libutil.so): Likewise.
24244         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
24245         * math/Makefile ($(objpfx)libm.so): Likewise.
24246         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
24247         $(objpfx)libnsl.so): Define libc-for-link as target-specific
24248         variable instead of depending directly on libc.
24249         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
24250         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
24251         $(link-libc-deps).
24252         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
24253         libc.
24254         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
24255         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
24256         ($(objpfx)libanl.so): Likewise.
24257         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
24258         ld.so.
24259         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
24260         $(link-libc-deps).
24261         * sysdeps/i386/fpu/Makefile: Remove file.
24262         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
24263         ($(objpfx)libm.so): Remove dependency on ld.so.
24265 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
24267         [BZ # 15553]
24268         * nis/yp_xdr.c (XDRMAXNAME): Define.
24269         (XDRMAXRECORD): Define.
24270         (xdr_domainname): Use XDRMAXNAME.
24271         (xdr_mapname): Likewise.
24272         (xdr_peername): Likewise.
24273         (xdr_keydat): Use XDRMAXRECORD.
24274         (xdr_valdat): Likewise.
24276 2013-05-30  Jeff Law  <law@redhat.com>
24278         [BZ #14256]
24279         * manual/errno.texi (ESTALE): Update to account for more than
24280         just NFS file systems.
24281         * sysdeps/gnu/errlist.c: Regenerated.
24283 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
24285         [BZ #15465]
24286         * elf/Makefile (tests): Add tst-null-argv.
24287         (modules-names):  Add tst-null-argv-lib.
24288         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
24289         (tst-null-argv-ENV): Set environment for tst-null-argv.
24290         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
24291         (RTLD_PROGNAME): New macro.
24292         * elf/tst-null-argv.c: New test case.
24293         * elf/tst-null-argv-lib.c: Library for test case.
24294         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
24295         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
24296         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
24297         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
24298         * elf/dl-init.c (call_init): Likewise.
24299         (_dl_init): Likewise.
24300         * elf/dl-load.c (print_search_path): Likewise.
24301         (_dl_map_object): Likewise.
24302         * elf/dl-lookup.c (do_lookup_x): Likewise.
24303         (add_dependency): Likewise.
24304         (_dl_lookup_symbol_x): Likewise.
24305         (_dl_debug_bindings): Likewise.
24306         * elf/dl-open.c (_dl_show_scope): Likewise.
24307         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
24308         * elf/dl-version.c (match_symbol): Likewise.
24309         (_dl_check_map_versions): Likewise.
24310         * elf/rtld.c (dl_main): Likewise.
24311         (print_unresolved): Use RTLD_PROGNAME.
24312         (print_missing_version): Likewise.
24313         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
24314         (elf_machine_rela): Likewise.
24315         * sysdeps/powerpc/powerpc32/dl-machine.c
24316         (__process_machine_rela): Likewise.
24317         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24318         Likewise.
24319         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
24320         Likewise.
24321         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
24322         Likewise.
24323         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
24324         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
24325         Likewise.
24326         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
24327         Likewise.
24328         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
24330 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
24332         * po/be.po: Add descriptive title.
24333         * po/zh_CN.po: Likewise.
24334         * po/header.pot: Likewise.
24336 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
24338         * locale/programs/locarchive.c (create_archive): Inlucde fname in
24339         error message.
24340         (enlarge_archive): Likewise.
24342 2013-05-28  Ben North  <ben@redfrontdoor.org>
24344         * manual/arith.texi (frexp): It is the magnitude of the return
24345         value which lies in [0.5, 1), not the return value itself.
24347 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24349         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24351 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
24353         * stdio-common/bug26.c (main): Correct fscanf template.
24355         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
24356         declare _dl_skip_args.
24358         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
24359         Don't declare.
24361         * manual/platform.texi: Add missing @end deftypefun.
24363 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
24365         [BZ #15529]
24366         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
24367         bit of mantissa of 2^16382.
24368         * math/libm-test.inc (hypot_test_data): Add more tests.
24370         * math/libm-test.inc: Add drem and pow10 to list of tested
24371         functions.
24372         (pow10_test): New function.
24373         (drem_test): Likewise.
24374         (drem_test_tonearest): Likewise.
24375         (drem_test_towardzero): Likewise.
24376         (drem_test_downward): Likewise.
24377         (drem_test_upward): Likewise.
24378         (main): Call the new functions.
24380         * math/libm-test.inc (finite_test_data): Remove.
24381         (finite_test): Run tests from isfinite_test_data.
24382         (gamma_test_data): Remove.
24383         (gamma_test): Run tests from lgamma_test_data.
24384         * sysdeps/i386/fpu/libm-test-ulps: Update.
24385         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24387 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24389         * manual/platform.texi: Add PowerPC PPR function set documentation.
24390         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
24391         implementation.
24393 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
24395         * math/libm-test.inc (MAX_EXP): Define.
24396         (ULPDIFF): Define.
24397         (ulp): New function.
24398         (check_float_internal): Use ULPDIFF.
24399         (cpow_test): Disable failing test.
24400         (check_ulp): Test ulp() implemetnation.
24401         (main): Call check_ulp before starting tests.
24403 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
24405         * math/gen-libm-test.pl (generate_testfile): Do not handle
24406         START_DATA and END_DATA.
24407         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
24408         END_DATA.
24409         (acos_tonearest_test_data): Likewise.
24410         (acos_towardzero_test_data): Likewise.
24411         (acos_downward_test_data): Likewise.
24412         (acos_upward_test_data): Likewise.
24413         (acosh_test_data): Likewise.
24414         (asin_test_data): Likewise.
24415         (asin_tonearest_test_data): Likewise.
24416         (asin_towardzero_test_data): Likewise.
24417         (asin_downward_test_data): Likewise.
24418         (asin_upward_test_data): Likewise.
24419         (asinh_test_data): Likewise.
24420         (atan_test_data): Likewise.
24421         (atanh_test_data): Likewise.
24422         (atan2_test_data): Likewise.
24423         (cabs_test_data): Likewise.
24424         (cacos_test_data): Likewise.
24425         (cacosh_test_data): Likewise.
24426         (carg_test_data): Likewise.
24427         (casin_test_data): Likewise.
24428         (casinh_test_data): Likewise.
24429         (catan_test_data): Likewise.
24430         (catanh_test_data): Likewise.
24431         (cbrt_test_data): Likewise.
24432         (ccos_test_data): Likewise.
24433         (ccosh_test_data): Likewise.
24434         (ceil_test_data): Likewise.
24435         (cexp_test_data): Likewise.
24436         (cimag_test_data): Likewise.
24437         (clog_test_data): Likewise.
24438         (clog10_test_data): Likewise.
24439         (conj_test_data): Likewise.
24440         (copysign_test_data): Likewise.
24441         (cos_test_data): Likewise.
24442         (cos_tonearest_test_data): Likewise.
24443         (cos_towardzero_test_data): Likewise.
24444         (cos_downward_test_data): Likewise.
24445         (cos_upward_test_data): Likewise.
24446         (cosh_test_data): Likewise.
24447         (cosh_tonearest_test_data): Likewise.
24448         (cosh_towardzero_test_data): Likewise.
24449         (cosh_downward_test_data): Likewise.
24450         (cosh_upward_test_data): Likewise.
24451         (cpow_test_data): Likewise.
24452         (cproj_test_data): Likewise.
24453         (creal_test_data): Likewise.
24454         (csin_test_data): Likewise.
24455         (csinh_test_data): Likewise.
24456         (csqrt_test_data): Likewise.
24457         (ctan_test_data): Likewise.
24458         (ctan_tonearest_test_data): Likewise.
24459         (ctan_towardzero_test_data): Likewise.
24460         (ctan_downward_test_data): Likewise.
24461         (ctan_upward_test_data): Likewise.
24462         (ctanh_test_data): Likewise.
24463         (ctanh_tonearest_test_data): Likewise.
24464         (ctanh_towardzero_test_data): Likewise.
24465         (ctanh_downward_test_data): Likewise.
24466         (ctanh_upward_test_data): Likewise.
24467         (erf_test_data): Likewise.
24468         (erfc_test_data): Likewise.
24469         (exp_test_data): Likewise.
24470         (exp_tonearest_test_data): Likewise.
24471         (exp_towardzero_test_data): Likewise.
24472         (exp_downward_test_data): Likewise.
24473         (exp_upward_test_data): Likewise.
24474         (exp10_test_data): Likewise.
24475         (exp2_test_data): Likewise.
24476         (expm1_test_data): Likewise.
24477         (fabs_test_data): Likewise.
24478         (fdim_test_data): Likewise.
24479         (finite_test_data): Likewise.
24480         (floor_test_data): Likewise.
24481         (fma_test_data): Likewise.
24482         (fma_towardzero_test_data): Likewise.
24483         (fma_downward_test_data): Likewise.
24484         (fma_upward_test_data): Likewise.
24485         (fmax_test_data): Likewise.
24486         (fmin_test_data): Likewise.
24487         (fmod_test_data): Likewise.
24488         (fpclassify_test_data): Likewise.
24489         (frexp_test_data): Likewise.
24490         (gamma_test_data): Likewise.
24491         (hypot_test_data): Likewise.
24492         (ilogb_test_data): Likewise.
24493         (isfinite_test_data): Likewise.
24494         (isgreater_test_data): Likewise.
24495         (isgreaterequal_test_data): Likewise.
24496         (isinf_test_data): Likewise.
24497         (isless_test_data): Likewise.
24498         (islessequal_test_data): Likewise.
24499         (islessgreater_test_data): Likewise.
24500         (isnan_test_data): Likewise.
24501         (isnormal_test_data): Likewise.
24502         (issignaling_test_data): Likewise.
24503         (isunordered_test_data): Likewise.
24504         (j0_test_data): Likewise.
24505         (j1_test_data): Likewise.
24506         (jn_test_data): Likewise.
24507         (ldexp_test_data): Likewise.
24508         (lgamma_test_data): Likewise.
24509         (lrint_test_data): Likewise.
24510         (lrint_tonearest_test_data): Likewise.
24511         (lrint_towardzero_test_data): Likewise.
24512         (lrint_downward_test_data): Likewise.
24513         (lrint_upward_test_data): Likewise.
24514         (llrint_test_data): Likewise.
24515         (llrint_tonearest_test_data): Likewise.
24516         (llrint_towardzero_test_data): Likewise.
24517         (llrint_downward_test_data): Likewise.
24518         (llrint_upward_test_data): Likewise.
24519         (log_test_data): Likewise.
24520         (log10_test_data): Likewise.
24521         (log1p_test_data): Likewise.
24522         (log2_test_data): Likewise.
24523         (logb_test_data): Likewise.
24524         (logb_downward_test_data): Likewise.
24525         (lround_test_data): Likewise.
24526         (llround_test_data): Likewise.
24527         (modf_test_data): Likewise.
24528         (nearbyint_test_data): Likewise.
24529         (nextafter_test_data): Likewise.
24530         (nexttoward_test_data): Likewise.
24531         (pow_test_data): Likewise.
24532         (pow_tonearest_test_data): Likewise.
24533         (pow_towardzero_test_data): Likewise.
24534         (pow_downward_test_data): Likewise.
24535         (pow_upward_test_data): Likewise.
24536         (remainder_test_data): Likewise.
24537         (remainder_tonearest_test_data): Likewise.
24538         (remainder_towardzero_test_data): Likewise.
24539         (remainder_downward_test_data): Likewise.
24540         (remainder_upward_test_data): Likewise.
24541         (remquo_test_data): Likewise.
24542         (rint_test_data): Likewise.
24543         (rint_tonearest_test_data): Likewise.
24544         (rint_towardzero_test_data): Likewise.
24545         (rint_downward_test_data): Likewise.
24546         (rint_upward_test_data): Likewise.
24547         (round_test_data): Likewise.
24548         (scalb_test_data): Likewise.
24549         (scalbn_test_data): Likewise.
24550         (scalbln_test_data): Likewise.
24551         (signbit_test_data): Likewise.
24552         (sin_test_data): Likewise.
24553         (sin_tonearest_test_data): Likewise.
24554         (sin_towardzero_test_data): Likewise.
24555         (sin_downward_test_data): Likewise.
24556         (sin_upward_test_data): Likewise.
24557         (sincos_test_data): Likewise.
24558         (sinh_test_data): Likewise.
24559         (sinh_tonearest_test_data): Likewise.
24560         (sinh_towardzero_test_data): Likewise.
24561         (sinh_downward_test_data): Likewise.
24562         (sinh_upward_test_data): Likewise.
24563         (sqrt_test_data): Likewise.
24564         (tan_test_data): Likewise.
24565         (tan_tonearest_test_data): Likewise.
24566         (tan_towardzero_test_data): Likewise.
24567         (tan_downward_test_data): Likewise.
24568         (tan_upward_test_data): Likewise.
24569         (tanh_test_data): Likewise.
24570         (tgamma_test_data): Likewise.
24571         (trunc_test_data): Likewise.
24572         (y0_test_data): Likewise.
24573         (y1_test_data): Likewise.
24574         (yn_test_data): Likewise.
24575         (significand_test_data): Likewise.
24577         * math/gen-libm-test.pl (@functions): Remove variable.
24578         (generate_testfile): Don't handle START and END lines.
24579         * math/libm-test.inc (START): New macro.
24580         (END): Likewise.
24581         (END_COMPLEX): Likewise.
24582         (acos_test): Use END macro without arguments.
24583         (acos_test_tonearest): Likewise.
24584         (acos_test_towardzero): Likewise.
24585         (acos_test_downward): Likewise.
24586         (acos_test_upward): Likewise.
24587         (acosh_test): Likewise.
24588         (asin_test): Likewise.
24589         (asin_test_tonearest): Likewise.
24590         (asin_test_towardzero): Likewise.
24591         (asin_test_downward): Likewise.
24592         (asin_test_upward): Likewise.
24593         (asinh_test): Likewise.
24594         (atan_test): Likewise.
24595         (atanh_test): Likewise.
24596         (atan2_test): Likewise.
24597         (cabs_test): Likewise.
24598         (cacos_test): Use END_COMPLEX macro without arguments.
24599         (cacosh_test): Likewise.
24600         (carg_test): Use END macro without arguments.
24601         (casin_test): Use END_COMPLEX macro without arguments.
24602         (casinh_test): Likewise.
24603         (catan_test): Likewise.
24604         (catanh_test): Likewise.
24605         (cbrt_test): Use END macro without arguments.
24606         (ccos_test): Use END_COMPLEX macro without arguments.
24607         (ccosh_test): Likewise.
24608         (ceil_test): Use END macro without arguments.
24609         (cexp_test): Use END_COMPLEX macro without arguments.
24610         (cimag_test): Use END macro without arguments.
24611         (clog_test): Use END_COMPLEX macro without arguments.
24612         (clog10_test): Likewise.
24613         (conj_test): Likewise.
24614         (copysign_test): Use END macro without arguments.
24615         (cos_test): Likewise.
24616         (cos_test_tonearest): Likewise.
24617         (cos_test_towardzero): Likewise.
24618         (cos_test_downward): Likewise.
24619         (cos_test_upward): Likewise.
24620         (cosh_test): Likewise.
24621         (cosh_test_tonearest): Likewise.
24622         (cosh_test_towardzero): Likewise.
24623         (cosh_test_downward): Likewise.
24624         (cosh_test_upward): Likewise.
24625         (cpow_test): Use END_COMPLEX macro without arguments.
24626         (cproj_test): Likewise.
24627         (creal_test): Use END macro without arguments.
24628         (csin_test): Use END_COMPLEX macro without arguments.
24629         (csinh_test): Likewise.
24630         (csqrt_test): Likewise.
24631         (ctan_test): Likewise.
24632         (ctan_test_tonearest): Likewise.
24633         (ctan_test_towardzero): Likewise.
24634         (ctan_test_downward): Likewise.
24635         (ctan_test_upward): Likewise.
24636         (ctanh_test): Likewise.
24637         (ctanh_test_tonearest): Likewise.
24638         (ctanh_test_towardzero): Likewise.
24639         (ctanh_test_downward): Likewise.
24640         (ctanh_test_upward): Likewise.
24641         (erf_test): Use END macro without arguments.
24642         (erfc_test): Likewise.
24643         (exp_test): Likewise.
24644         (exp_test_tonearest): Likewise.
24645         (exp_test_towardzero): Likewise.
24646         (exp_test_downward): Likewise.
24647         (exp_test_upward): Likewise.
24648         (exp10_test): Likewise.
24649         (exp2_test): Likewise.
24650         (expm1_test): Likewise.
24651         (fabs_test): Likewise.
24652         (fdim_test): Likewise.
24653         (finite_test): Likewise.
24654         (floor_test): Likewise.
24655         (fma_test): Likewise.
24656         (fma_test_towardzero): Likewise.
24657         (fma_test_downward): Likewise.
24658         (fma_test_upward): Likewise.
24659         (fmax_test): Likewise.
24660         (fmin_test): Likewise.
24661         (fmod_test): Likewise.
24662         (fpclassify_test): Likewise.
24663         (frexp_test): Likewise.
24664         (gamma_test): Likewise.
24665         (hypot_test): Likewise.
24666         (ilogb_test): Likewise.
24667         (isfinite_test): Likewise.
24668         (isgreater_test): Likewise.
24669         (isgreaterequal_test): Likewise.
24670         (isinf_test): Likewise.
24671         (isless_test): Likewise.
24672         (islessequal_test): Likewise.
24673         (islessgreater_test): Likewise.
24674         (isnan_test): Likewise.
24675         (isnormal_test): Likewise.
24676         (issignaling_test): Likewise.
24677         (isunordered_test): Likewise.
24678         (j0_test): Likewise.
24679         (j1_test): Likewise.
24680         (jn_test): Likewise.
24681         (ldexp_test): Likewise.
24682         (lgamma_test): Likewise.
24683         (lrint_test): Likewise.
24684         (lrint_test_tonearest): Likewise.
24685         (lrint_test_towardzero): Likewise.
24686         (lrint_test_downward): Likewise.
24687         (lrint_test_upward): Likewise.
24688         (llrint_test): Likewise.
24689         (llrint_test_tonearest): Likewise.
24690         (llrint_test_towardzero): Likewise.
24691         (llrint_test_downward): Likewise.
24692         (llrint_test_upward): Likewise.
24693         (log_test): Likewise.
24694         (log10_test): Likewise.
24695         (log1p_test): Likewise.
24696         (log2_test): Likewise.
24697         (logb_test): Likewise.
24698         (logb_test_downward): Likewise.
24699         (lround_test): Likewise.
24700         (llround_test): Likewise.
24701         (modf_test): Likewise.
24702         (nearbyint_test): Likewise.
24703         (nextafter_test): Likewise.
24704         (nexttoward_test): Likewise.
24705         (pow_test): Likewise.
24706         (pow_test_tonearest): Likewise.
24707         (pow_test_towardzero): Likewise.
24708         (pow_test_downward): Likewise.
24709         (pow_test_upward): Likewise.
24710         (remainder_test): Likewise.
24711         (remainder_test_tonearest): Likewise.
24712         (remainder_test_towardzero): Likewise.
24713         (remainder_test_downward): Likewise.
24714         (remainder_test_upward): Likewise.
24715         (remquo_test): Likewise.
24716         (rint_test): Likewise.
24717         (rint_test_tonearest): Likewise.
24718         (rint_test_towardzero): Likewise.
24719         (rint_test_downward): Likewise.
24720         (rint_test_upward): Likewise.
24721         (round_test): Likewise.
24722         (scalb_test): Likewise.
24723         (scalbn_test): Likewise.
24724         (scalbln_test): Likewise.
24725         (signbit_test): Likewise.
24726         (sin_test): Likewise.
24727         (sin_test_tonearest): Likewise.
24728         (sin_test_towardzero): Likewise.
24729         (sin_test_downward): Likewise.
24730         (sin_test_upward): Likewise.
24731         (sincos_test): Likewise.
24732         (sinh_test): Likewise.
24733         (sinh_test_tonearest): Likewise.
24734         (sinh_test_towardzero): Likewise.
24735         (sinh_test_downward): Likewise.
24736         (sinh_test_upward): Likewise.
24737         (sqrt_test): Likewise.
24738         (tan_test): Likewise.
24739         (tan_test_tonearest): Likewise.
24740         (tan_test_towardzero): Likewise.
24741         (tan_test_downward): Likewise.
24742         (tan_test_upward): Likewise.
24743         (tanh_test): Likewise.
24744         (tgamma_test): Likewise.
24745         (trunc_test): Likewise.
24746         (y0_test): Likewise.
24747         (y1_test): Likewise.
24748         (yn_test): Likewise.
24749         (significand_test): Likewise.
24751 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
24753         [BZ #15381]
24754         * libio/genops.c (_IO_no_init): Initialize wide struct info.
24756 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
24758         [BZ #14894]
24759         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
24760         __ppc_mdoio and __ppc_mdoom.
24761         * manual/platform.texi: Document new functions __ppc_yield,
24762         __ppc_mdoio and __ppc_mdoom.
24764 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
24766         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
24767         (main): Mention "tls" pseudo-hwcap is legacy.
24768         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
24770 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
24772         * math/gen-libm-test.pl (parse_args): Output only string of
24773         arguments as text for test name, not full call or descriptions of
24774         tests for extra outputs.
24775         (generate_testfile): Do not pass function name to parse_args.
24776         Generate this_func variable from START.
24777         * math/libm-test.inc (struct test_f_f_data): Rename test_name
24778         field to arg_str.
24779         (struct test_ff_f_data): Likewise.
24780         (test_ff_f_data_nexttoward): Likewise.
24781         (struct test_fi_f_data): Likewise.
24782         (struct test_fl_f_data): Likewise.
24783         (struct test_if_f_data): Likewise.
24784         (struct test_fff_f_data): Likewise.
24785         (struct test_c_f_data): Likewise.
24786         (struct test_f_f1_data): Likewise.  Remove field extra_name.
24787         (struct test_fF_f1_data): Likewise.
24788         (struct test_ffI_f1_data): Likewise.
24789         (struct test_c_c_data): Rename test_name field to arg_str.
24790         (struct test_cc_c_data): Likewise.
24791         (struct test_f_i_data): Likewise.
24792         (struct test_ff_i_data): Likewise.
24793         (struct test_f_l_data): Likewise.
24794         (struct test_f_L_data): Likewise.
24795         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
24796         and extra2_name.
24797         (COMMON_TEST_SETUP): New macro.
24798         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
24799         (COMMON_TEST_CLEANUP): Likewise.
24800         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
24801         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
24802         macros.
24803         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
24804         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
24805         macros.
24806         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
24807         (RUN_TEST_fff_f): Take argument string.  Call new setup and
24808         cleanup macros.
24809         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
24810         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
24811         macros.
24812         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
24813         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
24814         macros.
24815         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
24816         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
24817         cleanup macros.
24818         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
24819         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
24820         cleanup macros.
24821         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
24822         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
24823         cleanup macros.
24824         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
24825         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
24826         macros.
24827         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
24828         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
24829         macros.
24830         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
24831         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
24832         macros.
24833         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
24834         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
24835         cleanup macros.
24836         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
24837         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
24838         cleanup macros.
24839         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
24840         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
24841         macros.
24842         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
24843         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
24844         cleanup macros.
24845         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
24846         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
24847         macros.
24848         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
24849         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
24850         macros.
24851         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
24852         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
24853         cleanup macros.
24854         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
24856 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
24858         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
24859         to _sifields.sigfault.
24860         (si_addr_lsb): Define new macro.
24861         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
24862         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24863         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
24865 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
24867         [BZ #15441]
24868         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
24869         returns -1.
24870         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
24871         null return -1.
24872         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
24873         loading the domain.
24875 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
24877         * math/gen-libm-test.pl (parse_args): Do not include expected
24878         result in test name.
24879         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
24880         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24881         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24882         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24883         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24884         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24886 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
24888         * benchtests/Makefile: Sort function entries.
24890         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
24891         tanh, asinh, acosh, atanh.
24892         * benchtests/acos-inputs: New file.
24893         * benchtests/acosh-inputs: New file.
24894         * benchtests/asin-inputs: New file.
24895         * benchtests/asinh-inputs: New file.
24896         * benchtests/atanh-inputs: New file.
24897         * benchtests/cosh-inputs: New file.
24898         * benchtests/log-inputs: New file.
24899         * benchtests/sinh-inputs: New file.
24900         * benchtests/tanh-inputs: New file.
24902 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
24904         [BZ #15339]
24905         * posix/tst-getaddrinfo4.c: New test.
24906         * posix/Makefile (tests): Add it.
24908 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24910         [BZ #15339]
24911         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
24912         when no services were used.
24913         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
24914         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
24916 2013-05-21  Andreas Schwab  <schwab@suse.de>
24918         [BZ #15014]
24919         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
24920         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
24921         successful.
24922         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
24923         redundant variable declarations and reallocation of buffer when
24924         parsing as IPv6 address.  Always set NSS status when called from
24925         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
24926         buffer too small.  Correct computation of needed size.
24927         * nss/Makefile (tests): Add test-digits-dots.
24928         * nss/test-digits-dots.c: New test.
24930 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24932         * benchtests/Makefile: Remove instructions for adding
24933         benchmark tests.
24934         * benchtests/README: New file to explain how to execute and
24935         enhance the benchmark tests.
24937 2013-05-21  Andreas Schwab  <schwab@suse.de>
24939         [BZ #15493]
24940         * setjmp/Makefile (tests): Add tst-sigsetjmp.
24941         * setjmp/tst-sigsetjmp.c: New test.
24943 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
24945         * sysdeps/x86_64/memset.S (memset): New implementation.
24946         (__bzero): Likewise.
24947         (__memset_tail): New function.
24949 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
24951         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
24952         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
24953         __memcpy_sse2_unaligned ifunc selection.
24954         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24955         Add memcpy-sse2-unaligned.S.
24956         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24957         Add: __memcpy_sse2_unaligned.
24959 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
24961         [BZ #15490]
24962         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24963         math_force_eval before restoring floating-point envrionment.
24964         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
24965         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
24966         Likewise.
24967         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
24968         <math_private.h>.
24969         (__nearbyintl): Use math_force_eval before restoring
24970         floating-point environment.
24971         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
24973         * math/gen-libm-test.pl (special_functions): Remove.
24974         (parse_args): Don't handle TEST_extra.  Handle functions with no
24975         return value.
24976         * math/libm-test.inc (struct test_sincos_data): Replace with
24977         struct test_fFF_11_data.
24978         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
24979         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
24980         (sincos_test_data): Change element type to struct
24981         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
24982         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
24983         RUN_TEST_LOOP_sincos.
24984         * math/README.libm-test: Don't mention special handling of
24985         individual functions.
24986         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
24987         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24988         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24989         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24990         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24991         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24993         * math/gen-libm-test.pl (get_variable): Remove function.
24994         (parse_args): Don't show pointer parameters to call in test
24995         names.  Use "extra output N" in test names for extra outputs
24996         rather than naming variables.
24998 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
25000         [BZ #15488]
25001         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
25002         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
25003         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
25004         double tests.
25005         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
25006         disable.
25007         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
25008         check_long_double.
25010         * math/gen-libm-test.pl (@tests): Remove variable.
25011         ($count): Likewise.
25012         (new_test): Remove function.
25013         (show_exceptions): New function.
25014         (special_functions): Use show_exceptions instead of new_test.
25015         (parse_args): Likewise.
25016         (generate_testfile): Pass only function name in generated call to
25017         print_max_error or print_complex_max_error.
25018         (get_ulps): Do not handle complex tests specially.
25019         (output_test): Rename to ...
25020         (get_all_ulps_for_test): ... this.  Return a string rather than
25021         printing to a file.  Require ulps to be present.
25022         (output_ulps): Generate arrays rather than #defines.
25023         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
25024         (struct ulp_data): New type.
25025         (BUILD_COMPLEX_ULP): Remove macro.
25026         (compare_ulp_data): New function.
25027         (find_ulps): Likewise.
25028         (find_test_ulps): Likewise.
25029         (find_function_ulps): Likewise.
25030         (find_complex_function_ulps): Likewise.
25031         (print_max_error): Determine allowed ulps using
25032         find_function_ulps.
25033         (print_complex_max_error): Determine allowed ulps using
25034         find_complex_function_ulps.
25035         (check_float_internal): Determine max ulps using find_test_ulps.
25036         (check_float): Do not take max_ulp parameter.  Update call to
25037         check_float_internal.
25038         (check_complex): Likewise.
25039         (check_int): Do not take max_ulp parameter.
25040         (check_long): Likewise.
25041         (check_bool): Likewise.
25042         (check_longlong): Likewise.
25043         (struct test_f_f_data): Remove max_ulp field.
25044         (struct test_ff_f_data): Likewise.
25045         (struct test_ff_f_data_nexttoward): Likewise.
25046         (struct test_fi_f_data): Likewise.
25047         (struct test_fl_f_data): Likewise.
25048         (struct test_if_f_data): Likewise.
25049         (struct test_fff_f_data): Likewise.
25050         (struct test_c_f_data): Likewise.
25051         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
25052         (struct test_fF_f1_data): Likewise.
25053         (struct test_ffI_f1_data): Likewise.
25054         (struct test_c_c_data): Remove max_ulp field.
25055         (struct test_cc_c_data): Likewise.
25056         (struct test_f_i_data): Likewise.
25057         (struct test_ff_i_data): Likewise.
25058         (struct test_f_l_data): Likewise.
25059         (struct test_f_L_data): Likewise.
25060         (struct test_sincos_data): Likewise.
25061         (RUN_TEST_f_f): Do not handle ulps.
25062         (RUN_TEST_LOOP_f_f): Likewise.
25063         (RUN_TEST_2_f): Likewise.
25064         (RUN_TEST_LOOP_2_f): Likewise.
25065         (RUN_TEST_fff_f): Likewise.
25066         (RUN_TEST_LOOP_fff_f): Likewise.
25067         (RUN_TEST_c_f): Likewise.
25068         (RUN_TEST_LOOP_c_f): Likewise.
25069         (RUN_TEST_f_f1): Likewise.
25070         (RUN_TEST_LOOP_f_f1): Likewise.
25071         (RUN_TEST_fF_f1): Likewise.
25072         (RUN_TEST_LOOP_fF_f1): Likewise.
25073         (RUN_TEST_fI_f1): Likewise.
25074         (RUN_TEST_LOOP_fI_f1): Likewise.
25075         (RUN_TEST_ffI_f1): Likewise.
25076         (RUN_TEST_LOOP_ffI_f1): Likewise.
25077         (RUN_TEST_c_c): Likewise.
25078         (RUN_TEST_LOOP_c_c): Likewise.
25079         (RUN_TEST_cc_c): Likewise.
25080         (RUN_TEST_LOOP_cc_c): Likewise.
25081         (RUN_TEST_f_i): Likewise.
25082         (RUN_TEST_LOOP_f_i): Likewise.
25083         (RUN_TEST_f_i_tg): Likewise.
25084         (RUN_TEST_LOOP_f_i_tg): Likewise.
25085         (RUN_TEST_ff_i_tg): Likewise.
25086         (RUN_TEST_LOOP_ff_i_tg): Likewise.
25087         (RUN_TEST_f_b): Likewise.
25088         (RUN_TEST_LOOP_f_b): Likewise.
25089         (RUN_TEST_f_b_tg): Likewise.
25090         (RUN_TEST_LOOP_f_b_tg): Likewise.
25091         (RUN_TEST_f_l): Likewise.
25092         (RUN_TEST_LOOP_f_l): Likewise.
25093         (RUN_TEST_f_L): Likewise.
25094         (RUN_TEST_LOOP_f_L): Likewise.
25095         (RUN_TEST_sincos): Likewise.
25096         (RUN_TEST_LOOP_sincos): Likewise.
25098 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
25100         [BZ #15480]
25101         [BZ #15485]
25102         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
25103         main case of finite arguments, set rounding mode to FE_TONEAREST
25104         and discard exceptions.
25105         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
25106         exceptions.
25107         (remainder_tonearest_test_data): New variable.
25108         (remainder_test_tonearest): New function.
25109         (remainder_towardzero_test_data): New variable.
25110         (remainder_test_towardzero): New function.
25111         (remainder_downward_test_data): New variable.
25112         (remainder_test_downward): New function.
25113         (remainder_upward_test_data): New variable.
25114         (remainder_test_upward): New function.
25115         (main): Call the new test functions.
25117         * math/libm-test.inc (struct test_f_f1_data): Remove field
25118         extra_init.
25119         (struct test_fF_f1_data): Likewise.
25120         (struct test_ffI_f1_data): Likewise.
25121         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
25122         based on value of EXTRA_EXPECTED.
25123         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
25124         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
25125         EXTRA_VAR based on value of EXTRA_EXPECTED.
25126         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
25127         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
25128         EXTRA_VAR based on value of EXTRA_EXPECTED.
25129         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
25130         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
25131         EXTRA_VAR based on value of EXTRA_EXPECTED.
25132         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
25133         * math/gen-libm-test.pl (parse_args): Don't output initializers
25134         for extra output values.
25136         * math/libm-test.inc (check_int): Expect result to be exactly
25137         equal to expected value and do not handle ulps.
25138         (check_long): Likewise.
25139         (check_longlong): Likewise.
25141         * math/libm-test.inc (ceil_test_data): Test for "inexact"
25142         exceptions.
25143         (cimag_test_data): Likewise.
25144         (conj_test_data): Likewise.
25145         (copysign_test_data): Likewise.
25146         (cproj_test_data): Likewise.
25147         (creal_test_data): Likewise.
25148         (fabs_test_data): Likewise.
25149         (fdim_test_data): Likewise.
25150         (finite_test_data): Likewise.
25151         (floor_test_data): Likewise.
25152         (fmax_test_data): Likewise.
25153         (fmin_test_data): Likewise.
25154         (fmod_test_data): Likewise.
25155         (fpclassify_test_data): Likewise.
25156         (frexp_test_data): Likewise.
25157         (ilogb_test_data): Likewise.
25158         (isfinite_test_data): Likewise.
25159         (isgreater_test_data): Likewise.
25160         (isgreaterequal_test_data): Likewise.
25161         (isinf_test_data): Likewise.
25162         (isless_test_data): Likewise.
25163         (islessequal_test_data): Likewise.
25164         (islessgreater_test_data): Likewise.
25165         (isnan_test_data): Likewise.
25166         (isnormal_test_data): Likewise.
25167         (issignaling_test_data): Likewise.
25168         (isunordered_test_data): Likewise.
25169         (ldexp_test_data): Likewise.
25170         (lrint_test_data): Likewise.
25171         (lrint_test_data) [TEST_FLOAT]: Disable one test.
25172         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
25173         (lrint_tonearest_test_data): Test for "inexact" exceptions.
25174         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
25175         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
25176         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
25177         test input.
25178         (lrint_towardzero_test_data): Test for "inexact" exceptions.
25179         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
25180         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
25181         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
25182         that test input.
25183         (lrint_downward_test_data): Test for "inexact" exceptions.
25184         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
25185         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
25186         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
25187         test input.
25188         (lrint_upward_test_data): Test for "inexact" exceptions.
25189         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
25190         test input.
25191         (llrint_test_data): Test for "inexact" exceptions.
25192         (llrint_test_data) [TEST_FLOAT]: Disable one test.
25193         (llrint_tonearest_test_data): Test for "inexact" exceptions.
25194         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
25195         (llrint_towardzero_test_data): Test for "inexact" exceptions.
25196         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
25197         (llrint_downward_test_data): Test for "inexact" exceptions.
25198         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
25199         (llrint_upward_test_data): Test for "inexact" exceptions.
25200         (logb_test_data): Likewise.
25201         (logb_downward_test_data): Likewise.
25202         (nextafter_test_data): Likewise.
25203         (nexttoward_test_data): Likewise.
25204         (remainder_test_data): Likewise.
25205         (remquo_test_data): Likewise.
25206         (scalbn_test_data): Likewise.
25207         (scalbln_test_data): Likewise.
25208         (signbit_test_data): Likewise.
25209         (sqrt_test_data): Likewise.
25210         (significand_test_data): Likewise.
25212 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
25214         [BZ #15424]
25215         * benchtests/bench-modf.c (struct args): Mark arg0 as
25216         volatile.
25217         * scripts/bench.pl: Mark members of struct args as volatile.
25219 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25221         [BZ # 15497]
25222         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
25223         negative infinity on POWER6 or lower.
25224         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
25226 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
25228         [BZ #15442]
25229         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
25230         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
25231         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
25232         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
25233         (_FP_SETQNAN): New macro.
25234         (_FP_SETQNAN_SEMIRAW): Likewise.
25235         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
25236         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
25237         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
25238         (FP_EXTEND): Use _FP_FRAC_SNANP.
25239         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
25240         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
25241         into account.
25242         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
25243         New macro.
25244         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
25245         Likewise.
25247 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
25249         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
25250         with DIVIDE_BY_ZERO_EXCEPTION.
25251         (gamma_test_data): Likewise.
25252         (lgamma_test_data): Likewise.
25253         (log_test_data): Likewise.
25254         (log10_test_data): Likewise.
25255         (log2_test_data): Likewise.
25256         (tgamma_test_data): Likewise.
25258         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
25259         (acos_test_tonearest): Likewise.
25260         (acos_test_towardzero): Likewise.
25261         (acos_test_downward): Likewise.
25262         (acos_test_upward): Likewise.
25263         (acosh_test): Likewise.
25264         (asin_test): Likewise.
25265         (asin_test_tonearest): Likewise.
25266         (asin_test_towardzero): Likewise.
25267         (asin_test_downward): Likewise.
25268         (asin_test_upward): Likewise.
25269         (asinh_test): Likewise.
25270         (atan_test): Likewise.
25271         (atanh_test): Likewise.
25272         (atan2_test): Likewise.
25273         (cabs_test): Likewise.
25274         (cacos_test): Likewise.
25275         (cacosh_test): Likewise.
25276         (casin_test): Likewise.
25277         (casinh_test): Likewise.
25278         (catan_test): Likewise.
25279         (catanh_test): Likewise.
25280         (cbrt_test): Likewise.
25281         (ccos_test): Likewise.
25282         (ccosh_test): Likewise.
25283         (cexp_test): Likewise.
25284         (clog_test): Likewise.
25285         (clog10_test): Likewise.
25286         (cos_test): Likewise.
25287         (cos_test_tonearest): Likewise.
25288         (cos_test_towardzero): Likewise.
25289         (cos_test_downward): Likewise.
25290         (cos_test_upward): Likewise.
25291         (cosh_test): Likewise.
25292         (cosh_test_tonearest): Likewise.
25293         (cosh_test_towardzero): Likewise.
25294         (cosh_test_downward): Likewise.
25295         (cosh_test_upward): Likewise.
25296         (cpow_test): Likewise.
25297         (csin_test): Likewise.
25298         (csinh_test): Likewise.
25299         (csqrt_test): Likewise.
25300         (ctan_test): Likewise.
25301         (ctan_test_tonearest): Likewise.
25302         (ctan_test_towardzero): Likewise.
25303         (ctan_test_downward): Likewise.
25304         (ctan_test_upward): Likewise.
25305         (ctanh_test): Likewise.
25306         (ctanh_test_tonearest): Likewise.
25307         (ctanh_test_towardzero): Likewise.
25308         (ctanh_test_downward): Likewise.
25309         (ctanh_test_upward): Likewise.
25310         (erf_test): Likewise.
25311         (erfc_test): Likewise.
25312         (exp_test): Likewise.
25313         (exp_test_tonearest): Likewise.
25314         (exp_test_towardzero): Likewise.
25315         (exp_test_downward): Likewise.
25316         (exp_test_upward): Likewise.
25317         (exp10_test): Likewise.
25318         (exp2_test): Likewise.
25319         (expm1_test): Likewise.
25320         (fmod_test): Likewise.
25321         (gamma_test): Likewise.
25322         (hypot_test): Likewise.
25323         (j0_test): Likewise.
25324         (j1_test): Likewise.
25325         (jn_test): Likewise.
25326         (lgamma_test): Likewise.
25327         (log_test): Likewise.
25328         (log10_test): Likewise.
25329         (log1p_test): Likewise.
25330         (log2_test): Likewise.
25331         (logb_test_downward): Likewise.
25332         (pow_test): Likewise.
25333         (pow_test_tonearest): Likewise.
25334         (pow_test_towardzero): Likewise.
25335         (pow_test_downward): Likewise.
25336         (pow_test_upward): Likewise.
25337         (remainder_test): Likewise.
25338         (remquo_test): Likewise.
25339         (sin_test): Likewise.
25340         (sin_test_tonearest): Likewise.
25341         (sin_test_towardzero): Likewise.
25342         (sin_test_downward): Likewise.
25343         (sin_test_upward): Likewise.
25344         (sincos_test): Likewise.
25345         (sinh_test): Likewise.
25346         (sinh_test_tonearest): Likewise.
25347         (sinh_test_towardzero): Likewise.
25348         (sinh_test_downward): Likewise.
25349         (sinh_test_upward): Likewise.
25350         (sqrt_test): Likewise.
25351         (tan_test): Likewise.
25352         (tan_test_tonearest): Likewise.
25353         (tan_test_towardzero): Likewise.
25354         (tan_test_downward): Likewise.
25355         (tan_test_upward): Likewise.
25356         (tanh_test): Likewise.
25357         (tgamma_test): Likewise.
25358         (y0_test): Likewise.
25359         (y1_test): Likewise.
25360         (yn_test): Likewise.
25362         * math/gen-libm-test.pl (adjust_arg): Remove function.
25363         (special_function): Remove argument $in_func.  Only handle
25364         generating output for tables of tests, not inside functions.
25365         (parse_args): Likewise.
25366         (generate_testfile): Remove variable $in_func.  Update call to
25367         parse_args.
25368         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
25369         (MINUS_ZERO_INIT): Rename macro to minus_zero.
25370         (PLUS_INFTY_INIT): Rename macro to plus_infty.
25371         (MINUS_INFTY_INIT): Rename macro to minus_infty.
25372         (QNAN_VALUE_INIT): Rename macro to qnan_value.
25373         (MAX_VALUE_INIT): Rename macro to max_value.
25374         (MIN_VALUE_INIT): Rename macro to min_value.
25375         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
25376         (plus_zero): Remove variable.
25377         (minus_zero): Likewise.
25378         (plus_infty): Likewise.
25379         (minus_infty): Likewise.
25380         (qnan_value): Likewise.
25381         (max_value): Likewise.
25382         (min_value): Likewise.
25383         (min_subnorm_value): Likewise.
25385 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25387         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
25388         uint64_t or uint32_t usage.
25389         * crypt/sha256-block.c: Likewise.
25390         * crypt/sha256-crypt.c: Likewise.
25391         * crypt/sha256.c: Likewise.
25392         * crypt/sha512-block.c: Likewise.
25393         * crypt/sha512-crypt.c: Likewise.
25394         * crypt/sha512.c: Likewise.
25395         * debug/backtrace-tst.c: Likewise.
25396         * debug/pcprofiledump.c: Likewise.
25397         * elf/cache.c: Likewise.
25398         * elf/dl-cache.c: Likewise.
25399         * elf/dl-misc.c: Likewise.
25400         * elf/dl-profile.c: Likewise.
25401         * elf/dl-support.c: Likewise.
25402         * elf/ldconfig.c: Likewise.
25403         * elf/sprof.c: Likewise.
25404         * iconv/dummy-repertoire.c: Likewise.
25405         * iconv/iconv_charmap.c: Likewise.
25406         * iconv/skeleton.c: Likewise.
25407         * iconvdata/8bit-generic.c: Likewise.
25408         * iconvdata/cp737.h: Likewise.
25409         * iconvdata/cp775.h: Likewise.
25410         * iconvdata/ibm1008.h: Likewise.
25411         * iconvdata/ibm1025.h: Likewise.
25412         * iconvdata/ibm1046.h: Likewise.
25413         * iconvdata/ibm1097.h: Likewise.
25414         * iconvdata/ibm1112.h: Likewise.
25415         * iconvdata/ibm1122.h: Likewise.
25416         * iconvdata/ibm1123.h: Likewise.
25417         * iconvdata/ibm1124.h: Likewise.
25418         * iconvdata/ibm1129.h: Likewise.
25419         * iconvdata/ibm1130.h: Likewise.
25420         * iconvdata/ibm1132.h: Likewise.
25421         * iconvdata/ibm1133.h: Likewise.
25422         * iconvdata/ibm1137.h: Likewise.
25423         * iconvdata/ibm1140.h: Likewise.
25424         * iconvdata/ibm1141.h: Likewise.
25425         * iconvdata/ibm1142.h: Likewise.
25426         * iconvdata/ibm1143.h: Likewise.
25427         * iconvdata/ibm1144.h: Likewise.
25428         * iconvdata/ibm1145.h: Likewise.
25429         * iconvdata/ibm1146.h: Likewise.
25430         * iconvdata/ibm1147.h: Likewise.
25431         * iconvdata/ibm1148.h: Likewise.
25432         * iconvdata/ibm1149.h: Likewise.
25433         * iconvdata/ibm1153.h: Likewise.
25434         * iconvdata/ibm1154.h: Likewise.
25435         * iconvdata/ibm1155.h: Likewise.
25436         * iconvdata/ibm1156.h: Likewise.
25437         * iconvdata/ibm1157.h: Likewise.
25438         * iconvdata/ibm1158.h: Likewise.
25439         * iconvdata/ibm1160.h: Likewise.
25440         * iconvdata/ibm1161.h: Likewise.
25441         * iconvdata/ibm1162.h: Likewise.
25442         * iconvdata/ibm1163.h: Likewise.
25443         * iconvdata/ibm1164.h: Likewise.
25444         * iconvdata/ibm1166.h: Likewise.
25445         * iconvdata/ibm1167.h: Likewise.
25446         * iconvdata/ibm12712.h: Likewise.
25447         * iconvdata/ibm1390.h: Likewise.
25448         * iconvdata/ibm1399.h: Likewise.
25449         * iconvdata/ibm16804.h: Likewise.
25450         * iconvdata/ibm4517.h: Likewise.
25451         * iconvdata/ibm4899.h: Likewise.
25452         * iconvdata/ibm4909.h: Likewise.
25453         * iconvdata/ibm4971.h: Likewise.
25454         * iconvdata/ibm5347.h: Likewise.
25455         * iconvdata/ibm803.h: Likewise.
25456         * iconvdata/ibm856.h: Likewise.
25457         * iconvdata/ibm901.h: Likewise.
25458         * iconvdata/ibm902.h: Likewise.
25459         * iconvdata/ibm9030.h: Likewise.
25460         * iconvdata/ibm9066.h: Likewise.
25461         * iconvdata/ibm921.h: Likewise.
25462         * iconvdata/ibm922.h: Likewise.
25463         * iconvdata/ibm9448.h: Likewise.
25464         * iconvdata/isiri-3342.h: Likewise.
25465         * iconvdata/jis0201.h: Likewise.
25466         * include/link.h: Likewise.
25467         * include/netdb.h: Likewise.
25468         * inet/check_native.c: Likewise.
25469         * inet/check_pf.c: Likewise.
25470         * inet/getipv4sourcefilter.c: Likewise.
25471         * inet/getnameinfo.c: Likewise.
25472         * inet/getsourcefilter.c: Likewise.
25473         * inet/htonl.c: Likewise.
25474         * inet/setipv4sourcefilter.c: Likewise.
25475         * inet/setsourcefilter.c: Likewise.
25476         * inet/test-inet6_opt.c: Likewise.
25477         * inet/tst-network.c: Likewise.
25478         * locale/C-collate.c: Likewise.
25479         * locale/C-ctype.c: Likewise.
25480         * locale/C-time.c: Likewise.
25481         * locale/C-translit.h: Likewise.
25482         * locale/loadarchive.c: Likewise.
25483         * locale/programs/3level.h: Likewise.
25484         * locale/programs/charmap.c: Likewise.
25485         * locale/programs/charmap.h: Likewise.
25486         * locale/programs/ld-address.c: Likewise.
25487         * locale/programs/ld-collate.c: Likewise.
25488         * locale/programs/ld-ctype.c: Likewise.
25489         * locale/programs/ld-identification.c: Likewise.
25490         * locale/programs/ld-measurement.c: Likewise.
25491         * locale/programs/ld-messages.c: Likewise.
25492         * locale/programs/ld-monetary.c: Likewise.
25493         * locale/programs/ld-name.c: Likewise.
25494         * locale/programs/ld-numeric.c: Likewise.
25495         * locale/programs/ld-paper.c: Likewise.
25496         * locale/programs/ld-telephone.c: Likewise.
25497         * locale/programs/ld-time.c: Likewise.
25498         * locale/programs/linereader.c: Likewise.
25499         * locale/programs/locale.c: Likewise.
25500         * locale/programs/locarchive.c: Likewise.
25501         * locale/programs/locfile.h: Likewise.
25502         * locale/programs/repertoire.c: Likewise.
25503         * locale/programs/simple-hash.c: Likewise.
25504         * locale/programs/simple-hash.h: Likewise.
25505         * malloc/memusage.c: Likewise.
25506         * malloc/memusagestat.c: Likewise.
25507         * nis/nis_defaults.c: Likewise.
25508         * nis/nis_hash.c: Likewise.
25509         * nis/nis_print.c: Likewise.
25510         * nis/nis_xdr.c: Likewise.
25511         * nscd/connections.c: Likewise.
25512         * nscd/hstcache.c: Likewise.
25513         * nscd/nscd_gethst_r.c: Likewise.
25514         * nscd/nscd_getserv_r.c: Likewise.
25515         * nscd/nscd_helper.c: Likewise.
25516         * nscd/servicescache.c: Likewise.
25517         * nss/makedb.c: Likewise.
25518         * nss/nss_db/db-XXX.c: Likewise.
25519         * nss/nss_db/db-initgroups.c: Likewise.
25520         * nss/nss_db/db-netgrp.c: Likewise.
25521         * nss/nss_files/files-network.c: Likewise.
25522         * nss/nss_files/files-parse.c: Likewise.
25523         * posix/bug-regex5.c: Likewise.
25524         * posix/fnmatch_loop.c: Likewise.
25525         * posix/regcomp.c: Likewise.
25526         * posix/regexec.c: Likewise.
25527         * posix/tst-rfc3484-2.c: Likewise.
25528         * posix/tst-rfc3484-3.c: Likewise.
25529         * posix/tst-rfc3484.c: Likewise.
25530         * resolv/nss_dns/dns-canon.c: Likewise.
25531         * resolv/nss_dns/dns-network.c: Likewise.
25532         * resolv/res_init.c: Likewise.
25533         * resolv/res_mkquery.c: Likewise.
25534         * resolv/tst-aton.c: Likewise.
25535         * stdlib/cxa_atexit.c: Likewise.
25536         * stdlib/cxa_finalize.c: Likewise.
25537         * stdlib/gen-fpioconst.c: Likewise.
25538         * stdlib/strtol_l.c: Likewise.
25539         * string/tst-endian.c: Likewise.
25540         * sunrpc/auth_des.c: Likewise.
25541         * sunrpc/clnt_udp.c: Likewise.
25542         * sunrpc/rtime.c: Likewise.
25543         * sunrpc/svcauth_des.c: Likewise.
25544         * sunrpc/xdr.c: Likewise.
25545         * sunrpc/xdr_intXX_t.c: Likewise.
25546         * sunrpc/xdr_rec.c: Likewise.
25547         * sysdeps/generic/ldconfig.h: Likewise.
25548         * sysdeps/generic/ldsodefs.h: Likewise.
25549         * sysdeps/generic/memusage.h: Likewise.
25550         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
25551         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
25552         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
25553         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25554         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25555         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25556         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
25557         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
25558         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25559         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25560         * sysdeps/posix/getaddrinfo.c: Likewise.
25561         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25562         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25563         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
25564         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25565         * sysdeps/powerpc/test-gettimebase.c: Likewise.
25566         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
25567         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
25568         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
25569         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
25570         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
25571         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
25572         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
25573         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
25574         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
25575         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
25576         * sysdeps/x86_64/dl-tls.h: Likewise.
25577         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
25578         * time/alt_digit.c: Likewise.
25579         * time/era.c: Likewise.
25580         * wcsmbs/tst-c16c32-1.c: Likewise.
25582 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
25584         * math/libm-test.inc (struct test_sincos_data): New type.
25585         (RUN_TEST_LOOP_sincos): New macro.
25586         (sincos_test_data): New variable.
25587         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
25589 2013-05-16  Richard Henderson  <rth@redhat.com>
25591         * math/atest-exp2.c (LIMB64): New macro.
25592         (CONSTSZ): New macro.
25593         (mp_exp1, mp_exp_m1, mp_log2): New variables.
25594         (hexdig): Move ...
25595         (print_mpn_fp): ... to function scope.
25596         (read_mpn_hex): Remove.
25597         (get_log2): Remove.
25598         (exp2_mpn): Use mp_log2.
25599         (main): Use mp_exp1.
25601 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
25603         * math/libm-test.inc: Remove comment about not testing "inexact"
25604         exceptions.
25605         (INEXACT_EXCEPTION): New macro.
25606         (NO_INEXACT_EXCEPTION): Likewise.
25607         (INVALID_EXCEPTION_OK): Update value.
25608         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25609         (OVERFLOW_EXCEPTION_OK): Likewise.
25610         (UNDERFLOW_EXCEPTION_OK): Likewise.
25611         (IGNORE_ZERO_INF_SIGN): Likewise.
25612         (ERRNO_UNCHANGED): Likewise.
25613         (ERRNO_EDOM): Likewise.
25614         (ERRNO_ERANGE): Likewise.
25615         (test_exceptions): Handle testing "inexact" exceptions.
25616         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
25617         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
25618         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
25619         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
25620         INEXACT_EXCEPTION.
25621         (rint_towardzero_test_data): Likewise.
25622         (rint_downward_test_data): Likewise.
25623         (rint_upward_test_data): Likewise.
25625         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
25626         with OVERFLOW_EXCEPTION.
25627         (exp10_test_data): Likewise.
25628         (exp2_test_data): Likewise.
25629         (expm1_test_data): Likewise.
25630         (lgamma_test_data): Likewise.
25631         (pow_test_data): Likewise.
25632         (tgamma_test_data): Likewise.
25633         (yn_test_data): Remove duplicate test of overflow.
25635         * math/libm-test.inc (struct test_cc_c_data): New type.
25636         (RUN_TEST_LOOP_cc_c): New macro.
25637         (cpow_test_data): New variable.
25638         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
25640         * math/libm-test.inc (struct test_f_L_data): New type.
25641         (RUN_TEST_LOOP_f_L): New macro.
25642         (llrint_test_data): New variable.
25643         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
25644         (llrint_tonearest_test_data): New variable.
25645         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
25646         (llrint_towardzero_test_data): New variable.
25647         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
25648         (llrint_downward_test_data): New variable.
25649         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
25650         (llrint_upward_test_data): New variable.
25651         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
25652         (llround_test_data): New variable.
25653         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
25655 2013-05-13  Peter Collingbourne  <pcc@google.com>
25657         * math/atest-exp2.c (get_log2): Remove const attribute.
25659 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
25661         * math/libm-test.inc (struct test_f_l_data): New type.
25662         (RUN_TEST_LOOP_f_l): New macro.
25663         (lrint_test_data): New variable.
25664         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
25665         (lrint_tonearest_test_data): New variable.
25666         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
25667         (lrint_towardzero_test_data): New variable.
25668         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
25669         (lrint_downward_test_data): New variable.
25670         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
25671         (lrint_upward_test_data): New variable.
25672         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
25673         (lround_test_data): New variable.
25674         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
25676 2013-05-15  Peter Collingbourne  <pcc@google.com>
25678         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
25679         (EXTRACT_WORDS64) Use where appropriate.
25680         (INSERT_WORDS64) Likewise.
25682         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
25683         constraints with x constraints.
25684         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
25686         * malloc/obstack.c (_obstack_compat): Add initializer.
25688 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
25690         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
25691         si_trapno and add si_addr_lsb to _sifields.sigfault.
25692         (si_trapno): Remove macro.
25693         (si_addr_lsb): Define new macro.
25694         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
25696 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
25698         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
25699         instead of TEST_f_l.
25700         (llrint_test_tonearest): Likewise.
25701         (llrint_test_towardzero): Likewise.
25702         (llrint_test_downward): Likewise.
25703         (llrint_test_upward): Likewise.
25704         (llround_test): Likewise.
25706         * math/libm-test.inc (struct test_f_i_data): Add comment.
25707         (RUN_TEST_LOOP_f_b): New macro.
25708         (RUN_TEST_LOOP_f_b_tg): Likewise.
25709         (finite_test_data): New variable.
25710         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
25711         (isfinite_test_data): New variable.
25712         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25713         (isinf_test_data): New variable.
25714         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25715         (isnan_test_data): New variable.
25716         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25717         (isnormal_test_data): New variable.
25718         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25719         (issignaling_test_data): New variable.
25720         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25721         (signbit_test_data): New variable.
25722         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25724         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
25725         with INVALID_EXCEPTION.
25726         (acosh_test_data): Likewise.
25727         (asin_test_data): Likewise.
25728         (atanh_test_data): Likewise.
25729         (fmod_test_data): Likewise.
25730         (log_test_data): Likewise.
25731         (log10_test_data): Likewise.
25732         (log2_test_data): Likewise.
25733         (pow_test_data): Likewise.
25734         (sqrt_test_data): Likewise.
25735         (y0_test_data): Likewise.
25736         (y1_test_data): Likewise.
25737         (yn_test_data): Likewise.
25739         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
25740         function contents.
25742         * math/libm-test.inc (struct test_ff_i_data): New type.
25743         (RUN_TEST_LOOP_ff_i_tg): New macro.
25744         (isgreater_test_data): New variable.
25745         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25746         (isgreaterequal_test_data): New variable.
25747         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25748         (isless_test_data): New variable.
25749         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25750         (islessequal_test_data): New variable.
25751         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25752         (islessgreater_test_data): New variable.
25753         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25754         (isunordered_test_data): New variable.
25755         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25757 2013-05-14  David S. Miller  <davem@davemloft.net>
25759         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25761 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
25763         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
25765         * math/libm-test.inc (struct test_fF_f1_data): Change type of
25766         extra_test to int.
25767         (struct test_f_i_data): Change type of max_ulp to int.
25769         * math/libm-test.inc (test_ffI_f1_data): New type.
25770         (RUN_TEST_LOOP_ffI_f1): New macro.
25771         (remquo_test_data): New variable.
25772         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
25774         * setjmp/tst-setjmp-fp.c: New file.
25775         * setjmp/Makefile (tests): Add tst-setjmp-fp.
25776         (link-libm): New variable.
25777         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
25779         * math/libm-test.inc (struct test_f_i_data): New type.
25780         (RUN_TEST_LOOP_f_i): New macro.
25781         (RUN_TEST_LOOP_f_i_tg): Likewise.
25782         (fpclassify_test_data): New variable.
25783         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
25784         (ilogb_test_data): New variable.
25785         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
25787         * math/libm-test.inc (scalbln_test): Correct function name in END
25788         call.
25790         * math/libm-test.inc (struct test_f_f1_data): Add comment.
25791         (RUN_TEST_LOOP_fI_f1): New macro.
25792         (frexp_test_data): New variable.
25793         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
25795         * math/libm-test.inc (struct test_fF_f1_data): New type.
25796         (RUN_TEST_LOOP_fF_f1): New macro.
25797         (modf_test_data): New variable.
25798         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
25800         * math/libm-test.inc (struct test_f_f1_data): New type.
25801         (RUN_TEST_LOOP_f_f1): New macro.
25802         (gamma_test_data): New variable.
25803         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
25804         (lgamma_test_data): New variable.
25805         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
25807 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
25809         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
25810         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
25811         (main): Comment "tls" pseudo-hwcap.
25813 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
25815         * math/libm-test.inc (struct test_fl_f_data): New type.
25816         (RUN_TEST_LOOP_fl_f): New variable.
25817         (scalbln_test_data): New variable.
25818         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
25820         * math/libm-test.inc (struct test_fi_f_data): New type.
25821         (RUN_TEST_LOOP_fi_f): New macro.
25822         (ldexp_test_data): New variable.
25823         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
25824         (scalbn_test_data): New variable.
25825         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
25827         * math/libm-test.inc (struct test_c_f_data): New type.
25828         (RUN_TEST_LOOP_c_f): New macro.
25829         (cabs_test_data): New variable.
25830         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
25831         (carg_test_data): New variable.
25832         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
25833         (cimag_test_data): New variable.
25834         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
25835         (creal_test_data): New variable.
25836         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
25838         * math/libm-test.inc (struct test_if_f_data): New type.
25839         (RUN_TEST_LOOP_if_f): New macro.
25840         (jn_test_data): New variable.
25841         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
25842         (yn_test_data): New variable.
25843         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
25845         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
25847 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25849         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
25850         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
25852 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
25854         * benchtests/Makefile (CPPFLAGS-nonlib): Add
25855         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
25856         (bench-deps): Add bench-timing.h.
25857         * benchtests-bench-skeleton.c: Include bench-timing.h.
25858         (main): Use TIMING_* macros instead of clock_gettime.
25859         * benchtests/bench-timing.h: New file.
25861         [BZ #14582]
25862         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
25863         Renamed from _LIB_VERSION.
25864         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
25866 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
25868         * math/libm-test.inc (struct test_fff_f_data): New type.
25869         (RUN_TEST_LOOP_fff_f): New macro.
25870         (fma_test_data): New variable.
25871         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
25872         (fma_towardzero_test_data): New variable.
25873         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
25874         (fma_downward_test_data): New variable.
25875         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
25876         (fma_upward_test_data): New variable.
25877         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
25879         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
25880         (struct test_c_c_data): New type.
25881         (RUN_TEST_LOOP_c_c): New macro.
25882         (cacos_test_data): New variable.
25883         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
25884         (cacosh_test_data): New variable.
25885         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
25886         (casin_test_data): New variable.
25887         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
25888         (casinh_test_data): New variable.
25889         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
25890         (catan_test_data): New variable.
25891         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
25892         (catanh_test_data): New variable.
25893         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
25894         (ccos_test_data): New variable.
25895         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
25896         (ccosh_test_data): New variable.
25897         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
25898         (cexp_test_data): New variable.
25899         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
25900         (clog_test_data): New variable.
25901         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
25902         (clog10_test_data): New variable.
25903         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
25904         (conj_test_data): New variable.
25905         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
25906         (cproj_test_data): New variable.
25907         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
25908         (csin_test_data): New variable.
25909         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
25910         (csinh_test_data): New variable.
25911         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
25912         (csqrt_test_data): New variable.
25913         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
25914         (ctan_test_data): New variable.
25915         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
25916         (ctan_tonearest_test_data): New variable.
25917         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
25918         (ctan_towardzero_test_data): New variable.
25919         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
25920         (ctan_downward_test_data): New variable.
25921         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
25922         (ctan_upward_test_data): New variable.
25923         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
25924         (ctanh_test_data): New variable.
25925         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
25926         (ctanh_tonearest_test_data): New variable.
25927         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
25928         (ctanh_towardzero_test_data): New variable.
25929         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
25930         (ctanh_downward_test_data): New variable.
25931         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
25932         (ctanh_upward_test_data): New variable.
25933         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
25934         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
25935         of BUILD_COMPLEX.
25937         * math/libm-test.inc (struct test_ff_f_data): New type.
25938         (struct test_ff_f_data_nexttoward): Likewise.
25939         (RUN_TEST_LOOP_2_f): New macro.
25940         (RUN_TEST_LOOP_ff_f): Likewise.
25941         (atan2_test_data): New variable.
25942         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
25943         (copysign_test_data): New variable.
25944         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
25945         (fdim_test_data): New variable.
25946         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
25947         (fmax_test_data): New variable.
25948         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
25949         (fmin_test_data): New variable.
25950         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
25951         (fmod_test_data): New variable.
25952         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
25953         (hypot_test_data): New variable.
25954         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
25955         (nextafter_test_data): New variable.
25956         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
25957         (nexttoward_test_data): New variable.
25958         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
25959         (pow_test_data): New variable.
25960         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
25961         (pow_tonearest_test_data): New variable.
25962         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
25963         (pow_towardzero_test_data): New variable.
25964         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
25965         (pow_downward_test_data): New variable.
25966         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
25967         (pow_upward_test_data): New variable.
25968         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
25969         (remainder_test_data): New variable.
25970         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
25971         (scalb_test_data): New variable.
25972         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
25973         * sysdeps/i386/fpu/libm-test-ulps: Update.
25975 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
25977         * math/libm-test.inc (fma_test): Use max_value instead of local
25978         variable fltmax.
25979         (nextafter_test): Likewise.
25981         * math/libm-test.inc (acos_towardzero_test_data): New variable.
25982         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25983         (acos_downward_test_data): New variable.
25984         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25985         (acos_upward_test_data): New variable.
25986         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25987         (acosh_test_data): New variable.
25988         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
25989         (asin_test_data): New variable.
25990         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
25991         (asin_tonearest_test_data): New variable.
25992         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25993         (asin_towardzero_test_data): New variable.
25994         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25995         (asin_downward_test_data): New variable.
25996         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25997         (asin_upward_test_data): New variable.
25998         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25999         (asinh_test_data): New variable.
26000         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
26001         (atan_test_data): New variable.
26002         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
26003         (atanh_test_data): New variable.
26004         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
26005         (cbrt_test_data): New variable.
26006         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
26007         (ceil_test_data): New variable.
26008         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
26009         (cos_test_data): New variable.
26010         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
26011         (cos_tonearest_test_data): New variable.
26012         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26013         (cos_towardzero_test_data): New variable.
26014         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26015         (cos_downward_test_data): New variable.
26016         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26017         (cos_upward_test_data): New variable.
26018         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26019         (cosh_test_data): New variable.
26020         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
26021         (cosh_tonearest_test_data): New variable.
26022         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26023         (cosh_towardzero_test_data): New variable.
26024         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26025         (cosh_downward_test_data): New variable.
26026         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26027         (cosh_upward_test_data): New variable.
26028         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26029         (erf_test_data): New variable.
26030         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
26031         (erfc_test_data): New variable.
26032         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
26033         (exp_test_data): New variable.
26034         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
26035         (exp_tonearest_test_data): New variable.
26036         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26037         (exp_towardzero_test_data): New variable.
26038         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26039         (exp_downward_test_data): New variable.
26040         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26041         (exp_upward_test_data): New variable.
26042         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26043         (exp10_test_data): New variable.
26044         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
26045         (exp2_test_data): New variable.
26046         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
26047         (expm1_test_data): New variable.
26048         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
26049         (fabs_test_data): New variable.
26050         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
26051         (floor_test_data): New variable.
26052         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
26053         (j0_test_data): New variable.
26054         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
26055         (j1_test_data): New variable.
26056         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
26057         (log_test_data): New variable.
26058         (log_test): Run tests with RUN_TEST_LOOP_f_f.
26059         (log10_test_data): New variable.
26060         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
26061         (log1p_test_data): New variable.
26062         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
26063         (log2_test_data): New variable.
26064         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
26065         (logb_test_data): New variable.
26066         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
26067         (logb_downward_test_data): New variable.
26068         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26069         (nearbyint_test_data): New variable.
26070         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
26071         (rint_test_data): New variable.
26072         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
26073         (rint_tonearest_test_data): New variable.
26074         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26075         (rint_towardzero_test_data): New variable.
26076         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26077         (rint_downward_test_data): New variable.
26078         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26079         (rint_upward_test_data): New variable.
26080         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26081         (round_test_data): New variable.
26082         (round_test): Run tests with RUN_TEST_LOOP_f_f.
26083         (sin_test_data): New variable.
26084         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
26085         (sin_tonearest_test_data): New variable.
26086         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26087         (sin_towardzero_test_data): New variable.
26088         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26089         (sin_downward_test_data): New variable.
26090         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26091         (sin_upward_test_data): New variable.
26092         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26093         (sinh_test_data): New variable.
26094         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
26095         (sinh_tonearest_test_data): New variable.
26096         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26097         (sinh_towardzero_test_data): New variable.
26098         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26099         (sinh_downward_test_data): New variable.
26100         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26101         (sinh_upward_test_data): New variable.
26102         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26103         (sqrt_test_data): New variable.
26104         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
26105         (tan_test_data): New variable.
26106         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
26107         (tan_tonearest_test_data): New variable.
26108         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26109         (tan_towardzero_test_data): New variable.
26110         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26111         (tan_downward_test_data): New variable.
26112         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26113         (tan_upward_test_data): New variable.
26114         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26115         (tanh_test_data): New variable.
26116         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
26117         (tgamma_test_data): New variable.
26118         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
26119         (trunc_test_data): New variable.
26120         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
26121         (y0_test_data): New variable.
26122         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
26123         (y1_test_data): New variable.
26124         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
26125         (significand_test_data): New variable.
26126         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
26128 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
26130         [BZ #12387]
26131         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
26133 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
26135         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
26137 2013-05-10  Andreas Jaeger  <aj@suse.de>
26139         [BZ #15448]
26140         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
26141         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
26143 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
26145         * math/gen-libm-test.pl (adjust_arg): New function.
26146         (special_functions): Handle generating output in both functions
26147         and arrays.
26148         (parse_args): Likewise.
26149         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
26150         $in_func argument to parse_args.
26151         * math/libm-test.inc (struct test_f_f_data): New type.
26152         (IF_ROUND_INIT_): New macro.
26153         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
26154         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
26155         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
26156         (IF_ROUND_INIT_FE_UPWARD): Likewise.
26157         (ROUND_RESTORE_): Likewise.
26158         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
26159         (ROUND_RESTORE_FE_TONEAREST): Likewise.
26160         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
26161         (ROUND_RESTORE_FE_UPWARD): Likewise.
26162         (RUN_TEST_LOOP_f_f): New macro.
26163         (acos_test_data): New variable.
26164         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
26165         (acos_tonearest_test_data): New variable.
26166         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26168 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26170         * benchtests/bench-skeleton.c (startup): Fix coding style.
26172 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
26174         [BZ #6809]
26175         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
26176         negative infinity argument.
26177         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
26178         negative infinity argument.
26179         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
26180         negative infinity argument.
26181         * math/libm-test.inc (tgamma_test): Expect errno to be set for
26182         domain errors.
26184 2013-05-10  Florian Weimer  <fweimer@redhat.com>
26186         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
26187         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
26188         * iconv/iconv_prog.c (main): Likewise.
26189         * locale/programs/charmap-dir.c (charmap_readdir)
26190         (fopen_uncompressed): Likewise.
26191         * locale/programs/locfile.c (siblings_uncached)
26192         (write_locale_data): Use lstat64 instead of lstat.
26193         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
26194         stat.
26196 2013-05-10  Andreas Jaeger  <aj@suse.de>
26198         [BZ #15395]
26199         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
26200         localization.
26201         Include <locale.h>.
26203 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
26205         * elf/dl-close.c (_dl_close_worker): Add comments.
26207 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
26209         [BZ #15359]
26210         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
26211         high part of pi/2.
26212         (__ieee754_rem_pio2l): Update comments.
26214         [BZ #15429]
26215         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
26216         high part of pi/2.
26217         (__ieee754_rem_pio2l): Update comments.
26219         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
26220         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
26222         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
26223         M_PI_4l.
26225         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
26226         (M_PI_34_LOG10El): Likewise.
26227         (M_PI2_LOG10El): Likewise.
26228         (M_PI4_LOG10El): Likewise.
26229         (M_PI_LOG10El): Likewise.
26231 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26233         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26235 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
26237         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
26238         (MINUS_ZERO_INIT): Likewise.
26239         (PLUS_INFTY_INIT): Likewise.
26240         (MINUS_INFTY_INIT): Likewise.
26241         (QNAN_VALUE_INIT): Likewise.
26242         (MAX_VALUE_INIT): Likewise.
26243         (MIN_VALUE_INIT): Likewise.
26244         (MIN_SUBNORM_VALUE_INIT): Likewise.
26245         (plus_zero): Initialize with PLUS_ZERO_INIT.
26246         (minus_zero): Initialize with MINUS_ZERO_INIT.
26247         (plus_infty): Initialize with PLUS_INFTY_INIT.
26248         (minus_infty): Initialize with MINUS_INFTY_INIT.
26249         (qnan_value): Initialize with QNAN_VALUE_INIT.
26250         (max_value): Initialize with MAX_VALUE_INIT.
26251         (min_value): Initialize with MIN_VALUE_INIT.
26252         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
26254         * math/libm-test.inc (RUN_TEST_if_f): New macro.
26255         (jn_test): Use TEST_if_f instead of TEST_ff_f.
26256         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
26257         (yn_test): Use TEST_if_f instead of TEST_ff_f.
26259         * math/libm-test.inc (RUN_TEST_f_f): New macro.
26260         (RUN_TEST_2_f): Likewise.
26261         (RUN_TEST_ff_f): Likewise.
26262         (RUN_TEST_fi_f): Likewise.
26263         (RUN_TEST_fl_f): Likewise.
26264         (RUN_TEST_fff_f): Likewise.
26265         (RUN_TEST_c_f): Likewise.
26266         (RUN_TEST_f_f1): Likewise.
26267         (RUN_TEST_fF_f1): Likewise.
26268         (RUN_TEST_fI_f1): Likewise.
26269         (RUN_TEST_ffI_f1): Likewise.
26270         (RUN_TEST_c_c): Likewise.
26271         (RUN_TEST_cc_c): Likewise.
26272         (RUN_TEST_f_i): Likewise.
26273         (RUN_TEST_f_i_tg): Likewise.
26274         (RUN_TEST_ff_i_tg): Likewise.
26275         (RUN_TEST_f_b): Likewise.
26276         (RUN_TEST_f_b_tg): Likewise.
26277         (RUN_TEST_f_l): Likewise.
26278         (RUN_TEST_f_L): Likewise.
26279         (RUN_TEST_sincos): Likewise.
26280         * math/gen-libm-test.pl (new_test): Take new argument to indicate
26281         whether to show exceptions.  Do not include ");\n" in return
26282         value.
26283         (special_functions): Output call to RUN_TEST_sincos instead of
26284         check_float calls.  Update calls to new_test.
26285         (parse_args): Output call to single RUN_TEST_* macro instead of
26286         check_* calls and other assignments.  Update calls to new_test.
26288         [BZ #2546]
26289         [BZ #2560]
26290         [BZ #5159]
26291         [BZ #15426]
26292         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
26293         input to result for tgamma overflow.
26294         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
26295         (gamma_coeff): New variable.
26296         (NCOEFF): New macro.
26297         (gamma_positive): New function.
26298         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
26299         underflow here.  Use gamma_positive instead of exp (lgamma) for
26300         other arguments.
26301         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
26302         (gamma_coeff): New variable.
26303         (NCOEFF): New macro.
26304         (gammaf_positive): New function.
26305         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
26306         underflow here.  Use gamma_positive instead of exp (lgamma) for
26307         other arguments.
26308         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
26309         (gamma_coeff): New variable.
26310         (NCOEFF): New macro.
26311         (gammal_positive): New function.
26312         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
26313         underflow here.  Use gamma_positive instead of exp (lgamma) for
26314         other arguments.
26315         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
26316         (gamma_coeff): New variable.
26317         (NCOEFF): New macro.
26318         (gammal_positive): New function.
26319         (__ieee754_gammal_r): Handle positive infinity, overflow and
26320         underflow here.  Handle NaN the same as positive infinity.  Remove
26321         check x < 0xffffffff for negative integers.  Use gamma_positive
26322         instead of exp (lgamma) for other arguments.
26323         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
26324         (gamma_coeff): New variable.
26325         (NCOEFF): New macro.
26326         (gammal_positive): New function.
26327         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
26328         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
26329         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
26330         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
26331         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
26332         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
26333         * sysdeps/generic/math_private.h (__gamma_productf): New
26334         prototype.
26335         (__gamma_product): Likewise.
26336         (__gamma_productl): Likewise.
26337         * math/Makefile (libm-calls): Add gamma_product.
26338         * math/libm-test.inc (tgamma_test): Add more tests.
26339         * sysdeps/i386/fpu/libm-test-ulps: Update.
26340         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26342 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
26344         * benchtests/bench-skeleton.c (main): Preheat CPU.
26346 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
26348         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
26350 2013-05-07  Roland McGrath  <roland@hack.frob.com>
26352         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
26353         and _dl_skip_args_internal.
26355 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
26357         * manual/message.texi (Message Translation): Talk about users.
26358         Message to key mapping impacts design.
26360 2013-05-06  Roland McGrath  <roland@hack.frob.com>
26362         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
26364         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
26366         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
26367         * sysdeps/wordsize-64/glob64.c: ... here.
26369         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
26370         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
26371         New macros.
26373         * debug/getlogin_r_chk.c: Moved to ...
26374         * login/getlogin_r_chk.c: ... here.
26375         * debug/Makefile (routines): Move getlogin_r_chk to ...
26376         * login/Makefile (routines): ... here.
26377         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
26378         * login/Versions (libc: GLIBC_2.4): ... here.
26380         * io/poll.c (__poll): Renamed from poll.
26381         Add libc_hidden_def.
26382         (poll): Define as weak alias.
26384         * debug/ptsname_r_chk.c: Moved to ...
26385         * login/ptsname_r_chk.c: ... here.
26386         * debug/Makefile (routines): Move ptsname_r_chk to ...
26387         * login/Makefile (routines): ... here.
26388         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
26389         * login/Versions (libc: GLIBC_2.4): ... here.
26391         * posix/getlogin.c: Moved to ...
26392         * login/getlogin.c: ... here.
26393         * posix/getlogin_r.c: Moved to ...
26394         * login/getlogin_r.c: ... here.
26395         * posix/getlogin_r.c: Moved to ...
26396         * login/getlogin_r.c: ... here.
26397         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
26398         * login/Makefile (routines): ... here.
26399         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
26400         * login/Versions (libc: GLIBC_2.0): ... here.
26402         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
26403         (setrlimit): Define as weak alias.
26405         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
26406         Call __ names for open, ftruncate, and close.
26407         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
26408         (truncate): Define as weak alias.
26410 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
26412         * math/gen-libm-test.pl (parse_args): Initialize x before each
26413         test of frexp, modf and remquo.
26415         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
26416         test signgam value.
26418 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26420         [BZ #15418]
26421         [BZ #15419]
26422         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
26423         internal tests.
26424         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26426 2013-05-06  Roland McGrath  <roland@hack.frob.com>
26428         * elf/dl-writev.h: New file.
26429         * elf/dl-misc.c: Include it.
26430         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
26431         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
26433 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
26435         * math/libm-test.inc (noXFails): Remove variable.
26436         (noXPasses): Likewise.
26437         (BUILD_COMPLEX_INT): Remove macro.
26438         (print_screen): Remove xfail argument.
26439         (print_screen_max_error): Likewise.
26440         (update_stats): Likewise.
26441         (print_max_error): Likewise.  Update calls to other affected
26442         functions.
26443         (print_complex_max_error): Likewise.
26444         (test_single_exception): Update calls to print_screen.
26445         (test_single_errno): Likewise.
26446         (check_float_internal): Remove xfail argument.  Update calls to
26447         other affected functions.
26448         (check_float): Likewise.
26449         (check_complex): Likewise.
26450         (check_int): Likewise.
26451         (check_long): Likewise.
26452         (check_bool): Likewise.
26453         (check_longlong): Likewise.
26454         (main): Don't print noXFails and noXPasses.
26455         * math/gen-libm-test.pl (top level): Don't mention expected
26456         failure handling in comment.
26457         (new_test): Don't handle expected failures.
26458         (parse_args): Don't mention expected failure handling in comment.
26459         (generate_testfile): Don't handle expected failures.
26460         (parse_ulps): Likewise.
26461         (print_ulps_file): Likewise.
26462         (get_failure): Remove function.
26463         (output_test): Don't handle expected failures.
26464         * make/README.libm-test: Don't mention expected failure handling.
26466         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
26467         (minus_zero): Likewise.
26468         (plus_infty): Likewise.
26469         (minus_infty): Likewise.
26470         (qnan_value): Likewise.
26471         (max_value): Likewise.
26472         (min_value): Likewise.
26473         (min_subnorm_value): Likewise.
26474         (initialize): Do not initialize those variables dynamically.
26476 2013-05-03  Roland McGrath  <roland@hack.frob.com>
26478         * io/open.c (__open_2): Moved to ...
26479         * io/open_2.c: ... this new file.
26480         * io/open64.c (__open64_2): Moved to ...
26481         * io/open64_2.c: ... this new file.
26482         * io/openat.c (__openat_2): Moved to ...
26483         * io/openat_2.c: ... this new file.
26484         * io/openat64.c (__openat64_2): Moved to ...
26485         * io/openat64_2.c: ... this new file.
26486         * io/Makefile (routines): Add them.
26487         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
26488         * sysdeps/unix/sysv/linux/open_2.c: File removed.
26489         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
26490         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
26491         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
26492         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
26493         (__openat64): Add hidden_ver.
26494         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
26495         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
26497         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
26498         Separately conditionalize setting of GLRO(dl_sysinfo) so
26499         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
26500         as well, but the actual setting is only under [NEED_DL_SYSINFO].
26502 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26504         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
26505         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
26506         definition.
26507         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
26508         * sysdeps/unix/sysv/linux/powerpc/init-first.c
26509         (_libc_vdso_platform_setup): Add __vdso_time initialization.
26510         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
26511         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
26513 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
26515         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
26516         test signgam value.
26518         * math/libm-test.inc (hypot_test): Do not use
26519         IGNORE_ZERO_INF_SIGN.
26521 2013-05-03  Andreas Jaeger  <aj@suse.de>
26523         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
26524         Linux 3.9.
26525         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
26526         (PF_MAX): Adjust for VSOCK change.
26528 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26530         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26532 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
26534         [BZ #15264]
26535         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
26536         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
26537         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
26539 2013-05-02  David S. Miller  <davem@davemloft.net>
26541         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26543 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
26545         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
26547 2013-05-01  Roland McGrath  <roland@hack.frob.com>
26549         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
26551 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
26553         [BZ #14952]
26554         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
26555         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
26556         Use __attribute__ ((__gnu_inline__)).
26557         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
26558         Don't use __attribute__ ((__gnu_inline__)).
26560 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
26562         [BZ #15423]
26563         * math/s_catan.c (__catan): Handle small real or imaginary part of
26564         input specially to avoid spurious underflow.
26565         * math/s_catanf.c (__catanf): Likewise.
26566         * math/s_catanh.c (__catanh): Likewise.
26567         * math/s_catanhf.c (__catanhf): Likewise.
26568         * math/s_catanhl.c (__catanhl): Likewise.
26569         * math/s_catanl.c (__catanl): Likewise.
26570         * math/libm-test.inc (catan_test): Add more tests.
26571         (catanh_test): Likewise.
26572         * sysdeps/i386/fpu/libm-test-ulps: Update.
26573         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26575 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26577         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26579 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
26581         [BZ #15416]
26582         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
26583         accurately for denominator in atan2.
26584         * math/s_catanf.c (__catanf): Likewise.
26585         * math/s_catanh.c (__catanh): Likewise.
26586         * math/s_catanhf.c (__catanhf): Likewise.
26587         * math/s_catanhl.c (__catanhl): Likewise.
26588         * math/s_catanl.c (__catanl): Likewise.
26589         * math/libm-test.inc (catan_test): Add more tests.
26590         (catanh_test): Likewise.
26591         * sysdeps/i386/fpu/libm-test-ulps: Update.
26592         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26594 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26596         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
26598         * benchtests/Makefile (bench): Remove slow benchmarks.
26599         * benchtests/atan-inputs: Add slow benchmark inputs.
26600         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
26601         (BENCH_FUNC): Accept variant offset.
26602         (VARIANT): Define.
26603         * benchtests/bench-skeleton.c (main): Run benchmark for each
26604         variant.
26605         * benchtests/cos-inputs: Add slow benchmark inputs.
26606         * benchtests/exp-inputs: Likewise.
26607         * benchtests/pow-inputs: Likewise.
26608         * benchtests/sin-inputs: Likewise.
26609         * benchtests/slowatan-inputs: Remove.
26610         * benchtests/slowatan.c: Remove.
26611         * benchtests/slowcos-inputs: Remove.
26612         * benchtests/slowcos.c: Remove.
26613         * benchtests/slowexp-inputs: Remove.
26614         * benchtests/slowexp.c: Remove.
26615         * benchtests/slowpow-inputs: Remove.
26616         * benchtests/slowpow.c: Remove.
26617         * benchtests/slowsin-inputs: Remove.
26618         * benchtests/slowsin.c: Remove.
26619         * benchtests/slowtan-inputs: Remove.
26620         * benchtests/slowtan.c: Remove.
26621         * benchtests/tan-inputs: Add slow benchmark inputs.
26622         * scripts/bench.pl: Parse comments and directives.
26624         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
26625         in CPPFLAGS.
26626         ($(objpfx)bench-%.c): Remove *-ITER.
26627         * benchtests/bench-modf.c: Remove definition of ITER.
26628         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
26629         (main): Loop for DURATION seconds instead of fixed number of
26630         iterations.
26631         * scripts/bench.pl: Don't expect iterations in parameters.
26633 2013-04-29  Roland McGrath  <roland@hack.frob.com>
26635         * io/fchdir.c (__fchdir): Renamed from fchdir.
26636         (fchdir): Define as weak alias.
26638 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
26640         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
26641         (ERRNO_EDOM): Likewise.
26642         (ERRNO_ERANGE): Likewise.
26643         (noErrnoTests): New variable.
26644         (init_max_error): Set errno to 0.
26645         (test_single_errno): New function.
26646         (test_errno): Likewise.
26647         (check_float_internal): Call test_errno.  Set errno to 0.
26648         (check_complex): Refer to errno tests in comment.
26649         (check_int): Call test_errno.  Set errno to 0.
26650         (check_long): Likewise.
26651         (check_bool): Likewise.
26652         (check_longlong): Likewise.
26653         (cos_test): Use ERRNO_* flags for errno tests instead of
26654         check_int.
26655         (expm1_test): Likewise.
26656         (fmod_test): Likewise.
26657         (ilogb_test): Likewise.
26658         (lgamma_test): Likewise.
26659         (pow_test): Likewise.
26660         (remainder_test): Likewise.
26661         (sin_test): Likewise.
26662         (tan_test): Likewise.
26663         (yn_test): Likewise.
26664         (initialize): Set errno to 0.
26665         (main): Print number of errno tests.
26666         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
26668 2013-04-29  Andreas Jaeger  <aj@suse.de>
26670         [BZ #15084]
26671         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
26672         and RES_USEVC.
26674         [BZ #15085]
26675         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
26676         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
26677         unimplemented.
26679         [BZ #15380]
26680         * stdlib/random.c (__initstate): Return NULL if
26681         __initstate fails.
26683         [BZ #15086]
26684         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
26685         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
26686         RES_SNGLKUPREOP.
26688 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26690         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26692 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
26694         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
26695         of individual tests.
26696         (casin_test): Likewise.
26697         (casinh_test): Likewise.
26699 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
26701         [BZ #15409]
26702         * math/s_catan.c (__catan): Handle arguments with large real or
26703         imaginary part separately without squaring.
26704         * math/s_catanf.c (__catanf): Likewise.
26705         * math/s_catanh.c (__catanh): Likewise.
26706         * math/s_catanhf.c (__catanhf): Likewise.
26707         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26708         and redefine.
26709         (__catanhl): Handle arguments with large real or imaginary part
26710         separately without squaring.
26711         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26712         and redefine.
26713         (__catanl): Handle arguments with large real or imaginary part
26714         separately without squaring.
26715         * math/libm-test.inc (catan_test): Add more tests.
26716         (catanh_test): Likewise.
26717         * sysdeps/i386/fpu/libm-test-ulps: Update.
26718         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26720 2013-04-27  Andreas Jaeger  <aj@suse.de>
26722         [BZ #15007]
26723         * stdlib/stdlib.h: Update guards for qecvt.
26724         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
26725         <stdlib.h>.
26727 2013-04-27  Allan McRae  <allan@archlinux.org>
26729         * sysdeps/i386/fpu/libm-test-ulps: Update.
26731 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
26733         [BZ #15406]
26734         * math/s_catan.c: Include <float.h>.
26735         (__catan): Ensure underflow exception occurs for underflowed
26736         result.
26737         * math/s_catanf.c: Include <float.h>.
26738         (__catanf): Ensure underflow exception occurs for underflowed
26739         result.
26740         * math/s_catanh.c: Include <float.h>.
26741         (__catanh): Ensure underflow exception occurs for underflowed
26742         result.
26743         * math/s_catanhf.c: Include <float.h>.
26744         (__catanhf): Ensure underflow exception occurs for underflowed
26745         result.
26746         * math/s_catanhl.c: Include <float.h>.
26747         (__catanhl): Ensure underflow exception occurs for underflowed
26748         result.
26749         * math/s_catanl.c: Include <float.h>.
26750         (__catanl): Ensure underflow exception occurs for underflowed
26751         result.
26752         * math/libm-test.inc (catan_test): Add more tests.
26753         (catanh_test): Likewise.
26755         [BZ #15405]
26756         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
26757         underflowed result.
26758         * math/s_ccoshf.c (__ccoshf): Likewise.
26759         * math/s_ccoshl.c (__ccoshl): Likewise.
26760         * math/s_csin.c (__csin): Likewise.
26761         * math/s_csinf.c (__csinf): Likewise.
26762         * math/s_csinh.c (__csinh): Likewise.
26763         * math/s_csinhf.c (__csinhf): Likewise.
26764         * math/s_csinhl.c (__csinhl): Likewise.
26765         * math/s_csinl.c (__csinl): Likewise.
26766         * math/libm-test.inc (ccos_test): Add more tests.
26767         (ccosh_test): Likewise.
26768         (csin_test): Likewise.
26769         (csinh_test): Likewise.
26771 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26773         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
26774         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
26775         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
26776         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
26777         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
26778         powerpc/power5+/fpu folders.
26779         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
26782 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
26784         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26786 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
26788         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
26789         additions to variable.
26790         [$(config-machine) = x86_64] (modules-names): Likewise.
26791         ($(objpfx)tst-audit3): Remove dependency.
26792         ($(objpfx)tst-audit3.out): Likewise.
26793         ($(objpfx)tst-audit4): Likewise.
26794         ($(objpfx)tst-audit4.out): Likewise.
26795         ($(objpfx)tst-audit5): Likewise.
26796         ($(objpfx)tst-audit5.out): Likewise.
26797         ($(objpfx)tst-audit6): Likewise.
26798         ($(objpfx)tst-audit6.out): Likewise.
26799         ($(objpfx)tst-audit7): Likewise.
26800         ($(objpfx)tst-audit7.out): Likewise.
26801         (tst-audit3-ENV): Remove variable.
26802         (tst-audit4-ENV): Likewise.
26803         (tst-audit5-ENV): Likewise.
26804         (tst-audit6-ENV): Likewise.
26805         (tst-audit7-ENV): Likewise.
26806         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
26807         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
26808         addition to variable.
26809         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
26810         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
26811         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
26812         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
26813         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
26814         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
26815         tst-audit3, tst-audit4 and tst-audit5.
26816         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
26817         tst-audit6 and tst-audit7.
26818         [$(subdir) = elf] (modules-names): Add audit modules for those
26819         tests.
26820         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
26821         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
26822         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
26823         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
26824         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
26825         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
26826         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
26827         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
26828         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
26829         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
26830         [$(subdir) = elf] (tst-audit3-ENV): New variable.
26831         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
26832         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
26833         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
26834         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
26835         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
26836         Likewise.
26837         [$(subdir) = elf && $(config-cflags-avx) = yes]
26838         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
26839         [$(subdir) = elf && $(config-cflags-avx) = yes]
26840         (CFLAGS-tst-auditmod4a.c): Likewise.
26841         [$(subdir) = elf && $(config-cflags-avx) = yes]
26842         (CFLAGS-tst-auditmod4b.c): Likewise.
26843         [$(subdir) = elf && $(config-cflags-avx) = yes]
26844         (CFLAGS-tst-auditmod6b.c): Likewise.
26845         [$(subdir) = elf && $(config-cflags-avx) = yes]
26846         (CFLAGS-tst-auditmod6c.c): Likewise.
26847         [$(subdir) = elf && $(config-cflags-avx) = yes]
26848         (CFLAGS-tst-auditmod7b.c): Likewise.
26849         * elf/tst-audit3.c: Move to ...
26850         * sysdeps/x86_64/tst-audit3.c: ... here.
26851         * elf/tst-audit4.c: Move to ...
26852         * sysdeps/x86_64/tst-audit4.c: ... here.
26853         * elf/tst-audit5.c: Move to ...
26854         * sysdeps/x86_64/tst-audit5.c: ... here.
26855         * elf/tst-audit6.c: Move to ...
26856         * sysdeps/x86_64/tst-audit6.c: ... here.
26857         * elf/tst-audit7.c: Move to ...
26858         * sysdeps/x86_64/tst-audit7.c: ... here.
26859         * elf/tst-auditmod3a.c: Move to ...
26860         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
26861         * elf/tst-auditmod3b.c: Move to ...
26862         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
26863         * elf/tst-auditmod4a.c: Move to ...
26864         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
26865         * elf/tst-auditmod4b.c: Move to ...
26866         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
26867         * elf/tst-auditmod5a.c: Move to ...
26868         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
26869         * elf/tst-auditmod5b.c: Move to ...
26870         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
26871         * elf/tst-auditmod6a.c: Move to ...
26872         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
26873         * elf/tst-auditmod6b.c: Move to ...
26874         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
26875         * elf/tst-auditmod6c.c: Move to ...
26876         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
26877         * elf/tst-auditmod7a.c: Move to ...
26878         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
26879         * elf/tst-auditmod7b.c: Move to ...
26880         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
26882 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
26884         [BZ #15366]
26885         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
26886         define unconditionally.
26887         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
26888         define unconditionally.
26889         (INT8_C, INT16_C, etc.): Likewise.
26891 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
26893         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
26894         __ehdr_start with hidden visibility.
26896         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
26898 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
26900         * math/libm-test.inc (cos_test): Use accurate hex constants.
26901         (sincost_test): Likewise.
26903 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
26905         * math/libm-test.inc (catan_test): Add more tests.
26906         (catanh_test): Likewise.
26908         * math/s_catanf.c (__catanf): Use suffixed floating-point
26909         constants.
26910         * math/s_catanhf.c (__catanhf): Likewise.
26911         * math/s_catanhl.c (__catanhl): Likewise.
26912         * math/s_catanl.c (__catanl): Likewise.
26914         [BZ #15394]
26915         * math/s_catan.c (__catan): Calculate imaginary part of result
26916         with log1p not log unless computing log of number close to 0.
26917         * math/s_catanf.c (__catanf): Likewise.
26918         * math/s_catanl.c (__catanl): Likewise.
26919         * math/s_catanh.c (__catanh): Calculate real part of result with
26920         log1p not log unless computing log of number close to 0.
26921         * math/s_catanhf.c (__catanhf): Likewise.
26922         * math/s_catanhl.c (__catanhl): Likewise.
26923         * math/libm-test.inc (catan_test): Add more tests.
26924         (catanh_test): Likewise.
26925         * sysdeps/i386/fpu/libm-test-ulps: Update.
26926         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26928 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26930         * benchtests/Makefile: Mention files in which fast and slow
26931         paths of math functions are implemented.
26933 2013-04-23  Roland McGrath  <roland@hack.frob.com>
26935         * sysdeps/posix/timespec_get.c: New file.
26937 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26939         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
26940         POWER.
26941         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
26942         for POWER.
26943         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
26944         powerpc/power5/fpu folders.
26945         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
26946         * benchtests/Makefile: Add modf testcase.
26947         * benchtests/bench-modf.c: New file: Benchmark test for mo
26949 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
26951         [BZ #14888]
26952         * time/Makefile (tests): Add tst-strptime-whitespace.
26953         * time/strptime_l.c (get_number): Use ISSPACE.
26954         (__strptime_internal): Likewise.
26955         * time/tst-strptime-whitespace.c: New test case.
26957 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
26959         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
26960         member.
26961         (_nss_files_init): Set it here.
26963 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
26965         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
26966         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
26967         unsigned.
26969 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
26971         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
26973 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
26975         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
26976         size just once.
26978 2013-04-21  David S. Miller  <davem@davemloft.net>
26980         * po/ru.po: Update Russion translation from translation project.
26982 2013-04-17  Adam Conrad  <adconrad@0c3.net>
26984         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
26985         and setfsgid.
26987 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
26989         * configure.in: Remove i386 configure warning. Remove i386 case.
26990         * configure: Regenerate.
26991         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
26992         Add example to error message.
26993         * sysdeps/i386/configure: Regenerate.
26995 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
26997         * benchtests/Makefile (bench): Add cos, tan, slowcos and
26998         slowtan.
26999         * benchtests/cos-inputs: New file.
27000         * benchtests/slowcos-inputs: New file.
27001         * benchtests/slowcos.c: New file.
27002         * benchtests/slowtan-inputs: New file.
27003         * benchtests/slowtan.c: New file.
27004         * benchtests/tan-inputs: New file.
27006 2013-04-16  Roland McGrath  <roland@hack.frob.com>
27008         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
27009         considered kosher.
27011 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27013         * benchtests/Makefile: Include cppflags-iterator.mk to add
27014         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
27016         * Makefile.in (bench-clean): New target.
27017         * benchtests/Makefile (bench-clean): Likewise.
27019 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
27021         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
27023 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
27025         * stdio-common/tstdiomisc.c: Fix coding-style violation.
27027 2013-04-15  Andreas Schwab  <schwab@suse.de>
27029         * nscd/grpcache.c (cache_addgr): Properly check for short write.
27030         * nscd/initgrcache.c (addinitgroupsX): Likewise.
27031         * nscd/pwdcache.c (cache_addpw): Likewise.
27032         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
27033         more than recsize.
27035 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27037         * benchtests/Makefile (bench): Write all output to
27038         bench-out.tmp together.
27040 2013-04-15  Andreas Schwab  <schwab@suse.de>
27042         * nscd/nscd.c (main): Don't fork again after closing files.
27044 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27046         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
27048         * benchtests/Rules (bench-deps): Collect dependencies into a
27049         single variable.  Add Makefile to dependencies.
27050         ($(objpfx)bench-%.c): Depend on bench-deps.
27052 2013-04-12  Roland McGrath  <roland@hack.frob.com>
27053             Xavier Roche  <roche+kml2@exalead.com>
27055         [BZ #15361]
27056         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
27057         just that it's a file descriptor.
27058         * manual/llio.texi (Synchronizing AIO Operations): Update description
27059         for EBADF error from aio_fsync.
27061 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27063         * Rules (bench): Move target definition...
27064         * benchtests/Makefile: ... here.
27066 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
27068         * math/libm-test.inc (cos_test): Fix PI/2 test.
27069         (sincos_test): Likewise.
27070         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
27071         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
27073 2013-04-11  Andreas Schwab  <schwab@suse.de>
27075         [BZ #13988]
27076         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
27077         accept exponent character only when digits were seen.
27078         * stdio-common/Makefile (tests): Add bug26.
27079         * stdio-common/bug26.c: New file.
27081         [BZ #14293]
27082         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
27083         non-freeable.
27085 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27087         * Makeconfig (rtld-prefix): Define built linker prefix.
27088         * Rules (run-bench): Use it.
27089         * math/Makefile (run-regen-ulps): Likewise.
27091         * Rules (bench): Remove eval.
27093 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27094             Roland McGrath  <roland@hack.frob.com>
27095             Ondrej Bilka  <neleai@seznam.cz>
27097         [BZ #15346]
27098         * time/getdate.c: Include ctype.h and alloca.h.
27099         (__getdate_r): Trim leading and trailing spaces of input.
27100         * time/tst-getdate.c (tests): Add tests with leading and
27101         trailing spaces.
27103 2013-04-08  Roland McGrath  <roland@hack.frob.com>
27105         [BZ #14280]
27106         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
27107         when computing value.
27109 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
27111         * math/README.libm-test (How can I generate "libm-test-ulps"?):
27112         Use testrun.sh to run libm tests.
27114         [BZ #15309]
27115         * elf/dl-open.c (dl_open_worker): memset all of seen array.
27117 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
27119         [BZ #15264]
27120         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
27122 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
27124         * Makefile.in (regen-ulps): New target.
27125         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
27126         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
27127         [ifneq (no,$(PERL)] (regen-ulps): New target.
27128         [ifeq (no,$(PERL)] (regen-ulps): New target.
27129         * math/libm-test.inc (ulps_file_name): Define.
27130         (output_dir): New variable.
27131         (options): Add "output-dir" option.
27132         (parse_opt): Handle 'o' case.
27133         (main): If output_dir is non-NULL use it as a prefix
27134         otherwise use "".
27135         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
27137 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
27139         [BZ #10060, #10062]
27140         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
27141         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
27142         fail configure if __sync_val_compare_and_swap is not inlined.
27143         * sysdeps/i386/configure: Regenerate.
27144         * configure.in: Build for i686 when configured for i386.
27145         * configure: Regenerate.
27146         * README: Remove i386 reference.
27148 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
27150         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
27151         * sysdeps/s390/s390-64/sysdep.h: Likewise.
27153 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
27155         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
27156         (lmsnanval): New variables.
27157         (F): Add conversion tests.
27158         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
27159         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
27161         * stdio-common/tstdiomisc.c (F): Properly collect individual
27162         tests' results.
27164         [BZ #14686, #15336]
27165         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
27166         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
27167         Instead, use input NaN values or generate a qNaN by arithmetic
27168         operation.  Also fix bugs to comply with the standard.
27169         * math/libm-test.inc (remainder_test): Add more tests.
27171         [BZ #15335, #15342]
27172         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
27173         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
27174         input NaN values or generate a qNaN by arithmetic operation.
27176         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
27177         unreachable code.
27179         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
27180         definitions.
27182 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
27184         [BZ #14478]
27185         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
27186         underflowed result.
27187         * math/s_cexpf.c (__cexpf): Likewise.
27188         * math/s_cexpl.c (__cexpl): Likewise.
27189         * math/libm-test.inc (cexp_test): Add more tests.
27191 2013-04-03  Andreas Schwab  <schwab@suse.de>
27193         [BZ #15330]
27194         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
27195         order arrays from heap if bigger than alloca cutoff.
27197 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
27199         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
27200         (SNAN_TESTS_double): Refer to GCC PR56831.
27201         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
27202         GCC PR56828.
27204 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
27206         * Rules (bench): Move bench.out after the run is complete.
27208         * Rules (bench): Echo currently running benchmark.
27210         * benchtests/Makefile (bench): Add atan and slowatan.
27211         * benchtests/atan-inputs: New file.
27212         * benchtests/slowatan-inputs: New file.
27213         * benchtests/slowatan.c: New file.
27215         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
27216         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
27217         its value.
27219         [BZ #15305]
27220         * sysdeps/unix/sysv/linux/kernel-features.h
27221         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
27222         __ASSUME_XFS_RESTRICTED_CHOWN.
27223         * sysdeps/unix/sysv/linux/pathconf.c
27224         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
27225         Save and restore errno.
27227 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
27229         [BZ #15327]
27230         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
27231         arguments using __kernel_casinh.
27232         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
27233         arguments using __kernel_casinhf.
27234         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
27235         arguments using __kernel_casinhl.
27236         * math/libm-test.inc (cacosh_test): Add more tests.
27237         * sysdeps/i386/fpu/libm-test-ulps: Update.
27238         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27240 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27242         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
27243         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
27245         * bench/Makefile (bench): Add sin and slowsin.
27246         * benchtests/sin-inputs: New file.
27247         * benchtests/slowsin-inputs: New file.
27248         * benchtests/slowsin.c: New file.
27250         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
27251         (bench): Add slowexp and slowpow.
27252         (exp-ITER): Increase iterations.
27253         (pow-ITER): Likewise.
27254         * benchtests/exp-inputs: Change input.
27255         * benchtests/pow-inputs: Likewise.
27256         * benchtests/slowexp-inputs: New file.
27257         * benchtests/slowexp.c: New file.
27258         * benchtests/slowpow-inputs: New file.
27259         * benchtests/slowpow.c: New file.
27261 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27263         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
27264         instructions.
27265         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
27266         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
27267         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
27268         * benchtests/Makefile: Add rint benchtest.
27269         * benchtests/rint-inputs: Input for rint benchtest.
27271 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
27273         * Versions.def (libm): Add GLIBC_2.18.
27274         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
27275         hidden libm prototypes.
27276         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
27277         * math/Makefile (libm-calls): Add s_issignaling.
27278         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
27279         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
27280         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
27281         declaration.
27282         * math/math.h [__USE_GNU] (issignaling): New macro.
27283         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
27284         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
27285         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
27286         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
27287         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
27288         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
27289         * manual/arith.texi (issignaling): New section.
27290         * manual/libm-err-tab.pl (@all_functions): Update comment.
27291         * math/gen-libm-test.pl (parse_args): Apply special handling for
27292         issignaling.
27293         * math/libm-test.inc (print_float, issignaling_test): New
27294         functions.
27295         (check_float_internal): Add issignaling checks.
27296         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
27297         default definition.
27298         * sysdeps/powerpc/math-tests.h: New file.
27299         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
27300         tests.
27301         * math/test-snan.c (TEST_FUNC): Likewise.
27303 2013-03-30  David S. Miller  <davem@davemloft.net>
27305         * po/de.po: Update from translation team.
27307 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
27309         [BZ #10357]
27310         * math/k_casinh.c (__kernel_casinh): Handle arguments with
27311         imaginary part less than 1.0 and real part less than 0.5
27312         specially.
27313         * math/k_casinhf.c (__kernel_casinhf): Likewise.
27314         * math/k_casinhl.c (__kernel_casinhl): Likewise.
27315         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
27316         (cacos_test): Add more tests.
27317         (casin_test): Likewise.
27318         (casinh_test): Likewise.
27319         * sysdeps/i386/fpu/libm-test-ulps: Update.
27320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27322 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27324         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
27325         ONE with its value.
27327         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
27328         (__pow_mp): Replace ONE and MONE with their values.
27329         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27330         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
27331         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27332         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
27333         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27334         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27336         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
27338         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
27339         (__pow_mp): Replace ZERO and MZERO with their values.
27340         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
27341         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27342         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27343         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27344         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27345         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
27346         (__sqr): Likewise.
27348         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
27350         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
27352 2013-03-28  Roland McGrath  <roland@hack.frob.com>
27354         * include/stdlib.h [!SHARED] (__call_tls_dtors):
27355         Declare with __attribute__ ((weak)).
27356         * stdlib/exit.c (__libc_atexit) [!SHARED]:
27357         Call __call_tls_dtors only if it's not NULL.
27359 2013-03-28  Roland McGrath  <roland@hack.frob.com>
27361         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
27362         didn't do it already, then set _dl_phdr and _dl_phnum based on the
27363         magic __ehdr_start linker symbol if it's defined.
27364         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
27365         them up here if it was already done.
27367         * elf/dl-support.c (_dl_phdr): Make pointer to const.
27368         (_dl_aux_init): Use const in cast when setting it.
27369         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
27370         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
27371         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
27373         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
27374         Declare them here.
27375         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
27376         * csu/libc-tls.c: Nor here.
27377         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
27379         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
27380         (__libc_message): Never call vsyslog.
27382 2013-03-28  Alan Modra  <amodra@gmail.com>
27384         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
27385         Define as empty.
27386         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
27387         Likewise.
27389 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27391         [BZ #15214]
27392         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
27393         underflow.
27394         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27396 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27398         [BZ #15304]
27399         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
27400         Don't add gid passed as argument.
27402         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
27404 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
27406         [BZ #15307]
27407         * math/k_casinh.c (__kernel_casinh): Handle arguments with
27408         imaginary part between 1.0 and 1.5 and real part less than 0.5
27409         specially.
27410         * math/k_casinhf.c (__kernel_casinhf): Likewise.
27411         * math/k_casinhl.c (__kernel_casinhl): Likewise.
27412         * math/libm-test.inc (cacos_test): Add more tests.
27413         (casin_test): Likewise.
27414         (casinh_test): Likewise.
27415         * sysdeps/i386/fpu/libm-test-ulps: Update.
27416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27418 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27420         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
27421         constants.
27422         (norm): Likewise.
27423         (denorm): Likewise.
27424         (__dbl_mp): Likewise.
27425         (add_magnitudes): Likewise.
27426         (sub_magnitudes): Likewise.
27427         (__add): Likewise.
27428         (__sub): Likewise.
27429         (__mul): Likewise.
27430         (__sqr): Likewise.
27431         (__inv): Likewise.
27432         (__dvd): Likewise.
27434         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
27435         commented code.
27436         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
27437         (__dubcos): Likewise.
27438         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
27439         (__ieee754_acos): Likewise.
27440         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
27441         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
27442         (__exp1): Likewise.
27443         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27444         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
27445         (log1): Likewise.
27446         (my_log2): Likewise.
27447         (checkint): Likewise.
27448         * sysdeps/ieee754/dbl-64/e_remainder.c
27449         (__ieee754_remainder): Likewise.
27450         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27451         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
27452         (bsloww): Likewise.
27453         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27455         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
27456         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
27457         MANTISSA_STORE_T to store computations on mantissa.  Use
27458         macros for rounding and division.
27459         (denorm): Likewise.
27460         (__dbl_mp): Likewise.
27461         (add_magnitudes): Likewise.
27462         (sub_magnitudes): Likewise.
27463         (__mul): Likewise.
27464         (__sqr): Likewise.
27465         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
27466         powers of two in terms of TWOPOW macro.
27467         (mp_no): Make type of mantissa as MANTISSA_T.
27468         [!RADIXI]: Define RADIXI.
27469         [!TWO52]: Define TWO52.
27470         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
27472 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27474         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
27475         llroundl symbol when building for PPC32.
27477 2013-03-24  Mark H Weaver  <mhw@netris.org>
27479         * manual/arith.texi (Normalization Functions): Fix prototypes for
27480         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
27482 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27484         [BZ #13889]
27485         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
27486         high value to check if expl overflow.
27487         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
27488         to check for underflow and overflow.
27489         * math/libm-test.inc: Add exp test.
27491 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
27493         [BZ #11120]
27494         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
27495         with NOT_IN_libc.
27497 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27499         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
27500         symbol.
27502 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
27504         * math/gen-libm-test.pl (parse_args, special_functions): Properly
27505         wrap blocks consisting of several statements.
27507         * sysdeps/generic/math-tests.h: New file.
27508         * sysdeps/i386/fpu/math-tests.h: Likewise.
27509         * math/test-snan.c: Include it.
27510         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
27512 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
27514         [BZ #15285]
27515         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
27516         (__ieee754_j0l): Do not improve calculations using cos of twice
27517         input for inputs above LDBL_MAX / 2.0L.
27518         (__ieee754_y0l): Likewise.
27519         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
27520         (__ieee754_j1l): Do not improve calculations using cos of twice
27521         input for inputs above LDBL_MAX / 2.0L.
27522         (__ieee754_y1l): Likewise.
27523         * math/libm-test.inc (j0_test): Add another test.
27524         (j1_test): Likewise.
27525         (y0_test): Likewise.
27526         (y1_test): Likewise.
27527         * sysdeps/i386/fpu/libm-test-ulps: Update.
27529 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27531         * Rules ($(objpfx)bench-%.c): Include code from a C source
27532         file.
27534 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
27536         [BZ #15287]
27537         * math/k_casinh.c (__kernel_casinh): Handle arguments with
27538         imaginary part 1.0 and real part less than 0.5 specially.
27539         * math/k_casinhf.c (__kernel_casinhf): Likewise.
27540         * math/k_casinhl.c (__kernel_casinhl): Likewise.
27541         * math/libm-test.inc (cacos_test): Add more tests.
27542         (casin_test): Likewise.
27543         (casinh_test): Likewise.
27544         * sysdeps/i386/fpu/libm-test-ulps: Update.
27545         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27547 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27549         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
27550         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
27552 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
27554         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
27555         * config.make.in (config-cflags-sse4): Remove variable.
27556         (config-cflags-avx): Likewise.
27557         (config-cflags-sse2avx): Likewise.
27558         (config-cflags-novzeroupper): Likewise.
27559         (config-asflags-i686): Likewise.
27560         (have-mfma4): Likewise.
27561         (have-as-vis3): Likewise.
27562         (MIG): Likewise.
27563         * configure.in (MIG): Do not AC_SUBST.
27564         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
27565         (libc_cv_cc_sse4): Do not AC_SUBST.
27566         (libc_cv_cc_avx): Likewise.
27567         (libc_cv_cc_sse2avx): Likewise.
27568         (libc_cv_cc_novzeroupper): Likewise.
27569         (libc_cv_cc_fma4): Likewise.
27570         (libc_cv_as_i686): Likewise.
27571         (libc_cv_sparc_as_vis3): Likewise.
27572         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
27573         LIBC_CONFIG_VAR.
27574         (config-asflags-i686): Likewise.
27575         (config-cflags-avx): Likewise.
27576         (config-cflags-sse2avx): Likewise.
27577         (have-mfma4): Likewise.
27578         (config-cflags-novzeroupper): Likewise.
27579         * sysdeps/mach/configure.in (MIG): Likewise.
27580         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
27581         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
27582         LIBC_CONFIG_VAR.
27583         (config-cflags-avx): Likewise.
27584         (config-cflags-sse2avx): Likewise.
27585         (have-mfma4): Likewise.
27586         (config-cflags-novzeroupper): Likewise.
27587         * configure: Regenerated.
27588         * sysdeps/i386/configure: Likewise.
27589         * sysdeps/mach/configure: Likewise.
27590         * sysdeps/sparc/configure: Likewise.
27591         * sysdeps/x86_64/configure: Likewise.
27593 2013-03-20  Roland McGrath  <roland@hack.frob.com>
27595         [BZ #14812]
27596         * locale/programs/localedef.c (options): Put N_ translation marker
27597         on argument names, not just descriptions.
27599 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27601         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
27603 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
27605         [BZ #14176]
27606         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
27608 2013-03-19  Roland McGrath  <roland@hack.frob.com>
27610         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
27611         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
27612         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
27613         [!BEFORE_ABORT] (before_abort): New function.
27614         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
27615         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
27616         (writev_for_fatal): New function.
27617         (WRITEV_FOR_FATAL): New macro; call that.
27618         (backtrace_and_maps): New function.
27619         (BEFORE_ABORT): New macro; call that.
27620         (struct str_list): Type removed.
27621         (__libc_message, __libc_fatal): Functions removed.
27622         Include <sysdeps/posix/libc_fatal.c> instead.
27624 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
27626         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
27627         constants.
27628         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
27629         double constants.
27631 2013-03-19  Andreas Schwab  <schwab@suse.de>
27633         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
27634         * sysdeps/gnu/configure: Regenerate.
27636         * configure.in: Substitute libc_cv_rtlddir.
27637         * configure: Regenerate.
27638         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
27639         * Makeconfig (rtlddir, inst_rtlddir): New variables.
27640         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
27641         * elf/Makefile (install-others, CFLAGS-interp.c)
27642         (ldso_install, common-ldd-rewrite): Likewise.
27643         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
27644         $(inst_slibdir)/$(rtld-installed-name).
27645         * scripts/rellns-sh: Add -p option.
27646         * Makerules (make-shlib-link): Use rellns-sh to get relative name
27647         for source.
27649 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27651         * manual/nptl.texi: Renamed to ...
27652         * manual/threads.texi: ... this.
27653         * manual/Makefile (chapters): Update.
27655 2013-03-18  Roland McGrath  <roland@hack.frob.com>
27657         [BZ #14812]
27658         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
27659         on argument names, not just descriptions.
27660         * malloc/memusagestat.c (options): Likewise.
27661         * nss/getent.c (options): Likewise.
27663 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
27665         [BZ #14812]
27666         * iconv/iconv_prog.c (options): Put N_ translation marker
27667         on argument names, not just descriptions.
27668         * iconv/iconvconfig.c (options): Likewise.
27670 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
27672         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
27673         implementation which is faster on all x86_64 architectures.
27674         Tested on AMD, Intel Nehalem, SNB, IVB.
27675         * sysdeps/x86_64/strnlen.S: Likewise.
27677         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27678         Remove all multiarch strlen and strnlen versions.
27679         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
27680         Remove strlen and strnlen related parts.
27682         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
27683         Inline strlen part.
27684         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
27686         * sysdeps/x86_64/multiarch/strlen.S: Remove.
27687         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
27688         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
27689         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
27690         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
27691         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
27693 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
27695         * manual/memory.texi (Malloc Tunable Parameters):
27696         Sort parameters alphabetically. Add comments for missing entries.
27698 2013-03-17  David S. Miller  <davem@davemloft.net>
27700         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27702 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
27704         [BZ #15283]
27705         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
27706         for arguments at most half maximum finite value.
27707         * math/libm-test.inc (j0_test): Add more tests.
27708         (j1_test): Likewise.
27709         (y0_test): Likewise.
27710         (y1_test): Likewise.
27711         * sysdeps/i386/fpu/libm-test-ulps: Update.
27712         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27714         [BZ #14155]
27715         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
27716         1 / x and functions P and Q for arguments above 0x1p256L.
27717         (__ieee754_y0l): Likewise.
27718         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
27719         (__ieee754_y1l): Likewise.
27720         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
27721         (j1_test): Likewise.
27722         (y0_test): Likewise.
27723         (y1_test): Likewise.
27725 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
27727         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
27728         variable.
27730 2013-03-15  Roland McGrath  <roland@hack.frob.com>
27732         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
27733         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
27734         zero since it's initialized to EXEC_PAGESIZE.
27736         * sysdeps/unix/sysv/linux/ldsodefs.h
27737         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
27738         * sysdeps/generic/ldsodefs.h: ... here.
27740 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
27742         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
27744         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
27745         math/test-snan.c.
27746         * math/test-snan.c: Renamed from
27747         sysdeps/powerpc/fpu/test-powerpc-snan.c.
27748         * math/Makefile (tests): Add test-snan.
27749         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
27750         test-powerpc-snan.
27752         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
27753         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
27754         functions.
27755         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
27756         __builtin_nan family of functions.
27757         * math/libm-test.inc (initialize): Initialize qnan_value with
27758         __builtin_nan family of functions.
27759         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
27760         Remove variables.
27761         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
27762         Remove functions.
27763         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
27764         storage class.  Initialize qNaN_var and sNaN_var with
27765         __builtin_nan and __builtin_nans families of functions,
27766         respectively.
27768         * math/libm-test.inc (acosh_test): Also test with qNaN input.
27769         (sqrt_test): Remove duplicate test with qNaN input.
27770         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
27771         (round_test, signbit_test, significand_test): Note missing +/-Inf
27772         as well as qNaN tests.
27774         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
27775         qNaN_var.  Fix a few strings, too.
27776         * math/libm-test.inc (nan_value): Rename to qnan_value.
27777         * math/gen-libm-test.pl (%beautify): Adjust to that.
27778         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
27779         * math/test-misc.c (main): Likewise.
27780         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
27781         to __qnan_bytes, and __qnan_union, respectively.
27782         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
27783         Likewise.
27784         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
27785         and lqnanval, respectively.
27786         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
27787         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
27788         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
27789         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
27791         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
27792         * math/test-misc.c (main) [__x86_64__]: Enable test for long
27793         doubles.
27795         * math/test-misc.c (main): Fix copy'n'pastos.
27796         * misc/tst-efgcvt.c (special): Likewise.
27798         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
27799         Remove declarations.
27801 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27803         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
27804         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
27805         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
27806         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
27808 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27810         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
27811         macro to return vdso values correctly in IFUNC implementations.
27812         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
27813         Optimization by using IFUNC.
27815 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27816             Richard Henderson  <rth@redhat.com>
27817             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27819         * Makefile.in (bench): New target.
27820         * NEWS: Mention the benchmark framework.
27821         * Rules (bench): Likewise.
27822         (binaries-bench): Generate binaries for functions to
27823         benchmark.
27824         * benchtests/Makefile: New makefile for benchmark tests.
27825         * benchtests/bench-skeleton.c: New skeleton file for benchmark
27826         programs.
27827         * benchtests/exp-inputs: New input file for EXP function.
27828         * benchtests/pow-inputs: New input file for POW function.
27829         * scripts/bench.pl: New script to generate source files for
27830         benchmark programs.
27832 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27834         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
27835         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
27836         computations on mantissa.  Use macros for rounding and
27837         division.
27838         (denorm): Likewise.
27839         (__dbl_mp): Likewise.
27840         (add_magnitudes): Likewise.
27841         (sub_magnitudes): Likewise.
27842         (__mul): Likewise.
27843         (__sqr): Likewise.
27844         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
27845         powers of two in terms of TWOPOW macro.
27846         (mp_no): Make type of mantissa as MANTISSA_T.
27847         [!RADIXI]: Define RADIXI.
27848         [!TWO52]: Define TWO52.
27849         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
27851         * manual/nptl.texi (cindex): Modify threads to pthreads.
27853 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
27855         * sysdeps/x86_64/preconfigure: Regenerated.
27857 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
27859         [BZ #14155]
27860         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
27861         0x1p28 and above.
27862         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
27863         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
27864         0x1p28 and above.
27865         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
27866         * math/libm-test.inc (j0_test): Do not allow one spurious
27867         underflow exception.
27868         (y1_test): Likewise.
27870 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
27872         * manual/Makefile (chapters): Add nptl.
27873         * manual/debug.texi (Debugging Support): Add link to Threads
27874         chapter.
27875         * manual/nptl.texi: New file.
27877         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
27879 2013-03-14  Petr Baudis  <pasky@ucw.cz>
27881         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
27882         for non-NULL pointer before the memory validity test. Pointed
27883         out by Holger Brunck <holger.brunck@keymile.com>.
27885 2013-03-13  Andreas Schwab  <schwab@suse.de>
27887         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
27888         instead of .os.
27890 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
27892         * timezone/zic.c: Update from tzcode 2013b.
27894 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
27896         * manual/install.texi (Configuring and compiling):
27897         Mention i686 and i586.
27898         * INSTALL: Regenerate.
27900 2013-03-12  Roland McGrath  <roland@hack.frob.com>
27902         * sysdeps/init_array/elf-init.c: New file.
27903         * csu/elf-init.c
27904         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
27905         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
27907         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
27908         __gmon_start__ as global, but as static with a .preinit_array pointer.
27909         * sysdeps/init_array/gmon-start.c: New file.  Use that.
27910         * sysdeps/init_array/crti.S: New file, empty except for comments.
27911         * sysdeps/init_array/crtn.S: Likewise.
27913 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
27915         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
27916         definining bcopy.
27917         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27918         Remove Prefer_SSE_for_memop.
27919         * sysdeps/x86_64/multiarch/init-arch.h: Remove
27920         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
27921         HAS_PREFER_SSE_FOR_MEMOP.
27922         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
27923         memset-x86-64.
27924         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27925         Remove bzero, memset ifunc support.
27926         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
27927         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
27928         * sysdeps/x86_64/multiarch/memset.S: Likewise.
27929         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27931 2013-03-11  Andreas Schwab  <schwab@suse.de>
27933         [BZ #15234]
27934         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
27935         by SHLIB_COMPAT.
27936         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
27937         (GLIBC_2.16): Remove pthread_atfork.
27939 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
27941         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
27942         (ptestcases.h): Likewise.
27944 2013-03-08  Roland McGrath  <roland@hack.frob.com>
27946         * Makeconfig ($(common-objpfx)config.status): Depend on
27947         sysdeps/*/preconfigure{,.in} too.
27949 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
27951         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
27952         (__free_hook): Use void * instead of __malloc_ptr_t.
27953         (__malloc_hook): Likewise.
27954         (__realloc_hook): Likewise.
27955         (__memalign_hook): Likewise.
27956         (__after_morecore_hook): Likewise.
27957         * malloc/arena.c (save_malloc_hook): Likewise.
27958         (save_free_hook): Likewise.
27959         * malloc/hooks.c (malloc_hook_ini): Likewise.
27960         (realloc_hook_ini): Likewise.
27961         (memalign_hook_ini): Likewise.
27962         * malloc/malloc.c (malloc_hook_ini): Likewise.
27963         (realloc_hook_ini): Likewise.
27964         (memalign_hook_ini): Likewise.
27965         (__free_hook): Likewise.
27966         (__malloc_hook): Likewise.
27967         (__realloc_hook): Likewise.
27968         (__memalign_hook): Likewise.
27969         (__libc_malloc): Likewise.
27970         (__libc_free): Likewise.
27971         (__libc_realloc): Likewise.
27972         (__libc_memalign): Likewise.
27973         (__libc_valloc): Likewise.
27974         (__libc_pvalloc): Likewise.
27975         (__libc_calloc): Likewise.
27976         (__posix_memalign): Likewise.
27977         * malloc/morecore.c (__sbrk): Likewise.
27978         (__default_morecore): Likewise.
27980         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
27982         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
27983         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
27984         __malloc_ptrdiff_t.
27986         * malloc/malloc.h (__malloc_size_t): Remove macro.
27987         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
27988         __malloc_size_t.
27989         (old_memalign_hook): Likewise.
27990         (old_realloc_hook): Likewise.
27991         (struct hdr): Likewise.
27992         (flood): Likewise.
27993         (mallochook): Likewise.
27994         (memalignhook): Likewise.
27995         (reallochook): Likewise.
27996         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
27997         (tr_old_realloc_hook): Likewise.
27998         (tr_old_memalign_hook): Likewise.
27999         (tr_mallochook): Likewise.
28000         (tr_reallochook): Likewise.
28001         (tr_memalignhook): Likewise.
28003 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28005         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
28006         default_ldbl_pack and using as default implementation.
28007         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
28008         implementation.
28009         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
28010         redundant definition.
28011         (ldbl_insert_mantissa): Likewise.
28012         (ldbl_canonicalize): Likewise.
28013         (ldbl_nearbyint): Likewise.
28014         (ldbl_pack): Rename to ldbl_pack_ppc.
28015         (ldbl_unpack): Rename to ldbl_unpack_ppc.
28016         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
28017         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
28019 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
28021         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
28022         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
28023         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
28024         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
28025         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
28026         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
28027         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
28028         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
28030 2013-03-07  Andreas Jaeger  <aj@suse.de>
28032         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28033         bits/mman-linux.h.
28035 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
28037         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
28038         Include mpa.h and declare __MPEXP.
28039         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
28040         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
28041         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
28042         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
28043         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
28044         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
28045         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
28047         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
28048         (__slowpow): Use long double EXPL and LOGL functions to
28049         compute POW.
28050         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
28051         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
28052         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
28053         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
28054         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
28055         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
28057         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
28058         intermediate variable to calculate exponent.
28059         (__sqr): Likewise.
28060         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
28061         Likewise.
28062         (__sqr): Likewise.
28064         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
28065         [!NO__SQR]: Define __sqr.
28066         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
28067         and NO__SQR.  Remove all code except __mul and __sqr.  Include
28068         sysdeps/ieee754/dbl-64/mpa.c.
28069         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28071         [BZ #12723]
28072         * posix/Makefile (tests): Add tst-pathconf.
28073         * posix/tst-pathconf.c: New test case.
28074         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
28075         _PC_PIPE_BUF.
28076         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
28078 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
28080         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
28082 2013-03-06  Andreas Jaeger  <aj@suse.de>
28084         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
28085         definition via __MAP_ANONYMOUS.
28087         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
28088         it's not part of Linux headers.
28090         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
28091         (MAP_HUGE_MASK): Define.
28093         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28094         Define.
28095         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28096         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28097         Define.
28098         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28099         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28100         Define.
28101         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28102         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
28103         Define.
28104         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28106         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
28107         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
28108         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
28109         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
28110         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
28111         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
28113         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
28114         Handle f2fs.
28116         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28117         Handle f2fs and efivarfs.
28119         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
28120         f2fs.
28122         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
28123         (EFIVARFS_MAGIC): Add.
28124         (F2FS_LINK_MAX): Add.
28126 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
28128         * stdio-common/vfprintf.c: Replace __builtin_expect with
28129         __glibc_unlikely.
28131 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
28133         [BZ #13550]
28134         * sysdeps/generic/bp-sym.h: Remove file.
28135         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
28136         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
28137         <bp-sym.h> and <bp-asm.h>.
28138         (__longjmp): Don't use BP_SYM.
28139         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
28140         and <bp-asm.h>.
28141         (memcpy): Don't use BP_SYM.
28142         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
28143         <bp-sym.h> and <bp-asm.h>.
28144         (memcpy): Don't use BP_SYM.
28145         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
28146         <bp-asm.h>.
28147         (memcpy): Don't use BP_SYM.
28148         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
28149         <bp-asm.h>.
28150         (memset): Don't use BP_SYM.
28151         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28152         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28153         (__bzero): Don't use BP_SYM.
28154         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28155         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28156         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
28157         <bp-sym.h> and <bp-asm.h>.
28158         (memcmp): Don't use BP_SYM.  Remove comment about bounded
28159         pointers.
28160         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
28161         <bp-sym.h> and <bp-asm.h>.
28162         (memcpy): Don't use BP_SYM.
28163         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
28164         <bp-sym.h> and <bp-asm.h>.
28165         (memset): Don't use BP_SYM.
28166         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28167         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28168         (__bzero): Don't use BP_SYM.
28169         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28170         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28171         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
28172         <bp-sym.h> and <bp-asm.h>.
28173         (strncmp): Don't use BP_SYM.  Remove comment about bounded
28174         pointers.
28175         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
28176         <bp-sym.h> and <bp-asm.h>.
28177         (memcpy): Don't use BP_SYM.
28178         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
28179         <bp-sym.h> and <bp-asm.h>.
28180         (memset): Don't use BP_SYM.
28181         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28182         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28183         (__bzero): Don't use BP_SYM.
28184         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28185         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28186         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
28187         <bp-sym.h> and <bp-asm.h>.
28188         (__memchr): Don't use BP_SYM.
28189         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
28190         <bp-sym.h> and <bp-asm.h>.
28191         (memcmp): Don't use BP_SYM.  Remove comment about bounded
28192         pointers.
28193         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
28194         <bp-sym.h> and <bp-asm.h>.
28195         (memcpy): Don't use BP_SYM.
28196         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
28197         <bp-sym.h> and <bp-asm.h>.
28198         (__mempcpy): Don't use BP_SYM.
28199         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
28200         <bp-sym.h> and <bp-asm.h>.
28201         (__memrchr): Don't use BP_SYM.
28202         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
28203         <bp-sym.h> and <bp-asm.h>.
28204         (memset): Don't use BP_SYM.
28205         (__bzero): Likewise.
28206         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
28207         <bp-sym.h> and <bp-asm.h>.
28208         (__rawmemchr): Don't use BP_SYM.
28209         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
28210         <bp-sym.h> and <bp-asm.h>.
28211         (__STRCMP): Don't use BP_SYM.
28212         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
28213         <bp-sym.h> and <bp-asm.h>.
28214         (strchr): Don't use BP_SYM.
28215         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
28216         <bp-sym.h> and <bp-asm.h>.
28217         (__strchrnul): Don't use BP_SYM.
28218         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
28219         <bp-sym.h> and <bp-asm.h>.
28220         (strlen): Don't use BP_SYM.
28221         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
28222         <bp-sym.h> and <bp-asm.h>.
28223         (strncmp): Don't use BP_SYM.  Remove comment about bounded
28224         pointers.
28225         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
28226         <bp-sym.h> and <bp-asm.h>.
28227         (__strnlen): Don't use BP_SYM.
28228         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
28229         <bp-sym.h> and <bp-asm.h>.
28230         (__GI__setjmp): Don't use BP_SYM.
28231         (_setjmp): Likewise.
28232         (__sigsetjmp): Likewise.
28233         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
28234         (L(start_addresses)): Don't use BP_SYM.
28235         (_start): Likewise.
28236         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
28237         <bp-asm.h>.
28238         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
28239         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
28240         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28241         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28242         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
28243         <bp-asm.h>.
28244         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
28245         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
28246         about bounded pointers.
28247         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28248         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28249         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
28250         <bp-asm.h>.
28251         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
28252         about bounded pointers.  Remove GKM FIXME comments.
28253         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28254         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
28255         <bp-asm.h>.
28256         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
28257         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
28258         Remove GKM FIXME comments.
28259         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28260         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28261         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
28262         <bp-asm.h>.
28263         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
28264         about bounded pointers.  Remove GKM FIXME comment.
28265         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
28266         and <bp-asm.h>.
28267         (strncmp): Don't use BP_SYM.  Remove comment about bounded
28268         pointers.
28269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
28270         <bp-sym.h> and <bp-asm.h>.
28271         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
28272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
28273         <bp-sym.h> and <bp-asm.h>.
28274         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
28275         comment.
28277 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
28279         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
28280         call free(NULL).
28282 2013-03-05  David S. Miller  <davem@davemloft.net>
28284         * po/es.po: Update from translation team.
28286 2013-03-05  Andreas Jaeger  <aj@suse.de>
28288         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
28289         <bits/mman-linux.h>.
28290         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28291         is fine.
28292         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
28293         <bits/mman-linux.h> to end of file.
28294         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28295         is fine.
28296         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
28297         <bits/mman-linux.h> to end of file.
28298         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28299         is fine.
28300         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
28301         <bits/mman-linux.h> to end of file.
28303         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
28304         (MCL_CURRENT, MCL_FUTURE): Define here.
28306 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28308         [BZ #15232]
28309         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
28310         attribute_hidden.
28311         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28313 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28315         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
28316         fourth parameter needed for rt_sigprocmask syscall.
28317         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
28318         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
28319         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
28320         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
28321         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
28322         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
28324 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
28326         [BZ #13550]
28327         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
28328         comment about bounded pointers.
28329         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
28330         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
28332 2013-03-04  Andreas Jaeger  <aj@suse.de>
28334         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
28335         common definitions.
28337         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
28338         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
28339         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
28340         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
28341         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
28342         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
28344 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28346         [BZ #15055]
28347         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
28348         __ieee754_sqrl instead of __sqrl.
28350 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
28352         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
28353         * sysdeps/powerpc/fpu_control.h: ... here.
28354         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
28355         * sysdeps/powerpc/bits/fenvinline.h: ... here.
28356         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
28357         * sysdeps/powerpc/bits/mathinline.h: ... here.
28359 2013-03-01  Roland McGrath  <roland@hack.frob.com>
28361         * elf/dl-hwcaps.c (_dl_important_hwcaps):
28362         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
28363         to just [NEED_DL_SYSINFO_DSO].
28364         * elf/dl-support.c: Likewise.
28365         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
28366         * elf/rtld.c (dl_main): Likewise.
28367         * elf/setup-vdso.h (setup_vdso): Likewise.
28368         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
28369         * sysdeps/unix/sysv/linux/dl-sysdep.c
28370         (_dl_discover_osversion): Likewise.
28372 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
28374         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
28375         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
28377 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
28379         * NEWS: Mention libm performance improvements and non-x86 PI
28380         futex support.
28382         * csu/libc-start.c (__pthread_initialize_minimal): Change
28383         function arguments.
28384         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
28386 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
28388         [BZ #13550]
28389         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
28390         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
28391         <bp-sym.h> and <bp-asm.h>.
28392         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28393         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
28394         and <bp-asm.h>.
28395         (memcpy): Don't use BP_SYM.
28396         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
28397         <bp-asm.h>.
28398         (__mpn_add_n): Don't use BP_SYM.
28399         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
28400         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
28401         and <bp-asm.h>.
28402         (__mpn_addmul_1): Don't use BP_SYM.
28403         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28404         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
28405         <bp-sym.h>.
28406         (_setjmp): Don't use BP_SYM.
28407         (__novmx_setjmp): Likewise.
28408         (__GI__setjmp): Likewise.
28409         (__vmx_setjmp): Likewise.
28410         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
28411         <bp-sym.h>.
28412         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
28413         (__bzero): Don't use BP_SYM.
28414         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28415         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28416         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
28417         <bp-sym.h> and <bp-asm.h>.
28418         (memcpy): Don't use BP_SYM.
28419         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
28420         <bp-sym.h> and <bp-asm.h>.
28421         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28422         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
28423         <bp-sym.h> and <bp-asm.h>.
28424         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28425         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
28426         <bp-asm.h>.
28427         (__mpn_lshift): Don't use BP_SYM.
28428         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28429         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
28430         <bp-asm.h>.
28431         (memset): Don't use BP_SYM.
28432         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28433         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28434         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
28435         <bp-asm.h>.
28436         (__mpn_mul_1): Don't use BP_SYM.
28437         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28438         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
28439         <bp-sym.h> and <bp-asm.h>.
28440         (memcmp): Don't use BP_SYM.
28441         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
28442         <bp-sym.h> and <bp-asm.h>.
28443         (memcpy): Don't use BP_SYM.
28444         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
28445         <bp-sym.h> and <bp-asm.h>.
28446         (memset): Don't use BP_SYM.
28447         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
28448         <bp-sym.h> and <bp-asm.h>.
28449         (strncmp): Don't use BP_SYM.
28450         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
28451         <bp-sym.h> and <bp-asm.h>.
28452         (memcpy): Don't use BP_SYM.
28453         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
28454         <bp-sym.h> and <bp-asm.h>.
28455         (memset): Don't use BP_SYM.
28456         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
28457         <bp-sym.h> and <bp-asm.h>.
28458         (__memchr): Don't use BP_SYM.
28459         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
28460         <bp-sym.h> and <bp-asm.h>.
28461         (memcmp): Don't use BP_SYM.
28462         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
28463         <bp-sym.h> and <bp-asm.h>.
28464         (memcpy): Don't use BP_SYM.
28465         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
28466         <bp-sym.h> and <bp-asm.h>.
28467         (__mempcpy): Don't use BP_SYM.
28468         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
28469         <bp-sym.h> and <bp-asm.h>.
28470         (__memrchr): Don't use BP_SYM.
28471         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
28472         <bp-sym.h> and <bp-asm.h>.
28473         (memset): Don't use BP_SYM.
28474         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
28475         <bp-sym.h> and <bp-asm.h>.
28476         (__rawmemchr): Don't use BP_SYM.
28477         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
28478         <bp-sym.h> and <bp-asm.h>.
28479         (__STRCMP): Don't use BP_SYM.
28480         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
28481         <bp-sym.h> and <bp-asm.h>.
28482         (strchr): Don't use BP_SYM.
28483         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
28484         <bp-sym.h> and <bp-asm.h>.
28485         (__strchrnul): Don't use BP_SYM.
28486         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
28487         <bp-sym.h> and <bp-asm.h>.
28488         (strlen): Don't use BP_SYM.
28489         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
28490         <bp-sym.h> and <bp-asm.h>.
28491         (strncmp): Don't use BP_SYM.
28492         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
28493         <bp-sym.h> and <bp-asm.h>.
28494         (__strnlen): Don't use BP_SYM.
28495         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
28496         <bp-asm.h>.
28497         (__mpn_rshift): Don't use BP_SYM.
28498         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28499         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
28500         <bp-sym.h> and <bp-asm.h>.
28501         (__sigsetjmp): Don't use BP_SYM.
28502         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
28503         (L(start_addresses)): Don't use BP_SYM.
28504         (_start): Likewise.
28505         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
28506         <bp-asm.h>.
28507         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
28508         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28509         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28510         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
28511         <bp-asm.h>.
28512         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
28513         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28514         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28515         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
28516         <bp-asm.h>.
28517         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
28518         comments.
28519         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28520         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
28521         <bp-asm.h>.
28522         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
28523         FIXME comments.
28524         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28525         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28526         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
28527         <bp-asm.h>.
28528         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
28529         comment.
28530         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
28531         and <bp-asm.h>.
28532         (strncmp): Don't use BP_SYM,
28533         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
28534         <bp-asm.h>.
28535         (__mpn_sub_n): Don't use BP_SYM.
28536         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28537         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
28538         and <bp-asm.h>.
28539         (__mpn_submul_1): Don't use BP_SYM.
28540         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
28542         <bp-sym.h> and <bp-asm.h>.
28543         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
28544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
28545         <bp-sym.h> and <bp-asm.h>.
28546         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
28547         comment.
28549 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28551         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
28552         Use ZK to minimize writes to Z.
28553         (sub_magnitudes): Simplify code a bit.
28554         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
28555         Use ZK to minimize writes to Z.
28556         (sub_magnitudes): Simplify code a bit.
28558 2013-02-27  Roland McGrath  <roland@hack.frob.com>
28560         * csu/gmon-start.c: Add special exception to license text.
28562 2013-02-27  Richard Henderson  <rth@redhat.com>
28564         * scripts/config.guess: Update from config.git.
28565         * scripts/config.sub: Likewise.
28567 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28569         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
28571         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
28573         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
28575         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
28577         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
28579 2013-02-26  Roland McGrath  <roland@hack.frob.com>
28581         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
28582         [$(build-shared = yes].
28584 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28586         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
28587         (__mul): Reduce iterations for calculating mantissa.
28589         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
28590         MPTWO.
28591         (__mpranred): Likewise.
28593         [BZ #15160]
28594         * malloc/memusagestat.c (main): Draw graphs for heap and stack
28595         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
28597 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
28599         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
28600         Define __attribute__.
28602 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28604         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
28605         unused.
28606         * posix/regex_internal.h (__attribute): Remove.
28607         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
28608         (re_string_context_at): Likewise.
28609         (bitset_not): Use __attribute__ and mark function as possibly
28610         unused.
28611         (bitset_merge): Likewise.
28612         (bitset_mask): Likewise.
28613         (re_string_char_size_at): Likewise.
28614         (re_string_wchar_at): Likewise.
28615         (re_string_elem_size_at): Likewise.
28617 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28619         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
28620         code.
28621         (cc32): Likewise.
28623         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
28624         (__acr): Likewise.
28625         (__cpy): Likewise.
28626         (norm): Likewise.
28627         (denorm): Likewise.
28628         (__dbl_mp): Likewise.
28629         (add_magnitudes): Likewise.
28630         (sub_magnitudes): Likewise.
28631         (__mul): Likewise.
28632         (__inv): Likewise.
28634         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
28635         style.
28637         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
28638         style.
28640         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
28641         code.
28643         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
28644         up changes with default code.
28645         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
28646         Likewise.
28648 2013-02-24  Allan McRae  <allan@archlinux.org>
28650         * manual/socket.texi (The Internet Namespace): Order menu items
28651         to match that in the file.
28653         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
28654         node listing of the info page menu.
28656 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
28658         [BZ #13550]
28659         * sysdeps/i386/bp-asm.h: Remove file.
28660         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
28661         (PARMS): Do not use macros from bp-asm.h.
28662         (S1): Likewise.
28663         (S2): Likewise.
28664         (SIZE): Likewise.
28665         (__mpn_add_n): Do not use BP_SYM
28666         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
28667         "bp-asm.h".
28668         (PARMS): Do not use macros from bp-asm.h.
28669         (S1): Likewise.
28670         (SIZE): Likewise.
28671         (__mpn_addmul_1): Do not use BP_SYM
28672         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
28673         "bp-asm.h".
28674         (PARMS): Do not use macros from bp-asm.h.
28675         (SIGMSK): Likewise.
28676         (_setjmp): Likewise.  Do not use BP_SYM.
28677         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
28678         "bp-asm.h".
28679         (PARMS): Do not use macros from bp-asm.h.
28680         (SIGMSK): Likewise.
28681         (setjmp): Likewise.  Do not use BP_SYM.
28682         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
28683         "bp-asm.h".
28684         (PARMS): Do not use macros from bp-asm.h.
28685         (__frexp): Do not use BP_SYM.
28686         (frexp): Likewise.
28687         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
28688         "bp-asm.h".
28689         (PARMS): Do not use macros from bp-asm.h.
28690         (__frexpf): Do not use BP_SYM.
28691         (frexpf): Likewise.
28692         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
28693         "bp-asm.h".
28694         (PARMS): Do not use macros from bp-asm.h.
28695         (__frexpl): Do not use BP_SYM.
28696         (frexpl): Likewise.
28697         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
28698         "bp-asm.h".
28699         (PARMS): Do not use macros from bp-asm.h.
28700         (__remquo): Do not use BP_SYM.
28701         (remquo): Likewise.
28702         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
28703         "bp-asm.h".
28704         (PARMS): Do not use macros from bp-asm.h.
28705         (__remquof): Do not use BP_SYM.
28706         (remquof): Likewise.
28707         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
28708         "bp-asm.h".
28709         (PARMS): Do not use macros from bp-asm.h.
28710         (__remquol): Do not use BP_SYM.
28711         (remquol): Likewise.
28712         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
28713         "bp-asm.h".
28714         (PARMS): Do not use macros from bp-asm.h.
28715         (DEST): Likewise.
28716         (SRC): Likewise.
28717         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
28718         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
28719         "bp-asm.h".
28720         (PARMS): Do not use macros from bp-asm.h.
28721         (strlen): Do not use BP_SYM.
28722         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
28723         "bp-asm.h".
28724         (PARMS): Do not use macros from bp-asm.h.
28725         (S1): Likewise.
28726         (S2): Likewise.
28727         (SIZE): Likewise.
28728         (__mpn_add_n): Do not use BP_SYM.
28729         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
28730         "bp-asm.h".
28731         (PARMS): Do not use macros from bp-asm.h.
28732         (S1): Likewise.
28733         (SIZE): Likewise.
28734         (__mpn_addmul_1): Do not use BP_SYM.
28735         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
28736         weak_alias.
28737         (bzero): Likewise.
28738         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
28739         "bp-asm.h".
28740         (PARMS): Do not use macros from bp-asm.h.
28741         (S): Likewise.
28742         (SIZE): Likewise.
28743         (__mpn_lshift): Do not use BP_SYM.
28744         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
28745         "bp-asm.h".
28746         (PARMS): Do not use macros from bp-asm.h.
28747         (DEST): Likewise.
28748         (SRC): Likewise.
28749         (LEN): Likewise.
28750         (memcpy): Likewise.  Do not use BP_SYM.
28751         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
28752         libc_hidden_def and weak_alias.
28753         (mempcpy): Do not use BP_SYM in weak_alias.
28754         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
28755         "bp-asm.h".
28756         (PARMS): Do not use macros from bp-asm.h.
28757         (DEST): Likewise.
28758         (LEN): Likewise.
28759         [!BZERO_P] (CHR): Likewise.
28760         (memset): Likewise.  Do not use BP_SYM.
28761         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
28762         "bp-asm.h".
28763         (PARMS): Do not use macros from bp-asm.h.
28764         (S1): Likewise.
28765         (SIZE): Likewise.
28766         (__mpn_mul_1): Do not use BP_SYM.
28767         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
28768         "bp-asm.h".
28769         (PARMS): Do not use macros from bp-asm.h.
28770         (S): Likewise.
28771         (SIZE): Likewise.
28772         (__mpn_rshift): Do not use BP_SYM.
28773         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
28774         "bp-asm.h".
28775         (PARMS): Do not use macros from bp-asm.h.
28776         (STR): Likewise.
28777         (CHR): Likewise.
28778         (strchr): Likewise.  Do not use BP_SYM.
28779         (index): Do not use BP_SYM in weak_alias.
28780         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
28781         "bp-asm.h".
28782         (PARMS): Do not use macros from bp-asm.h.
28783         (DEST): Likewise.
28784         (SRC): Likewise.
28785         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
28786         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
28787         "bp-asm.h".
28788         (PARMS): Do not use macros from bp-asm.h.
28789         (strlen): Do not use BP_SYM.
28790         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
28791         "bp-asm.h".
28792         (PARMS): Do not use macros from bp-asm.h.
28793         (S1): Likewise.
28794         (S2): Likewise.
28795         (SIZE): Likewise.
28796         (__mpn_sub_n): Do not use BP_SYM.
28797         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
28798         "bp-asm.h".
28799         (PARMS): Do not use macros from bp-asm.h.
28800         (S1): Likewise.
28801         (SIZE): Likewise.
28802         (__mpn_submul_1): Do not use BP_SYM.
28803         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
28804         "bp-asm.h".
28805         (PARMS): Do not use macros from bp-asm.h.
28806         (S1): Likewise.
28807         (S2): Likewise.
28808         (SIZE): Likewise.
28809         (__mpn_add_n): Do not use BP_SYM.
28810         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
28811         weak_alias.
28812         (bzero): Likewise.
28813         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
28814         "bp-asm.h".
28815         (PARMS): Do not use macros from bp-asm.h.
28816         (BLK2): Likewise.
28817         (LEN): Likewise.
28818         (memcmp): Do not use BP_SYM.
28819         (bcmp): Do not use BP_SYM in weak_alias.
28820         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
28821         "bp-asm.h".
28822         (PARMS): Do not use macros from bp-asm.h.
28823         (DEST): Likewise.
28824         (SRC): Likewise.
28825         (LEN): Likewise.
28826         (memcpy): Likewise.  Do not use BP_SYM.
28827         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
28828         "bp-asm.h".
28829         (PARMS): Do not use macros from bp-asm.h.
28830         (DEST): Likewise.
28831         (SRC): Likewise.
28832         (LEN): Likewise.
28833         (memmove): Likewise.  Do not use BP_SYM.
28834         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
28835         "bp-asm.h".
28836         (PARMS): Do not use macros from bp-asm.h.
28837         (DEST): Likewise.
28838         (SRC): Likewise.
28839         (LEN): Likewise.
28840         (__mempcpy): Likewise.  Do not use BP_SYM.
28841         (mempcpy): Do not use BP_SYM in weak_alias.
28842         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
28843         "bp-asm.h".
28844         (PARMS): Do not use macros from bp-asm.h.
28845         (DEST): Likewise.
28846         (LEN): Likewise.
28847         [!BZERO_P] (CHR): Likewise.
28848         (memset): Likewise.  Do not use BP_SYM.
28849         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
28850         "bp-asm.h".
28851         (PARMS): Do not use macros from bp-asm.h.
28852         (STR2): Likewise.
28853         (strcmp): Do not use BP_SYM.
28854         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
28855         "bp-asm.h".
28856         (PARMS): Do not use macros from bp-asm.h.
28857         (STR): Likewise.
28858         (DELIM): Likewise.
28859         [USE_AS_STRTOK_R] (SAVE): Likewise.
28860         (FUNCTION): Likewise.  Do not use BP_SYM.
28861         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
28862         aliases.
28863         (strtok_r): Likewise.
28864         (__GI___strtok_r): Likewise.
28865         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
28866         (PARMS): Do not use macros from bp-asm.h.
28867         (S): Likewise.
28868         (SIZE): Likewise.
28869         (__mpn_lshift): Do not use BP_SYM.
28870         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
28871         (PARMS): Do not use macros from bp-asm.h.
28872         (STR): Likewise.
28873         (CHR): Likewise.
28874         (__memchr): Do not use BP_SYM.
28875         (memchr): Do not use BP_SYM in weak_alias.
28876         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
28877         (PARMS): Do not use macros from bp-asm.h.
28878         (BLK2): Likewise.
28879         (LEN): Likewise.
28880         (memcmp): Do not use BP_SYM.
28881         (bcmp): Do not use BP_SYM in weak_alias.
28882         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
28883         (PARMS): Do not use macros from bp-asm.h.
28884         (S1): Likewise.
28885         (SIZE): Likewise.
28886         (__mpn_mul_1): Do not use BP_SYM.
28887         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
28888         "bp-asm.h".
28889         (PARMS): Do not use macros from bp-asm.h.
28890         (STR): Likewise.
28891         (CHR): Likewise.
28892         (__rawmemchr): Do not use BP_SYM.
28893         (rawmemchr): Do not use BP_SYM in weak_alias.
28894         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
28895         (PARMS): Do not use macros from bp-asm.h.
28896         (S): Likewise.
28897         (SIZE): Likewise.
28898         (__mpn_rshift): Do not use BP_SYM.
28899         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
28900         (PARMS): Do not use macros from bp-asm.h.
28901         (SIGMSK): Likewise.
28902         (__sigsetjmp): Likewise.  Do not use BP_SYM.
28903         * sysdeps/i386/start.S: Do not include "bp-sym.h".
28904         (_start): Do not use BP_SYM.
28905         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
28906         (PARMS): Do not use macros from bp-asm.h.
28907         (DEST): Likewise.
28908         (SRC): Likewise.
28909         (__stpcpy): Likewise.  Do not use BP_SYM.
28910         (stpcpy): Do not use BP_SYM in weak_alias.
28911         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
28912         "bp-asm.h".
28913         (PARMS): Do not use macros from bp-asm.h.
28914         (DEST): Likewise.
28915         (SRC): Likewise.
28916         (LEN): Likewise.
28917         (__stpncpy): Likewise.  Do not use BP_SYM.
28918         (stpncpy): Do not use BP_SYM in weak_alias.
28919         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
28920         (PARMS): Do not use macros from bp-asm.h.
28921         (STR): Likewise.
28922         (CHR): Likewise.
28923         (strchr): Likewise.  Do not use BP_SYM.
28924         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
28925         "bp-asm.h".
28926         (PARMS): Do not use macros from bp-asm.h.
28927         (STR): Likewise.
28928         (CHR): Likewise.
28929         (__strchrnul): Likewise.  Do not use BP_SYM.
28930         (strchrnul): Do not use BP_SYM in weak_alias.
28931         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
28932         "bp-asm.h".
28933         (PARMS): Do not use macros from bp-asm.h.
28934         (STOP): Likewise.
28935         (strcspn): Do not use BP_SYM.
28936         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
28937         "bp-asm.h".
28938         (PARMS): Do not use macros from bp-asm.h.
28939         (STR): Likewise.
28940         (STOP): Likewise.
28941         (strpbrk): Likewise.  Do not use BP_SYM.
28942         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
28943         "bp-asm.h".
28944         (PARMS): Do not use macros from bp-asm.h.
28945         (STR): Likewise.
28946         (CHR): Likewise.
28947         (strrchr): Likewise.  Do not use BP_SYM.
28948         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
28949         (PARMS): Do not use macros from bp-asm.h.
28950         (SKIP): Likewise.
28951         (strspn): Do not use BP_SYM.
28952         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
28953         (PARMS): Do not use macros from bp-asm.h.
28954         (STR): Likewise.
28955         (DELIM): Likewise.
28956         (SAVE): Likewise.
28957         (FUNCTION): Likewise.  Do not use BP_SYM.
28958         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
28959         aliases.
28960         (strtok_r): Likewise.
28961         (__GI___strtok_r): Likewise.
28962         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
28963         (PARMS): Do not use macros from bp-asm.h.
28964         (S1): Likewise.
28965         (S2): Likewise.
28966         (SIZE): Likewise.
28967         (__mpn_sub_n): Do not use BP_SYM.
28968         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
28969         "bp-asm.h".
28970         (PARMS): Do not use macros from bp-asm.h.
28971         (S1): Likewise.
28972         (SIZE): Likewise.
28973         (__mpn_submul_1): Do not use BP_SYM.
28974         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
28975         <bp-sym.h>.
28976         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
28977         and <bp-asm.h>.
28978         (PARMS): Do not use macros from bp-asm.h.
28979         (FLAGS): Likewise.
28980         (PTID): Likewise.
28981         (TLS): Likewise.
28982         (CTID): Likewise.
28983         (__clone): Do not use BP_SYM.
28984         (clone): Do not use BP_SYM in weak_alias.
28985         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
28986         and <bp-asm.h>.
28987         (PARMS): Do not use macros from bp-asm.h.
28988         (LEN): Likewise.
28989         (__mmap64): Do not use BP_SYM.
28990         (mmap64): Do not use BP_SYM in weak_alias.
28991         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
28992         <bp-sym.h> and <bp-asm.h>.
28993         (PARMS): Do not use macros from bp-asm.h.
28994         (__posix_fadvise64_l64): Do not use BP_SYM.
28995         * sysdeps/unix/sysv/linux/i386/semtimedop.S
28996         (PARMS): Do not use macros from bp-asm.h.
28997         (NSOPS): Likewise.
28998         (semtimedop): Do not use BP_SYM.
28999         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
29000         and <bp-asm.h>.
29002 2013-02-21  Allan McRae  <allan@archlinux.org>
29004         * manual/message.texi (Charset conversion in gettext):
29005         Move @end statement to beginning of line.
29007 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29009         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
29010         static.
29011         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
29012         Likewise.
29014         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
29015         (denorm): Likewise.
29016         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
29017         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
29019 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29021         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
29022         tail-call to the resolved function if pltexit isn't needed.
29024 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29026         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
29027         or Y being zero as being unlikely.
29028         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
29029         Likewise.
29031 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
29033         * manual/nss.texi (System Databases and Name Service Switch):
29034         Remove frobnicate @pxref.
29036 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
29038         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
29039         __attribute__ ((unused)) to __attribute__ ((__unused__)).
29041 2013-02-20  Petr Machata  <pmachata@redhat.com>
29043         * elf/elf.h (R_ARM_TARGET1): New macro.
29044         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
29045         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
29046         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
29047         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
29048         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
29049         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
29050         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
29051         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
29052         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
29053         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
29054         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
29055         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
29056         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
29057         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
29058         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
29059         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
29060         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
29061         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
29062         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
29063         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
29064         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
29065         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
29066         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
29067         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
29068         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
29069         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
29070         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
29071         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
29072         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
29073         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
29074         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
29075         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
29076         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
29077         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
29078         (R_ARM_THM_GOT_BREL12): Likewise.
29079         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
29080         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
29081         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
29082         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
29083         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
29084         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
29085         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
29086         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
29087         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
29089 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
29091         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
29092         __attribute_used__ to __attribute__ ((unused)).
29094 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
29096         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
29097         powerpc mpa.c.
29098         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
29099         comment formatting.
29100         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
29102 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
29104         [BZ #13550]
29105         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
29106         Remove macro.
29107         (ENTER): Remove both macro definitions.
29108         (LEAVE): Likewise.
29109         (CHECK_BOUNDS_LOW): Likewise.
29110         (CHECK_BOUNDS_HIGH): Likewise.
29111         (CHECK_BOUNDS_BOTH): Likewise.
29112         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
29113         (RETURN_BOUNDED_POINTER): Likewise.
29114         (RETURN_NULL_BOUNDED_POINTER): Likewise.
29115         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
29116         (POP_ERRNO_LOCATION_RETURN): Likewise.
29117         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
29118         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29119         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
29120         macros.
29121         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29122         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
29123         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
29124         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
29125         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
29126         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
29127         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
29128         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
29129         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
29130         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
29131         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
29132         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
29133         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29134         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
29135         removed macros.
29136         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29137         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
29138         macros.
29139         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29140         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
29141         * sysdeps/i386/i586/memset.S (memset): Likewise.
29142         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
29143         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29144         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
29145         macros.
29146         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29147         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
29148         Change uses of L(2) to L(out).
29149         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
29150         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
29151         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
29152         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29153         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
29154         removed macros.
29155         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29156         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
29157         macros.
29158         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29159         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
29160         (RETURN): Do not use macro LEAVE.
29161         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
29162         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
29163         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
29164         * sysdeps/i386/i686/memset.S (memset): Likewise.
29165         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
29166         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
29167         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29168         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
29169         Likewise.
29170         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29171         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
29172         L(1_2) and L(1_3) into L(1).
29173         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
29174         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
29175         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29176         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
29177         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29178         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
29179         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
29180         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29181         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
29182         macros.
29183         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
29184         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29185         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
29186         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
29187         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
29188         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29189         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
29190         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
29191         * sysdeps/i386/strcspn.S (strcspn): Likewise.
29192         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
29193         * sysdeps/i386/strrchr.S (strrchr): Likewise.
29194         * sysdeps/i386/strspn.S (strspn): Likewise.
29195         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
29196         conditional code.
29197         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29198         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
29199         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
29200         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
29201         L(1_3) into L(1_1).
29202         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
29203         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29204         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
29205         macros.
29206         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29208 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
29210         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
29211         macro.
29213 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29215         * math/atest-exp.c (exp_mpn): Remove ROUND.
29216         * math/atest-exp2.c (exp_mpn): Likewise.
29217         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
29219         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
29220         * stdlib/tst-tls-atexit-lib.c: Likewise.
29221         * stdlib/tst-tls-atexit.c: Likewise.
29223 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
29225         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
29226         and __attribute_alloc_size__.
29228 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
29230         * include/programs/xmalloc.h: Change __attribute_alloc_size to
29231         __attribute_alloc_size__.
29232         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
29233         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
29235 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
29237         * include/programs/xmalloc.h: New file.
29238         * catgets/gencat.c: Include it.
29239         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
29240         * elf/pldd.c: Likewise.
29241         * iconv/iconv_charmap.c: Likewise.
29242         * iconv/iconvconfig.c: Likewise.
29243         * iconv/strtab.c: Likewise.
29244         * locale/programs/locale.c: Likewise.
29245         * locale/programs/localedef.h: Likewise.
29246         * locale/programs/simple-hash.c: Likewise.
29247         * nscd/nscd.h: Likewise.
29248         * nss/makedb.c: Likewise.
29249         * sysdeps/generic/ldconfig.h: Likewise.
29251 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29253         * Versions.def: Add GLIBC_2.18.
29254         * include/link.h (struct link_map): New member l_tls_dtor_count.
29255         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
29256         (__call_tls_dtors): Likewise.
29257         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
29258         __cxa_thread_atexit_impl.
29259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29260         Likewise.
29261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29262         Likewise.
29263         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
29264         Likewise.
29265         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
29266         Likewise.
29267         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29268         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
29269         Likewise.
29270         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
29271         Likewise.
29272         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29273         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29274         Likewise.
29275         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
29276         (tests): Add test case tst-tls-atexit.
29277         (modules-names): Add shared library for tst-tls-atexit.
29278         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
29279         (GLIBC_PRIVATE): Add __call_tls_dtors.
29280         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
29281         for libstdc++.
29282         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
29283         * stdlib/tst-tls-atexit.c: New test case.
29284         * stdlib/tst-tls-atexit-lib.c: New test case.
29286         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
29288         * elf/Versions (ld): Add _dl_find_dso_for_object.
29289         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
29290         * elf/dl-open.c (_dl_find_dso_for_object): New function.
29291         (dl_open_worker): Use _dl_find_dso_for_object.
29292         * elf/dl-sym.c (do_sym): Likewise.
29293         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
29295 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29297         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
29298         Syntactic changes only.
29299         (_dl_runtime_profile): Do a tail-call to the resolved function.
29301 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
29303         [BZ #13550]
29304         * sysdeps/x86_64/bp-asm.h: Remove file.
29305         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
29306         <bp-sym.h> and <bp-asm.h>.
29307         (__clone): Do not use BP_SYM.
29308         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
29309         <bp-sym.h> and <bp-asm.h>.
29310         * sysdeps/unix/x86_64/sysdep.S: Likewise.
29311         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
29312         "bp-asm.h".
29313         (_setjmp): Do not use BP_SYM.
29314         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
29315         "bp-asm.h".
29316         (setjmp): Do not use BP_SYM.
29317         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
29318         libc_hidden_def.
29319         (mempcpy): Do not use BP_SYM in weak_alias.
29320         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
29321         "bp-asm.h".
29322         (strchr): Do not use BP_SYM.
29323         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
29324         "bp-asm.h".
29325         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
29326         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
29327         (_start): Do not use BP_SYM.
29328         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
29329         "bp-asm.h".
29330         (strcat): Do not use BP_SYM.
29331         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
29332         "bp-asm.h".
29333         (STRCMP): Do not use BP_SYM.
29334         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
29335         "bp-asm.h".
29336         (STRCPY): Do not use BP_SYM.
29337         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
29338         "bp-asm.h".
29339         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
29340         "bp-asm.h".
29341         (FUNCTION): Do not use BP_SYM.
29342         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
29343         weak_alias.
29344         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
29346 2013-02-17  Andreas Jaeger  <aj@suse.de>
29348         * time/Versions: Sort entries.
29349         * string/Versions: Likewise.
29350         * resolv/Versions: Likewise.
29351         * posix/Versions: Likewise.
29352         * iconv/Versions: Likewise.
29353         * elf/Versions: Likewise.
29354         * wcsmbs/Versions: Likewise.
29356 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29358         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
29359         loop termination condition.
29361         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
29362         variable to calculate EZ.
29363         (__sqr): Likewise.
29365         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
29366         the lower precision input.
29368 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
29370         [BZ #13550]
29371         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
29372         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
29373         (run-via-rtld-prefix): Do not handle %-bp tests.
29374         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
29375         (all-object-suffixes): Remove .ob.
29376         (bppfx): Remove variable.
29377         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
29378         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
29379         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
29380         [$(build-bounded) = yes] (libtype.ob): Likewise.
29381         * Makerules (elide-routines.ob): Remove variable.
29382         (do-tests-clean): Do not handle *-bp.out.
29383         (common-mostlyclean): Do not handle *-bp and *-bp.out.
29384         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
29385         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
29386         (tests): Do not include $(tests-bp.out).
29387         (xtests): Do not include $(xtests-bp.out).
29388         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
29389         [$(build-bounded) = yes] ($(addprefix
29390         $(objpfx),$(binaries-bounded))): Remove rule.
29391         ($(objpfx)%-bp.out): Remove rule.
29392         * config.make.in (build-bounded): Remove variable.
29393         * crypt/Makefile [$(build-bounded) = yes]
29394         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
29395         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
29396         append to variable.
29397         [$(build-bounded) = yes] (install-lib): Likewise.
29398         [$(build-bounded) = yes] (generated): Likewise.
29399         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
29400         Remove rule.
29401         * intl/Makefile [$(build-bounded) = yes]
29402         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
29403         * math/Makefile [$(build-bounded) = yes]
29404         ($(tests:%=$(objpfx)%-bp): Likewise.
29405         * misc/Makefile [$(build-bounded) = yes]
29406         ($(objpfx)tst-tsearch-bp): Likewise.
29407         * nptl/Makeconfig (bounded-thread-library): Remove variable.
29408         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
29409         Remove dependency.
29410         * string/Makefile (o-objects.ob): Remove variable.
29411         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
29412         (CFLAGS-.ob): Remove variable.
29413         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
29414         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
29415         both definitions of variable.
29416         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
29417         (ASFLAGS-.ob): Remove variable.
29419 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
29421         [BZ #13550]
29422         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
29423         Remove __BOUNDED_POINTERS__ from condition.
29424         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
29425         * string/bits/string2.h [!__NO_STRING_INLINES &&
29426         !__BOUNDED_POINTERS__]: Likewise.
29427         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
29428         Likewise.
29429         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
29430         Remove conditional code.
29431         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
29432         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
29433         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
29434         condition.
29436         [BZ #13550]
29437         * csu/libc-start.c: Do not include <bp-sym.h>.
29438         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
29439         * elf/dl-open.c: Do not include <bp-sym.h>.
29440         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
29441         * math/fegetenv.c: Do not include <bp-sym.h>.
29442         (fegetenv): Do not use BP_SYM in versioned symbols.
29443         * nptl/sysdeps/pthread/bits/libc-lockP.h
29444         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
29445         <bp-sym.h>.
29446         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29447         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
29448         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29449         (__pthread_mutex_destroy): Likewise.
29450         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29451         (__pthread_mutex_lock): Likewise.
29452         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29453         (__pthread_mutex_trylock): Likewise.
29454         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29455         (__pthread_mutex_unlock): Likewise.
29456         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29457         (__pthread_mutexattr_init): Likewise.
29458         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29459         (__pthread_mutexattr_destroy): Likewise.
29460         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29461         (__pthread_mutexattr_settype): Likewise.
29462         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29463         (__pthread_rwlock_init): Likewise.
29464         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29465         (__pthread_rwlock_destroy): Likewise.
29466         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29467         (__pthread_rwlock_rdlock): Likewise.
29468         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29469         (__pthread_rwlock_tryrdlock): Likewise.
29470         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29471         (__pthread_rwlock_wrlock): Likewise.
29472         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29473         (__pthread_rwlock_trywrlock): Likewise.
29474         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29475         (__pthread_rwlock_unlock): Likewise.
29476         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29477         (__pthread_key_create): Likewise.
29478         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29479         (__pthread_setspecific): Likewise.
29480         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29481         (__pthread_getspecific): Likewise.
29482         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
29483         Likewise.
29484         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29485         (_pthread_cleanup_push_defer): Likewise.
29486         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29487         (_pthread_cleanup_pop_restore): Likewise.
29488         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29489         (pthread_setcancelstate): Likewise.
29490         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
29491         <bp-sym.h>.
29492         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
29493         (memchr): Do not use BP_SYM in weak_alias.
29494         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
29495         (fegetenv): Do not use BP_SYM in versioned symbols.
29496         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
29497         (fesetenv): Do not use BP_SYM in versioned symbols.
29498         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
29499         (feupdateenv): Do not use BP_SYM in versioned symbols.
29500         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
29501         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
29502         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
29503         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
29504         (open64): Do not use BP_SYM in weak_alias.
29505         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
29506         (fegetenv): Do not use BP_SYM in versioned symbols.
29507         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
29508         (fesetenv): Do not use BP_SYM in versioned symbols.
29509         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
29510         (feupdateenv): Do not use BP_SYM in versioned symbols.
29511         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
29512         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
29513         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
29514         (feraiseexcept): Do not use BP_SYM in versioned symbols.
29515         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
29516         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
29517         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
29518         <bp-sym.h>.
29519         (__libc_start_main): Do not use BP_SYM.
29521 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
29523         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
29524         redundant return line.
29525         (norm): Likewise.
29526         (denorm): Likewise.
29527         (dbl_mp): Likewise.
29528         (sub_magnitudes): Likewise.
29529         (__add): Likewise.
29530         (__sub): Likewise.
29531         (__mul): Likewise.
29532         (__inv): Likewise.
29533         (__dvd): Likewise.
29534         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
29535         (norm): Likewise.
29536         (denorm): Likewise.
29537         (dbl_mp): Likewise.
29538         (sub_magnitudes): Likewise.
29539         (__add): Likewise.
29540         (__sub): Likewise.
29541         (__mul): Likewise.
29542         (__inv): Likewise.
29543         (__dvd): Likewise.
29545         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
29546         instead of __mul.
29547         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
29548         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
29549         (cc32): Likewise.
29551         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
29552         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
29553         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
29554         of __mul for squares.
29555         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
29556         function
29557         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
29558         Likewise.
29559         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
29560         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29562 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
29564         [BZ #13550]
29565         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
29566         code.
29567         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
29568         prototype or function definition.  Rename ubp_* variables and
29569         parameters.  Remove argv definitions conditional on
29570         [__BOUNDED_POINTERS__].
29571         * debug/backtrace.c (__backtrace): Do not use __unbounded.
29572         * elf/dl-runtime.c (_dl_fixup): Likewise.
29573         * include/set-hooks.h (RUN_HOOK): Likewise.
29574         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
29575         definition.
29576         * string/strcpy.c (strcpy): Do not use __unbounded.
29577         * sysdeps/generic/frame.h (struct layout): Likewise.
29578         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
29579         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
29580         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
29581         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
29582         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
29583         (__backtrace): Likewise.
29584         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
29585         use __ptrvalue.
29586         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
29587         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
29588         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
29589         Likewise.
29590         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
29591         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
29592         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
29593         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29594         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
29595         Do not use __unbounded.
29596         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
29597         Rename __unboundedrlimits parameter to rlimits in prototype.
29598         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
29599         Do not use __unbounded.
29600         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
29601         not use __ptrvalue.
29602         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29603         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
29604         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29605         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
29606         __ptrvalue or __unbounded.
29607         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
29608         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
29609         use __unbounded.
29610         (__new_msgctl): Do not use __ptrvalue.
29611         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
29612         __unbounded.
29613         (__libc_msgrcv): Do not use __ptrvalue.
29614         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
29615         startup_info): Do not use __unbounded.
29616         (__libc_start_main): Likewise.  Rename ubp_* variables and
29617         parameters.  Remove argv definitions conditional on
29618         [__BOUNDED_POINTERS__].
29619         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
29620         __ptrvalue.
29621         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
29622         use __unbounded.
29623         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
29624         or __ptrvalue.
29625         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
29626         use __unbounded.
29627         (__new_shmctl): Do not use __ptrvalue.
29628         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
29629         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
29630         Likewise.
29631         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
29632         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
29633         (__libc_sigaction): Likewise.
29634         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
29635         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
29636         Likewise.
29637         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29639 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
29641         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
29643         * string/mempcpy.c: Implement by calling memcpy.
29645 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
29647         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
29649         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
29650         evaluation.
29652         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
29653         values in the mantissa.
29655         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
29656         minimize writes to Z.
29657         (sub_magnitudes): Simplify code a bit.
29659 2013-02-12  Roland McGrath  <roland@hack.frob.com>
29661         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
29662         from the message.  The linker prefixes all warnings with that already.
29664 2013-02-12  Andreas Schwab  <schwab@suse.de>
29666         [BZ #15078]
29667         * posix/regexec.c (extend_buffers): Add parameter min_len.
29668         (check_matching): Pass minimum needed length.
29669         (clean_state_log_if_needed): Likewise.
29670         (get_subexp): Likewise.
29671         * posix/Makefile (tests): Add bug-regex34.
29672         (bug-regex34-ENV): Define.
29673         * posix/bug-regex34.c: New file.
29675         [BZ #11561]
29676         * posix/regcomp.c (parse_bracket_exp): When looking up collating
29677         elements compare against the byte sequence of it, not its name.
29678         * posix/Makefile (tests): Add bug-regex35.
29679         (bug-regex35-ENV): Define.
29680         * posix/bug-regex35.c: New file.
29682 2013-02-11  Tom de Vries  <tom@codesourcery.com>
29684         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
29685         comment.
29686         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
29687         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
29688         (CHECK_EOL): Add undef.
29690 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
29692         * bits/stdlib-bsearch.h: New file.
29693         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
29694         * stdlib/stdlib.h: Likewise.
29696 2013-02-11  Roland McGrath  <roland@hack.frob.com>
29698         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
29699         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
29700         declaration.
29701         * manual/search.texi (Array Search Function): Add missing const in
29702         lfind prototype.
29703         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
29704         declaration to use rlim_t.
29705         (Basic Scheduling Functions): Remove erroneous const from
29706         sched_getparam prototype.  Remove erroneous * from
29707         sched_get_priority_max and sched_get_priority_min prototypes.
29708         (Resource Usage): Fix summary @comment on vtimes to refer to
29709         sys/vtimes.h rather than vtimes.h.
29710         Add missing *s in vtimes prototype.
29711         (Limits on Resources): Fix ulimit prototype to return long int.
29712         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
29713         prototypes to use long int rather than double.
29714         (BSD Random): Fix initstate and setstate to use char *, not void *.
29715         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
29716         prototype to make second argument 'struct aiocb64 *const[]'.
29717         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
29718         (Status of AIO Operations): Remove erroneous const in aio_return and
29719         aio_return64 prototypes.
29720         (Synchronizing I/O): Fix sync prototype to return void.
29721         * manual/startup.texi (Suboptions): Remove an erroneous const in
29722         getsubopt prototype.
29723         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
29724         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
29725         use size_t rather than int.
29726         (Scanning All Users): Likewise for getpwent_r.
29727         (Setting Groups): Add missing const to setgroups prototype.
29728         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
29729         * manual/socket.texi (Host Names): Fix gethostbyaddr and
29730         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
29731         'const void *' rather than 'const char *'.
29732         (Host Address Functions): Likewise for inet_ntop.
29733         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
29734         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
29735         ssize_t for return value.
29736         (Sending Data): Likewise for send, sendto, sendmsg.
29737         (Socket Option Functions): Add a missing const in setsockopt prototype.
29738         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
29739         use wchar_t for the argument.
29740         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
29741         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
29742         take no arguments.
29743         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
29744         double/float/long double for second argument.
29745         Fix return types of significand, significandf, significandl.
29746         * manual/filesys.texi (Setting Permissions): Use mode_t for second
29747         argument in fchmod prototype.
29748         (File Owner): Use uid_t and gid_t in fchown prototype.
29749         (File Times): Add const to utimes, futimes, and lutimes prototypes.
29750         (Making Special Files): Use mode_t and dev_t in mknod prototype.
29751         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
29752         use 'const struct dirent **' as argument types to CMP function pointer
29753         argument.
29754         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
29755         (File Times): Fix summary magic @comment for struct utimbuf and utime
29756         to refer to utime.h, not time.h.
29757         * manual/string.texi (Argz Functions): Add missing const in
29758         argz_extract and argz_next prototypes.
29759         (Finding Tokens in a String): Likewise for basename.
29760         (String/Array Comparison): Fix typo in wcscasecmp prototype.
29761         (Copying and Concatenation): Fix typo in wmemmove prototype.
29762         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
29763         (Signal Stack): Remove erroneous const in sigstack prototype.
29764         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
29765         prototype.
29766         (Simple Calendar Time): Likewise for stime.
29767         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
29768         prototype.
29769         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
29770         say sys/sysctl.h instead.
29771         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
29772         and vsyslog prototypes.
29774 2013-02-11  Tom de Vries  <tom@codesourcery.com>
29776         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
29777         Remove.
29779 2013-02-11  Roland McGrath  <roland@hack.frob.com>
29781         * misc/sys/mman.h: Fix typo in mremap comment.
29783 2013-02-08  Roland McGrath  <roland@hack.frob.com>
29785         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
29786         the '\0' terminator.
29788 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
29790         [BZ #13550]
29791         * debug/segfault.c: Don't include <bp-checks.h>.
29792         * sysdeps/generic/bp-checks.h: Remove file.
29793         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
29794         (__GETDENTS): Don't use CHECK_N.
29795         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
29796         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
29797         (__getgroups): Don't use CHECK_N.
29798         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
29799         (setgroups): Don't use CHECK_N.
29800         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
29801         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
29802         (__libc_msgrcv): Don't use CHECK_N.
29803         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
29804         (__libc_msgsnd): Don't use CHECK_N.
29805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
29806         <bp-checks.h>.
29807         (__libc_pread): Don't use CHECK_N.
29808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
29809         include <bp-checks.h>.
29810         (__libc_pread64): Don't use CHECK_N.
29811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
29812         include <bp-checks.h>.
29813         (__libc_pwrite): Don't use CHECK_N.
29814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
29815         include <bp-checks.h>.
29816         (__libc_pwrite64): Don't use CHECK_N.
29817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
29818         <bp-checks.h>.
29819         (__libc_pread): Don't use CHECK_N.
29820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
29821         include <bp-checks.h>.
29822         (__libc_pread64): Don't use CHECK_N.
29823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
29824         include <bp-checks.h>.
29825         (__libc_pwrite): Don't use CHECK_N.
29826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
29827         include <bp-checks.h>.
29828         (__libc_pwrite64): Don't use CHECK_N.
29829         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
29830         (do_pread): Don't use CHECK_N.
29831         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
29832         (do_pread64): Don't use CHECK_N.
29833         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
29834         (do_pwrite): Don't use CHECK_N.
29835         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
29836         (do_pwrite64): Don't use CHECK_N.
29837         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
29838         (__libc_readv): Don't use CHECK_N.
29839         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
29840         (semop): Don't use CHECK_N.
29841         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
29842         <bp-checks.h>.
29843         (semtimedop): Don't use CHECK_N.
29844         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
29845         (__libc_pread): Don't use CHECK_N.
29846         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
29847         <bp-checks.h>.
29848         (__libc_pread64): Don't use CHECK_N.
29849         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
29850         <bp-checks.h>.
29851         (__libc_pwrite): Don't use CHECK_N.
29852         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
29853         <bp-checks.h>.
29854         (__libc_pwrite64): Don't use CHECK_N.
29855         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
29856         <bp-checks.h>.
29857         (__libc_msgrcv): Don't use CHECK_N.
29858         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
29859         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
29860         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
29861         (__libc_writev): Don't use CHECK_N.
29863 2013-02-08  Roland McGrath  <roland@hack.frob.com>
29865         * string/strcpy.c: Removed unused variable.
29867         * Makeconfig (+sysdep-includes): Define with := rather than =.
29868         Use an existing include/ subdir of each sysdeps dir before it.
29870 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
29872         * nscd/connection.c (register_traced_file): Comment function.
29873         [HAVE_INOTIFY] (union __inev): Define.
29874         [HAVE_INOTIFY] (inotify_check_files): New function.
29875         [HAVE_INOTIFY] (clear_db_cache): Likewise.
29876         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
29877         clear_db_cache.
29878         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
29880 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
29882         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
29883         loaded if not already and that a failure is permanent.
29885 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
29887         [BZ #15006]
29888         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
29889         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
29891 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
29893         [BZ #13550]
29894         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
29895         (CHECK_1_NULL_OK): Likewise.
29896         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
29897         (__fxstat): Do not use CHECK_1.
29898         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
29899         <bp-checks.h>.
29900         (___fxstat64): Do not use CHECK_1.
29901         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
29902         <bp-checks.h>.
29903         (__fxstatat): Do not use CHECK_1.
29904         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
29905         <bp-checks.h>.
29906         (__fxstatat64): Do not use CHECK_1.
29907         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
29908         <bp-checks.h>.
29909         (__fxstat): Do not use CHECK_1.
29910         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
29911         <bp-checks.h>.
29912         (__fxstatat): Do not use CHECK_1.
29913         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
29914         <bp-checks.h>.
29915         (__getresgid): Do not use CHECK_1.
29916         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
29917         <bp-checks.h>.
29918         (__getresuid): Do not use CHECK_1.
29919         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
29920         <bp-checks.h>.
29921         (__lxstat): Do not use CHECK_1.
29922         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
29923         <bp-checks.h>.
29924         (__old_msgctl): Do not use CHECK_1.
29925         (__new_msgctl): Likewise.
29926         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
29927         <bp-checks.h>.
29928         (__new_setrlimit): Do not use CHECK_1.
29929         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
29930         <bp-checks.h>.
29931         (__old_shmctl): Do not use CHECK_1.
29932         (__new_shmctl): Likewise.
29933         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
29934         <bp-checks.h>.
29935         (__xstat): Do not use CHECK_1.
29936         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
29937         (__lxstat): Do not use CHECK_1.
29938         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
29939         <bp-checks.h>.
29940         (___lxstat64): Do not use CHECK_1.
29941         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
29942         (__old_msgctl): Do not use CHECK_1.
29943         (__new_msgctl): Likewise.
29944         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
29945         <bp-checks.h>.
29946         (__gettimeofday): Do not use CHECK_1.
29947         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
29948         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
29949         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
29950         <bp-checks.h>.
29951         (__gettimeofday): Do not use CHECK_1.
29952         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
29953         (__old_shmctl): Do not use CHECK_1_NULL_OK.
29954         (__new_shmctl): Do not use CHECK_1.
29955         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
29956         <bp-checks.h>.
29957         (do_sigtimedwait): Do not use CHECK_1.
29958         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
29959         <bp-checks.h>.
29960         (do_sigwaitinfo): Do not use CHECK_1.
29961         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
29962         <bp-checks.h>.
29963         (msgctl): Do not use CHECK_1.
29964         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
29965         <bp-checks.h>.
29966         (shmctl): Do not use CHECK_1.
29967         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
29968         (ustat): Do not use CHECK_1.
29969         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
29970         <bp-checks.h>.
29971         (__fxstat): Do not use CHECK_1.
29972         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
29973         <bp-checks.h>.
29974         (__fxstatat): Do not use CHECK_1.
29975         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
29976         <bp-checks.h>.
29977         (__lxstat): Do not use CHECK_1.
29978         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
29979         <bp-checks.h>.
29980         (__xstat): Do not use CHECK_1.
29981         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
29982         (__xstat): Do not use CHECK_1.
29983         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
29984         (___xstat64): Do not use CHECK_1.
29986         [BZ #13550]
29987         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
29988         definitions.
29989         (CHECK_BOUNDS_HIGH): Likewise.
29990         * string/strcpy.c: Do not include <bp-checks.h>.
29991         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
29993 2013-02-07  Roland McGrath  <roland@hack.frob.com>
29995         * nscd/nscd-client.h (__nscd_drop_map_ref):
29996         Add __attribute__ ((unused)).
29997         * nis/nss-nisplus.h (niserr2nss): Likewise.
29999         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
30000         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
30002         * csu/libc-tls.c (init_static_tls, init_slotinfo):
30003         Remove inline keyword.
30004         * include/rounding-mode.h (round_away): Likewise.
30005         * libio/wfileops.c (adjust_wide_data): Likewise.
30006         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
30007         (__m128i_strloadu_tolower): Likewise.
30008         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
30009         (__m128i_strloadu_tolower): Likewise.
30010         * time/mktime.c (ydhms_diff): Likewise.
30011         * locale/elem-hash.h (elem_hash): Likewise.
30012         * locale/setlocale.c (setdata): Likewise.
30013         * posix/regex_internal.h (re_string_char_size_at): Likewise.
30014         (re_string_wchar_at): Likewise.
30015         (bitset_not, bitset_merge, bitset_mask): Likewise.
30016         [!(__GNUC__ > 3)] (inline): Remove macro.
30017         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
30018         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
30019         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
30020         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
30021         * string/memcmp.c (memcmp_bytes): Likewise.
30022         * locale/programs/locarchive.c (compute_hashval): Likewise.
30023         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
30024         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
30025         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
30026         * nss/getent.c (print_rpc, print_protocols): Likewise.
30027         (print_passwd, print_group, print_aliases): Likewise.
30028         * nis/nss-nisplus.h (niserr2nss): Likewise.
30029         * nscd/connections.c (restart_p): Likewise.
30030         Change return type to bool.
30032 2013-02-05  Roland McGrath  <roland@hack.frob.com>
30034         * Makeconfig (all-Depend-files): Add existing
30035         $(sorted-subdirs:=/Depend) files.
30036         (all-subdirs): Remove nss.
30037         * sysdeps/unix/inet/Subdirs: Add it here instead.
30038         * hesiod/Depend: New file.
30040         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
30041         instead of calling alloca.
30043         * io/lseek.c (__lseek): Rename to __libc_lseek.
30044         Define __lseek as an alias.
30046         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
30048 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
30050         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
30051         else clause and remove check for non-standard endianness.
30053 2013-02-04  David S. Miller  <davem@davemloft.net>
30055         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30057 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
30059         [BZ #13550]
30060         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
30061         (__ubp_memchr): Remove prototype.
30062         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
30063         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
30064         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
30065         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
30066         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
30067         Remove alias.
30068         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
30069         (__ubp_memchr): Likewise.
30070         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
30071         (__ubp_memchr): Likewise.
30072         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
30073         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
30074         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
30075         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
30076         CHECK_STRING.
30077         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
30078         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
30079         (__getcwd): Do not use CHECK_STRING.
30080         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
30081         <bp-checks.h>.
30082         (__real_chown): Do not use CHECK_STRING.
30083         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
30084         <bp-checks.h>.
30085         (fchownat): Do not use CHECK_STRING.
30086         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
30087         CHECK_STRING.
30088         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
30089         <bp-checks.h>.
30090         (__lchown): Do not use CHECK_STRING.
30091         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
30092         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
30093         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
30094         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
30095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30096         include <bp-checks.h>.
30097         (truncate64): Do not use CHECK_STRING.
30098         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
30099         <bp-checks.h>.
30100         (__real_chown): Do not use CHECK_STRING.
30101         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
30102         <bp-checks.h>.
30103         (__lchown): Do not use CHECK_STRING.
30104         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
30105         <bp-checks.h>.
30106         (__chown): Do not use CHECK_STRING.
30107         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
30108         <bp-checks.h>.
30109         (truncate64): Do not use CHECK_STRING.
30110         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
30111         Likewise.
30112         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
30113         (__xmknod): Do not use CHECK_STRING.
30114         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
30115         <bp-checks.h>.
30116         (__xmknodat): Do not use CHECK_STRING.
30117         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
30118         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
30120 2013-02-04  Andreas Schwab  <schwab@suse.de>
30122         [BZ #14142]
30123         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
30124         * include/netdb.h: Likewise for h_errno.
30125         * elf/tst-stackguard1.c: Include <tls.h>.
30127 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
30129         * elf/link.h (struct link_map): Extend the l_addr comment.
30130         * include/link.h (struct link_map): Likewise.
30132 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
30134         [BZ #13550]
30135         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
30136         (BOUNDED_1): Remove macro.
30137         * debug/backtrace.c: Don't include <bp-checks.h>.
30138         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
30139         (__backtrace): Likewise.
30140         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
30141         <bp-checks.h>.
30142         (__backtrace): Don't use BOUNDED_1.
30143         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
30144         <bp-checks.h>.
30145         (__backtrace): Don't use BOUNDED_1.
30146         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
30147         (__backtrace): Don't use BOUNDED_1.
30148         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
30149         (shmat): Don't use BOUNDED_N.
30151 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
30153         [BZ #13550]
30154         * sysdeps/generic/bp-start.h: Remove file.
30155         * csu/libc-start.c: Don't include <bp-start.h>.
30156         (LIBC_START_MAIN): Set up __environ directly instead of using
30157         INIT_ARGV_and_ENVIRON.
30158         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
30159         <bp-start.h>.
30161         [BZ #13550]
30162         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
30163         definitions.
30164         (CHECK_FCNTL): Likewise.
30165         (CHECK_N_PAGES): Likewise.
30167         [BZ #13550]
30168         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
30169         definitions.
30170         (CHECK_SIGSET_NULL_OK): Likewise.
30171         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
30172         <bp-checks.h>.
30173         (sigpending): Don't use CHECK_SIGSET.
30174         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
30175         <bp-checks.h>.
30176         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30177         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
30178         <bp-checks.h>.
30179         (do_sigsuspend): Don't use CHECK_SIGSET.
30180         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
30181         use CHECK_SIGSET.
30182         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
30183         (do_sigwait): Don't use CHECK_SIGSET.
30184         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
30185         use CHECK_SIGSET.
30186         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
30187         include <bp-checks.h>.
30188         (sigpending): Don't use CHECK_SIGSET.
30189         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
30190         include <bp-checks.h>.
30191         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30192         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
30193         <bp-checks.h>.
30194         (sigpending): Don't use CHECK_SIGSET.
30195         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
30196         <bp-checks.h>.
30197         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30199         [BZ #13550]
30200         * sysdeps/generic/bp-semctl.h: Remove file.
30201         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
30202         <bp-checks.h> and <bp-semctl.h>.
30203         (__old_semctl): Don't use CHECK_SEMCTL.
30204         (__new_semctl): Likewise.
30205         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
30206         and <bp-semctl.h>.
30207         (__old_semctl): Don't use CHECK_SEMCTL.
30208         (__new_semctl): Likewise.
30209         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
30210         <bp-checks.h> and <bp-semctl.h>.
30211         (__old_semctl): Don't use CHECK_SEMCTL.
30212         (__new_semctl): Likewise.
30213         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
30214         <bp-checks.h> and <bp-semctl.h>.
30215         (semctl): Don't use CHECK_SEMCTL.
30217         [BZ #13550]
30218         * Makerules (elide-bp-thunks): Remove variable.
30219         (elide-routines.oS): Don't use $(elide-bp-thunks).
30220         (elide-routines.os): Likewise.
30221         (elide-routines.o): Likewise.
30222         (elide-routines.op): Likewise.
30223         (elide-routines.og): Likewise.
30224         (objects): Don't use $(bp-thunks).
30225         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
30226         include.
30227         (common-generated): Do not add s-proto-bp.d.
30228         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
30229         (int): Likewise.
30230         (typ): Likewise.
30231         Do not generate makefile rules for bounded-pointer thunks.
30232         * sysdeps/generic/bp-thunks.h: Remove file.
30233         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
30234         * sysdeps/unix/s-proto-bp.S: Likewise.
30236         [BZ #15062]
30237         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
30238         parts of result separately when argument is not close to line from
30239         -i to i and one part of argument is small.
30240         * math/k_casinhf.c (__kernel_casinhf): Likewise.
30241         * math/k_casinhl.c (__kernel_casinhl): Likewise.
30242         * math/libm-test.inc (cacos_test): Add more tests.
30243         (casin_test): Likewise.
30244         (casinh_test): Likewise.
30245         * sysdeps/i386/fpu/libm-test-ulps: Update.
30246         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30248 2013-01-31  David S. Miller  <davem@davemloft.net>
30250         * po/de.po: Update from translation team.
30252 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
30254         * time/tzfile.c: Include stdint.h for SIZE_MAX.
30256 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
30258         * configure.in (_AC_PROG_CC_C89): New definition.
30259         * configure: Regenerate.
30261         * configure.in (AC_PROG_CPP): New definition.
30262         * configure: Regenerate.
30264 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
30266         * debug/tst-backtrace.h: New file.
30267         * debug/tst-backtrace2.c: Include tst-backtrace.h.
30268         (ret): Remove variable.
30269         (x): Likewise.
30270         (FAIL): Remove macro.
30271         (NO_INLINE): Likewise.
30272         (fn1): Use match function instead of strstr.
30273         * debug/tst-backtrace3.c: Include tst-backtrace.h.
30274         (ret): Remove variable.
30275         (x): Likewise.
30276         (FAIL): Remove macro.
30277         (NO_INLINE): Likewise.
30278         (fn): Use match function instead of strstr.
30279         * debug/tst-backtrace4.c: Include tst-backtrace.h.
30280         (ret): Remove variable.
30281         (x): Likewise.
30282         (FAIL): Remove macro.
30283         (NO_INLINE): Likewise.
30284         (handle_signal): Use match function instead of strstr.
30285         * debug/tst-backtrace5.c: Include tst-backtrace.h.
30286         (ret): Remove variable.
30287         (x): Likewise.
30288         (FAIL): Remove macro.
30289         (NO_INLINE): Likewise.
30290         (handle_signal): Use match function instead of strstr.
30292 2013-01-23  Roland McGrath  <roland@hack.frob.com>
30294         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
30296 2013-01-23  David S. Miller  <davem@davemloft.net>
30298         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
30299         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
30300         argument of CAS if possible.
30301         * sysdeps/sparc/sparc64/bits/atomic.h
30302         (__arch_compare_and_exchange_val_32_acq): Likewise.
30303         (__arch_compare_and_exchange_val_64_acq): Likewise.
30305 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
30307         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
30308         * sysdeps/posix/ulimit.c: ... this.
30309         Include <limits.h>.
30310         * sysdeps/unix/bsd/ulimit.c: Remove file.
30312 2013-01-23  Adam Conrad  <adconrad@0c3.net>
30314         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
30315         (LDFLAGS-tst-array5): Likewise.
30317 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
30319         [BZ #15036]
30320         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
30321         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
30322         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
30323         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
30325 2013-01-21  David S. Miller  <davem@davemloft.net>
30327         * sysdeps/sparc/backtrace.c: New file.
30328         * sysdeps/sparc/sparc32/backtrace.h: New file.
30329         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
30330         * sysdeps/sparc/sparc64/backtrace.h: New file.
30331         * sysdeps/sparc/sparc64/backtrace.c: Delete.
30332         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
30333         -funwind-tables.
30335 2013-01-21  Andreas Schwab  <schwab@suse.de>
30337         [BZ #15020]
30338         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
30339         closed its stdout.
30341 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
30343         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
30344         "mpa2.h".
30345         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30347 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
30348             Mark Mitchell  <mark@codesourcery.com>
30349             Tom de Vries  <tom@codesourcery.com>
30350             Paul Pluzhnikov  <ppluzhnikov@google.com>
30352         * debug/tst-backtrace2.c: New file.
30353         * debug/tst-backtrace3.c: Likewise.
30354         * debug/tst-backtrace4.c: Likewise.
30355         * debug/tst-backtrace5.c: Likewise.
30356         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
30357         (CFLAGS-tst-backtrace3.c): Likewise.
30358         (CFLAGS-tst-backtrace4.c): Likewise.
30359         (CFLAGS-tst-backtrace5.c): Likewise.
30360         (LDFLAGS-tst-backtrace2): Likewise.
30361         (LDFLAGS-tst-backtrace3): Likewise.
30362         (LDFLAGS-tst-backtrace4): Likewise.
30363         (LDFLAGS-tst-backtrace5): Likewise.
30364         (tests): Add new tests tst-backtrace2, tst-backtrace3,
30365         tst-backtrace4 and tst-backtrace5.
30367 2013-01-18  Anton Blanchard  <anton@samba.org>
30368             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30370         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
30371         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
30372         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
30373         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
30374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30375         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
30376         "+r" and remove output regs list as redundant.  Add explicit inline
30377         asm to specify register of return val to work around compiler codegen
30378         bug.  Remove (int) cast on return value.  Add return type parameter to
30379         use in macro so that this macro does not truncate return value for
30380         64-bit values.
30381         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
30382         pass to INTERNAL_VSYSCALL_NCS.
30383         (INLINE_VSYSCALL): Add 'long int' as return type to
30384         INTERNAL_VSYSCALL_NCS macro invocation.
30385         (INTERNAL_VSYSCALL): Add 'long int' as return type to
30386         INTERNAL_VSYSCALL_NCS macro invocation.
30387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30389 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30391         [BZ #14496]
30392         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
30393         Fix application of SIMD FP exception mask.
30395         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
30396         mp_no from a power of two.
30397         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
30398         __mpexp_twomm1.  Use __pow_mp.
30400         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
30401         multiplication.
30403 2013-01-17  David S. Miller  <davem@davemloft.net>
30405         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30407 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
30409         [BZ #15023]
30410         * include/complex.h: Condition contents on [!_COMPLEX_H].
30411         (__kernel_casinhf): New prototype.
30412         (__kernel_casinh): Likewise.
30413         (__kernel_casinhl): Likewise.
30414         * math/Makefile (libm_calls): Add k_casinh.
30415         * math/k_casinh.c: New file.
30416         * math/k_casinhf.c: Likewise.
30417         * math/k_casinhl.c: Likewise.
30418         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
30419         finite nonzero arguments.
30420         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
30421         finite nonzero arguments.
30422         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
30423         finite nonzero arguments.
30424         * math/s_casinh.c: Do not include <float.h>.
30425         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
30426         * math/s_casinhf.c: Do not include <float.h>.
30427         (__casinhf): Move code for finite nonzero arguments to
30428         k_casinhf.c.
30429         * math/s_casinhl.c: Do not include <float.h>.
30430         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
30431         redefine.
30432         (__casinhl): Move code for finite nonzero arguments to
30433         k_casinhl.c.
30434         * math/libm-test.inc (cacos_test): Add more tests.
30435         * sysdeps/i386/fpu/libm-test-ulps: Update.
30436         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30438 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
30440         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
30441         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
30442         [!HAVE_MREMAP]: Remove [defined linux] case.
30443         * malloc/arena.c: Do not include <malloc-sysdep.h>.
30445 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
30447         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
30449 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
30451         * elf/elf.h (R_386_SIZE32): New relocation.
30452         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
30453         R_386_SIZE32.
30454         (elf_machine_rela): Likewise.
30455         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
30456         R_X86_64_SIZE64 and R_X86_64_SIZE32.
30458 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
30460         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
30461         (FP_FAST_FMA): Do not define.
30462         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
30463         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
30464         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
30465         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
30466         !_SOFT_FLOAT]: Likewise.
30467         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
30468         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
30469         value.
30470         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
30471         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
30472         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
30473         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
30474         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
30475         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
30476         file.
30478 2013-01-16  Andreas Schwab  <schwab@suse.de>
30480         [BZ #14327]
30481         * include/stdlib.h (__mktemp): Add declaration.
30482         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
30483         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
30485 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30487         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
30488         definitions.
30489         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
30490         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
30491         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
30492         definitions here.
30493         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
30494         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
30495         definitions.
30496         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
30497         and ONE.
30498         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
30499         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
30500         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
30501         definitions.
30502         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
30503         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
30504         definitions.
30505         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
30507         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
30509 2013-01-15  David S. Miller  <davem@davemloft.net>
30511         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30512         trunc{,f} to libm-sysdep_routes.
30513         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30514         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
30515         file.
30516         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
30517         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
30518         file.
30519         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
30520         file.
30521         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
30522         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
30523         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
30524         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
30525         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
30526         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
30527         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
30528         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
30530         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30531         nearbyint{,f} to libm-sysdep_routes.
30532         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
30534         New file.
30535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
30536         file.
30537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
30538         New file.
30539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
30540         file.
30541         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
30542         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
30543         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
30544         file.
30545         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
30546         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
30547         file.
30548         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
30549         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
30550         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
30552         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
30553         libc_feholdexcept and libc_fesetenv.
30555 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
30557         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
30559 2013-01-14  David S. Miller  <davem@davemloft.net>
30561         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
30562         (SPARC_ASM_VIS2_IFUNC): Likewise.
30563         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
30564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
30565         use of 'siam' instruction.
30566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
30567         Likewise.
30568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
30569         Likewise.
30570         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
30571         Likewise.
30572         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
30573         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
30574         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
30575         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
30576         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
30577         file.
30578         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
30579         file.
30580         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
30581         file.
30582         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
30583         file.
30584         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
30585         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
30586         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
30587         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
30588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
30589         new VIS2 routines.
30590         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
30591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30592         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
30593         Likewise.
30594         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
30595         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
30596         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
30597         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
30598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
30599         routines to libm-sysdep_routines.
30600         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30603         fdim/fdimf to libm-sysdep_routines.
30604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
30605         file.
30606         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
30607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
30608         file.
30609         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
30610         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
30611         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
30612         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
30613         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
30614         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
30615         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
30617 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
30619         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
30620         to optimize copies.
30622         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
30623         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30624         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30626         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
30627         local variable MPTWO.
30628         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
30629         Likewise.
30631 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
30633         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
30634         GLOB_NOESCAPE.
30636 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
30638         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
30640 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
30642         * manual/pattern.texi (glob_t): Document gl_flags.
30643         (glob64_t): Likewise.
30645 2013-01-11  David S. Miller  <davem@davemloft.net>
30647         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
30648         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
30649         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
30650         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
30651         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
30652         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
30653         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
30654         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
30655         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
30656         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
30657         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
30658         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
30659         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
30661         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
30662         sparc V9 rather than using V8 code.
30663         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30664         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30666         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
30667         Move to...
30668         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
30669         Here.
30671 2013-01-11  Roland McGrath  <roland@hack.frob.com>
30673         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
30674         not in the main loop.
30675         * configure: Regenerated.
30677 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
30679         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
30680         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
30681         to just #else.
30682         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
30683         [!__GLIBC_HAVE_LONG_LONG] case.
30684         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
30685         condition to just #else.
30686         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
30687         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
30688         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
30689         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
30690         unconditional.
30691         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
30692         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
30693         #elif condition to just #else.
30694         * sysdeps/unix/sysv/linux/sys/sysmacros.h
30695         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
30696         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
30697         #elif condition to just #else.
30699 2013-01-11  Steve Ellcey  <sellcey@mips.com>
30701         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
30702         (EF_MIPS_ARCH_64): Fix value.
30703         (EF_MIPS_ARCH_32R2): New.
30704         (EF_MIPS_ARCH_64R2): New.
30706 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
30708         * Makeconfig (+link-pie-before-libc): New.
30709         (+link-pie-after-libc): Likewise.
30710         (+link-pie-tests): Likewise.
30711         (+link-pie): Rewritten.
30712         (link-before-libc): Remove $(config-LDFLAGS).
30713         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
30714         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
30715         (config-LDFLAGS): Renamed to ...
30716         (rtld-LDFLAGS): This.
30717         (rtld-tests-LDFLAGS): New macro.
30718         (link-libc-rpath-link): Likewise.
30719         (link-libc-tests-rpath-link): Likewise.
30720         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
30721         (link-libc): Prepand $(link-libc-rpath-link).
30722         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
30723         (test-program-prefix): New macro.
30724         (test-via-rtld-prefix): Likewise.
30725         (test-program-cmd): Likewise.
30726         (host-test-program-cmd): Likewise.
30727         * Makefile ($(common-objpfx)testrun.sh): Replace
30728         $(run-program-prefix) with $(test-program-prefix).
30729         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
30730         $(rtld-LDFLAGS).
30731         ($(common-objpfx)shlib.lds): Likewise.
30732         (build-module-helper): Likewise.
30733         ($(common-objpfx)format.lds): Likewise.
30734         * Rules (binaries-pie-tests): New.
30735         (binaries-pie-notests): Likewise.
30736         (binaries-pie): Rewritten.
30737         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
30738         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
30739         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
30740         (make-test-out): Replace $(host-built-program-cmd) with
30741         $(host-test-program-cmd).
30742         * config.make.in (build-hardcoded-path-in-tests): New variable.
30743         * configure.in (--enable-hardcoded-path-in-tests): New configure
30744         option.
30745         (hardcoded_path_in_tests): New AC_SUBST.
30746         * configure: Regenerated.
30747         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
30748         $(built-program-cmd) with $(test-program-cmd).
30749         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
30750         (test_program_cmd): This.
30751         * elf/Makefile ($(objpfx)order.out): Run test with
30752         $(test-program-prefix).
30753         ($(objpfx)order2.out): Likewise.
30754         ($(objpfx)tst-initorder.out): Likewise.
30755         ($(objpfx)tst-initorder2.out): Likewise.
30756         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
30757         $(test-program-cmd).
30758         ($(objpfx)tst-array1-static.out): Likewise.
30759         ($(objpfx)tst-array2.out): Likewise.
30760         ($(objpfx)tst-array3.out): Likewise.
30761         ($(objpfx)tst-array4.out): Likewise.
30762         ($(objpfx)tst-array5.out): Likewise.
30763         ($(objpfx)tst-array5-static.out): Likewise.
30764         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
30765         $(test-program-cmd).
30766         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
30767         $(run-program-prefix) with $(test-program-prefix).
30768         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
30769         (test_program_prefix): This.
30770         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
30771         $(run-program-prefix) with $(test-program-prefix).
30772         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
30773         (test_program_prefix): This.
30774         * iconvdata/tst-tables.sh: Likewise.
30775         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
30776         $(run-program-prefix) with $(test-program-prefix).
30777         ($(objpfx)tst-translit.out): Likewise.
30778         ($(objpfx)tst-gettext2.out): Likewise.
30779         ($(objpfx)tst-gettext4.out): Likewise.
30780         ($(objpfx)tst-gettext6.out): Likewise.
30781         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
30782         (test_program_prefix): This.
30783         * intl/tst-gettext2.sh: Likewise.
30784         * intl/tst-gettext4.sh  Likewise.
30785         * intl/tst-gettext6.sh: Likewise.
30786         * intl/tst-translit.sh: Likewise.
30787         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
30788         with $(test-program-cmd).
30789         * libio/Makefile ($(objpfx)test-freopen.out): Replace
30790         $(run-program-prefix) with $(test-program-prefix).
30791         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
30792         (test_program_prefix): This.
30793         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
30794         $(run-program-prefix) with $(test-program-prefix).
30795         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
30796         (test_program_prefix): This.
30797         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
30798         * posix/Makefile ($(objpfx)globtest.out): Replace
30799         $(run-via-rtld-prefix) and $(test-wrapper) with
30800         $(test-program-prefix) and $(test-via-rtld-prefix).
30801         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
30802         $(test-program-prefix).
30803         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
30804         $(host-test-program-cmd).
30805         (tst-spawn-ARGS): Likewise.
30806         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
30807         $(test-program-prefix).
30808         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
30809         (test_via_rtld_prefix): This.
30810         (test_wrapper): Renamed to ...
30811         (test_program_prefix): This.
30812         (run_program_prefix): Replaced by test_program_prefix.
30813         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
30814         (test_program_prefix): This.
30815         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
30816         with $(host-test-program-cmd).
30817         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
30818         $(run-program-prefix) with $(test-program-prefix).
30819         ($(objpfx)tst-printf.out): Likewise.
30820         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
30821         $(test-program-cmd).
30822         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
30823         (test_program_prefix): This.
30824         * stdio-common/tst-unbputc.sh: Likewise.
30825         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
30826         $(run-program-prefix) with $(test-program-prefix).
30827         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
30828         (test_program_prefix): This.
30829         * string/Makefile ($(objpfx)tst-svc.out):  Replace
30830         $(built-program-cmd) with $(test-program-cmd).
30832 2013-01-11  Andreas Jaeger  <aj@suse.de>
30834         [BZ #15003]
30835         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
30836         value. Sync with Linux 3.7.
30838 2013-01-10  David S. Miller  <davem@davemloft.net>
30840         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
30841         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30842         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30844 2013-01-10  Roland McGrath  <roland@hack.frob.com>
30846         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
30847         never set.
30848         * configure: Regenerated.
30850 2013-01-10  David S. Miller  <davem@davemloft.net>
30852         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
30853         sparc V9 rather than using V8 code.
30854         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30855         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30857 2013-01-10  Roland McGrath  <roland@hack.frob.com>
30859         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
30860         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
30861         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
30862         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
30863         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
30864         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
30865         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
30866         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
30867         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
30868         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
30869         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
30870         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
30871         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
30872         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
30873         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
30874         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
30875         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
30876         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
30877         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
30878         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
30879         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
30880         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
30881         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
30882         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
30883         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
30884         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
30885         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
30887 2013-01-10  David S. Miller  <davem@davemloft.net>
30889         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30891 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
30893         * posix/Makefile (tests-static): New variable.
30894         (tests): Add $(tests-static).
30895         (tst-exec-static-ARGS): New variable.
30896         (tst-spawn-static-ARGS): Likewise.
30897         * posix/tst-exec-static.c: New file.
30898         * posix/tst-spawn-static.c: Likewise.
30899         * posix/tst-exec.c: Support run directly.
30900         * posix/tst-spawn.c: Likewise.
30902 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
30904         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
30905         long.
30906         * math/bits/mathcalls.h (llrint): Likewise.
30907         (llround): Likewise.
30908         * stdlib/stdlib.h (struct drand48_data): Likewise.
30909         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
30910         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
30911         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
30912         Likewise.
30913         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
30914         Likewise.
30915         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
30916         (elf_greg_t): Likewise.
30917         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
30918         (__jmp_buf): Likewise.
30919         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
30920         definitions.
30921         (llrint): Likewise, for all definitions.
30922         (llrintl): Likewise.
30924         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
30925         Remove [__GNUC__] condition.
30926         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
30927         condition to just [__USE_ISOC99].
30928         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
30930 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
30932         [BZ #14200]
30933         * sysdeps/unix/sysv/linux/x86/bits/environments.h
30934         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
30935         defined.
30936         (_POSIX_V6_ILP32_OFF32): Likewise.
30937         (_XBS5_ILP32_OFF32): Likewise.
30938         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
30939         (__ILP32_OFFBIG_LDFLAGS): Likewise.
30941 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30943         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
30945         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
30946         doubles __mpexp_twomm1.  Adjust usage.
30947         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
30948         Remove.
30950 2013-01-10  Andreas Schwab  <schwab@suse.de>
30952         [BZ #14964]
30953         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
30954         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
30956 2013-01-09  David S. Miller  <davem@davemloft.net>
30958         [BZ #15003]
30959         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
30960         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
30961         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
30962         (TCP_FASTOPEN): Define.
30963         (tcp_repair_opt): New structure.
30964         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
30965         enum values.
30966         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
30967         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
30968         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
30969         (tcp_cookie_transactions): New structure.
30971 2013-01-09  Anton Blanchard  <anton@samba.org>
30973         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
30974         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
30975         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
30976         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
30978 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
30980         * include/features.h (__USE_ANSI): Remove.
30982 2013-01-09  Roland McGrath  <roland@hack.frob.com>
30984         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
30986         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
30988 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
30990         * sysdeps/s390/fpu/libm-test-ulps: Update.
30992         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30994         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
30995         (__acr): Likewise.
30996         (__cpy): Likewise.
30997         (norm): Likewise.
30998         (denorm): Likewise.
30999         (__mp_dbl): Likewise.
31000         (__dbl_mp): Likewise.
31001         (add_magnitudes): Likewise.
31002         (sub_magnitudes): Likewise.
31003         (__add): Likewise.
31004         (__sub): Likewise.
31005         (__mul): Likewise.
31006         (__inv): Likewise.
31007         (__dvd): Likewise.
31008         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
31009         (__acr): Likewise.
31010         (__cpy): Likewise.
31011         (norm): Likewise.
31012         (denorm): Likewise.
31013         (__mp_dbl): Likewise.
31014         (__dbl_mp): Likewise.
31015         (add_magnitudes): Likewise.
31016         (sub_magnitudes): Likewise.
31017         (__add): Likewise.
31018         (__sub): Likewise.
31019         (__mul): Likewise.
31020         (__inv): Likewise.
31021         (__dvd): Likewise.
31022         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
31023         (__acr): Likewise.
31024         (__cpy): Likewise.
31025         (norm): Likewise.
31026         (denorm): Likewise.
31027         (__mp_dbl): Likewise.
31028         (__dbl_mp): Likewise.
31029         (add_magnitudes): Likewise.
31030         (sub_magnitudes): Likewise.
31031         (__add): Likewise.
31032         (__sub): Likewise.
31033         (__mul): Likewise.
31034         (__inv): Likewise.
31035         (__dvd): Likewise.
31037 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
31039         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
31040         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
31041         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
31042         2 && __USE_EXTERN_INLINES]: Likewise.
31044 2013-01-08  Andreas Jaeger  <aj@suse.de>
31046         [BZ# 14985]
31047         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
31048         Remove.
31049         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
31050         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
31052 2013-01-07  Anton Blanchard  <anton@samba.org>
31054         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
31055         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
31056         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
31057         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
31058         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
31059         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31060         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
31061         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
31062         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31063         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31064         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31065         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31066         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
31067         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31068         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
31069         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31070         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31071         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31072         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
31073         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
31074         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
31075         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
31076         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31077         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
31078         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
31079         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
31080         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31081         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
31082         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
31083         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
31084         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
31085         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31086         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31087         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31088         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31089         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31090         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31091         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31092         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
31093         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
31094         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
31095         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31096         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31098 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
31100         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
31101         (__MALLOC_PMT): Likewise.
31102         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
31103         [__GNUC__], only on [_LIBC].
31104         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
31105         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
31106         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
31107         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
31108         forward declaration.
31109         (realloc_hook_ini): Likewise.
31110         (memalign_hook_ini): Likewise.
31111         (__libc_memalign): Do not use __MALLOC_PMT in variable
31112         declaration.
31113         (__libc_valloc): Likewise.
31114         (__libc_pvalloc): Likewise.
31115         (__libc_calloc): Likewise.
31116         (__posix_memalign): Likewise.
31118         [BZ #14996]
31119         * math/s_casinh.c: Include <float.h>.
31120         (__casinh): Do not do computation with squaring and square root
31121         for large arguments.
31122         * math/s_casinhf.c: Include <float.h>.
31123         (__casinhf): Do not do computation with squaring and square root
31124         for large arguments.
31125         * math/s_casinhl.c: Include <float.h>.
31126         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
31127         (__casinhl): Do not do computation with squaring and square root
31128         for large arguments.
31129         * math/libm-test.inc (casin_test): Add more tests.
31130         (casinh_test): Likewise.
31131         * sysdeps/i386/fpu/libm-test-ulps: Update.
31132         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31134 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
31136         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
31137         (__x86_64_raw_data_cache_size): Likewise.
31138         (__x86_64_data_cache_size_half): Likewise.
31139         (__x86_64_raw_data_cache_size_half): Likewise.
31140         (__x86_64_shared_cache_size): Likewise.
31141         (__x86_64_raw_shared_cache_size): Likewise.
31142         (__x86_64_shared_cache_size_half): Likewise.
31143         (__x86_64_raw_shared_cache_size_half): Likewise.
31144         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
31145         to ...
31146         (__x86_data_cache_size): This.
31147         (__x86_64_raw_data_cache_size): Renamed to ...
31148         (__x86_raw_data_cache_size): This.
31149         (__x86_64_data_cache_size_half): Renamed to ...
31150         (__x86_data_cache_size_half): This.
31151         (__x86_64_raw_data_cache_size_half): Renamed to ...
31152         (__x86_raw_data_cache_size_half): This.
31153         (__x86_64_shared_cache_size): Renamed to ...
31154         (__x86_shared_cache_size): This.
31155         (__x86_64_raw_shared_cache_size): Renamed to ...
31156         (__x86_raw_shared_cache_size): This.
31157         (__x86_64_shared_cache_size_half): Renamed to ...
31158         (__x86_shared_cache_size_half): This.
31159         (__x86_64_raw_shared_cache_size_half): Renamed to ...
31160         (__x86_raw_shared_cache_size_half): This.
31161         * sysdeps/x86_64/memcpy.S: Updated.
31162         * sysdeps/x86_64/memset.S: Likewise.
31163         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
31164         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31165         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31167 2013-01-04  David S. Miller  <davem@davemloft.net>
31169         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31171 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
31173         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
31174         1 to avoid redefinition warning.
31175         (__USE_GNU): Don't define.
31176         (init_signaling_nan): Protoize.
31178         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31180 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31182         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
31183         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
31184         (__cpymn): Likewise.
31185         (norm): Remove commented code.
31186         (denorm): Likewise.
31187         (__mp_dbl): Likewise.
31188         (__inv): Likewise.
31189         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
31190         (__cpymn): Likewise.
31191         (norm): Remove commented code.
31192         (denorm): Likewise.
31193         (__mp_dbl): Likewise.
31194         (__inv): Likewise.
31196         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
31197         mp_no value for 1.0 and 2.0.
31198         (norm): Use RADIXI instead of radixi.d.
31199         (denorm): Likewise.
31200         (__mul): Use 0.0 instead of zero.d.
31201         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
31202         mp_no value for 1.0 and 2.0.
31203         (norm): Use RADIXI instead of radixi.d.
31204         (denorm): Likewise.
31205         (__mul): Use 0.0 instead of zero.d.
31207 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
31209         [BZ #14994]
31210         * math/s_casinh.c (__casinh): Reduce finite argument to first
31211         quadrant then set signs of results at the end.
31212         * math/s_casinhf.c (__casinhf): Likewise.
31213         * math/s_casinhl.c (__casinhl): Likewise.
31214         * math/libm-test.inc (casin_test): Add more tests.
31215         (casinh_test): Likewise.
31216         * sysdeps/i386/fpu/libm-test-ulps: Update.
31217         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31219 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31221         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
31223         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
31225         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
31226         declarations.
31227         (denorm): Likewise.
31228         (__mp_dbl): Likewise.
31229         (__inv): Likewise.
31231         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
31232         and adjust the header comment.
31234         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
31235         variable name from declaration.
31237 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
31239         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31240         Initialize COMMON_CPUID_INDEX_7 element.
31241         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
31242         (CPUID_RTM): Likewise.
31243         (HAS_RTM): Likewise.
31244         (COMMON_CPUID_INDEX_7): New enum.
31246 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
31248         [BZ #14981]
31249         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
31250         size is zero, record memory as freed.
31252 2013-01-03  Andreas Jaeger  <aj@suse.de>
31254         * po/ia.po: Add new Interlingua translation.
31256 2012-01-03  Allan McRae  <allan@archlinux.org>
31258         * locale/programs/localedef.c: Fix description of '--posix' flag.
31260 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
31262         * NEWS: Update dates in second copyright notice.
31263         * README: Update copyright dates in example.
31264         * manual/libc.texinfo: Update copyright dates.
31265         * scripts/test-installation.pl: Update copyright date in --version
31266         output.
31268         * hurd/ctty-input.c: Fix copyright notice formatting.
31269         * hurd/ctty-output.c: Likewise.
31270         * hurd/dtable.c: Likewise.
31271         * hurd/hurd-raise.c: Likewise.
31272         * hurd/hurdprio.c: Likewise.
31273         * hurd/msgportdemux.c: Likewise.
31274         * misc/sys/file.h: Likewise.
31275         * misc/sys/ioctl.h: Likewise.
31276         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
31277         * sysdeps/mach/hurd/chdir.c: Likewise.
31278         * sysdeps/mach/hurd/fchdir.c: Likewise.
31279         * sysdeps/mach/hurd/rename.c: Likewise.
31280         * sysdeps/mach/hurd/rmdir.c: Likewise.
31281         * sysdeps/mach/hurd/seekdir.c: Likewise.
31282         * sysdeps/mach/hurd/setsid.c: Likewise.
31283         * sysdeps/posix/wait3.c: Likewise.
31285         * All files with FSF copyright notices: Update copyright dates
31286         using scripts/update-copyrights.
31287         * intl/plural.c: Regenerated.
31288         * locale/programs/charmap-kw.h: Likewise.
31289         * locale/programs/locfile-kw.h: Likewise.
31291 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31293         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
31294         four values.
31296         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
31297         calculation loop and add branch prediction.
31299         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
31300         check access beyond bounds of m1np.
31302         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
31303         MPTWO.
31304         (__inv): Remove local variable MPTWO to use the global
31305         constant.
31306         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
31307         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
31308         variable MPTWO.
31309         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
31310         MP3HALFS static const.
31312 2013-01-01  David S. Miller  <davem@davemloft.net>
31314         * po/ca.po: Update from translation team.
31316 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
31318         * scripts/update-copyrights: New file.
31319         * Makeconfig: Reformat copyright notice.
31320         * ctype/ctype.h: Likewise.
31321         * debug/swprintf_chk.c: Likewise.
31322         * elf/dl-cache.c: Likewise.
31323         * elf/dl-debug.c: Likewise.
31324         * elf/dl-object.c: Likewise.
31325         * grp/initgroups.c: Likewise.
31326         * hurd/Makefile: Likewise.
31327         * hurd/hurd/signal.h: Likewise.
31328         * hurd/hurdfault.c: Likewise.
31329         * hurd/hurdioctl.c: Likewise.
31330         * hurd/hurdlookup.c: Likewise.
31331         * hurd/intr-msg.c: Likewise.
31332         * iconv/gconv_open.c: Likewise.
31333         * libio/swprintf.c: Likewise.
31334         * locale/lc-ctype.c: Likewise.
31335         * locale/nl_langinfo.c: Likewise.
31336         * mach/Machrules: Likewise.
31337         * mach/Makefile: Likewise.
31338         * malloc/obstack.h: Likewise.
31339         * manual/Makefile: Likewise.
31340         * manual/tsort.awk: Likewise.
31341         * misc/bits/stab.def: Likewise.
31342         * nis/nis_print_group_entry.c: Likewise.
31343         * nis/nis_table.c: Likewise.
31344         * nis/nss_compat/compat-pwd.c: Likewise.
31345         * nis/nss_compat/compat-spwd.c: Likewise.
31346         * po/Makefile: Likewise.
31347         * posix/fnmatch.c: Likewise.
31348         * posix/regex.h: Likewise.
31349         * resolv/Makefile: Likewise.
31350         * resolv/nss_dns/dns-network.c: Likewise.
31351         * resolv/res_hconf.c: Likewise.
31352         * scripts/gen-sorted.awk: Likewise.
31353         * soft-fp/soft-fp.h: Likewise.
31354         * stdio-common/printf.h: Likewise.
31355         * stdlib/monetary.h: Likewise.
31356         * stdlib/random.c: Likewise.
31357         * stdlib/random_r.c: Likewise.
31358         * sysdeps/generic/Makefile: Likewise.
31359         * sysdeps/gnu/Makefile: Likewise.
31360         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
31361         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31362         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31363         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31364         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31365         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31366         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31367         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31368         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31369         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31370         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31371         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31372         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
31373         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
31374         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
31375         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
31376         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31377         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31378         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31379         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31380         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
31381         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
31382         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
31383         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
31384         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
31385         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
31386         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
31387         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
31388         * sysdeps/mach/hurd/errnos.awk: Likewise.
31389         * sysdeps/mach/hurd/fork.c: Likewise.
31390         * sysdeps/mach/hurd/getcwd.c: Likewise.
31391         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
31392         * sysdeps/mach/hurd/mmap.c: Likewise.
31393         * sysdeps/mach/hurd/utimes.c: Likewise.
31394         * sysdeps/mach/hurd/xmknod.c: Likewise.
31395         * sysdeps/posix/profil.c: Likewise.
31396         * sysdeps/posix/readdir_r.c: Likewise.
31397         * sysdeps/powerpc/bits/mathdef.h: Likewise.
31398         * sysdeps/powerpc/bits/setjmp.h: Likewise.
31399         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
31400         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
31401         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31402         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
31403         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31404         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31405         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31406         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
31407         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31408         * sysdeps/pthread/lio_listio.c: Likewise.
31409         * sysdeps/sparc/dl-procinfo.h: Likewise.
31410         * sysdeps/unix/i386/sysdep.S: Likewise.
31411         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
31412         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
31413         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
31414         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
31415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31416         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
31417         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
31418         * sysdeps/unix/sysv/linux/speed.c: Likewise.
31419         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
31420         * sysdeps/wordsize-32/divdi3.c: Likewise.
31421         * time/sys/time.h: Likewise.
31422         * wcsmbs/Makefile: Likewise.
31424 2013-01-01  David S. Miller  <davem@davemloft.net>
31426         * po/fr.po: Update from translation team.
31428         * catgets/gencat.c: Update copyright year.
31429         * csu/version.c: Likewise.
31430         * debug/catchsegv.sh: Likewise.
31431         * debug/pcprofiledump.c: Likewise.
31432         * debug/xtrace.sh: Likewise.
31433         * elf/ldconfig.c: Likewise.
31434         * elf/ldd.bash.in: Likewise.
31435         * elf/pldd.c: Likewise.
31436         * elf/sotruss.ksh: Likewise.
31437         * elf/sprof.c: Likewise.
31438         * iconv/iconv_prog.c: Likewise.
31439         * iconv/iconvconfig.c: Likewise.
31440         * locale/programs/locale.c: Likewise.
31441         * locale/programs/localedef.c: Likewise.
31442         * login/programs/pt_chown.c: Likewise.
31443         * malloc/memusage.sh: Likewise.
31444         * malloc/memusagestat.c: Likewise.
31445         * malloc/mtrace.pl: Likewise.
31446         * nscd/nscd.c: Likewise.
31447         * nss/getent.c: Likewise.
31448         * nss/makedb.c: Likewise.
31449         * posix/getconf.c: Likewise.
31451 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
31453         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
31454         numbers.
31456 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
31458         * math/bits/mathcalls.h (modf): Use __nonnull.
31460 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31462         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
31463         (split): Use macro CN instead of the bare value.
31464         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
31465         could be used.
31466         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
31467         instead of the bare value.
31468         (power1): Likewise.
31470 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31472         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
31473         __ATAN_TWOM.
31474         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31476         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
31477         their values.
31478         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
31479         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
31480         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
31481         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
31483 2012-12-28  Andreas Jaeger  <aj@suse.de>
31485         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
31486         values are from Linux 3.7.
31488         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
31489         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
31491 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31493         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
31494         TRUE case.
31496         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
31497         (norm): Likewise.
31498         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
31499         variables with preprocessor constants.
31500         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31501         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
31502         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
31504 2012-12-27  Bruno Haible  <bruno@clisp.org>
31506         [BZ #14317]
31507         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
31508         only if needed.
31510 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31512         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
31513         and use variable directly.
31514         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
31516         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
31517         MPONE.
31518         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
31519         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
31520         variable MPONE.
31521         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
31522         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
31523         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
31524         include directive.  Remove local variable MPONE.
31525         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
31526         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
31527         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31529 2012-12-25  David S. Miller  <davem@davemloft.net>
31531         * version.h (RELEASE): Set to "development".
31532         (VERSION): Set to "2.17.90".
31533         * NEWS: Add 2.18 section.
31535 2012-12-21  David S. Miller  <davem@davemloft.net>
31537         * po/hr.po: Update from translation team.
31539 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31541         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
31543 2012-12-19  Steve Ellcey  <sellcey@mips.com>
31545         * NEWS:  Mention new memcpy for MIPS.
31547 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31549         * manual/contrib.texi (Contributors): Spelling correction.
31551 2012-12-15  David S. Miller  <davem@davemloft.net>
31553         * po/ru.po: Update from translation team.
31555 2012-12-13  David S. Miller  <davem@davemloft.net>
31557         * NEWS: Mention IFUNC testsuite enhancements.
31559         * po/pl.po: Update from translation team.
31560         * po/bg.po: Likewise.
31562         * manual/contrib.texi (Contributors): Update entries for Hongjiu
31563         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
31565 2012-12-11  David S. Miller  <davem@davemloft.net>
31567         * po/sv.po: Update from translation team.
31569         * po/vi.po: Update from translation team.
31571         * po/cs.po: Update from translation team.
31573         * po/de.po: Update from translation team.
31574         * po/eo.po: Likewise.
31575         * po/nl.po: Likewise.
31577 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31579         [BZ #14246]
31580         * manual/argp.texi (Argp Helper Functions): Move node to follow
31581         Argp Parsing State.
31583         [BZ #14872]
31584         * manual/conf.texi (Limits on File System Capacity): Mention if
31585         terminating null is included in the max size.
31587 2012-12-10  Andreas Jaeger  <aj@suse.de>
31589         * po/cs.po: Update from translation team.
31591 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
31593         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
31594         void pointer and cast to uintptr_t.
31595         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
31596         path.
31597         * sysdeps/s390/s390-64/memcpy.S: Likewise.
31598         * sysdeps/s390/s390-64/memset.S: Likewise.
31600 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
31602         [BZ #14833]
31603         * menual/message.texi (Message Translation): Fix typos.
31604         (Helper programs for gettext): Likewise.
31606 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
31608         [BZ #14898]
31609         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
31610         Change to -1.
31612 2012-12-07  David S. Miller  <davem@davemloft.net>
31614         * po/libc.pot: Update.
31616 2012-12-07  Richard Henderson  <rth@redhat.com>
31618         [BZ #10114]
31619         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
31620         normal/normal case to before the switch.
31621         (_FP_DIV): Likewise.
31623 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
31624             Mike Frysinger  <vapier@gentoo.org>
31626         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
31627         check for __NR_fadvise64_64.
31629 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
31631         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
31632         0, not just to plain "0" as a statement.
31633         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
31634         with cw.
31636 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
31638         * NEWS: Use sourceware.org in Bugzilla URL.
31640 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
31642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
31643         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
31645         * stdio-common/tst-put-error.c (do_test): Add newline to the
31646         padded test to ensure flush.
31648 2012-12-05  Jeff Law  <law@redhat.com>
31650         * sunrpc/etc.rpc (fedfs_admin): Add entry.
31652 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
31654         * README: Don't refer to ports add-on as distributed separately.
31655         Mention AArch64 in list of systems supported in the ports add-on.
31657         * LICENSES: Add more non-FSF copyright and license notices.
31659         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
31660         ((unused)).
31662         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
31664         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
31665         10000 as width of padded output.
31667 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
31669         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
31671         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
31672         variable LX with __attribute__ ((unused)).
31673         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
31674         Likewise.
31675         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
31676         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31677         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
31678         with __attribute__ ((unused)).
31680 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
31682         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
31684 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
31686         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
31687         (CFLAGS-nldbl-acos.c): New variable.
31688         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
31689         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
31690         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
31691         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
31692         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
31693         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
31694         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
31695         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
31696         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
31697         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
31698         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
31699         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
31700         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
31701         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
31702         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
31703         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
31704         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
31705         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
31706         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
31707         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
31708         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
31709         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
31710         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
31711         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
31712         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
31713         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
31714         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
31715         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
31716         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
31717         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
31718         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
31719         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
31720         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
31721         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
31722         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
31723         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
31724         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
31725         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
31726         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
31727         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
31728         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
31729         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
31730         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
31731         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
31732         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
31733         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
31734         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
31735         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
31736         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
31737         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
31738         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
31739         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
31740         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
31741         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
31742         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
31743         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
31744         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
31745         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
31746         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
31747         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
31748         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
31749         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
31750         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
31751         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
31752         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
31753         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
31754         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
31755         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
31756         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
31757         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
31758         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
31759         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
31760         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
31761         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
31762         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
31763         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
31764         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
31765         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
31766         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
31767         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
31768         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
31769         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
31770         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
31771         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
31772         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
31773         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
31774         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
31775         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
31776         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
31777         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
31778         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
31779         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
31780         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
31781         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
31782         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
31783         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
31784         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
31786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
31787         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
31789         [BZ #14914]
31790         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
31791         whole low double instead of just low 47 bits when splitting values
31792         into two parts.
31794 2012-12-03  Allan McRae  <allan@archlinux.org>
31796         * manual/stdio.texi (Predefined Printf Handlers): Remove
31797         @hsep and @vsep usage.
31799 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
31801         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
31802         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
31804 2012-12-03  Jeff Law  <law@redhat.com>
31806         * time/sys/time.h (settimeofday): Do not mark TV argument
31807         as __nonnull.
31809 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
31811         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
31812         when currently writing and seek to current position when not.
31813         * libio/Makefile (tests): Remove bug-fclose1.
31814         * libio/bug-fclose1.c: Delete.
31816 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
31818         * manual/arith.texi (feenableexcept): Fix typo.
31819         (fedisableexcept): Likewise.
31821 2012-11-30  Roland McGrath  <roland@hack.frob.com>
31823         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
31824         second, differently-typed declaration, rather than a cast.
31826 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
31828         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
31829         * include/rpc/svc.h: ... here.
31831 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
31833         [BZ #13013]
31834         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
31835         depending n and resplen2 to catch cases where answer
31836         equals answerp2.
31838 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
31840         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
31841         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
31843 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
31845         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
31847 2012-11-29  Roland McGrath  <roland@hack.frob.com>
31849         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
31851 2012-11-28  Jeff Law  <law@redhat.com>
31853         [BZ #13761]
31854         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
31855         dataset_temporary.  Track alloca usage into alloca_used.
31856         If dataset is large allocate and release it via malloc/free.
31858 2012-06-04  Florian Weimer  <fweimer@redhat.com>
31860         [BZ #14197]
31861         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
31863 2012-11-28  David S. Miller  <davem@davemloft.net>
31865         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31867 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
31869         [BZ #14803]
31870         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
31871         of pi/2 rounded to nearest to 64 bits.
31872         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
31873         nearest to 64 bits.
31874         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
31875         bits.
31877 2012-11-28  Jeff Law <law@redhat.com>
31878             Martin Osvald <mosvald@redhat.com>
31880         [BZ #14889]
31881         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
31882         * sunrpc/svc.c: Include time.h.
31883         (__svc_accept_failed): New function.
31884         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
31885         any reason other than EINTR, call __svc_accept_failed.
31886         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
31887         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
31889 2012-11-28  Andreas Schwab  <schwab@suse.de>
31891         * scripts/abilist.awk: Also handle indirect functions in .opd
31892         section.
31894 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
31896         [BZ #13881]
31897         * sysdeps/x86/fpu/powl_helper.c: New file.
31898         * sysdeps/x86/fpu/Makefile: Likewise.
31899         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
31900         (p3): New object.
31901         (__ieee754_powl): Use __powl_helper for finite arguments except
31902         integer exponents below 8.
31903         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
31904         (p3): New object.
31905         (__ieee754_powl): Use __powl_helper for finite arguments except
31906         integer exponents below 8.
31907         * math/libm-test.inc (pow_test): Add more tests and enable some
31908         previously disabled tests.
31909         * sysdeps/i386/fpu/libm-test-ulps: Update.
31910         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31912 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31913             Carlos O'Donell  <carlos_odonell@mentor.com>
31915         * nss/makedb.c (is_prime): Assert that input is odd and greater
31916         than 4.  Note that fact in a comment too.
31917         (next_prime): Add 4 to input.
31919 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31921         [BZ #11741]
31922         * libio/Makefile (tests): Add test case tst-fwrite-error.
31923         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
31924         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
31925         * libio/tst-fwrite-error.c: New test case.
31927 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
31929         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
31930         before casting to void *.
31931         * include/libc-internal.h (__pointer_type): New macro.
31932         (__integer_if_pointer_type_sub): Likewise.
31933         (__integer_if_pointer_type): Likewise.
31934         (cast_to_integer): Likewise.
31935         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
31936         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
31937         before casting to atomic64_t.
31938         (atomic_exchange_acq): Likewise.
31939         (__arch_exchange_and_add_body): Likewise.
31940         (__arch_add_body): Likewise.
31941         (atomic_add_negative): Likewise.
31942         (atomic_add_zero): Likewise.
31944 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
31946         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
31947         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
31948         (add_fdes): Likewise.
31949         (linear_search_fdes): Likewise.
31950         (binary_search_unencoded_fdes): Likewise.
31952 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
31954         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
31956 2012-11-24  Adam Conrad  <adconrad@0c3.net>
31958         * configure.in: Autodetect C++ header directories.
31959         * configure: Regenerated.
31961 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
31963         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
31965 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
31967         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31969 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
31971         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
31972         LDBL_MANT_DIG == 106]: Disable some tests.
31973         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
31974         Likewise.
31975         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
31976         Likewise.
31978         [BZ #14871]
31979         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
31980         input for small inputs.  Return +/- pi/2 for large inputs.
31981         * math/libm-test.inc (atan_test): Add more tests.
31983         * sysdeps/generic/unwind-dw2-fde-glibc.c
31984         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
31985         __attribute__ ((unused)).
31987         [BZ #14645]
31988         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
31989         x * y if x and y are nonzero and z is zero.
31991         [BZ #14811]
31992         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
31993         nonzero exponents with absolute value below 0x1p-117 to +/-
31994         0x1p-117.
31996         [BZ #14869]
31997         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
31998         up arguments below 2**-450, not just those below 2**-500.
31999         * math/libm-test.inc (hypot_test): Add another test.
32001         [BZ #14868]
32002         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
32003         Return a+b for ratio over 2**120, not 2**60.
32004         * math/libm-test.inc (hypot_test): Add another test.
32006         * math/libm-test.inc (clog_test): Use
32007         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
32008         (clog10_test): Likewise.
32010         [BZ #6778]
32011         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
32013 2012-11-22  Andreas Schwab  <schwab@suse.de>
32015         * sysdeps/i386/fpu/libm-test-ulps: Update.
32017 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
32019         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
32020         printf output with newline.
32022 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
32024         [BZ #14865]
32025         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
32026         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
32027         -z nodlopen, -z initfirst and -z execstack support.
32028         * configure: Regenerated.
32030         * elf/elf.h (DF_1_NODIRECT): New macro.
32031         (DF_1_IGNMULDEF): Likewise.
32032         (DF_1_NOKSYMS): Likewise.
32033         (DF_1_NOHDR): Likewise.
32034         (DF_1_EDITED): Likewise.
32035         (DF_1_NORELOC): Likewise.
32036         (DF_1_SYMINTPOSE): Likewise.
32037         (DF_1_GLOBAUDIT): Likewise.
32038         (DF_1_SINGLETON): Likewise.
32039         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
32040         DT_1_SUPPORTED_MASK bits.
32041         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
32043 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
32045         * sysdeps/unix/make-syscalls.sh: Document prefixes.
32047 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
32049         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
32050         macro.
32052         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
32053         (sendmmsg): Move declarations...
32054         * socket/sys/socket.h: ... here.
32055         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
32056         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
32057         include it from...
32058         * socket/recvmmsg.c: ... this new file.
32059         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
32060         (sendmmsg): Rename to __sendmmsg, create weak alias and make
32061         definition of __sendmmsg hidden.
32062         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
32063         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
32064         Move ENOSYS stub into and include it from...
32065         * socket/sendmmsg.c: ... this new file.
32066         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
32067         (sysdep_routines): Move recvmmsg and sendmmsg...
32068         * socket/Makefile (routines): ... here.
32069         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
32070         (GLIBC_PRIVATE): Add __sendmmsg.
32071         * include/sys/socket.h (__sendmmsg): Add declarations.
32072         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
32073         sendmmsg.
32075 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
32077         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
32078         variable I1 with __attribute__ ((unused)).
32079         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
32081 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
32083         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
32084         DUMMY variables with __attribute__ ((unused)).
32086         * bits/byteswap.h: Include <bits/types.h>.
32087         (__bswap_64): Use __uint64_t instead of unsigned long long int.
32089 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
32091         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
32092         string_t.  Do not manually set errno.
32093         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
32094         length with __strnlen.  Make sure to both set errno and return it on
32095         failure.
32097 2012-11-19  David S. Miller  <davem@davemloft.net>
32099         With help from Joseph Myers.
32100         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
32101         very large arguments properly.
32102         * math/libm-test.inc (atan_test): New tests.
32103         (atan2_test): New tests.
32104         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32105         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32107 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
32109         [BZ #14856]
32110         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
32111         Define to 3.
32113         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
32114         [POSIX] (EADDRNOTAVAIL): Likewise.
32115         [POSIX] (EAFNOSUPPORT): Likewise.
32116         [POSIX] (EALREADY): Likewise.
32117         [POSIX] (ECONNABORTED): Likewise.
32118         [POSIX] (ECONNREFUSED): Likewise.
32119         [POSIX] (ECONNRESET): Likewise.
32120         [POSIX] (EDESTADDRREQ): Likewise.
32121         [POSIX] (EDQUOT): Likewise.
32122         [POSIX] (EHOSTUNREACH): Likewise.
32123         [POSIX] (EIDRM): Likewise.
32124         [POSIX] (EISCONN): Likewise.
32125         [POSIX] (ELOOP): Likewise.
32126         [POSIX] (EMULTIHOP): Likewise.
32127         [POSIX] (ENETDOWN): Likewise.
32128         [POSIX] (ENETUNREACH): Likewise.
32129         [POSIX] (ENOBUFS): Likewise.
32130         [POSIX] (ENODATA): Likewise.
32131         [POSIX] (ENOLINK): Likewise.
32132         [POSIX] (ENOMSG): Likewise.
32133         [POSIX] (ENOPROTOOPT): Likewise.
32134         [POSIX] (ENOSR): Likewise.
32135         [POSIX] (ENOSTR): Likewise.
32136         [POSIX] (ENOTCONN): Likewise.
32137         [POSIX] (ENOTSOCK): Likewise.
32138         [POSIX] (EOPNOTSUPP): Likewise.
32139         [POSIX] (EOVERFLOW): Likewise.
32140         [POSIX] (EPROTO): Likewise.
32141         [POSIX] (EPROTONOSUPPORT): Likewise.
32142         [POSIX] (EPROTOTYPE): Likewise.
32143         [POSIX] (ESTALE): Likewise.
32144         [POSIX] (ETIME): Likewise.
32145         [POSIX] (ETXTBSY): Likewise.
32146         [POSIX] (EWOULDBLOCK): Likewise.
32147         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
32148         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
32149         [POSIX] (SEEK_CUR): Likewise.
32150         [POSIX] (SEEK_END): Likewise.
32151         [POSIX || UNIX98] (mode_t): Do not require.
32152         [POSIX] (off_t): Likewise.
32153         [POSIX] (pid_t): Likewise.
32154         [POSIX] (sys/stat.h): Do not allow header.
32155         [POSIX] (unistd.h): Likewise.
32156         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
32157         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
32158         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
32159         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
32160         require.
32161         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
32162         sigevent): Specify elements.
32163         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
32164         entry.
32165         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
32166         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
32168         * conform/data/cpio.h-data [POSIX]: Disable whole file.
32169         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
32170         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
32171         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
32172         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
32173         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
32174         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
32175         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
32176         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
32177         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
32178         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
32179         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
32180         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
32181         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
32182         Likewise.
32183         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
32184         Likewise.
32185         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
32186         Likewise.
32187         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
32188         Likewise.
32189         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
32190         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
32191         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
32192         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
32193         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
32194         Specify lower bound on value.
32195         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
32196         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
32197         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
32198         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
32199         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
32200         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
32201         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
32202         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
32203         value.
32204         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
32205         as optional.
32206         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
32207         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
32208         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
32209         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
32210         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
32211         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
32212         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
32213         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
32214         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
32215         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
32216         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
32217         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
32218         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
32219         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
32220         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
32221         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
32222         entry.
32223         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
32224         optional.
32225         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
32226         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
32227         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
32228         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
32229         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
32230         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
32231         Likewise.
32232         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
32233         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
32234         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
32235         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
32236         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
32237         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
32238         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
32239         as optional.
32240         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
32241         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
32242         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
32243         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
32244         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
32245         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
32246         specify as optional.
32247         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
32248         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
32249         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
32250         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
32251         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
32252         [XPG3] (NL_LANGMAX): Likewise.
32253         [POSIX || XPG3] (NL_MSGMAX): Likewise.
32254         [POSIX || XPG3] (NL_NMAX): Likewise.
32255         [POSIX || XPG3] (NL_SETMAX): Likewise.
32256         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
32257         [XPG3] (NZERO): Likewise.
32258         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
32259         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
32260         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
32261         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
32262         (REG_ERANGE): Expect.
32263         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
32264         optional-constant.
32265         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
32266         Use (void) in prototype.
32267         [POSIX] (*_t): Allow.
32268         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
32269         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
32270         (WRDE_BADVAL): Expect.
32272         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
32273         expect.
32274         [XPG3 || XPG4] (O_RSYNC): Likewise.
32275         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
32276         Likewise.
32277         [XPG3 || XPG4] (pthread_sigmask): Likewise.
32278         [XPG3 || XPG4] (sigqueue): Likewise.
32279         [XPG3 || XPG4] (sigtimedwait): Likewise.
32280         [XPG3 || XPG4] (sigwaitinfo): Likewise.
32281         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
32282         [XPG3 || XPG4] (vsnprintf): Likewise.
32283         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
32284         Likewise.
32285         [XPG3 || XPG4] (blksize_t): Likewise.
32286         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
32287         Likewise.
32288         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
32289         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
32290         [XPG3 || XPG4] (struct itimerspec): Likewise.
32291         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
32292         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
32293         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
32294         [XPG3 || XPG4] (clockid_t): Likewise.
32295         [XPG3 || XPG4] (timer_t): Likewise.
32296         [XPG3 || XPG4] (clock_getres): Likewise.
32297         [XPG3 || XPG4] (clock_gettime): Likewise.
32298         [XPG3 || XPG4] (clock_settime): Likewise.
32299         [XPG3 || XPG4] (nanosleep): Likewise.
32300         [XPG3 || XPG4] (timer_create): Likewise.
32301         [XPG3 || XPG4] (timer_delete): Likewise.
32302         [XPG3 || XPG4] (timer_gettime): Likewise.
32303         [XPG3 || XPG4] (timer_getoverrun): Likewise.
32304         [XPG3 || XPG4] (timer_settime): Likewise.
32305         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
32306         [XPG3 || XPG4] (getlogin_r): Likewise.
32307         [XPG3 || XPG4] (pread): Likewise.
32308         [XPG3 || XPG4] (pthread_atfork): Likewise.
32309         [XPG3 || XPG4] (pwrite): Likewise.
32311         [BZ #14835]
32312         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
32313         <bits/siginfo.h>.
32315 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
32317         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
32318         finalizing MALLSTREAM.
32320         * sysdeps/mach/hurd/syncfs.c: New file.
32322 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
32324         [BZ #14719]
32325         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
32326         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
32327         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
32328         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
32329         (_nss_dns_gethostbyname4_r): Likewise.
32330         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
32331         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
32333 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
32335         [BZ #13763]
32336         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
32338 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
32340         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
32341         * elf/cache.c (print_entry): Print ",AArch64" for
32342         FLAG_AARCH64_LIB64
32344         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
32345         * elf/cache.c (print_entry): Print ",hard-float" for
32346         FLAG_ARM_LIBHF.
32348 2012-11-18  David S. Miller  <davem@davemloft.net>
32350         With help from Joseph Myers.
32351         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
32352         cutoff to 2**-13.
32353         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
32354         cutoff to 2**-25.
32355         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
32356         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
32357         small.
32358         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
32359         * math/libm-test.inc (y0_test): New tests.
32360         (y1_test): New tests.
32361         * sysdeps/i386/fpu/libm-test-ulps: Update.
32362         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32363         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32365 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
32367         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
32368         64-bit targets.
32369         * configure: Regenerated.
32371 2012-11-17  David S. Miller  <davem@davemloft.net>
32373         [BZ #14811]
32374         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
32375         nonzero exponents with absolute value below 0x1p-128 to +/-
32376         0x1p-128.
32378 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
32380         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
32382         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
32384         * posix/getconf-speclist.c: New file.
32385         * posix/posix-envs.def: Likewise.
32386         * posix/confstr.c (START_ENV_GROUP): New macro.
32387         (END_ENV_GROUP): Likewise.
32388         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
32389         (KNOWN_PRESENT_ENV_STRING): Likewise.
32390         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
32391         (UNKNOWN_ENVIRONMENT): Likewise.
32392         (confstr): Include posix-envs.def instead of handling
32393         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
32394         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
32395         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
32396         (END_ENV_GROUP): Likewise.
32397         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
32398         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
32399         (UNKNOWN_ENVIRONMENT): Likewise.
32400         (__sysconf): Include posix-envs.def instead of handling associated
32401         cases directly here.
32402         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
32403         preprocessing getconf-speclist.c rather than running getconf or
32404         generating empty file.
32406 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
32408         * scripts/check-local-headers.sh: Ignore 'mach' headers.
32410 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
32412         [BZ #14672]
32413         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
32415 2012-11-16  David S. Miller  <davem@davemloft.net>
32417         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
32418         smaller than LDBL_EPSILON/2.0L, just return xm1.
32420 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
32422         * elf/tst-array1.c (init): Set constructor priority to 1000.
32423         (fini): Set destructor priority to 1000.
32424         * elf/tst-array2dep.c: Likewise.
32426 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32428         [BZ #11741]
32429         * libio/fileops.c (_IO_new_file_write): Correctly return error.
32430         (_IO_new_file_xsputn): Also return EOF if none of the input
32431         data was written when overflow failed.
32432         * libio/iopadn.c (_IO_padn): Likewise.
32433         * libio/iowpadn.c (_IO_wpadn): Likewise.
32434         * stdio-common/tst-put-error.c: Add copyright notice.
32435         (do_test): Add case for printing padded string.
32436         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
32437         _IO_padn returned error.
32438         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
32439         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
32440         return EOF.
32442 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32444         * libio/libioP.h: Add comment note that the references to C++
32445         bits are now obsolete.
32447 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32449         * math/libm-test.inc (check_complex): Use asprintf.
32451 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
32453         * debug/pcprofiledump.c (print_version): Update copyright year.
32454         * malloc/memusagestat.c (print_version): Likewise.
32456 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
32458         [BZ #14831]
32459         * elf/Makefile (tests): Add tst-audit8.
32460         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
32461         ($(objpfx)tst-audit8.out): New target.
32462         (tst-audit8-ENV): New variable.
32463         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
32464         audit if l_reloc_result is NULL.
32465         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
32466         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
32467         * elf/tst-audit8.c: New file.
32469 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32471         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
32472         * misc/Makefile (CFLAGS-select.c): Define.
32473         * posix/Makefile (CFLAGS-pause.c): Define.
32475 2012-11-13  David S. Miller  <davem@davemloft.net>
32477         * crypt/Makefile: Move test targets after toplevel Rules
32478         inclusion.  Grab any necessary sysdep routines when linking.
32479         * crypt/md5.c (md5_process_block): Remove define, we will always
32480         name it __md5_process_block.
32481         (md5_finish_ctx): Update md5_process_block call.
32482         (md5_stream): Likewise.
32483         (md5_process_bytes): Likewise.
32484         (md5_process_block): Rename to __md5_process_block and move to ...
32485         * crypt/md5-block.c: ... here.
32486         * crypt/sha256.c (sha256_process_block): Move to ...
32487         * crypt/sha256-block.c: ... here.
32488         * crypt/sha512.c (sha512_process_block): Move to ...
32489         * crypt/sha512-block.c: ... here.
32490         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
32491         path.
32492         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
32493         * sysdeps/sparc/sparc64/multiarch/Makefile
32494         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
32495         crypt subdir.
32496         (localedef-aux): Add md5 crypto assembler when in locale subdir.
32497         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
32498         multiarch changes.
32499         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
32500         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
32501         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
32502         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
32503         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
32504         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
32505         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
32506         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
32507         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
32508         file.
32509         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
32510         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
32511         file.
32512         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
32514 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
32516         * timezone/tzselect.ksh: Update from tzcode git revision
32517         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
32518         * timezone/zdump.c: Likewise.
32519         * timezone/zic.c: Likewise.
32520         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
32521         in TZVERSION setting, not $(PKGVERSION).
32522         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
32523         REPORT_BUGS_TO settings.
32525         [BZ #14838]
32526         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
32527         macro.
32529 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32531         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
32532         detection to immediately after _FP_ROUND().
32533         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
32534         bits are 0.
32536 2012-11-11  David S. Miller  <davem@davemloft.net>
32538         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
32539         inttypes.h
32540         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
32541         __close rather than their public counterparts.
32543 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
32545         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
32546         file.
32547         [UNIX98] (sem_timedwait): Do not expect.
32548         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
32549         [XPG4 || UNIX98] (sockatmark): Do not expect.
32550         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
32551         (clock_getcpuclockid): Do not expect.
32552         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
32553         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
32554         Do not expect.
32555         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
32556         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
32557         [UNIX98] (vwscanf): Likewise.
32558         [UNIX98] (vswscanf): Likewise.
32560 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
32562         * timezone/version.h: Remove file.
32563         * timezone/README: Do not refer to version.h.
32564         * timezone/Makefile ($(objpfx)zic.o): New dependency on
32565         $(objpfx)version.h.
32566         ($(objpfx)zdump.o): Likewise.
32567         ($(objpfx)version.h): New target.
32569         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
32570         2012i.
32571         * timezone/README: Don't mention modification to tzselect.ksh.
32572         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
32573         work on unmodified tzselect.ksh.  Substitute version numbers in
32574         tzselect.ksh.
32576         * Makefile (format-me): Remove.
32577         (INSTALL): Adjust indentation.  Use commands directly instead of
32578         using $(format-me).
32580         * aclocal.m4 (ACX_PKGVERSION): New macro.
32581         (ACX_BUGURL): Likewise.
32582         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
32583         (PKGVERSION): New AC_DEFINE_UNQUOTED.
32584         (REPORT_BUGS_TO): Likewise.
32585         * configure: Regenerated.
32586         * config.h.in (PKGVERSION): New macro.
32587         (REPORT_BUGS_TO): Likewise.
32588         * config.make.in (PKGVERSION): New variable.
32589         (PKGVERSION_TEXI): Likewise.
32590         (REPORT_BUGS_TO): Likewise.
32591         (REPORT_BUGS_TEXI): Likewise.
32592         * Makefile (format-me): Use -I$(common-objpfx)manual.
32593         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
32594         ($(common-objpfx)manual/%): New target.
32595         (manual/%): Remove target.
32596         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
32597         (print_version): Use PKGVERSION.
32598         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
32599         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
32600         and REPORT_BUGS_TO.
32601         ($(objpfx)xtrace): Likewise.
32602         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
32603         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
32604         (print_version): Use PKGVERSION.
32605         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
32606         (do_version): Use PKGVERSION.
32607         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
32608         REPORT_BUGS_TO.
32609         (common-ldd-rewrite): Likewise.
32610         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
32611         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
32612         (print_version): Use PKGVERSION.
32613         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
32614         * elf/pldd.c (argp_program_bug_address): Remove variable.
32615         (more_help): New function.
32616         (argp): Use more_help.
32617         (print_version): Use PKGVERSION.
32618         * elf/sln.c (main): Use PKGVERSION.
32619         (usage): Use REPORT_BUGS_TO.
32620         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
32621         (top level): Use PKGVERSION.
32622         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
32623         (print_version): Use PKGVERSION.
32624         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
32625         (print_version): Use PKGVERSION.
32626         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
32627         (print_version): Use PKGVERSION.
32628         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
32629         (print_version): Use PKGVERSION.
32630         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
32631         (print_version): Use PKGVERSION.
32632         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
32633         (print_version): Use PKGVERSION.
32634         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
32635         and BUGURL.
32636         ($(objpfx)memusage): Likewise.
32637         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
32638         (do_version): Use PKGVERSION.
32639         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
32640         (print_version): Use PKGVERSION.
32641         * malloc/mtrace.pl ($PACKAGE): Remove variable.
32642         ($PKGVERSION): New variable.
32643         ($REPORT_BUGS_TO): Likewise.
32644         (usage): Use $REPORT_BUGS_TO.
32645         (top level): Use $PKGVERSION.
32646         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
32647         ($(objpfx)pkgvers.texi): New rule.
32648         ($(objpfx)stamp-pkgvers): Likewise.
32649         * manual/install.texi: Include pkgvers.texi.
32650         (--with-pkgversion): Document new configure option.
32651         (--with-bugurl): Likewise.
32652         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
32653         than necessarily for this particular distribution.  Use
32654         REPORT_BUGS_TO for where to report bugs.
32655         * INSTALL: Regenerated.
32656         * manual/libc.texinfo: Include pkgvers.texi.
32657         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
32658         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
32659         (print_version): Use PKGVERSION.
32660         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
32661         (print_version): Use PKGVERSION.
32662         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
32663         (print_version): Use PKGVERSION.
32664         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
32665         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
32666         macro.
32667         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
32668         (print_version): Use PKGVERSION.
32669         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
32670         (print_version): Use PKGVERSION.
32671         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
32672         and PKGVERSION.
32674         * timezone/checktab.awk: Update from tzcode 2012i.
32675         * timezone/ialloc.c: Likewise.
32676         * timezone/private.h: Likewise.
32677         * timezone/scheck.c: Likewise.
32678         * timezone/tzfile.h: Likewise.
32679         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
32680         (TZVERSION): Hardcode tzcode version number.
32681         * timezone/zdump.c: Update from tzcode 2012i.
32682         * timezone/zic.c: Likewise.
32683         * timezone/version.h: New file.
32684         * timezone/README: Describe version.h.  Update upstream location.
32686         [BZ #14824]
32687         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
32688         (mktemp): Enable declaration.
32689         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
32690         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
32691         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
32692         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
32693         Likewise.
32694         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
32695         Likewise.
32696         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
32697         Likewise.
32698         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
32699         Likewise.
32700         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
32701         Likewise.
32702         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
32703         Likewise.
32705         [BZ #14821]
32706         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
32707         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
32708         for copies of such integer values.
32709         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32710         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32712 2012-11-09  Andreas Jaeger  <aj@suse.de>
32714         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
32715         definitions and declarations that are provided by
32716         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
32718 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32720         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
32721         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
32722         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
32723         definition.
32725 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32727         * elf/elf.h: Update comment before AArch64 relocations.
32729 2012-11-07  David S. Miller  <davem@davemloft.net>
32731         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
32732         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
32733         (__start_context): Declare.
32734         (__makecontext_ret): Delete.
32735         (__makecontext): Hook up __start_context instead of
32736         __makecontext_ret.
32737         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
32738         (sysdep_routines): Add __start_context when in stdlib.
32740 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
32742         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
32743         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
32744         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
32745         hardcoded "nm".
32746         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
32747         (READELF): New variable.  Use it instead of hardcoded "readelf".
32749 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
32751         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
32752         * sysdeps/x86/Makefile: Here.
32753         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
32754         * sysdeps/x86/tst-xmmymm.sh: This.
32756 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
32758         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
32759         expectations.
32760         [UNIX98] (pthread_barrier_t): Do not expect.
32761         [UNIX98] (pthread_barrierattr_t): Likewise.
32762         [UNIX98] (pthread_spinlock_t): Likewise.
32763         [UNIX98] (pthread_barrier_destroy): Likewise.
32764         [UNIX98] (pthread_barrier_init): Likewise.
32765         [UNIX98] (pthread_barrier_wait): Likewise.
32766         [UNIX98] (pthread_barrierattr_destroy): Likewise.
32767         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
32768         [UNIX98] (pthread_barrierattr_init): Likewise.
32769         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
32770         [UNIX98] (pthread_getcpuclockid): Likewise.
32771         [UNIX98] (pthread_mutex_timedlock): Likewise.
32772         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
32773         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
32774         [UNIX98] (pthread_sigmask): Likewise.
32775         [UNIX98] (pthread_spin_destroy): Likewise.
32776         [UNIX98] (pthread_spin_init): Likewise.
32777         [UNIX98] (pthread_spin_lock): Likewise.
32778         [UNIX98] (pthread_spin_trylock): Likewise.
32779         [UNIX98] (pthread_spin_unlock): Likewise.
32780         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
32781         Do not expect.
32782         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
32783         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
32784         [XPG3 || XPG4] (pthread_cond_t): Likewise.
32785         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
32786         [XPG3 || XPG4] (pthread_key_t): Likewise.
32787         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
32788         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
32789         [XPG3 || XPG4] (pthread_once_t): Likewise.
32790         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
32791         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
32792         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
32793         [XPG3 || XPG4] (pthread_t): Likewise.
32795         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
32796         not expect.
32797         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
32799         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
32800         Change function return type to int.
32802         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
32803         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
32804         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
32805         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
32806         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
32807         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
32808         [!POSIX] (posix_madvise): Likewise.
32809         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
32810         && !UNIX98].
32811         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
32812         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
32813         (mode_t): Likewise.
32814         (posix_mem_offset): Likewise.
32815         (posix_typed_mem_get_info): Likewise.
32816         (posix_typed_mem_open): Likewise.
32818         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
32819         Change condition to [XOPEN2K8].
32821         * conform/conformtest.pl: Preprocess allow-header data with -x c
32822         instead of from stdin.
32823         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
32824         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
32825         [C99-based standards] (cerfc): Likewise.
32826         [C99-based standards] (cexp2): Likewise.
32827         [C99-based standards] (cexpm1): Likewise.
32828         [C99-based standards] (clog10): Likewise.
32829         [C99-based standards] (clog1p): Likewise.
32830         [C99-based standards] (clog2): Likewise.
32831         [C99-based standards] (clgamma): Likewise.
32832         [C99-based standards] (ctgamma): Likewise.
32833         [C99-based standards] (cerff): Likewise.
32834         [C99-based standards] (cerfcf): Likewise.
32835         [C99-based standards] (cexp2f): Likewise.
32836         [C99-based standards] (cexpm1f): Likewise.
32837         [C99-based standards] (clog10f): Likewise.
32838         [C99-based standards] (clog1pf): Likewise.
32839         [C99-based standards] (clog2f): Likewise.
32840         [C99-based standards] (clgammaf): Likewise.
32841         [C99-based standards] (ctgammaf): Likewise.
32842         [C99-based standards] (cerfl): Likewise.
32843         [C99-based standards] (cerfcl): Likewise.
32844         [C99-based standards] (cexp2l): Likewise.
32845         [C99-based standards] (cexpm1l): Likewise.
32846         [C99-based standards] (clog10l): Likewise.
32847         [C99-based standards] (clog1pl): Likewise.
32848         [C99-based standards] (clog2l): Likewise.
32849         [C99-based standards] (clgammal): Likewise.
32850         [C99-based standards] (ctgammal): Likewise.
32851         * conform/data/inttypes.h-data [C99-based standards]: Include
32852         stdint.h-data.  Remove all expectations for stdint.h contents.
32853         [C99-based standards] (PRI*): Do not allow.
32854         [C99-based standards] (SCN*): Likewise.
32855         [C99-based standards] (*_t): Likewise.
32856         [C99-based-standards] (PRId8): Expect macro.
32857         [C99-based-standards] (PRIi8): Likewise.
32858         [C99-based-standards] (PRIo8): Likewise.
32859         [C99-based-standards] (PRIu8): Likewise.
32860         [C99-based-standards] (PRIx8): Likewise.
32861         [C99-based-standards] (PRIX8): Likewise.
32862         [C99-based-standards] (SCNd8): Likewise.
32863         [C99-based-standards] (SCNi8): Likewise.
32864         [C99-based-standards] (SCNo8): Likewise.
32865         [C99-based-standards] (SCNu8): Likewise.
32866         [C99-based-standards] (SCNx8): Likewise.
32867         [C99-based-standards] (PRIdLEAST8): Likewise.
32868         [C99-based-standards] (PRIiLEAST8): Likewise.
32869         [C99-based-standards] (PRIoLEAST8): Likewise.
32870         [C99-based-standards] (PRIuLEAST8): Likewise.
32871         [C99-based-standards] (PRIxLEAST8): Likewise.
32872         [C99-based-standards] (PRIXLEAST8): Likewise.
32873         [C99-based-standards] (SCNdLEAST8): Likewise.
32874         [C99-based-standards] (SCNiLEAST8): Likewise.
32875         [C99-based-standards] (SCNoLEAST8): Likewise.
32876         [C99-based-standards] (SCNuLEAST8): Likewise.
32877         [C99-based-standards] (SCNxLEAST8): Likewise.
32878         [C99-based-standards] (PRIdFAST8): Likewise.
32879         [C99-based-standards] (PRIiFAST8): Likewise.
32880         [C99-based-standards] (PRIoFAST8): Likewise.
32881         [C99-based-standards] (PRIuFAST8): Likewise.
32882         [C99-based-standards] (PRIxFAST8): Likewise.
32883         [C99-based-standards] (PRIXFAST8): Likewise.
32884         [C99-based-standards] (SCNdFAST8): Likewise.
32885         [C99-based-standards] (SCNiFAST8): Likewise.
32886         [C99-based-standards] (SCNoFAST8): Likewise.
32887         [C99-based-standards] (SCNuFAST8): Likewise.
32888         [C99-based-standards] (SCNxFAST8): Likewise.
32889         [C99-based-standards] (PRId16): Likewise.
32890         [C99-based-standards] (PRIi16): Likewise.
32891         [C99-based-standards] (PRIo16): Likewise.
32892         [C99-based-standards] (PRIu16): Likewise.
32893         [C99-based-standards] (PRIx16): Likewise.
32894         [C99-based-standards] (PRIX16): Likewise.
32895         [C99-based-standards] (SCNd16): Likewise.
32896         [C99-based-standards] (SCNi16): Likewise.
32897         [C99-based-standards] (SCNo16): Likewise.
32898         [C99-based-standards] (SCNu16): Likewise.
32899         [C99-based-standards] (SCNx16): Likewise.
32900         [C99-based-standards] (PRIdLEAST16): Likewise.
32901         [C99-based-standards] (PRIiLEAST16): Likewise.
32902         [C99-based-standards] (PRIoLEAST16): Likewise.
32903         [C99-based-standards] (PRIuLEAST16): Likewise.
32904         [C99-based-standards] (PRIxLEAST16): Likewise.
32905         [C99-based-standards] (PRIXLEAST16): Likewise.
32906         [C99-based-standards] (SCNdLEAST16): Likewise.
32907         [C99-based-standards] (SCNiLEAST16): Likewise.
32908         [C99-based-standards] (SCNoLEAST16): Likewise.
32909         [C99-based-standards] (SCNuLEAST16): Likewise.
32910         [C99-based-standards] (SCNxLEAST16): Likewise.
32911         [C99-based-standards] (PRIdFAST16): Likewise.
32912         [C99-based-standards] (PRIiFAST16): Likewise.
32913         [C99-based-standards] (PRIoFAST16): Likewise.
32914         [C99-based-standards] (PRIuFAST16): Likewise.
32915         [C99-based-standards] (PRIxFAST16): Likewise.
32916         [C99-based-standards] (PRIXFAST16): Likewise.
32917         [C99-based-standards] (SCNdFAST16): Likewise.
32918         [C99-based-standards] (SCNiFAST16): Likewise.
32919         [C99-based-standards] (SCNoFAST16): Likewise.
32920         [C99-based-standards] (SCNuFAST16): Likewise.
32921         [C99-based-standards] (SCNxFAST16): Likewise.
32922         [C99-based-standards] (PRId32): Likewise.
32923         [C99-based-standards] (PRIi32): Likewise.
32924         [C99-based-standards] (PRIo32): Likewise.
32925         [C99-based-standards] (PRIu32): Likewise.
32926         [C99-based-standards] (PRIx32): Likewise.
32927         [C99-based-standards] (PRIX32): Likewise.
32928         [C99-based-standards] (SCNd32): Likewise.
32929         [C99-based-standards] (SCNi32): Likewise.
32930         [C99-based-standards] (SCNo32): Likewise.
32931         [C99-based-standards] (SCNu32): Likewise.
32932         [C99-based-standards] (SCNx32): Likewise.
32933         [C99-based-standards] (PRIdLEAST32): Likewise.
32934         [C99-based-standards] (PRIiLEAST32): Likewise.
32935         [C99-based-standards] (PRIoLEAST32): Likewise.
32936         [C99-based-standards] (PRIuLEAST32): Likewise.
32937         [C99-based-standards] (PRIxLEAST32): Likewise.
32938         [C99-based-standards] (PRIXLEAST32): Likewise.
32939         [C99-based-standards] (SCNdLEAST32): Likewise.
32940         [C99-based-standards] (SCNiLEAST32): Likewise.
32941         [C99-based-standards] (SCNoLEAST32): Likewise.
32942         [C99-based-standards] (SCNuLEAST32): Likewise.
32943         [C99-based-standards] (SCNxLEAST32): Likewise.
32944         [C99-based-standards] (PRIdFAST32): Likewise.
32945         [C99-based-standards] (PRIiFAST32): Likewise.
32946         [C99-based-standards] (PRIoFAST32): Likewise.
32947         [C99-based-standards] (PRIuFAST32): Likewise.
32948         [C99-based-standards] (PRIxFAST32): Likewise.
32949         [C99-based-standards] (PRIXFAST32): Likewise.
32950         [C99-based-standards] (SCNdFAST32): Likewise.
32951         [C99-based-standards] (SCNiFAST32): Likewise.
32952         [C99-based-standards] (SCNoFAST32): Likewise.
32953         [C99-based-standards] (SCNuFAST32): Likewise.
32954         [C99-based-standards] (SCNxFAST32): Likewise.
32955         [C99-based-standards] (PRId64): Likewise.
32956         [C99-based-standards] (PRIi64): Likewise.
32957         [C99-based-standards] (PRIo64): Likewise.
32958         [C99-based-standards] (PRIu64): Likewise.
32959         [C99-based-standards] (PRIx64): Likewise.
32960         [C99-based-standards] (PRIX64): Likewise.
32961         [C99-based-standards] (SCNd64): Likewise.
32962         [C99-based-standards] (SCNi64): Likewise.
32963         [C99-based-standards] (SCNo64): Likewise.
32964         [C99-based-standards] (SCNu64): Likewise.
32965         [C99-based-standards] (SCNx64): Likewise.
32966         [C99-based-standards] (PRIdLEAST64): Likewise.
32967         [C99-based-standards] (PRIiLEAST64): Likewise.
32968         [C99-based-standards] (PRIoLEAST64): Likewise.
32969         [C99-based-standards] (PRIuLEAST64): Likewise.
32970         [C99-based-standards] (PRIxLEAST64): Likewise.
32971         [C99-based-standards] (PRIXLEAST64): Likewise.
32972         [C99-based-standards] (SCNdLEAST64): Likewise.
32973         [C99-based-standards] (SCNiLEAST64): Likewise.
32974         [C99-based-standards] (SCNoLEAST64): Likewise.
32975         [C99-based-standards] (SCNuLEAST64): Likewise.
32976         [C99-based-standards] (SCNxLEAST64): Likewise.
32977         [C99-based-standards] (PRIdFAST64): Likewise.
32978         [C99-based-standards] (PRIiFAST64): Likewise.
32979         [C99-based-standards] (PRIoFAST64): Likewise.
32980         [C99-based-standards] (PRIuFAST64): Likewise.
32981         [C99-based-standards] (PRIxFAST64): Likewise.
32982         [C99-based-standards] (PRIXFAST64): Likewise.
32983         [C99-based-standards] (SCNdFAST64): Likewise.
32984         [C99-based-standards] (SCNiFAST64): Likewise.
32985         [C99-based-standards] (SCNoFAST64): Likewise.
32986         [C99-based-standards] (SCNuFAST64): Likewise.
32987         [C99-based-standards] (SCNxFAST64): Likewise.
32988         [C99-based-standards] (PRIdMAX): Likewise.
32989         [C99-based-standards] (PRIiMAX): Likewise.
32990         [C99-based-standards] (PRIoMAX): Likewise.
32991         [C99-based-standards] (PRIuMAX): Likewise.
32992         [C99-based-standards] (PRIxMAX): Likewise.
32993         [C99-based-standards] (PRIXMAX): Likewise.
32994         [C99-based-standards] (SCNdMAX): Likewise.
32995         [C99-based-standards] (SCNiMAX): Likewise.
32996         [C99-based-standards] (SCNoMAX): Likewise.
32997         [C99-based-standards] (SCNuMAX): Likewise.
32998         [C99-based-standards] (SCNxMAX): Likewise.
32999         [C99-based-standards] (PRIdPTR): Likewise.
33000         [C99-based-standards] (PRIiPTR): Likewise.
33001         [C99-based-standards] (PRIoPTR): Likewise.
33002         [C99-based-standards] (PRIuPTR): Likewise.
33003         [C99-based-standards] (PRIxPTR): Likewise.
33004         [C99-based-standards] (PRIXPTR): Likewise.
33005         [C99-based-standards] (SCNdPTR): Likewise.
33006         [C99-based-standards] (SCNiPTR): Likewise.
33007         [C99-based-standards] (SCNoPTR): Likewise.
33008         [C99-based-standards] (SCNuPTR): Likewise.
33009         [C99-based-standards] (SCNxPTR): Likewise.
33010         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
33011         allow.
33012         * conform/data/stdint.h-data: Update comments to clarify
33013         requirements.
33014         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
33015         type.
33016         [C99-based standards] (INT8_MAX): Likewise.
33017         [C99-based standards] (INT16_MIN): Likewise.
33018         [C99-based standards] (INT16_MAX): Likewise.
33019         [C99-based standards] (INT32_MIN): Likewise.
33020         [C99-based standards] (INT32_MAX): Likewise.
33021         [C99-based standards] (INT64_MIN): Likewise.
33022         [C99-based standards] (INT64_MAX): Likewise.
33023         [C99-based standards] (UINT8_MAX): Likewise.
33024         [C99-based standards] (UINT16_MAX): Likewise.
33025         [C99-based standards] (UINT32_MAX): Likewise.
33026         [C99-based standards] (UINT64_MAX): Likewise.
33027         [C99-based standards] (INT_LEAST8_MIN): Likewise.
33028         [C99-based standards] (INT_LEAST8_MAX): Likewise.
33029         [C99-based standards] (INT_LEAST16_MIN): Likewise.
33030         [C99-based standards] (INT_LEAST16_MAX): Likewise.
33031         [C99-based standards] (INT_LEAST32_MIN): Likewise.
33032         [C99-based standards] (INT_LEAST32_MAX): Likewise.
33033         [C99-based standards] (INT_LEAST64_MIN): Likewise.
33034         [C99-based standards] (INT_LEAST64_MAX): Likewise.
33035         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
33036         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
33037         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
33038         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
33039         [C99-based standards] (INT_FAST8_MIN): Likewise.
33040         [C99-based standards] (INT_FAST8_MAX): Likewise.
33041         [C99-based standards] (INT_FAST16_MIN): Likewise.
33042         [C99-based standards] (INT_FAST16_MAX): Likewise.
33043         [C99-based standards] (INT_FAST32_MIN): Likewise.
33044         [C99-based standards] (INT_FAST32_MAX): Likewise.
33045         [C99-based standards] (INT_FAST64_MIN): Likewise.
33046         [C99-based standards] (INT_FAST64_MAX): Likewise.
33047         [C99-based standards] (UINT_FAST8_MAX): Likewise.
33048         [C99-based standards] (UINT_FAST16_MAX): Likewise.
33049         [C99-based standards] (UINT_FAST32_MAX): Likewise.
33050         [C99-based standards] (UINT_FAST64_MAX): Likewise.
33051         [C99-based standards] (INTPTR_MIN): Likewise.
33052         [C99-based standards] (INTPTR_MAX): Likewise.
33053         [C99-based standards] (UINTPTR_MAX): Likewise.
33054         [C99-based standards] (INTMAX_MIN): Likewise.
33055         [C99-based standards] (INTMAX_MAX): Likewise.
33056         [C99-based standards] (UINTMAX_MAX): Likewise.
33057         [C99-based standards] (PTRDIFF_MIN): Likewise.
33058         [C99-based standards] (PTRDIFF_MAX): Likewise.
33059         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
33060         [C99-based standards] (SIZE_MAX): Likewise.
33061         [C99-based standards] (WCHAR_MAX): Likewise.
33062         [C99-based standards] (WINT_MAX): Likewise.
33063         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
33064         constraint on value.
33065         [C99-based standards] (WCHAR_MIN): Likewise.
33066         [C99-based standards] (WINT_MIN): Likewise.
33067         [C99-based standards] (*_t): Allow.
33068         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
33069         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
33070         Include math.h-data and complex.h-data.  Remove all expectations
33071         of math.h and complex.h contents.
33072         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
33073         at end of line.
33074         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
33075         (struct tm): Expect tag.
33076         [C99-based-standards] (wcstof): Expect function.
33077         [C99-based-standards] (wcstold): Likewise.
33078         [C99-based-standards] (wcstoll): Likewise.
33079         [C99-based-standards] (wcstoull): Likewise.
33080         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
33081         macro-int-constant.  Specify type.
33082         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
33083         constraint on value.
33084         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
33085         Specify type.
33086         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
33087         Specify value.
33088         [ISO C standards]: Do not allow headers.
33089         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
33090         wcs[abcdefghijklmnopqrstuvwxyz]*.
33091         [ISO C standards] (*_t): Do not allow.
33092         * conform/data/wctype.h-data [C99-based standards] (iswblank):
33093         Expect function.
33094         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
33095         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
33096         Specify type.
33097         [ISO C standards]: Do not allow headers.
33098         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
33099         is[abcdefghijklmnopqrstuvwxyz]*.
33100         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
33101         to[abcdefghijklmnopqrstuvwxyz]*.
33102         [ISO C standards] (*_t): Do not allow.
33103         * conform/data/stdalign.h-data: New file.
33104         * conform/data/stdbool.h-data: Likewise.
33105         * conform/data/stdnoreturn.h-data: Likewise.
33107 2012-11-07  Roland McGrath  <roland@hack.frob.com>
33109         [BZ #14815]
33110         * manual/filesys.texi (Directory Entries): Typo fix.
33111         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
33113 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33115         * elf/elf.h (EM_AARCH64): New macro.
33116         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
33117         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
33118         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
33119         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
33120         (R_AARCH64_TLSDESC): Likewise.
33121         (NT_ARM_TLS): Likewise.
33122         (NT_ARM_HW_BREAK): Likewise.
33123         (NT_ARM_HW_WATCH): Likewise.
33125 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
33127         [BZ #14811]
33128         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
33129         (__ieee754_powl): Saturate nonzero exponents with absolute value
33130         below 0x1p-79 to +/- 0x1p-79.
33131         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
33132         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
33133         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
33134         nonzero exponents with absolute value below 0x1p-32 to +/-
33135         0x1p-32.
33136         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
33137         (__ieee754_powl): Saturate nonzero exponents with absolute value
33138         below 0x1p-79 to +/- 0x1p-79.
33139         * math/libm-test.inc (pow_test): Add more tests.
33141 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33143         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
33144         _dl_s390_cap_flags with kernel. Increase string length.
33145         (_dl_s390_platforms): Add z196 and zEC12.
33147 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
33149         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
33150         Change XOPEN21K to XOPEN2K.
33152 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
33154         * string/memmove.c: Use memcpy when possible.
33156 2012-11-06  Andreas Jaeger  <aj@suse.de>
33158         * po/eo.po: Update from translation team.
33160 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
33162         [BZ #14793]
33163         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
33164         exponent and small x and y exponents, scale x or y up.  Increase
33165         by 2 the exponent used in scaling up.
33166         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33167         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33168         * math/libm-test.inc (fma_test): Add more tests.
33169         (fma_test_towardzero): Likewise.
33170         (fma_test_downward): Likewise.
33171         (fma_test_upward): Likewise.
33173 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
33175         [BZ #14805]
33176         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
33177         fenv_t *.
33179         [BZ #14801]
33180         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
33181         namespace for names of struct fields.
33182         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
33183         fenv_t fields.
33184         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
33185         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
33187 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33189         [BZ #3665]
33190         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
33192 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
33194         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
33195         PTR_DEMANGLE.
33197         [BZ #5246]
33198         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
33199         PTR_DEMANGLE.
33201 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
33203         [BZ #14797]
33204         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
33205         definitely overflow as x * y not x * y + z.
33206         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33207         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33208         * math/libm-test.inc (fma_test): Add more tests.
33209         (fma_test_towardzero): Likewise.
33210         (fma_test_downward): Likewise.
33211         (fma_test_upward): Likewise.
33213 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
33215         [BZ #157]
33217         * include/stub-tag.h: Remove file.
33218         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
33219         '#include' of it.
33220         * manual/maint.texi (Porting): Don't reference it.
33221         * Makerules ($(objpfx)stubs): Likewise.
33222         * dirent/closedir.c: Don't include <stub-tag.h>.
33223         * dirent/dirfd.c: Likewise.
33224         * dirent/fdopendir.c: Likewise.
33225         * dirent/getdents.c: Likewise.
33226         * dirent/getdents64.c: Likewise.
33227         * dirent/opendir.c: Likewise.
33228         * dirent/readdir.c: Likewise.
33229         * dirent/readdir64.c: Likewise.
33230         * dirent/readdir64_r.c: Likewise.
33231         * dirent/readdir_r.c: Likewise.
33232         * dirent/rewinddir.c: Likewise.
33233         * dirent/seekdir.c: Likewise.
33234         * dirent/telldir.c: Likewise.
33235         * gmon/profil.c: Likewise.
33236         * grp/setgroups.c: Likewise.
33237         * inet/if_index.c: Likewise.
33238         * io/access.c: Likewise.
33239         * io/chdir.c: Likewise.
33240         * io/chmod.c: Likewise.
33241         * io/chown.c: Likewise.
33242         * io/close.c: Likewise.
33243         * io/dup.c: Likewise.
33244         * io/dup2.c: Likewise.
33245         * io/dup3.c: Likewise.
33246         * io/euidaccess.c: Likewise.
33247         * io/faccessat.c: Likewise.
33248         * io/fchdir.c: Likewise.
33249         * io/fchmod.c: Likewise.
33250         * io/fchmodat.c: Likewise.
33251         * io/fchown.c: Likewise.
33252         * io/fchownat.c: Likewise.
33253         * io/fcntl.c: Likewise.
33254         * io/flock.c: Likewise.
33255         * io/fstatfs.c: Likewise.
33256         * io/fstatfs64.c: Likewise.
33257         * io/fstatvfs.c: Likewise.
33258         * io/fstatvfs64.c: Likewise.
33259         * io/futimens.c: Likewise.
33260         * io/fxstat.c: Likewise.
33261         * io/fxstat64.c: Likewise.
33262         * io/fxstatat.c: Likewise.
33263         * io/fxstatat64.c: Likewise.
33264         * io/getcwd.c: Likewise.
33265         * io/isatty.c: Likewise.
33266         * io/lchmod.c: Likewise.
33267         * io/lchown.c: Likewise.
33268         * io/link.c: Likewise.
33269         * io/linkat.c: Likewise.
33270         * io/lseek.c: Likewise.
33271         * io/lseek64.c: Likewise.
33272         * io/lxstat64.c: Likewise.
33273         * io/mkdir.c: Likewise.
33274         * io/mkdirat.c: Likewise.
33275         * io/mkfifo.c: Likewise.
33276         * io/mkfifoat.c: Likewise.
33277         * io/open.c: Likewise.
33278         * io/open64.c: Likewise.
33279         * io/openat.c: Likewise.
33280         * io/openat64.c: Likewise.
33281         * io/pipe.c: Likewise.
33282         * io/pipe2.c: Likewise.
33283         * io/poll.c: Likewise.
33284         * io/posix_fadvise.c: Likewise.
33285         * io/posix_fadvise64.c: Likewise.
33286         * io/posix_fallocate.c: Likewise.
33287         * io/posix_fallocate64.c: Likewise.
33288         * io/read.c: Likewise.
33289         * io/readlink.c: Likewise.
33290         * io/readlinkat.c: Likewise.
33291         * io/rmdir.c: Likewise.
33292         * io/sendfile.c: Likewise.
33293         * io/sendfile64.c: Likewise.
33294         * io/statfs.c: Likewise.
33295         * io/statfs64.c: Likewise.
33296         * io/statvfs.c: Likewise.
33297         * io/statvfs64.c: Likewise.
33298         * io/symlink.c: Likewise.
33299         * io/symlinkat.c: Likewise.
33300         * io/ttyname.c: Likewise.
33301         * io/ttyname_r.c: Likewise.
33302         * io/umask.c: Likewise.
33303         * io/unlink.c: Likewise.
33304         * io/unlinkat.c: Likewise.
33305         * io/utime.c: Likewise.
33306         * io/utimensat.c: Likewise.
33307         * io/write.c: Likewise.
33308         * io/xmknod.c: Likewise.
33309         * io/xmknodat.c: Likewise.
33310         * io/xstat.c: Likewise.
33311         * io/xstat64.c: Likewise.
33312         * login/getpt.c: Likewise.
33313         * login/grantpt.c: Likewise.
33314         * login/unlockpt.c: Likewise.
33315         * math/e_acoshl.c: Likewise.
33316         * math/e_acosl.c: Likewise.
33317         * math/e_asinl.c: Likewise.
33318         * math/e_atan2l.c: Likewise.
33319         * math/e_atanhl.c: Likewise.
33320         * math/e_coshl.c: Likewise.
33321         * math/e_expl.c: Likewise.
33322         * math/e_fmodl.c: Likewise.
33323         * math/e_gammal_r.c: Likewise.
33324         * math/e_hypotl.c: Likewise.
33325         * math/e_j0l.c: Likewise.
33326         * math/e_j1l.c: Likewise.
33327         * math/e_jnl.c: Likewise.
33328         * math/e_lgammal_r.c: Likewise.
33329         * math/e_log10l.c: Likewise.
33330         * math/e_log2l.c: Likewise.
33331         * math/e_logl.c: Likewise.
33332         * math/e_powl.c: Likewise.
33333         * math/e_rem_pio2l.c: Likewise.
33334         * math/e_sinhl.c: Likewise.
33335         * math/e_sqrtl.c: Likewise.
33336         * math/fclrexcpt.c: Likewise.
33337         * math/fedisblxcpt.c: Likewise.
33338         * math/feenablxcpt.c: Likewise.
33339         * math/fegetenv.c: Likewise.
33340         * math/fegetexcept.c: Likewise.
33341         * math/fegetround.c: Likewise.
33342         * math/feholdexcpt.c: Likewise.
33343         * math/fesetenv.c: Likewise.
33344         * math/fesetround.c: Likewise.
33345         * math/feupdateenv.c: Likewise.
33346         * math/fgetexcptflg.c: Likewise.
33347         * math/fraiseexcpt.c: Likewise.
33348         * math/fsetexcptflg.c: Likewise.
33349         * math/ftestexcept.c: Likewise.
33350         * math/k_cosl.c: Likewise.
33351         * math/k_rem_pio2l.c: Likewise.
33352         * math/k_sinl.c: Likewise.
33353         * math/k_tanl.c: Likewise.
33354         * math/s_asinhl.c: Likewise.
33355         * math/s_atanl.c: Likewise.
33356         * math/s_cbrtl.c: Likewise.
33357         * math/s_erfl.c: Likewise.
33358         * math/s_expm1l.c: Likewise.
33359         * math/s_log1pl.c: Likewise.
33360         * math/s_tanhl.c: Likewise.
33361         * misc/acct.c: Likewise.
33362         * misc/brk.c: Likewise.
33363         * misc/chflags.c: Likewise.
33364         * misc/chroot.c: Likewise.
33365         * misc/fchflags.c: Likewise.
33366         * misc/fgetxattr.c: Likewise.
33367         * misc/flistxattr.c: Likewise.
33368         * misc/fremovexattr.c: Likewise.
33369         * misc/fsetxattr.c: Likewise.
33370         * misc/fsync.c: Likewise.
33371         * misc/ftruncate.c: Likewise.
33372         * misc/futimes.c: Likewise.
33373         * misc/futimesat.c: Likewise.
33374         * misc/getdomain.c: Likewise.
33375         * misc/getdtsz.c: Likewise.
33376         * misc/gethostid.c: Likewise.
33377         * misc/gethostname.c: Likewise.
33378         * misc/getloadavg.c: Likewise.
33379         * misc/getpagesize.c: Likewise.
33380         * misc/getsysstats.c: Likewise.
33381         * misc/getxattr.c: Likewise.
33382         * misc/gtty.c: Likewise.
33383         * misc/ioctl.c: Likewise.
33384         * misc/lgetxattr.c: Likewise.
33385         * misc/listxattr.c: Likewise.
33386         * misc/llistxattr.c: Likewise.
33387         * misc/lremovexattr.c: Likewise.
33388         * misc/lsetxattr.c: Likewise.
33389         * misc/lutimes.c: Likewise.
33390         * misc/madvise.c: Likewise.
33391         * misc/mincore.c: Likewise.
33392         * misc/mlock.c: Likewise.
33393         * misc/mlockall.c: Likewise.
33394         * misc/mmap.c: Likewise.
33395         * misc/mprotect.c: Likewise.
33396         * misc/msync.c: Likewise.
33397         * misc/munlock.c: Likewise.
33398         * misc/munlockall.c: Likewise.
33399         * misc/munmap.c: Likewise.
33400         * misc/preadv.c: Likewise.
33401         * misc/preadv64.c: Likewise.
33402         * misc/ptrace.c: Likewise.
33403         * misc/pwritev.c: Likewise.
33404         * misc/pwritev64.c: Likewise.
33405         * misc/readv.c: Likewise.
33406         * misc/reboot.c: Likewise.
33407         * misc/remap_file_pages.c: Likewise.
33408         * misc/removexattr.c: Likewise.
33409         * misc/revoke.c: Likewise.
33410         * misc/select.c: Likewise.
33411         * misc/setdomain.c: Likewise.
33412         * misc/setegid.c: Likewise.
33413         * misc/seteuid.c: Likewise.
33414         * misc/sethostid.c: Likewise.
33415         * misc/sethostname.c: Likewise.
33416         * misc/setregid.c: Likewise.
33417         * misc/setreuid.c: Likewise.
33418         * misc/setxattr.c: Likewise.
33419         * misc/sstk.c: Likewise.
33420         * misc/stty.c: Likewise.
33421         * misc/swapoff.c: Likewise.
33422         * misc/swapon.c: Likewise.
33423         * misc/sync.c: Likewise.
33424         * misc/syncfs.c: Likewise.
33425         * misc/syscall.c: Likewise.
33426         * misc/truncate.c: Likewise.
33427         * misc/ualarm.c: Likewise.
33428         * misc/usleep.c: Likewise.
33429         * misc/ustat.c: Likewise.
33430         * misc/utimes.c: Likewise.
33431         * misc/vhangup.c: Likewise.
33432         * misc/writev.c: Likewise.
33433         * posix/_exit.c: Likewise.
33434         * posix/alarm.c: Likewise.
33435         * posix/execve.c: Likewise.
33436         * posix/fexecve.c: Likewise.
33437         * posix/fork.c: Likewise.
33438         * posix/fpathconf.c: Likewise.
33439         * posix/getaddrinfo.c: Likewise.
33440         * posix/getegid.c: Likewise.
33441         * posix/geteuid.c: Likewise.
33442         * posix/getgid.c: Likewise.
33443         * posix/getgroups.c: Likewise.
33444         * posix/getlogin.c: Likewise.
33445         * posix/getlogin_r.c: Likewise.
33446         * posix/getpgid.c: Likewise.
33447         * posix/getpid.c: Likewise.
33448         * posix/getppid.c: Likewise.
33449         * posix/getresgid.c: Likewise.
33450         * posix/getresuid.c: Likewise.
33451         * posix/getsid.c: Likewise.
33452         * posix/getuid.c: Likewise.
33453         * posix/glob64.c: Likewise.
33454         * posix/nanosleep.c: Likewise.
33455         * posix/pathconf.c: Likewise.
33456         * posix/pause.c: Likewise.
33457         * posix/posix_madvise.c: Likewise.
33458         * posix/pread.c: Likewise.
33459         * posix/pread64.c: Likewise.
33460         * posix/pwrite.c: Likewise.
33461         * posix/pwrite64.c: Likewise.
33462         * posix/sched_getaffinity.c: Likewise.
33463         * posix/sched_getp.c: Likewise.
33464         * posix/sched_gets.c: Likewise.
33465         * posix/sched_primax.c: Likewise.
33466         * posix/sched_primin.c: Likewise.
33467         * posix/sched_rr_gi.c: Likewise.
33468         * posix/sched_setaffinity.c: Likewise.
33469         * posix/sched_setp.c: Likewise.
33470         * posix/sched_sets.c: Likewise.
33471         * posix/sched_yield.c: Likewise.
33472         * posix/setgid.c: Likewise.
33473         * posix/setlogin.c: Likewise.
33474         * posix/setpgid.c: Likewise.
33475         * posix/setresgid.c: Likewise.
33476         * posix/setresuid.c: Likewise.
33477         * posix/setsid.c: Likewise.
33478         * posix/setuid.c: Likewise.
33479         * posix/sleep.c: Likewise.
33480         * posix/spawni.c: Likewise.
33481         * posix/sysconf.c: Likewise.
33482         * posix/times.c: Likewise.
33483         * posix/wait.c: Likewise.
33484         * posix/wait3.c: Likewise.
33485         * posix/wait4.c: Likewise.
33486         * posix/waitpid.c: Likewise.
33487         * resolv/gai_sigqueue.c: Likewise.
33488         * resource/getpriority.c: Likewise.
33489         * resource/getrlimit.c: Likewise.
33490         * resource/getrusage.c: Likewise.
33491         * resource/nice.c: Likewise.
33492         * resource/setpriority.c: Likewise.
33493         * resource/setrlimit.c: Likewise.
33494         * resource/ulimit.c: Likewise.
33495         * rt/aio_cancel.c: Likewise.
33496         * rt/aio_fsync.c: Likewise.
33497         * rt/aio_read.c: Likewise.
33498         * rt/aio_sigqueue.c: Likewise.
33499         * rt/aio_suspend.c: Likewise.
33500         * rt/aio_write.c: Likewise.
33501         * rt/clock_getres.c: Likewise.
33502         * rt/clock_gettime.c: Likewise.
33503         * rt/clock_nanosleep.c: Likewise.
33504         * rt/clock_settime.c: Likewise.
33505         * rt/lio_listio.c: Likewise.
33506         * rt/mq_close.c: Likewise.
33507         * rt/mq_getattr.c: Likewise.
33508         * rt/mq_notify.c: Likewise.
33509         * rt/mq_open.c: Likewise.
33510         * rt/mq_receive.c: Likewise.
33511         * rt/mq_send.c: Likewise.
33512         * rt/mq_setattr.c: Likewise.
33513         * rt/mq_timedreceive.c: Likewise.
33514         * rt/mq_timedsend.c: Likewise.
33515         * rt/mq_unlink.c: Likewise.
33516         * rt/shm_open.c: Likewise.
33517         * rt/shm_unlink.c: Likewise.
33518         * rt/timer_create.c: Likewise.
33519         * rt/timer_delete.c: Likewise.
33520         * rt/timer_getoverr.c: Likewise.
33521         * rt/timer_gettime.c: Likewise.
33522         * rt/timer_settime.c: Likewise.
33523         * setjmp/__longjmp.c: Likewise.
33524         * setjmp/setjmp.c: Likewise.
33525         * signal/kill.c: Likewise.
33526         * signal/killpg.c: Likewise.
33527         * signal/raise.c: Likewise.
33528         * signal/sigaction.c: Likewise.
33529         * signal/sigaltstack.c: Likewise.
33530         * signal/sigblock.c: Likewise.
33531         * signal/sigignore.c: Likewise.
33532         * signal/sigintr.c: Likewise.
33533         * signal/signal.c: Likewise.
33534         * signal/sigpause.c: Likewise.
33535         * signal/sigpending.c: Likewise.
33536         * signal/sigqueue.c: Likewise.
33537         * signal/sigreturn.c: Likewise.
33538         * signal/sigset.c: Likewise.
33539         * signal/sigsetmask.c: Likewise.
33540         * signal/sigstack.c: Likewise.
33541         * signal/sigsuspend.c: Likewise.
33542         * signal/sigtimedwait.c: Likewise.
33543         * signal/sigvec.c: Likewise.
33544         * signal/sigwait.c: Likewise.
33545         * signal/sigwaitinfo.c: Likewise.
33546         * signal/sysv_signal.c: Likewise.
33547         * socket/accept.c: Likewise.
33548         * socket/accept4.c: Likewise.
33549         * socket/bind.c: Likewise.
33550         * socket/connect.c: Likewise.
33551         * socket/getpeername.c: Likewise.
33552         * socket/getsockname.c: Likewise.
33553         * socket/getsockopt.c: Likewise.
33554         * socket/isfdtype.c: Likewise.
33555         * socket/listen.c: Likewise.
33556         * socket/recv.c: Likewise.
33557         * socket/recvfrom.c: Likewise.
33558         * socket/recvmsg.c: Likewise.
33559         * socket/send.c: Likewise.
33560         * socket/sendmsg.c: Likewise.
33561         * socket/sendto.c: Likewise.
33562         * socket/setsockopt.c: Likewise.
33563         * socket/shutdown.c: Likewise.
33564         * socket/sockatmark.c: Likewise.
33565         * socket/socket.c: Likewise.
33566         * socket/socketpair.c: Likewise.
33567         * stdio-common/ctermid.c: Likewise.
33568         * stdio-common/cuserid.c: Likewise.
33569         * stdio-common/remove.c: Likewise.
33570         * stdio-common/rename.c: Likewise.
33571         * stdio-common/renameat.c: Likewise.
33572         * stdio-common/tempname.c: Likewise.
33573         * stdlib/getcontext.c: Likewise.
33574         * stdlib/makecontext.c: Likewise.
33575         * stdlib/setcontext.c: Likewise.
33576         * stdlib/swapcontext.c: Likewise.
33577         * stdlib/system.c: Likewise.
33578         * streams/fattach.c: Likewise.
33579         * streams/fdetach.c: Likewise.
33580         * streams/getmsg.c: Likewise.
33581         * streams/getpmsg.c: Likewise.
33582         * streams/putmsg.c: Likewise.
33583         * streams/putpmsg.c: Likewise.
33584         * sysdeps/unix/bsd/getpt.c: Likewise.
33585         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
33586         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
33587         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
33588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
33589         Likewise.
33590         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
33591         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
33592         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
33593         * sysvipc/msgctl.c: Likewise.
33594         * sysvipc/msgget.c: Likewise.
33595         * sysvipc/msgrcv.c: Likewise.
33596         * sysvipc/msgsnd.c: Likewise.
33597         * sysvipc/semctl.c: Likewise.
33598         * sysvipc/semget.c: Likewise.
33599         * sysvipc/semop.c: Likewise.
33600         * sysvipc/semtimedop.c: Likewise.
33601         * sysvipc/shmat.c: Likewise.
33602         * sysvipc/shmctl.c: Likewise.
33603         * sysvipc/shmdt.c: Likewise.
33604         * sysvipc/shmget.c: Likewise.
33605         * termios/tcdrain.c: Likewise.
33606         * termios/tcflow.c: Likewise.
33607         * termios/tcflush.c: Likewise.
33608         * termios/tcgetattr.c: Likewise.
33609         * termios/tcgetpgrp.c: Likewise.
33610         * termios/tcsendbrk.c: Likewise.
33611         * termios/tcsetattr.c: Likewise.
33612         * termios/tcsetpgrp.c: Likewise.
33613         * time/adjtime.c: Likewise.
33614         * time/clock.c: Likewise.
33615         * time/getitimer.c: Likewise.
33616         * time/gettimeofday.c: Likewise.
33617         * time/setitimer.c: Likewise.
33618         * time/settimeofday.c: Likewise.
33619         * time/stime.c: Likewise.
33620         * time/time.c: Likewise.
33622 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
33624         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
33625         /usr/old/bin.
33627         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
33628         instead of spaces.
33629         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
33631 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
33633         [BZ #14796]
33634         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
33635         FE_TONEAREST before applying Dekker multiplication and Knuth
33636         addition.  Clear inexact exceptions and check for exact zero
33637         results afterwards.
33638         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33639         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33640         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33641         * math/libm-test.inc (fma_test): Add more tests.
33642         (fma_test_towardzero): Likewise.
33643         (fma_test_downward): Likewise.
33644         (fma_test_upward): Likewise.
33645         * sysdeps/generic/math_private.h (default_libc_fesetround): New
33646         function.
33647         (libc_fesetround): New macro.
33648         (libc_fesetroundf): Likewise.
33649         (libc_fesetroundl): Likewise.
33650         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
33651         function.
33652         (libc_fesetround_387): Likewise.
33653         (libc_fesetroundf): New macro.
33654         (libc_fesetround): Likewise.
33655         (libc_fesetroundl): Likewise.
33656         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
33657         function.
33658         (libc_fesetroundf): New macro.
33659         (libc_fesetround): Likewise.
33660         (libc_fesetroundl): Likewise.
33661         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
33662         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
33663         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
33664         libm_hidden_ver.
33665         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
33666         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
33667         libm_hidden_def.
33668         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
33669         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
33670         libm_hidden_ver.
33671         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
33672         libm_hidden_def.
33674         [BZ #3439]
33675         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
33676         integer constant usable in #if and use that to give value to enum
33677         constant.
33678         (FE_DIVBYZERO): Likewise.
33679         (FE_UNDERFLOW): Likewise.
33680         (FE_OVERFLOW): Likewise.
33681         (FE_INVALID): Likewise.
33682         (FE_INVALID_SNAN): Likewise.
33683         (FE_INVALID_ISI): Likewise.
33684         (FE_INVALID_IDI): Likewise.
33685         (FE_INVALID_ZDZ): Likewise.
33686         (FE_INVALID_IMZ): Likewise.
33687         (FE_INVALID_COMPARE): Likewise.
33688         (FE_INVALID_SOFTWARE): Likewise.
33689         (FE_INVALID_SQRT): Likewise.
33690         (FE_INVALID_INTEGER_CONVERSION): Likewise.
33691         (FE_TONEAREST): Likewise.
33692         (FE_TOWARDZERO): Likewise.
33693         (FE_UPWARD): Likewise.
33694         (FE_DOWNWARD): Likewise.
33695         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
33696         (FE_DIVBYZERO): Likewise.
33697         (FE_OVERFLOW): Likewise.
33698         (FE_UNDERFLOW): Likewise.
33699         (FE_INEXACT): Likewise.
33700         (FE_TONEAREST): Likewise.
33701         (FE_DOWNWARD): Likewise.
33702         (FE_UPWARD): Likewise.
33703         (FE_TOWARDZERO): Likewise.
33704         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
33705         (FE_UNDERFLOW): Likewise.
33706         (FE_OVERFLOW): Likewise.
33707         (FE_DIVBYZERO): Likewise.
33708         (FE_INVALID): Likewise.
33709         (FE_TONEAREST): Likewise.
33710         (FE_TOWARDZERO): Likewise.
33711         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
33712         (FE_OVERFLOW): Likewise.
33713         (FE_UNDERFLOW): Likewise.
33714         (FE_DIVBYZERO): Likewise.
33715         (FE_INEXACT): Likewise.
33716         (FE_TONEAREST): Likewise.
33717         (FE_TOWARDZERO): Likewise.
33718         (FE_UPWARD): Likewise.
33719         (FE_DOWNWARD): Likewise.
33720         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
33721         (FE_DIVBYZERO): Likewise.
33722         (FE_OVERFLOW): Likewise.
33723         (FE_UNDERFLOW): Likewise.
33724         (FE_INEXACT): Likewise.
33725         (FE_TONEAREST): Likewise.
33726         (FE_DOWNWARD): Likewise.
33727         (FE_UPWARD): Likewise.
33728         (FE_TOWARDZERO): Likewise.
33730 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
33732         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
33734 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
33736         * scripts/cross-test-ssh.sh (command): Use newlines to separate
33737         commands.  Quote $PWD.
33738         (blacklist_exports): Don't use remove_newlines.  Replace "declare
33739         -x" by "export".
33740         (remove_newlines): Remove.
33742 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
33744         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
33745         * stdlib/stdlib.h (atof): Moved to ...
33746         * include/bits/stdlib-float.h: Here.  New file.
33747         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
33748         * stdlib/bits/stdlib-float.h: New file.
33749         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
33750         -mno-sse -mno-mmx.
33751         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
33752         <xmmintrin.h>.
33754 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
33756         * conform/conformtest.pl (@headers): Add fenv.h.
33757         * conform/data/fenv.h-data: New file.
33758         * include/fenv.h [_ISOMAC]: Disable all contents of file except
33759         include of <math/fenv.h>.
33761         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
33762         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
33763         && !UNIX98].  Enables tests for XOPEN2K8.
33764         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
33765         POSIX2008]: Likewise.
33767         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
33768         (struct rusage): Do not expect type or its members.
33770         [BZ #3439]
33771         * math/math.h (FP_NAN): Define macro to integer constant usable in
33772         #if and use that to give value to enum constant.
33773         (FP_INFINITE): Likewise.
33774         (FP_ZERO): Likewise.
33775         (FP_SUBNORMAL): Likewise.
33776         (FP_NORMAL): Likewise.
33778 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
33780         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
33781         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
33782         arguments.
33784 2012-11-02  Roland McGrath  <roland@hack.frob.com>
33786         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
33787         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
33788         autoconf-time if not.
33789         * configure.in: Remove AC_PREREQ.
33791 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33793         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
33794         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
33795         of the internal implementation.
33797 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
33799         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
33800         except include of <misc/sys/syslog.h>.
33802 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
33804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
33805         function returns with a NULL context exit with zero.
33807 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33809         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
33811 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
33813         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
33814         (run_program_cmd): This.
33815         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
33816         (tst_langinfo): New variable.  Use it.
33818 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
33820         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
33821         floating point opcodes.
33823 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
33825         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
33826         variable.
33828         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
33830         * sysdeps/mach/hurd/powerpc: Remove directory.
33831         * sysdeps/mach/powerpc: Likewise.
33833 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
33835         * scripts/check-local-headers.sh: Ignore c++ headers.
33837 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
33839         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
33840         __libc_cleanup_region_start argument.
33842 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
33844         [BZ #14784]
33845         [BZ #14785]
33846         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
33847         x * y using scaling, not as x * y + z.
33848         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33849         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33850         * math/libm-test.inc (fma_test): Add more tests.
33851         (fma_test_towardzero): Likewise.
33852         (fma_test_downward): Likewise.
33853         (fma_test_upward): Likewise.
33855 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
33857         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
33859 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
33861         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
33862         New variable.
33864 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
33866         * rt/tst-shm.c (worker): Correct checking for mmap failure.
33868 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
33870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33871         Fix sort order.
33872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33873         Likewise.
33875 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33878         Fix the order of the list for glibc 2.17.
33879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33880         Likewise.
33882 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
33884         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33886 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
33888         [BZ #14610]
33889         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
33890         for low part of x being zero before using __atanl (y).
33891         * math/libm-test.inc (atan2_test): Add another test.
33893         * manual/install.texi (Configuring and compiling): Document
33894         general use of test-wrapper and test-wrapper-env.
33895         * INSTALL: Regenerated.
33897         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
33898         (__fma): Do not extract and scale down low bits on after-rounding
33899         systems when result rounded to normal precision would have normal
33900         exponent.
33901         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
33902         (__fmal): Do not extract and scale down low bits on after-rounding
33903         systems when result rounded to normal precision would have normal
33904         exponent.
33905         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
33906         (__fmal): Do not extract and scale down low bits on after-rounding
33907         systems when result rounded to normal precision would have normal
33908         exponent.
33909         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
33910         macro.
33911         (fma_test): Add more tests.
33912         (fma_test_towardzero): Likewise.
33913         (fma_test_downward): Likewise.
33914         (fma_test_upward): Likewise.
33916 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
33918         * sysdeps/i386/tininess.h: Renamed to ...
33919         * sysdeps/x86/tininess.h: This.
33920         * sysdeps/x86_64/tininess.h: Removed.
33922 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
33924         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
33925         input.  Use $(build-program-cmd).
33926         ($(objpfx)tst-array1-static.out): Likewise.
33927         ($(objpfx)tst-array2.out): Likewise.
33928         ($(objpfx)tst-array3.out): Likewise.
33929         ($(objpfx)tst-array4.out): Likewise.
33930         ($(objpfx)tst-array5.out): Likewise.
33931         ($(objpfx)tst-array5-static.out): Likewise.
33933 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
33935         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
33936         if defined.
33938         * nss/nsswitch.h (nss_interface_function): Provide new
33939         macro for use with NSS functions.
33940         * grp/initgroups.c: Use new macro.
33941         * nss/getXXbyYY.c: Likewise.
33942         * nss/getXXbyYY_r.c: Likewise.
33943         * nss/getXXent.c: Likewise.
33944         * nss/getXXent_r.c: Likewise.
33945         * sysdeps/posix/getaddrinfo.c: Likewise.
33947 2012-10-30  Andreas Jaeger  <aj@suse.de>
33949         * po/ru.po: Update Russion translation from translation project.
33951 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
33953         [BZ #14152]
33954         [BZ #14783]
33955         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
33956         result and shift together with sticky bit instead of replicating
33957         round-to-nearest rounding.
33958         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33959         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33960         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
33961         missing underflow exceptions.
33962         (fma_test_towardzero): Add more tests.
33963         (fma_test_downward): Likewise.
33964         (fma_test_upward): Likewise.
33966         [BZ #14047]
33967         * sysdeps/generic/tininess.h: New file.
33968         * sysdeps/i386/tininess.h: Likewise.
33969         * sysdeps/sh/tininess.h: Likewise.
33970         * sysdeps/x86_64/tininess.h: Likewise.
33971         * stdlib/tst-strtod-underflow.c: Likewise.
33972         * stdlib/tst-tininess.c: Likewise.
33973         * stdlib/strtod_l.c: Include <tininess.h>.
33974         (round_and_return): Do not set errno for exact underflow cases.
33975         Force an underflow exception when setting errno for underflow.
33976         Determine underflow based on rounding to normal precision if
33977         TININESS_AFTER_ROUNDING.
33978         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
33979         ERANGE for exact underflow cases.
33980         * stdlib/Makefile (tests): Add tst-tininess and
33981         tst-strtod-underflow.
33982         ($(objpfx)tst-tininess): Use $(link-libm).
33983         ($(objpfx)tst-strtod-underflow): Likewise.
33985 2012-10-30  Andreas Jaeger  <aj@suse.de>
33987         [BZ#14767]
33988         * elf/Makefile (tests): Remove conditional for have-initfini-array
33989         since this is now always required and the variable does not exist
33990         anymore.
33991         (tests-static): Likewise.
33992         (modules-names): Likewise.
33994         * po/eo.po: Add Esperanto translation from translation project.
33996         * elf/tst-array1.c (fini_array): Make writeable so that it can be
33997         merged with constructor/destructor.
33998         (init_array): Likewise.
33999         * elf/tst-array2dep.c (fini_array): Likewise.
34000         (init_array): Likewise.
34002 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
34004         * manual/message.texi: Delete @cartouche tags.
34006 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
34008         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
34009         EOPNOTSUPP.
34010         * sysdeps/mach/hurd/fsync.c: Likewise.
34012         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
34013         [_POSIX_REALTIME_SIGNALS]: Change condition to
34014         [_POSIX_REALTIME_SIGNALS > 0].
34016 2012-10-27  Andreas Jaeger  <aj@suse.de>
34018         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
34019         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
34020         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
34021         [__WORDSIZE != 64]: Likewise.
34023 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
34025         *  iconvdata/tst-table.sh: Remove ${SHELL}.
34026         *  iconvdata/tst-tables.sh: Likewise.
34028 2012-10-25  David S. Miller  <davem@davemloft.net>
34030         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34031         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
34032         of strtoull.
34034         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
34035         ifunc-impl-list.c
34036         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34037         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
34038         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
34039         file.
34041 2012-10-25  Roland McGrath  <roland@hack.frob.com>
34043         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34044         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
34045         __getdirentries.
34047 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
34048             Jim Blandy  <jimb@codesourcery.com>
34050         * scripts/cross-test-ssh.sh: New file.
34051         * manual/install.texi (Configuring and compiling): Document use of
34052         cross-test-ssh.sh.
34053         * INSTALL: Regenerated.
34055 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
34057         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
34058         EOPNOTSUPP.
34060 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
34062         * Makeconfig (run-program-prefix): Fix comment.
34064 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
34065             Jim Blandy  <jimb@codesourcery.com>
34067         * Makeconfig (test-wrapper): New variable,
34068         (test-wrapper-env): Likewise.
34069         [$(cross-compiling) = yes && $(test-wrapper) != ""]
34070         (run-built-tests): Define to yes.
34071         (run-program-prefix): Use $(test-wrapper).
34072         (built-program-cmd): Likewise.
34073         * Rules (make-test-out): Use $(test-wrapper-env) and
34074         $(host-built-program-cmd).
34075         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
34076         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
34077         tst-pathopt.sh.
34078         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
34079         $(test-wrapper-env) to tst-rtld-load-self.sh.
34080         ($(objpfx)order2.out): Use $(test-wrapper).
34081         ($(objpfx)tst-initorder.out): Likewise.
34082         ($(objpfx)tst-initorder2.out): Likewise.
34083         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
34084         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
34085         (test_wrapper_env): New variable.  Use it to run ld.so.
34086         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
34087         Use it to run ld.so.
34088         (test_wrapper_env): Likewise.
34089         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
34090         $(test-wrapper) to run-iconv-test.sh.
34091         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
34092         (ICONV): Use $test_wrapper.
34093         * posix/Makefile ($(objpfx)globtest.out): Pass
34094         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
34095         globtest.sh, not $(run-program-prefix).
34096         * posix/globtest.sh (run_via_rtld_prefix): New variable.
34097         (test_wrapper): Likewise.
34098         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
34099         set together with run_via_rtld_prefix.
34100         (run_program_prefix): Define in terms of test_wrapper and
34101         run_via_rtld_prefix.
34103 2012-10-24  Roland McGrath  <roland@hack.frob.com>
34105         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
34106         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
34107         Targets removed.
34109         [BZ #14743]
34110         * include/time.h: Remove librt_hidden_proto (clock_gettime).
34111         Declare __clock_getres, __clock_gettime, __clock_settime,
34112         __clock_nanosleep, and __clock_getcpuclockid.
34113         * rt/clock_gettime.c: Define __clock_gettime as an alias.
34114         Remove librt_hidden_def (clock_gettime).
34115         * sysdeps/unix/clock_gettime.c: Likewise.
34116         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
34117         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
34118         * rt/clock_getres.c: Define __clock_getres as an alias.
34119         * sysdeps/posix/clock_getres.c: Likewise.
34120         * rt/clock_settime.c: Define __clock_settime as an alias.
34121         * sysdeps/unix/clock_settime.c: Likewise.
34122         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
34123         * sysdeps/unix/clock_nanosleep.c: Likewise.
34124         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
34125         * rt/clock-compat.c: New file.
34126         * rt/Makefile (librt-routines): Add clock-compat and move
34127         $(clock-routines) to ...
34128         (routines): ... here, new variable.
34129         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
34130         Don't add get_clockfreq here.
34131         * rt/Versions (libc: GLIBC_2.17): New version set.
34132         Add clock_* symbols here.
34133         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
34134         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
34135         (GLIBC_2.17): Add clock_* symbols.
34136         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
34137         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
34138         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34140         Likewise.
34141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34142         Likewise.
34143         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34144         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
34145         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
34146         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
34147         * NEWS: Mention the move.
34149         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
34150         Use __open, __read, __close rather than their public counterparts.
34151         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34152         (__get_clockfreq_via_cpuinfo): Likewise.
34153         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
34154         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
34156         * config.h.in (HAVE_IFUNC): New #undef.
34157         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
34158         was successful.
34159         * configure: Regenerated.
34161 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
34163         * configure.in: Move READELF check to start of file.
34164         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
34165         libc_cv_asm_gnu_indirect_function in the process.
34166         * configure: Regenerated.
34168 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
34170         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
34171         send the output to /dev/null.
34172         (libc_cv_cc_with_libunwind): Likewise.
34173         (libc_cv_as_noexecstack): Likewise.
34174         * configure: Regenerate.
34176 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
34178         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
34180         * posix/globtest.sh (TMPDIR): Do not set.
34181         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
34182         (testout): Likewise.
34184 2012-10-24  Andreas Jaeger  <aj@suse.de>
34186         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
34187         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
34188         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
34189         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
34190         posix_fadvise64, posix_fallocate64.
34192         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
34193         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
34194         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
34195         Likewise.
34196         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
34197         Likewise.
34198         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
34200         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
34201         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
34202         <bits/fcntl-linux.h>.
34203         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
34205         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
34206         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
34207         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
34208         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
34209         [__WORDSIZE != 64]: Likewise.
34211 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
34213         * Makeconfig (run-built-tests): New variable.
34214         * Rules [$(cross-compiling) = yes]: Change condition to
34215         [$(run-built-tests) = no].
34216         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
34217         to [$(run-built-tests) = yes].
34218         * elf/Makefile [$(cross-compiling) = no]: Likewise
34219         * grp/Makefile [$(cross-compiling) = no]: Likewise.
34220         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
34221         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
34222         * intl/Makefile [$(cross-compiling) = no]: Likewise.
34223         * io/Makefile [$(cross-compiling) = no]: Likewise.
34224         * libio/Makefile [$(cross-compiling) = no]: Likewise.
34225         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
34226         * misc/Makefile [$(cross-compiling) = no]: Likewise.
34227         * posix/Makefile [$(cross-compiling) = no]: Likewise.
34228         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
34229         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
34230         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
34231         * string/Makefile [$(cross-compiling) = no]: Likewise.
34233         * posix/Makefile ($(objpfx)globtest.out): Pass
34234         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
34235         $(rtld-installed-name).
34236         * posix/globtest.sh (elf_objpfx): Remove variable.
34237         (rtld_installed_name): Likewise.
34238         (library_path): Likewise.
34239         (run_program_prefix): New variable.  Use for running globtest
34240         binary.
34242 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
34243             Joseph Myers  <joseph@codesourcery.com>
34245         * Makeconfig (host-built-program-cmd): New variable.
34246         * elf/Makefile (tst-stackguard1-ARGS): Use
34247         $(host-built-program-cmd).
34248         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
34249         (tst-spawn-ARGS): Likewise.
34250         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
34252 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
34253             Jim Blandy  <jimb@codesourcery.com>
34255         * Makeconfig (run-via-rtld-prefix): New variable.
34256         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
34257         (built-program-cmd): Likewise.
34259 2012-10-22  Andreas Jaeger  <aj@suse.de>
34261         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
34262         __O_RSYNC if it exists, otherwise to O_SYNC.
34264 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
34265             Joseph Myers  <joseph@codesourcery.com>
34267         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
34268         /dev/null.
34269         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
34270         from /dev/null
34271         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
34272         /dev/null.
34274 2012-10-22  Andreas Jaeger  <aj@suse.de>
34276         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
34277         Define always.
34278         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
34280         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34281         bits/fcntl-linux.h.
34283         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
34284         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
34286         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
34287         to __O_LARGEFILE.
34288         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
34289         to __O_LARGEFILE.
34291 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
34292             Joseph Myers  <joseph@codesourcery.com>
34294         * config.make.in (NM): New variable.
34296 2012-10-21  Andreas Jaeger  <aj@suse.de>
34298         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
34299         definitions and declarations that are provided by
34300         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
34302 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
34304         [BZ #14683]
34305         * elf/Makefile (tests-static): Add tst-leaks1-static.
34306         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
34307         ($(objpfx)tst-leaks1-static): New rule.
34308         ($(objpfx)tst-leaks1-static-mem): Likewise.
34309         (tst-leaks1-static-ENV): New macro.
34310         * elf/dl-open.c (dl_open_worker): Check the main application
34311         only if SHARED is defined.
34312         * elf/tst-leaks1-static.c: New file.
34314 2012-10-20  Andreas Jaeger  <aj@suse.de>
34316         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
34317         generic values for Linux.
34318         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
34319         and declarations that are provided by <bits/fcntl-linux.h> and
34320         include <bits/fcntl-linux.h>.
34321         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34322         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34324 2012-10-20  Roland McGrath  <roland@hack.frob.com>
34326         * io/fcntl.h: Move include of <bits/types.h> to the top and
34327         include it unconditionally.
34329 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
34331         * wcsmbs/Makefile (tests-ifunc): New variable.
34332         (tests): Add $(tests-ifunc).
34333         * wcsmbs/test-wcschr-ifunc.c: New file.
34334         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
34335         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
34336         * wcsmbs/test-wcslen-ifunc.c: Likewise.
34337         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
34338         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
34340         * string/Makefile (tests-ifunc): New variable.
34341         (tests): Add $(tests-ifunc).
34342         * string/test-memccpy.c (TEST_NAME): New macro.
34343         * string/test-memchr.c (TEST_NAME): Likewise.
34344         * string/test-memcmp.c (TEST_NAME): Likewise.
34345         * string/test-memcpy.c (TEST_NAME): Likewise.
34346         * string/test-memmem.c (TEST_NAME): Likewise.
34347         * string/test-memmove.c (TEST_NAME): Likewise.
34348         * string/test-memset.c (TEST_NAME): Likewise.
34349         * string/test-rawmemchr.c (TEST_NAME): Likewise.
34350         * string/test-stpcpy.c (TEST_NAME): Likewise.
34351         * string/test-stpncpy.c (TEST_NAME): Likewise.
34352         * string/test-strcasecmp.c (TEST_NAME): Likewise.
34353         * string/test-strcasestr.c (TEST_NAME): Likewise.
34354         * string/test-strcat.c (TEST_NAME): Likewise.
34355         * string/test-strchr.c (TEST_NAME): Likewise.
34356         * string/test-strcmp.c(TEST_NAME): Likewise.
34357         * string/test-strcpy.c (TEST_NAME): Likewise.
34358         * string/test-strcspn.c (TEST_NAME): Likewise.
34359         * string/test-strlen.c (TEST_NAME): Likewise.
34360         * string/test-strncasecmp.c (TEST_NAME): Likewise.
34361         * string/test-strncmp.c (TEST_NAME): Likewise.
34362         * string/test-strncpy.c (TEST_NAME): Likewise.
34363         * string/test-strnlen.c (TEST_NAME): Likewise.
34364         * string/test-strpbrk.c (TEST_NAME): Likewise.
34365         * string/test-strrchr.c (TEST_NAME): Likewise.
34366         * string/test-strspn.c (TEST_NAME): Likewise.
34367         * string/test-strstr.c (TEST_NAME): Likewise.
34368         * string/test-bcopy-ifunc.c: New file.
34369         * string/test-bzero-ifunc.c: Likewise.
34370         * string/test-memccpy-ifunc.c: Likewise.
34371         * string/test-memchr-ifunc.c: Likewise.
34372         * string/test-memcmp-ifunc.c: Likewise.
34373         * string/test-memcpy-ifunc.c: Likewise.
34374         * string/test-memmem-ifunc.c: Likewise.
34375         * string/test-memmove-ifunc.c: Likewise.
34376         * string/test-mempcpy-ifunc.c: Likewise.
34377         * string/test-memset-ifunc.c: Likewise.
34378         * string/test-rawmemchr-ifunc.c: Likewise.
34379         * string/test-stpcpy-ifunc.c: Likewise.
34380         * string/test-stpncpy-ifunc.c: Likewise.
34381         * string/test-strcasecmp-ifunc.c: Likewise.
34382         * string/test-strcasestr-ifunc.c: Likewise.
34383         * string/test-strcat-ifunc.c: Likewise.
34384         * string/test-strchr-ifunc.c: Likewise.
34385         * string/test-strchrnul-ifunc.c: Likewise.
34386         * string/test-strcmp-ifunc.c: Likewise.
34387         * string/test-strcpy-ifunc.c: Likewise.
34388         * string/test-strcspn-ifunc.c: Likewise.
34389         * string/test-strlen-ifunc.c: Likewise.
34390         * string/test-strncasecmp-ifunc.c: Likewise.
34391         * string/test-strncat-ifunc.c: Likewise.
34392         * string/test-strncmp-ifunc.c: Likewise.
34393         * string/test-strncpy-ifunc.c: Likewise.
34394         * string/test-strnlen-ifunc.c: Likewise.
34395         * string/test-strpbrk-ifunc.c: Likewise.
34396         * string/test-strrchr-ifunc.c: Likewise.
34397         * string/test-strspn-ifunc.c: Likewise.
34398         * string/test-strstr-ifunc.c: Likewise.
34400         * debug/Makefile (tests-ifunc): New variable.
34401         (tests): Add $(tests-ifunc).
34402         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
34403         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
34404         * debug/test-stpcpy_chk-ifunc.c: New file.
34405         * debug/test-strcpy_chk-ifunc.c: Likewise.
34407 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
34409         [BZ #13601]
34410         * elf/dl-load.c (open_verify): Retry read if the entire ELF
34411         header is not read in.
34413 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
34415         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
34416         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
34417         directly.  Pass built executable to script as
34418         $(built-program-cmd).
34419         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
34420         $testprogram without using LD_LIBRARY_PATH and $ldso.
34422         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
34423         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
34424         $(rtld-installed-name).
34425         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
34426         (rtld_installed_name): Likewise.
34427         (library_path): Likewise.
34428         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
34429         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
34430         $(run-program-prefix) to tst-tables.sh.
34431         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
34432         it to run tst-table-from and tst-table-to.
34433         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
34434         Pass it to tst-table.sh.
34435         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
34436         $(run-program-prefix) to tst-gettext.sh.
34437         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
34438         tst-translit.sh.
34439         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
34440         tst-gettext2.sh.
34441         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
34442         to run tst-gettext.
34443         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
34444         to run tst-gettext2.
34445         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
34446         to run tst-translit.
34447         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
34448         $(run-program-prefix) to tst-mtrace.sh.
34449         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
34450         to run tst-mtrace.
34451         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
34452         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
34453         $(rtld-installed-name).
34454         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
34455         (rtld_installed_name): Likewise.
34456         (run_program_prefix): New variable.  Use it to run wordexp-test.
34458         * Makeconfig (ARCH): Remove all definitions.
34459         (machine): Likewise.
34460         [ARCH]: Remove conditional code.
34461         [!objdir]: Give error.
34462         [!objdir] (objpfx): Remove.
34463         [!objdir] (common-objpfx): Likewise.
34464         [!objdir] (common-objdir): Likewise.
34465         * configure.in (config_makefile): Remove.  Hardcode Makefile in
34466         AC_CONFIG_FILES call.
34467         * configure: Regenerated.
34469         [BZ #13888]
34470         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
34471         or TMPDIR.
34472         (testout): Likewise.
34474         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
34475         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
34476         $(rtld-installed-name).
34477         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
34478         (rtld_installed_name): Likwise.
34479         (runit): Remove function.
34480         (run_getconf): New variable,  Use it for running getconf binary.
34482 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
34484         [BZ #14716]
34485         * string/test-memmem.c (check_result): New function.
34486         (do_one_test): Use it.
34487         (check1): New function.
34488         (test_main): Use it.
34490 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
34492         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
34494 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
34496         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
34497         (_G_LSEEK64): Likewise.
34498         (_G_MMAP64): Likewise.
34499         (_G_FSTAT64): Likewise.
34500         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
34501         (_G_LSEEK64): Likewise.
34502         (_G_MMAP64): Likewise.
34503         (_G_FSTAT64): Likewise.
34504         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
34505         unconditional.  Call __mmap64 directly.
34506         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
34507         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
34508         __lseek64 directly.
34509         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
34510         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
34511         __mmap64 directly.
34512         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
34513         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
34514         __lseek64 directly.
34515         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
34516         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
34517         __lseek64 directly.
34518         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
34519         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
34520         __lseek64 directly.
34521         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
34522         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
34523         __fxstat64 directly.
34524         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
34525         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
34526         unconditional.
34527         (freopen64) [!_G_OPEN64]: Remove conditional code.
34528         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
34529         unconditional.
34530         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
34531         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
34532         unconditional.
34533         (ftello64) [!_G_LSEEK64]: Remove conditional code.
34534         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
34535         unconditional.
34536         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
34537         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
34538         unconditional.
34539         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
34540         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
34541         unconditional.
34542         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
34543         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
34544         unconditional.
34545         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
34546         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
34547         unconditional.
34548         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
34550 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
34552         [BZ #12140]
34553         * manual/memory.texi (Malloc Tunable Parameters): Add note
34554         about free list pointers overwriting some perturb bytes.
34555         Wording suggested by Roland McGrath.
34557 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
34559         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
34560         (lgamma_test): Likewise.
34561         (tgamma_test): Likewise.
34563 2012-10-16  Florian Weimer  <fweimer@redhat.com>
34565         [BZ #14700]
34566         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
34567         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
34569 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
34571         * NEWS: Mention BZ #14716.
34572         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
34573         when removing AVAILABLE1_USES_J macro.
34575 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
34577         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
34578         (__bswap_64): __uint64_t for unsigned 64-bit int.
34580 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
34582         * include/string.h (memmem): Declare libc hidden alias.
34583         * string/memmem.c (memmem): Define libc hidden alias.
34584         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
34585         __read, __close instead of open, read, close.
34587 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
34589         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
34590         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
34591         global and hidden.
34592         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
34593         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
34594         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
34595         Likewise.
34596         (__rawmemchr_sse2): Likewise.
34597         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
34598         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
34599         (__strchr_sse2): Likewise.
34600         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
34601         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
34602         (__strcasecmp_sse2): Likewise.
34603         (__strncasecmp_sse2): Likewise.
34604         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
34605         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
34606         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
34607         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
34608         (__strrchr_sse2): Likewise.
34609         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
34610         ifunc-impl-list.c.
34611         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
34612         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
34613         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
34614         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
34615         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
34616         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
34617         * sysdeps/x86_64/multiarch/memset.S: Likewise.
34618         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34619         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
34620         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
34621         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
34622         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
34623         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
34624         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
34625         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
34626         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
34627         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
34628         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
34629         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
34630         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
34631         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
34632         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
34633         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
34634         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
34635         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
34636         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34637         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
34638         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
34639         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
34640         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
34642         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
34643         global and hidden.
34644         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
34645         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
34646         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
34647         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
34648         Likewise.
34649         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
34650         Likewise.
34651         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
34652         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
34653         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
34654         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
34655         ifunc-impl-list.c.
34656         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34657         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34658         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34659         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34660         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34661         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34662         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34663         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34664         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34665         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34666         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34667         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34668         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34669         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
34670         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
34671         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34672         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
34673         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
34674         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34675         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
34676         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34677         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34678         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34679         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34680         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34681         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
34682         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
34683         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
34684         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
34685         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34686         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
34687         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34688         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34689         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
34690         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34691         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34692         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34693         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34694         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34695         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34696         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
34698         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
34699         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
34700         * include/ifunc-impl-list.h: New file.
34701         * misc/ifunc-impl-list.c: Likewise.
34702         * misc/Makefile (routines): Add ifunc-impl-list.
34703         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
34704         * string/test-string.h: Include <ifunc-impl-list.h>.
34705         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
34706         TEST_NAME]: New variables.
34707         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
34708         are defined.
34709         (test_init): Call __libc_ifunc_impl_list to initialize
34710         func_list if TEST_IFUNC and TEST_NAME are defined.
34712         * string/Makefile (strop-tests): Add bcopy and bzero.
34713         * string/test-bcopy.c: New file.
34714         * string/test-bzero.c: Likewise.
34715         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
34716         defined.
34717         * string/test-memset.c: Support bzero test if TEST_BZERO is
34718         defined.
34719         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
34720         __libc_memmove.
34721         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
34722         __libc_memset.
34723         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
34724         of memset.
34726 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
34728         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
34729         * configure: Regenerated.
34731         * Makeconfig (+link-static-before-libc): Don't include
34732         $(link-static-libc).
34734         * libio/libio.h (_IO_pos_t): Remove.
34736 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
34738         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
34739         McGrath.
34741 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
34743         * crypt/crypt-entry.c: Include fips-private.h.
34744         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
34745         * crypt/md5c-test.c (main): Tolerate disabled MD5.
34746         * sysdeps/unix/sysv/linux/fips-private.h: New file.
34747         * sysdeps/generic/fips-private.h: New file, dummy fallback.
34749 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
34751         * crypt/crypt-private.h: Include stdbool.h.
34752         (_ufc_setup_salt_r): Return bool.
34753         * crypt/crypt-entry.c: Include errno.h.
34754         (__crypt_r): Return NULL with EINVAL for bad salt.
34755         * crypt/crypt_util.c (bad_for_salt): New.
34756         (_ufc_setup_salt_r): Check that salt is long enough and within
34757         the specified alphabet.
34758         * crypt/badsalttest.c: New file.
34759         * crypt/Makefile (tests): Add it.
34760         ($(objpfx)badsalttest): New.
34762 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
34764         * NEWS: Add entry for BZ #14602.
34766 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
34768         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
34769         type-generic.
34770         * math/libm-test.inc: Update comment listing what functions and
34771         macros are tested.
34772         (isgreater_test): New function.
34773         (isgreaterequal_test): Likewise.
34774         (isless_test): Likewise.
34775         (islessequal_test): Likewise.
34776         (islessgreater_test): Likewise.
34777         (isunordered_test): Likewise.
34778         (main): Call the new functions.
34780 2012-10-09  Roland McGrath  <roland@hack.frob.com>
34782         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
34783         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
34784         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
34785         * sysdeps/i386/configure: Regenerated.
34786         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
34787         * sysdeps/mach/configure: Regenerated.
34788         * sysdeps/mach/hurd/configure: Regenerated.
34789         * sysdeps/powerpc/configure: Regenerated.
34790         * sysdeps/powerpc/powerpc32/configure: Regenerated.
34791         * sysdeps/powerpc/powerpc64/configure: Regenerated.
34792         * sysdeps/s390/s390-32/configure: Regenerated.
34793         * sysdeps/s390/s390-64/configure: Regenerated.
34794         * sysdeps/sh/configure: Regenerated.
34795         * sysdeps/sparc/configure: Regenerated.
34796         * sysdeps/unix/sysv/linux/configure: Regenerated.
34797         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
34798         * sysdeps/x86_64/configure: Regenerated.
34800         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
34801         defined.  Don't check if MAP is NULL.
34803 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
34805         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
34806         (_G_stat64): Likewise.
34807         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
34808         (_G_stat64): Likewise.
34809         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
34810         instead of struct _G_stat64.
34811         * libio/fileops.c (mmap_remap_check): Likewise.
34812         (decide_maybe_mmap): Likewise.
34813         (_IO_new_file_seekoff): Likewise.
34814         (_IO_file_stat): Likewise.
34815         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
34816         _G_off64_t.
34817         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
34818         instead of struct _G_stat64.
34819         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
34821 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
34823         [BZ #14602]
34824         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34825         Replace with ...
34826         (CHECK_EOL): New macro.
34827         (two_way_short_needle): Check beginning of haystack for EOL.  Use
34828         CHECK_EOL.
34829         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34830         Replace with CHECK_EOL.
34831         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34832         Replace with CHECK_EOL.
34834 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
34836         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
34837         type-generic.
34838         * math/libm-test.inc: Update comment listing what functions and
34839         macros are tested.
34840         (finite_test): New function.
34841         (isinf_test): Likewise.
34842         (isnan_test): Likewise.
34843         (fpclassify_test): Test subnormal input.
34844         (isfinite_test): Likewise.
34845         (isnormal_test): Likewise.
34846         (main): Call the new functions.
34848 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
34850         [BZ #14660]
34851         * Makerules (%.dynsym): Force C locale when running
34852         $(OBJDUMP) --dynamic-syms.
34854 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
34856         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
34857         <stdint.h>.
34859 2012-10-06  David S. Miller  <davem@davemloft.net>
34861         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
34862         upper 32-bits of the length value in %o2 since we use branch-on-register
34863         tests which consider the entire 64-bit register.
34865 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
34867         * string/test-strstr.c (check2): Add a test for page boundary.
34869 2012-10-05  David S. Miller  <davem@davemloft.net>
34871         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
34872         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
34873         file.
34874         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
34875         sysdep_routines.
34876         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
34877         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
34878         and bzero when HWCAP_SPARC_CRYPTO is present.
34880 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
34882         [BZ #14602]
34883         * string/test-strstr.c (check2): New function.
34884         (test_main): Call check2.
34886         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
34887         and bug-strchr1.
34888         * string/bug-strcasestr1.c (do_test): Moved to ...
34889         * string/test-strcasestr.c (check1): Here.  New function.
34890         (do_one_test): Break out result checking code into ...
34891         (check_result): This.  New function.
34892         (do_one_test): Call check_result.
34893         (test_main): Call check1.
34894         * string/bug-strchr1.c (do_test): Moved to ...
34895         * string/test-strchr.c (check1): Here.  New function.
34896         (do_one_test): Break out result checking code into ...
34897         (check_result): This.  New function.
34898         (do_one_test): Call check_result.
34899         (test_main): Call check1.
34900         * string/bug-strstr1.c (main): Moved to ...
34901         * string/test-strstr.c (check1): Here.  New function.
34902         (do_one_test): Break out result checking code into ...
34903         (check_result): This.  New function.
34904         (do_one_test): Call check_result.
34905         (test_main): Call check1.
34906         * string/bug-strcasestr1.c: Removed.
34907         * string/bug-strchr1.c: Likewise.
34908         * string/bug-strstr1.c: Likewise.
34910         * elf/Makefile (dl-routines): Add hwcaps.
34911         * elf/dl-support.c (_dl_important_hwcaps): Removed.
34912         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
34913         (_dl_important_hwcaps): Moved to ...
34914         * elf/dl-hwcaps.c: Here.  New file.
34915         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
34917         [BZ #14557]
34918         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
34919         if IS_IN_rtld isn't defined.
34921         * elf/dl-support.c (_dl_sysinfo_map): New.
34922         Include "get-dynamic-info.h" and "setup-vdso.h".
34923         (_dl_non_dynamic_init): Call setup_vdso.
34924         * elf/dynamic-link.h: Don't include <assert.h>.
34925         (elf_get_dynamic_info): Moved to ...
34926         * elf/get-dynamic-info.h: Here.  New file.
34927         * elf/dynamic-link.h: Include "get-dynamic-info.h".
34928         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
34929         * elf/setup-vdso.h: Here.  New file.
34930         * elf/rtld.c: Include "setup-vdso.h".
34931         (dl_main): Call setup_vdso.
34933 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
34935         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
34936         creal in comment listing functions tested.  List finite, isinf,
34937         isnan, isless, islessequal, isgreater, isgreaterequal,
34938         islessgreater, isunordered, lgamma_r and pow10 as functions and
34939         macros not tested.  Mention which functions not tested are aliases
34940         for other functions.  Fix typo.  Note that signs of NaNs are not
34941         tested.
34943         * scripts/config.guess: Update from config.git.
34944         * scripts/config.sub: Likewise.
34946 2012-10-04  Roland McGrath  <roland@hack.frob.com>
34948         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
34949         * misc/madvise.c (madvise): Renamed to __madvise.
34950         Make madvise a weak alias.
34951         * include/sys/mman.h: Declare __madvise.
34952         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
34953         * sysdeps/unix/syscalls.list
34954         (madvise): Make __madvise the strong name, and madvise a weak alias.
34955         * sysdeps/unix/sysv/linux/syscalls.list
34956         (madvise, mmap): Remove redundant entries.
34957         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
34958         * malloc/malloc.c (mtrim): Likewise.
34959         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
34961 2012-10-03  Roland McGrath  <roland@hack.frob.com>
34963         * sysdeps/mach/hurd/dl-cache.c: File removed.
34964         * config.h.in (USE_LDCONFIG): New #undef.
34965         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
34966         * configure: Regenerated.
34967         * elf/Makefile (dl-routines): Add dl-cache only under
34968         [$(use-ldconfig) = yes].
34969         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
34970         cache on [USE_LDCONFIG].
34971         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
34972         [USE_LDCONFIG].
34973         * elf/rtld.c (dl_main): Likewise.
34975 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
34977         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
34978         _SC_LEVEL4_CACHE_LINESIZE.
34980 2012-10-03  Roland McGrath  <roland@hack.frob.com>
34982         * sysdeps/unix/bsd/confstr.h: File removed.
34984 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
34986         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
34987         sys/sdt-config.h.
34989 2012-10-02  Roland McGrath  <roland@hack.frob.com>
34991         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
34992         Make 'mapoff' field ElfW(Off) rather than off_t.
34994 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
34996         * nscd/Makefile: Remove nscd-cflags and all its users.
34997         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
34998         (CFLAGS-nonlib): Add compiler flags for nscd modules.
35000         [BZ #10631]
35001         * malloc.c (malloc_printerr): Clarify error message.
35003 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
35005         [BZ #14648]
35006         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35007         Set bit_FMA_Usable if FMA is supported.
35008         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
35009         macro.
35010         (bit_FMA4_Usable): Updated.
35011         (index_FMA_Usable): New macro.
35012         (CPUID_FMA): Likewise
35013         (HAS_FMA): Defined with bit_FMA_Usable.
35015 2012-10-01  Roland McGrath  <roland@hack.frob.com>
35017         * bits/types.h (__swblk_t): Type removed.
35018         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
35019         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
35020         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35021         (__SWBLK_T_TYPE): Likewise.
35022         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35023         (__SWBLK_T_TYPE): Likewise.
35024         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35025         (__SWBLK_T_TYPE): Likewise.
35026         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35027         (__SWBLK_T_TYPE): Likewise.
35029 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
35030             Honza Horak <hhorak@redhat.com>
35032         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
35033         (xdr_mapname): Use YPMAXMAP as maxsize.
35034         (xdr_peername): Use YPMAXPEER as maxsize.
35035         (xdr_keydat): Use YPAXRECORD as maxsize.
35036         (xdr_valdat): Use YPMAXRECORD as maxsize.
35038 2012-10-01  Roland McGrath  <roland@hack.frob.com>
35040         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
35042         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
35043         * csu/init-first.c: ... here.
35044         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
35045         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
35046         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
35047         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
35048         * sysdeps/i386/init-first.c: File removed.
35049         * sysdeps/sh/init-first.c: File removed.
35051 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
35053         [BZ #14645]
35054         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
35055         if x * y might underflow to zero and z is zero.
35056         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35057         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35058         * math/libm-test.inc (min_subnorm_value): New variable.
35059         (fma_test): Add more tests.
35060         (fma_test_towardzero): Likewise.
35061         (fma_test_downward): Likewise
35062         (fma_test_upward): Likewise.
35063         (initialize): Set min_subnorm_value.
35065 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
35067         [BZ #14638]
35068         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
35069         0 + 0.
35070         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
35071         mode for addition resulting in exact zero.
35072         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
35073         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
35074         exact 0 + 0.
35075         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35076         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35077         * math/libm-test.inc (fma_test): Add more tests.
35078         (fma_test_towardzero): New function.
35079         (fma_test_downward): Likewise.
35080         (fma_test_upward): Likewise.
35081         (main): Call the new functions.
35083 2012-09-28  David S. Miller  <davem@davemloft.net>
35085         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
35087 2012-09-28  Roland McGrath  <roland@hack.frob.com>
35089         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
35090         instead of SIGALRM.
35092         * sysdeps/gnu/_G_config.h: Moved to ...
35093         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
35094         * sysdeps/mach/hurd/_G_config.h: Moved to ...
35095         * sysdeps/generic/_G_config.h: ... here.
35097         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
35099         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
35101         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
35102         Conditionalize target on [libnss_test1.so-version].
35104         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
35106         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
35107         (elfobjdir): Move out of conditionals.
35109         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
35110         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
35111         (__nss_lookup_function): Conditionalize label remove_from_tree on
35112         [!DO_STATIC_NSS || SHARED], matching its only use.
35114 2012-09-28  David S. Miller  <davem@davemloft.net>
35116         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
35117         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
35118         file.
35119         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
35120         sysdep_routines.
35121         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
35122         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
35123         when HWCAP_SPARC_CRYPTO is present.
35125 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
35127         * io/tst-mknodat.c: Create a FIFO instead of a socket.
35129 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
35131         [BZ #6530]
35132         * stdio-common/vfprintf.c (process_string_arg): Revert
35133         2000-07-22 change.
35135 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
35137         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
35138         for testcase.
35139         * stdio-common/tst-sprintf.c: Include <locale.h>
35140         (main): Test sprintf's handling of incomplete multibyte
35141         characters.
35143 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
35145         * elf/dl-runtime.c (VERSYMIDX): Removed.
35146         * elf/dl-version.c (VERSYMIDX): Likewise.
35147         * elf/do-rel.h (VERSYMIDX): Likewise.
35148         (VALIDX): Likewise.
35149         * elf/dynamic-link.h (VERSYMIDX): Likewise.
35150         * elf/rtld.c (VALIDX): Likewise.
35151         (ADDRIDX): Likewise.
35152         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
35153         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
35154         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
35155         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
35156         (VALIDX): Likewise.
35157         (ADDRIDX): Likewise.
35159 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
35161         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
35163 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
35165         [BZ #11438]
35166         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
35167         to global scope.
35168         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
35169         addresses are in the same scope as 192.0.2/24.
35170         * posix/gai.conf: Document new scope table defaults.
35172 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35174         [BZ #5298]
35175         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
35176         for ftell.  Compute offsets from write pointers instead.
35177         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
35179 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35181         [BZ #14543]
35182         * libio/Makefile (tests): New test case tst-fseek.
35183         * libio/tst-fseek.c: New test case to verify that fseek/ftell
35184         combination works in wide mode.
35185         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
35186         state when the external buffer state changes.
35188 2012-09-27  David S. Miller  <davem@davemloft.net>
35190         [BZ #14376]
35191         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
35192         pass reloc->r_addend in as the 'high' argument to
35193         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
35195         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35197 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
35199         * rt/tst-aio2.c: Include <pthread.h>.
35200         * rt/tst-aio3.c: Likewise.
35202 2012-09-27  Steve Ellcey  <sellcey@mips.com>
35204         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
35206 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
35208         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
35209         contents on [SHARED].
35211 2012-09-26  Marek Polacek  <polacek@redhat.com>
35213         [BZ #14530]
35214         [BZ #13741]
35215         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
35216         for C++ and GCC <4.3 as well as for non GCC compilers.
35218 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
35220         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35222 2012-09-25  Roland McGrath  <roland@hack.frob.com>
35224         * Makefile.in (all, install): Declare with .PHONY.
35225         Reported by Michael Hope <michael.hope@linaro.org>.
35227 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35229         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
35230         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
35231         system header.
35232         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
35233         Likewise.
35234         (sydep_routines): Add the new and the internal functions.
35235         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
35236         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
35237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
35238         (GLIBC_2.17): Add the new function.
35239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
35240         (GLIBC_2.17): Likewise.
35241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
35242         (GLIBC_2.17): Likewise.
35243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
35244         (GLIBC_2.17): Likewise.
35245         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
35247 2012-09-25  Alan Modra  <amodra@gmail.com>
35249         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
35250         Add release barrier before setting once_control to say
35251         initialisation is done.  Add hints on lwarx.  Use macro in
35252         place of isync.
35253         (clear_once_control): Add release barrier.
35255 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
35257         [BZ #13629]
35258         * math/s_clog.c (__clog): Handle more values close to |z| = 1
35259         specially.
35260         * math/s_clog10.c (__clog10): Likewise.
35261         * math/s_clog10f.c (__clog10f): Likewise.
35262         * math/s_clog10l.c (__clog10l): Likewise.
35263         * math/s_clogf.c (__clogf): Likewise.
35264         * math/s_clogl.c (__clogl): Likewise.
35265         * math/Makefile (libm-calls): Add x2y2m1.
35266         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
35267         (__x2y2m1): Likewise.
35268         (__x2y2m1l): Likewise.
35269         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
35270         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
35271         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
35272         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
35273         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
35274         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
35275         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
35276         * sysdeps/i386/fpu/libm-test-ulps: Update.
35277         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35279         [BZ #14621]
35280         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
35281         int as type of variable DEPTH.
35282         (glob): Use size_t instead of int as type of variables NEWCOUNT
35283         and OLD_PATHC.
35285 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35287         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
35288         Add s_sincosf-sse2.
35289         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
35290         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
35291         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
35292         macros for using routine as __sincosf_ia32.
35293         Use macro for function declaration and weak_alias.
35294         * sysdeps/i386/fpu/libm-test-ulps: Update.
35296         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
35297         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35299         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
35300         subnormal argument.
35301         * math/s_cexpf.c (__cexpf): Likewise.
35302         * math/s_csinf.c (__csinf): Likewise.
35303         * math/s_csinhf.c (__csinhf): Likewise.
35304         * math/s_ctanf.c (__ctanf): Likewise.
35305         * math/s_ctanhf.c (__ctanhf): Likewise.
35306         * math/s_ccosh.c (__ccoshf): Likewise.
35307         * math/s_cexp.c (__cexpl): Likewise.
35308         * math/s_csin.c (__csin): Likewise.
35309         * math/s_csinh.c (__csinh): Likewise.
35310         * math/s_ctan.c (__ctan): Likewise.
35311         * math/s_ctanh.c (ctanh): Likewise.
35312         * math/s_ccoshl.c (__ccoshl): Likewise.
35313         * math/s_cexpl.c (__cexpl): Likewise.
35314         * math/s_csinl.c (__csinl): Likewise.
35315         * math/s_csinhl.c (__csinhl): Likewise.
35316         * math/s_ctanl.c (__ctanl): Likewise.
35317         * math/s_ctanhl.c (__ctanhl): Likewise.
35319 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
35321         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
35322         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
35323         (_IO_off_t): Define to __off_t, not _G_off_t.
35324         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
35325         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
35326         (_IO_wint_t): Define to wint_t, not _G_wint_t.
35327         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
35328         type of __dummy and __dummy2 fields.
35329         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
35330         (_G_ssize_t): Likewise.
35331         (_G_off_t): Likewise.
35332         (_G_pid_t): Likewise.
35333         (_G_uid_t): Likewise.
35334         (_G_wchar_t): Likewise.
35335         (_G_wint_t): Likewise.
35336         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
35337         (_G_ssize_t): Likewise.
35338         (_G_off_t): Likewise.
35339         (_G_pid_t): Likewise.
35340         (_G_uid_t): Likewise.
35341         (_G_wchar_t): Likewise.
35342         (_G_wint_t): Likewise.
35343         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
35344         (_G_ssize_t): Likewise.
35345         (_G_off_t): Likewise.
35346         (_G_pid_t): Likewise.
35347         (_G_uid_t): Likewise.
35348         (_G_wchar_t): Likewise.
35349         (_G_wint_t): Likewise.
35351 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
35353         * malloc/arena.c: Include malloc-sysdep.h.
35354         (shrink_heap): Use check_may_shrink_heap to decide if madvise
35355         is sufficient to shrink the heap or an unmap is needed.
35356         * sysdeps/generic/malloc-sysdep.h: New file.  Define
35357         new function check_may_shrink_heap.
35358         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
35359         new function check_may_shrink_heap.
35361 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
35363         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
35364         comments.
35366 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
35368         * catgets/test-gencat.sh: Add "set -e".
35369         * elf/tst-pathopt.sh: Likewise.
35370         * grp/tst_fgetgrent.sh: Likewise.
35371         * iconvdata/run-iconv-test.sh: Likewise.
35372         * intl/tst-gettext.sh: Likewise.
35373         * intl/tst-gettext2.sh: Likewise.
35374         * intl/tst-gettext4.sh: Likewise.
35375         * intl/tst-gettext6.sh: Likewise.
35376         * intl/tst-translit.sh: Likewise.
35377         * io/ftwtest-sh: Likewise.
35378         * libio/test-freopen.sh: Likewise.
35379         * malloc/tst-mtrace.sh: Likewise.
35380         * posix/globtest.sh: Likewise.
35381         * posix/tst-getconf.sh: Likewise.
35382         * posix/wordexp-tst.sh: Likewise.
35383         * stdio-common/tst-printf.sh: Likewise.
35384         * stdio-common/tst-unbputc.sh: Likewise.
35385         * stdlib/tst-fmtmsg.sh: Likewise.
35386         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
35387         * catgets/Makefile: Do not specify -e option when running
35388         testsuite shell scripts.
35389         * elf/Makefile: Likewise.
35390         * grp/Makefile: Likewise.
35391         * iconvdata/Makefile: Likewise.
35392         * intl/Makefile: Likewise.
35393         * io/Makefile: Likewise.
35394         * libio/Makefile: Likewise.
35395         * malloc/Makefile: Likewise.
35396         * posix/Makefile: Likewise.
35397         * stdio-common/Makefile: Likewise.
35398         * stdlib/Makefile: Likewise.
35399         * sysdeps/x86_64/Makefile: Likewise.
35401         * io/ftwtest-sh: Add copyright header.
35402         * posix/globtest.sh: Likewise.
35403         * posix/tst-getconf.sh: Likewise.
35404         * posix/wordexp-tst.sh: Likewise.
35405         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
35407 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
35409         [BZ #13679]
35410         * Makeconfig (+link): Defined as $(+link-static) if
35411         $(build-shared) isn't yes.
35412         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
35413         isn't yes.
35414         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
35416         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
35418         [BZ #14562]
35419         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
35420         new chunk size with MALLOC_ALIGN_MASK.
35422 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
35424         [BZ #5044]
35425         * stdio-common/printf_fphex.c: Include <stdbool.h> and
35426         <rounding-mode.h>.
35427         (__printf_fphex): Determine rounding using get_rounding_mode and
35428         round_away.
35429         * stdio-common/tst-printf-round.c (struct hex_test): New
35430         structure.
35431         (hex_tests): New variable.
35432         (test_hex_in_one_mode): New function.
35433         (do_test): Also run tests for hex float output.
35435 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
35437         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
35438         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
35439         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
35440         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
35441         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
35442         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
35443         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
35444         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
35446 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
35448         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
35449         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
35450         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
35451         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
35453 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
35455         [BZ #14579]
35456         * elf/rtld.c (dl_main): Limit the check for self loading to normal
35457         mode only.
35458         * elf/tst-rtld-load-self.sh: New test.
35459         * elf/Makefile: Run it.
35461 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
35463         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
35464         (tst-writev-ENV): Remove.
35465         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
35467 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
35469         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
35471 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
35473         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
35474         unconditional.
35475         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
35476         Likewise.
35477         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
35478         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
35479         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
35480         Likewise.
35482 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
35484         [BZ #14587]
35485         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
35486         * config.make.in (have-cpp-asm-debuginfo): Removed.
35487         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
35488         * configure: Regenerated.
35490 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
35492         [BZ #5044]
35493         * stdio-common/printf_fp.c: Include <stdbool.h> and
35494         <rounding-mode.h>.
35495         (___printf_fp): Determine rounding using get_rounding_mode and
35496         round_away.
35497         * stdio-common/tst-printf-round.c: New file.
35498         * stdio-common/Makefile (tests): Add tst-printf-round.
35499         (link-libm): New variable.
35500         ($(objpfx)tst-printf-round): Depend in $(link-libm).
35502 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
35504         [BZ #14576]
35505         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
35506         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
35507         Likewise.
35508         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
35509         Likewise.
35511 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
35513         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
35514         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35515         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35516         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35518 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
35520         [BZ #14518]
35521         * include/rounding-mode.h: New file.
35522         * sysdeps/generic/get-rounding-mode.h: Likewise.
35523         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
35524         * stdlib/strtod_l.c: Include <rounding-mode.h>.
35525         (MAX_VALUE): New macro.
35526         (MIN_VALUE): Likewise.
35527         (overflow_value): New function.
35528         (underflow_value): Likewise.
35529         (round_and_return): Use overflow_value and underflow_value to
35530         determine return values in overflow and underflow cases.  Use
35531         round_away to determine rounding depending on rounding mode.
35532         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
35533         determine return values in overflow and underflow cases.
35534         * stdlib/tst-strtod-round.c: Include <fenv.h>.
35535         (struct test_results): New structure.
35536         (struct test): Use struct test_results to store expected results
35537         for all rounding modes.
35538         (TEST): Include expected results for all rounding modes.
35539         (test_in_one_mode): New function.
35540         (do_test): Use test_in_one_mode to compute and check results.
35541         Check results for all rounding modes.
35542         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
35543         $(link-libm).
35545 2012-12-09  Allan McRae  <allan@archlinux.org>
35547         * sysdeps/i386/fpu/libm-test-ulps: Update
35549 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
35551         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
35552         (_G_int32_t): Likewise.
35553         (_G_uint16_t): Likewise.
35554         (_G_uint32_t): Likewise.
35555         (_G_HAVE_BOOL): Likewise.
35556         (_G_HAVE_ATEXIT): Likewise.
35557         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35558         (_G_HAVE_IO_FILE_OPEN): Likewise.
35559         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
35560         (_G_int32_t): Likewise.
35561         (_G_uint16_t): Likewise.
35562         (_G_uint32_t): Likewise.
35563         (_G_HAVE_BOOL): Likewise.
35564         (_G_HAVE_ATEXIT): Likewise.
35565         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35566         (_G_HAVE_IO_FILE_OPEN): Likewise.
35567         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
35568         (_G_int32_t): Likewise.
35569         (_G_uint16_t): Likewise.
35570         (_G_uint32_t): Likewise.
35571         (_G_HAVE_BOOL): Likewise.
35572         (_G_HAVE_ATEXIT): Likewise.
35573         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35574         (_G_HAVE_IO_FILE_OPEN): Likewise.
35576 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
35578         * csu/libc-tls.c: Update copyright years.
35580 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
35582         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
35583         [!_G_USING_THUNKS]: Remove conditional code.
35584         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
35585         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
35587         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
35588         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
35589         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35590         (_G_VTABLE_LABEL_PREFIX): Likewise.
35591         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35592         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35593         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35594         (_G_VTABLE_LABEL_PREFIX): Likewise.
35595         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
35596         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35597         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35598         (_G_VTABLE_LABEL_PREFIX): Likewise.
35599         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
35601 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
35603         * libio/Makefile: Include ../Makeconfig before tests.
35604         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
35605         only if $(build-shared) is yes.
35607         * iconv/gconv_db.c: Update copyright years.
35609 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35611         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
35612         unwind info if defined PIC. Fix special cases description.
35613         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
35615         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
35616         DP_HI_MASK entry.
35617         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
35619 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
35621         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
35623         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
35624         is NULL.
35626         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
35627         (LDLIBS-tst-chk4): This.
35628         (LDFLAGS-tst-chk5): Renamed to ...
35629         (LDLIBS-tst-chk5): This.
35630         (LDFLAGS-tst-chk6): Renamed to ...
35631         (LDLIBS-tst-chk6): This.
35632         (LDFLAGS-tst-lfschk4): Renamed to ...
35633         (LDLIBS-tst-lfschk4): This.
35634         (LDFLAGS-tst-lfschk5): Renamed to ...
35635         (LDLIBS-tst-lfschk5): This.
35636         (LDFLAGS-tst-lfschk6): Renamed to ...
35637         (LDLIBS-tst-lfschk6): This.
35639         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
35640         on $(common-objpfx)soversions.mk.
35642 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
35644         [BZ #10014]
35645         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
35646         example host name.
35648 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
35650         * malloc/arena.c (arena_get_retry): New function that gets
35651         another arena for the caller to try its request on.
35652         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
35653         current arena cannot fulfill the request.
35654         (__libc_memalign): Likewise.
35655         (__libc_memalign): Likewise.
35656         (__libc_pvalloc): Likewise.
35657         (__libc_calloc): Likewise.
35659 2012-09-05  John Tobey  <john.tobey@gmail.com>
35661         [BZ #13542]
35662         * manual/arith.texi (Operations on Complex): Fix description
35663         of carg branch cut.
35665 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
35667         [BZ #10014]
35668         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
35669         host name.
35671         [BZ #10038]
35672         * manual/memory.texi (Memory): Make order of menu items match
35673         order of sections.
35675 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
35677         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
35678         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
35679         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
35681 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
35683         * csu/libc-tls.c (static_dtv): Renamed to ...
35684         (_dl_static_dtv): This.  Make it global.
35685         (_dl_initial_dtv): Removed.
35686         (__libc_setup_tls): Updated.
35687         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
35688         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
35689         DL_INITIAL_DTV.
35691 2012-09-06  Petr Machata  <pmachata@redhat.com>
35693         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
35694         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
35695         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
35696         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
35698 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
35700         [BZ #14545]
35701         * csu/libc-tls.c (_dl_initial_dtv): New variable.
35702         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
35703         freeing dtv[-1].
35705 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
35707         [BZ #14544]
35708         * Makeconfig (link-static-before-libc): Replace $(+prector)
35709         with $(+prectorT).
35710         (link-static-after-libc): Replace $(+postctor) with
35711         $(+postctorT).
35712         (link-bounded): Replace $(+prector)/$(+postctor) with
35713         $(+prectorT)/$(+postctorT).
35714         (+prectorT): New macro.
35715         (+postctorT): Likewise.
35717 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
35719         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
35720         (round_str): Handle values above the maximum for IBM long double
35721         as inexact.
35722         * stdlib/tst-strtod-round.c (tests): Regenerated.
35724 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35726         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
35727         assembler flag.
35728         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
35729         zarch_nohighgprs around the zarch optimized routines.
35730         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
35731         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
35732         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
35733         for zarch.
35735 2012-09-05  David S. Miller  <davem@davemloft.net>
35737         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35739         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
35740         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
35741         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
35742         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
35743         entries.
35745 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35747         * malloc/arena.c: Fold copyright years.
35748         * malloc/mcheck.c, malloc/memusage.c: Likewise.
35750 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35752         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
35754 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35756         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
35758 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35760         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
35761         change internal state upon failure.
35763 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35765         * malloc/mcheck.c (mcheck_check_all): Fix typo.
35766         * malloc/memusage.c (mmap): Likewise.
35767         (mmap64, mremap): Likewise.  Adjust name in comment.
35769 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
35771         * libio/fileops.c: Fix typos in comments.
35772         * libio/oldfileops.c: Likewise.
35773         * libio/wfileops.c: Likewise.
35775 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
35777         [BZ #1349]
35778         * malloc/Makefile (tests): Add tst-malloc-usable test case.
35779         (tst-malloc-usable-ENV): Set environment for test case.
35780         * malloc/hooks.c (malloc_check_get_size): New function to get
35781         requested size.
35782         * malloc/malloc.c (musable): Use malloc_check_get_size.
35783         * malloc/tst-malloc-usable.c: New test case.
35785 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
35787         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
35789 2012-09-05  Allan McRae  <allan@archlinux.org>
35791         [BZ #13966]
35792         * configure.in (CXX_SYSINCLUDES): Use compiler output to
35793         determine header location.
35794         * configure: Regenerated.
35796 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
35798         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
35799         float format.
35800         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
35801         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
35802         format.
35803         (test): Regenerate.
35805 2012-09-04  David S. Miller  <davem@davemloft.net>
35807         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
35808         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
35809         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
35811 2012-09-04  Florian Weimer  <fweimer@redhat.com>
35813         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
35814         failures.
35816         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
35818 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
35820         [BZ #9914]
35821         * libio/iogetdelim.c: Include <limits.h>.
35822         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
35823         + len + 1 would overflow.
35825 2012-09-03  Andreas Jaeger  <aj@suse.de>
35827         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35828         * sysdeps/i386/fpu/libm-test-ulps: Update.
35830 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35832         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
35833         Add s_sinf-sse2, s_conf-sse2.
35835         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
35836         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
35837         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
35838         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
35840         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
35841         for using routine as __sinf_ia32.
35842         Use macro for function declaration and weak_alias.
35843         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
35844         for using routine as __cosf_ia32.
35845         Use macro for function declaration and weak_alias.
35847         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
35848         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
35850         * sysdeps/x86_64/fpu/s_sinf.S: New file.
35851         * sysdeps/x86_64/fpu/s_cosf.S: New file.
35852         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35854         * math/libm-test.inc (cos_test): Add more test cases.
35855         (sin_test): Likewise.
35856         (sincos_test): Likewise.
35858 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35860         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
35861         (IFUNC_RESOLVE): Make pointers to the specialized implementations
35862         hidden.
35863         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
35865 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
35867         [BZ #14538]
35868         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
35869         first element of the GOT.
35870         (elf_machine_load_address): Return the difference between
35871         the runtime address of _DYNAMIC and elf_machine_dynamic ().
35873 2012-09-01  Allan McRae  <allan@archlinux.org>
35875         [BZ #13412]
35876         * configure.in (AWK): Require gawk version 3.0 or later.
35877         * configure: Regenerated.
35879 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
35881         * sysdeps/unix/sysv/linux/kernel-features.h
35882         (__ASSUME_POSIX_CPU_TIMERS): Remove.
35883         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
35884         [__NR_clock_getres]: Make code unconditional.
35885         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
35886         (clock_getcpuclockid): Remove code left unreachable by removal of
35887         conditionals.
35888         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
35889         code unconditional.
35890         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
35891         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35892         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
35893         Make code unconditional.
35894         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
35895         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35896         * sysdeps/unix/sysv/linux/clock_settime.c
35897         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
35898         conditional code.
35899         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
35900         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35902 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
35904         [BZ #14476]
35905         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
35906         scripts/test-installation.pl.
35908         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
35909         and $ld_so_version if it is set.
35911 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
35913         [BZ #14516]
35914         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
35915         failure if reading from procfs failed.
35916         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
35918 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
35920         * sysdeps/unix/sysv/linux/kernel-features.h
35921         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
35922         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
35923         Remove conditional code.
35924         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35925         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
35926         Remove conditional code.
35927         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35928         * sysdeps/unix/sysv/linux/i386/fxstat.c
35929         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35930         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35931         * sysdeps/unix/sysv/linux/i386/fxstatat.c
35932         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35933         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35934         * sysdeps/unix/sysv/linux/i386/lxstat.c
35935         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35936         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35937         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
35938         Remove conditional code.
35939         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35940         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
35941         Remove conditional code.
35942         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35943         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
35944         <kernel-features.h>.
35945         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
35946         Remove.
35947         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
35948         Remove conditional code.
35949         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35950         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
35951         Remove conditional.
35953 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
35955         [BZ #5400]
35956         * NEWS: Add fixed bug number.
35958 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
35960         [BZ #14519]
35961         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
35962         underflowing exponent in case of negative sign.
35963         * stdlib/tst-strtod-round-data: Add more tests.
35964         * stdlib/tst-strtod-round.c (tests): Regenerated.
35966         [BZ #3479]
35967         * stdlib/strtod_l.c (NDIG): Remove.
35968         (HEXNDIG): Likewise.
35969         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
35970         smallest representable value.
35971         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
35972         lie within an exact representation of 1/2 ulp of the result.
35973         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
35974         unconditionally.
35975         (TENS_P9_IDX): Define unconditionally.
35976         (TENS_P9_SIZE): Likewise.
35977         (TENS_P10_IDX): Likewise.
35978         (TENS_P10_SIZE): Likewise.
35979         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
35980         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
35981         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
35982         entries for 10^2^13 and 10^2^14.
35983         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
35984         (TENS_P13_IDX): Define.
35985         (TENS_P13_SIZE): Likewise.
35986         (TENS_P14_IDX): Likewise.
35987         (TENS_P14_SIZE): Likewise.
35988         (_fpioconst_pow10): Change array size to
35989         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
35990         unconditional.
35991         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
35992         1024]: Add entries for 10^2^13 and 10^2^14.
35993         [LAST_POW10 > _LAST_POW10]: Remove #error.
35994         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
35995         (_fpioconst_pow10): Change array size to
35996         FPIOCONST_POW10_ARRAY_SIZE.
35997         * stdlib/gen-fpioconst.c: New file.
35998         * stdlib/gen-tst-strtod-round.c: Likewise.
35999         * stdlib/tst-strtod-round-data: Likewise.
36000         * stdlib/tst-strtod-round.c: Likewise.
36001         * stdlib/Makefile (tests): Add tst-strtod-round.
36003         [BZ #14459]
36004         * stdlib/strtod_l.c: Include <stdint.h>.
36005         (NDEBUG): Do not define.
36006         (round_and_return): Change EXPONENT parameter to type intmax_t.
36007         Rearrange calculations to avoid internal overflow possibilities.
36008         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
36009         Rearrange calculations to avoid internal overflow possibilities.
36010         Assert that number fits inside MPNSIZE limbs.
36011         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
36012         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
36013         calculations and add assertions to avoid internal overflow
36014         possibilities.  Add casts to avoid signed/unsigned operations.
36015         * stdlib/tst-strtod-overflow.c: New file.
36016         * stdlib/Makefile (tests): Add tst-strtod-overflow.
36018 2012-08-25  Marek Polacek  <polacek@redhat.com>
36020         * time/time.h: Fix some typos in comments.
36022 2012-08-23  Roland McGrath  <roland@hack.frob.com>
36024         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
36025         * posix/tst-rfc3484-2.c: Likewise.
36026         * posix/tst-rfc3484-3.c: Likewise.
36028 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
36030         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
36031         (EF_ARM_ABI_FLOAT_HARD): Likewise.
36033 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
36035         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
36036         #include of fxstatat64.c.
36038 2012-08-22  Roland McGrath  <roland@hack.frob.com>
36040         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
36041         * shadow/getspent_r.c: Likewise.
36042         * shadow/getspnam.c: Likewise.
36043         * shadow/getspnam_r.c: Likewise.
36044         * gshadow/getsgent.c: Likewise.
36045         * gshadow/getsgent_r.c: Likewise.
36046         * gshadow/getsgnam.c: Likewise.
36047         * gshadow/getsgnam_r.c: Likewise.
36048         * inet/getnetbyad.c: Likewise.
36049         * inet/getnetbyad_r.c: Likewise.
36050         * inet/getnetbynm.c: Likewise.
36051         * inet/getnetbynm_r.c: Likewise.
36052         * inet/getnetent.c: Likewise.
36053         * inet/getnetent_r.c: Likewise.
36054         * inet/getproto.c: Likewise.
36055         * inet/getproto_r.c: Likewise.
36056         * inet/getprtent.c: Likewise.
36057         * inet/getprtent_r.c: Likewise.
36058         * inet/getprtname.c: Likewise.
36059         * inet/getprtname_r.c: Likewise.
36060         * inet/getrpcbyname.c: Likewise.
36061         * inet/getrpcbyname_r.c: Likewise.
36062         * inet/getrpcbynumber.c: Likewise.
36063         * inet/getrpcbynumber_r.c: Likewise.
36064         * inet/getrpcent.c: Likewise.
36065         * inet/getrpcent_r.c: Likewise.
36066         * inet/getaliasent.c: Likewise.
36067         * inet/getaliasent_r.c: Likewise.
36068         * inet/getaliasname.c: Likewise.
36069         * inet/getaliasname_r.c: Likewise.
36070         * nscd/getgrgid_r.c: Likewise.
36071         * nscd/getgrnam_r.c: Likewise.
36072         * nscd/gethstbyad_r.c: Likewise.
36073         * nscd/gethstbynm3_r.c: Likewise.
36074         * nscd/getpwnam_r.c: Likewise.
36075         * nscd/getpwuid_r.c: Likewise.
36076         * nscd/getsrvbynm_r.c: Likewise.
36077         * nscd/getsrvbypt_r.c: Likewise.
36078         * nscd/gai.c: Likewise.
36080         * configure.in (build_nscd): New substituted variable, set
36081         by --disable-build-nscd and defaults to $use_nscd.
36082         * configure: Regenerated.
36083         * config.make.in (build-nscd): New substituted variable.
36084         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
36085         Change conditional to require [$(build-nscd) = yes] as well.
36086         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
36088         [BZ# 13696]
36089         * configure.in (use_nscd): New substituted variable, set by
36090         --disable-nscd.  If enabled, define USE_NSCD.
36091         * configure: Regenerated.
36092         * config.h.in: Add USE_NSCD.
36093         * config.make.in (use-nscd): New substituted variable.
36094         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
36095         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
36096         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
36097         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
36098         (CFLAGS-getgrnam_r.c): Likewise.
36099         (CFLAGS-initgroups.c): Likewise.
36100         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
36101         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
36102         Variables removed.
36103         * inet/getnetgrent_r.c
36104         (nscd_setnetgrent): New function, broken out of ...
36105         (setnetgrent): ... here.  Call it.
36106         (innetgr): Conditionalize nscd bits on [USE_NSCD].
36107         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
36108         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
36109         * nscd/Makefile (routines, aux): Move definitions after include of
36110         Makeconfig.  Conditionalize on [$(use-nscd) != no].
36111         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
36112         Conditionalize on [USE_NSCD].
36113         (is_nscd, nscd_init_cb): Likewise.
36114         (nss_load_library): Conditionalize init callback on [USE_NSCD].
36115         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
36116         * nss/nss_db/db-init.c: Likewise.
36117         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
36118         [USE_NSCD].
36119         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
36120         (make_request): Use it.
36121         (cache_valid_p): New function.
36122         (__check_pf): Use it.
36123         * NEWS: Add item for --disable-nscd.
36125 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
36127         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
36128         to support sed >= 4.2.1-20-ga9bf076.
36129         * configure: Regenerated.
36131 2012-08-22  Roland McGrath  <roland@hack.frob.com>
36133         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
36134         Conditionalize whole body on [IREL].
36136 2012-08-22  Jeff Law <law@redhat.com>
36138         [BZ #14505]
36139         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
36140         if the family is PF_UNSPEC.
36142 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
36144         * Makerules (lib-version): Rename from V.
36145         (install-lib-nosubdir): Change V to lib-version.
36147 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
36149         [BZ #14252]
36150         * powerpc32/power6/wcschr.c: New file.
36151         * powerpc32/power6/wcscpy.c: New file.
36152         * powerpc32/power6/wcsrchr.c: New file.
36153         * powerpc64/power6/wcschr.c: New file.
36154         * powerpc64/power6/wcscpy.c: New file.
36155         * powerpc64/power6/wcsrchr.c: New file.
36157 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
36159         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
36160         (two_way_short_needle): Use it.
36161         * string/strstr.c (AVAILABLE1_USES_J): Define.
36162         * string/strcasestr.c: Likewise.
36164         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
36165         array references.
36166         * string/strcasestr.c (TOLOWER): Make side-effect safe.
36168         [BZ #11607]
36169         * NEWS: Add an entry.
36170         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
36171         define their defaults.
36172         (two_way_short_needle): Detect end-of-string on-the-fly.
36173         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
36174         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
36175         * string/bug-strcasestr1.c: New test.
36176         * string/Makefile: Run it.
36178 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
36180         [BZ #11607]
36181         * string/str-two-way.h (two_way_short_needle): Optimize matching of
36182         the first character.
36184 2012-08-21  Roland McGrath  <roland@hack.frob.com>
36186         * csu/elf-init.c (__libc_csu_irel): Function removed.
36187         * csu/libc-start.c (apply_irel): New function.
36188         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
36190 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
36192         * sysdeps/unix/sysv/linux/kernel-features.h
36193         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
36194         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
36195         <kernel-features.h>.
36196         [__NR_fadvise64_64]: Make code unconditional.
36197         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
36198         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
36199         !__NR_fadvise64_64)]: Likewise.
36200         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
36201         !__NR_fadvise64_64))]: Likewise.
36202         [__NR_fadvise64]: Make code unconditional.
36203         [!__NR_fadvise64]: Remove conditional code.
36204         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
36205         <kernel-features.h>.
36206         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36207         unconditional.
36208         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36209         conditional code.
36210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
36211         not include <kernel-features.h>.
36212         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36213         unconditional.
36214         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36215         conditional code.
36216         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
36217         include <kernel-features.h>.
36218         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36219         unconditional.
36220         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36221         conditional code.
36223 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
36225         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
36226         slight instruction rearrangements per scrollpipe analysis.
36227         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
36229 2012-08-20  Roland McGrath  <roland@hack.frob.com>
36231         * manual/syslog.texi (syslog; vsyslog, closelog):
36232         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
36233         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
36235         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
36236         DSOCAPS to match condition on defining it.
36238 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
36240         * sysdeps/unix/sysv/linux/kernel-features.h
36241         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
36242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
36243         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36244         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
36246         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36247         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
36249         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36250         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36252         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
36253         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
36255         * sysdeps/unix/sysv/linux/kernel-features.h
36256         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
36257         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
36258         unconditional.
36259         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36260         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
36261         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
36262         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36263         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
36264         Make code unconditional.
36265         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36266         (__mmap64) [!__NR_mmap2]: Likewise.
36267         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
36268         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
36269         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36270         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
36271         [__NR_mmap2]: Make code unconditional.
36272         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36273         (__mmap64) [!__NR_mmap2]: Likewise.
36275 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36277         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
36279 2012-08-18  Andreas Jaeger  <aj@suse.de>
36281         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
36283 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
36285         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
36286         * include/unistd.h (__have_sock_cloexec): Likewise.
36287         (__have_pipe2): Likewise.
36288         (__have_dup3): Likewise.
36290 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
36292         [BZ #9685]
36293         * include/unistd.h (__have_pipe2): Change define into an extern int.
36294         (__have_dup3): Likewise.
36295         * socket/have_sock_cloexec.c: Include fcntl.h.
36296         (__have_pipe2): New variable.
36297         (__have_dup3): Likewise.
36299 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
36301         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
36303 2012-08-17  Marek Polacek  <polacek@redhat.com>
36305         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
36306         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
36308 2012-08-17  Roland McGrath  <roland@hack.frob.com>
36310         * configure.in: Add AC_SUBST for sysheaders.
36311         * configure: Regenerated.
36312         * config.make.in (sysheaders): New substituted variable.
36314         * sysdeps/unix/mkfifo.c: Moved ...
36315         * sysdeps/posix/mkfifo.c: ... here.
36316         * sysdeps/unix/mkfifoat.c: Moved ...
36317         * sysdeps/posix/mkfifoat.c: ... here.
36319         * sysdeps/unix/utime.c: Moved ...
36320         * sysdeps/posix/utime.c: ... here.
36322         * sysdeps/unix/time.c: Moved ...
36323         * sysdeps/posix/time.c: ... here.
36324         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
36325         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
36327         * sysdeps/unix/nice.c: Moved ...
36328         * sysdeps/posix/nice.c: ... here.
36330         * sysdeps/unix/alarm.c: Moved ...
36331         * sysdeps/posix/alarm.c: ... here.
36333         * intl/Makefile ($(codeset_mo)): Depend on the input file.
36335 2012-08-17  Jeff Law <law@redhat.com>
36337         * intl/Makefile (codeset_mo): New variable.
36338         ($(codeset_mo)): New target.
36339         (tst-codeset.out): Depend on that.  Remove explicit rule.
36340         (tst-gettext3.out, tst-gettext5.out): Likewise.
36341         (LOCPATH-ENV, tst-codeset-ENV): New variables.
36342         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
36343         * intl/tst-codeset.sh: Remove.
36344         * intl/tst-gettext3.sh: Likewise.
36345         * intl/tst-gettext5.sh: Likewise.
36347 2012-08-17  Roland McGrath  <roland@hack.frob.com>
36349         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
36350         * sysdeps/unix/syscalls.list: ... here.
36352         * sysdeps/posix/getaddrinfo.c
36353         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
36354         (gaiconf_init, gaiconf_reload): Use them.
36355         [!_STATBUF_ST_NSEC]
36356         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
36357         Define using time_t rather than struct timespec.
36359         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
36360         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
36361         Macros removed.
36362         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
36363         [!NO_THREADS].
36364         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
36365         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
36366         Likewise.
36368         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
36369         __libc_cleanup_push argument.
36371         * bits/param.h: New file.
36372         * misc/sys/param.h: New file.
36373         * include/sys/param.h: New file.
36374         * misc/Makefile (headers): Add bits/param.h.
36375         * sysdeps/generic/sys/param.h: File removed.
36376         * sysdeps/unix/sysv/linux/bits/param.h: New file.
36377         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
36378         * sysdeps/mach/hurd/bits/param.h: New file.
36379         * sysdeps/mach/hurd/sys/param.h: File removed.
36381         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
36382         last change.
36384         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
36385         [_IO_MTSAFE_IO].
36386         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
36387         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
36388         New macros.
36390         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
36391         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
36392         rather than -D_IO_MTSAFE_IO conditionally.
36393         * stdio-common/Makefile (CPPFLAGS): Likewise.
36394         * wcsmbs/Makefile (CPPFLAGS): Likewise.
36395         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
36396         Use $(libio-mtsafe).
36397         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
36398         of -D_IO_MTSAFE_IO.
36399         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
36400         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
36401         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
36402         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
36403         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
36404         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
36405         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
36406         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
36407         (CFLAGS-fread_u_chk.c): Likewise.
36408         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
36409         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
36410         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
36411         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
36412         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
36413         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
36414         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
36415         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
36416         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
36418         * libio/Makefile: Test [$(libc-reentrant) = yes]
36419         instead of [$(filter %REENTRANT, $(defines)) nonempty].
36421         * Makeconfig
36422         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
36423         * sysdeps/pthread/configure: File removed.
36424         * sysdeps/pthread/Makeconfig: New file.
36425         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
36426         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
36428 2012-08-16  Gary Benson  <gbenson@redhat.com>
36430         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
36431         unmapping the first object in a namespace.
36433 2012-08-16  Roland McGrath  <roland@hack.frob.com>
36435         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
36436         (__internal_setnetgrent): ... this.  Add internal_function to
36437         definition.  Add libc_hidden_def.
36438         (setnetgrent): Update caller.
36439         (internal_endnetgrent): Renamed to ...
36440         (__internal_endnetgrent): ... this.  Add internal_function to
36441         definition.  Add libc_hidden_def.
36442         (endnetgrent): Update caller.
36443         (internal_getnetgrent_r): Renamed to ...
36444         (__internal_getnetgrent_r): ... this.  Add internal_function to
36445         definition.  Add libc_hidden_def.
36446         (__getnetgrent_r): Update caller.
36447         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
36449 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
36451         * stdlib/longlong.h: Update from GCC.
36453 2012-08-16  Roland McGrath  <roland@hack.frob.com>
36455         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
36456         on _QL, which is set by umul_ppmm but never used.
36457         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
36458         variables, which are set by GMP macros but never used.
36459         * stdio-common/_itowa.c (_itowa): Likewise.
36460         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
36461         * stdlib/mod_1.c (mpn_mod_1): Likewise.
36463 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
36465         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
36466         struct La_sh_regs is not constant.
36467         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
36468         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
36469         and struct La_sparc64_regs are not constant.
36471 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
36473         * sysdeps/unix/sysv/linux/kernel-features.h
36474         (__ASSUME_POSIX_TIMERS): Remove.
36475         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
36476         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36477         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
36478         Make code unconditional.
36479         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36480         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
36481         Make code unconditional.
36482         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36483         * sysdeps/unix/sysv/linux/clock_nanosleep.c
36484         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
36485         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36486         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
36487         Make code unconditional.
36488         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36489         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
36490         (__libc_missing_posix_timers): Remove.
36492 2012-08-15  Roland McGrath  <roland@hack.frob.com>
36494         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
36495         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
36497         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
36499         * elf/dl-sym.c: Include <stdlib.h>.
36501         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
36502         constants, which avoids warnings in 32-bit builds.
36504         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
36505         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
36507         * misc/lseek.c: File moved to ...
36508         * io/lseek.c: ... here.
36510         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
36512         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
36513         shifting LEN more than 31 bits at once.
36515 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36517         [BZ #14195]
36518         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
36519         segmentation fault for a case of two empty input strings.
36520         * string/test-strncasecmp.c (check1): Renamed to...
36521         (bz12205): ...this.
36522         (bz14195): Add new testcase for two empty input strings and N > 0.
36523         (test_main): Call new testcase, adapt for renamed function.
36525 2012-08-15  Andreas Jaeger  <aj@suse.de>
36527         [BZ #14090]
36528         * crypt/md5test2.c: New test, based on test supplied by Serge
36529         Belyshev <belyshev@depni.sinp.msu.ru>.
36530         * crypt/Makefile (xtests): Add md5test-giant..
36531         * crypt/Makefile ($(objpfx)md5test-giant): Add.
36533 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
36535         [BZ #14090]
36536         * crypt/md5.c (md5_process_block): Don't assume the buffer
36537         length is less than 2**32.
36538         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
36539         length is less than 2**64.
36541 2012-08-15  Roland McGrath  <roland@hack.frob.com>
36543         * string/str-two-way.h: Include <sys/param.h>.
36544         (MAX): Macro removed.
36546         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
36547         Move #define and #undef of memmove to just before and after
36548         including <string.h>.
36550         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
36551         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
36552         and after including <string.h>.  Move declarations of
36553         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
36554         to before #include "string/memmove.c".
36556         * include/dirent.h: Declare __getdirentries.
36558         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
36559         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
36561 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
36563         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
36564         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
36565         * sysdeps/i386/configure: Regenerated.
36566         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
36567         STABS_CURRENT_FILE, and STABS_FUN.
36568         (END): Remove call to STABS_FUN_END.
36569         (STABS_CURRENT_FILE1): Delete.
36570         (STABS_CURRENT_FILE): Likewise.
36571         (STABS_FUN): Likewise.
36572         (STABS_FUN_END): Likewise.
36573         (STABS_FUN2): Likewise.
36574         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
36575         * sysdeps/x86_64/configure: Regenerated.
36577 2012-08-14  Roland McGrath  <roland@hack.frob.com>
36579         * elf/dl-open.c: Include <atomic.h>.
36580         * elf/dl-lookup.c: Likewise.
36582 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
36584         * sysdeps/unix/sysv/linux/kernel-features.h
36585         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
36586         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
36587         unconditionally.
36588         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
36589         unconditionally.
36590         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
36591         condition on __ASSUME_CLONE_THREAD_FLAGS.
36593 2012-08-14  Andreas Jaeger  <aj@suse.de>
36595         * sysdeps/i386/fpu/libm-test-ulps: Update.
36597 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
36599         * include/atomic.h (atomic_exchange_and_add): Split into ...
36600         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
36601         New atomic macros.
36603 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
36605         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36607 2012-08-13  Jeff Law <law@redhat.com>
36609         * manual/stdio.texi (snprintf): Clarify handling of the trailing
36610         null byte in the output string.
36612 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
36614         * sysdeps/unix/sysv/linux/kernel-features.h
36615         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
36616         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
36617         (__ASSUME_ARG_MAX_STACK_BASED): Define.
36618         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
36619         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
36620         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
36621         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
36623 2012-08-09  Jeff Law <law@redhat.com>
36625         [BZ #13939]
36626         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
36627         When avoid_arena is set, don't retry in the that arena.  Pick the
36628         next one, whatever it might be.
36629         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
36630         (arena_lock): Pass in new parameter to arena_get2.
36631         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
36632         arena_get2.
36633         (__libc_malloc): Unify retrying after main arena failure with
36634         __libc_memalign version.
36635         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
36637 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
36639         [BZ #14166]
36640         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
36641         to __redirect_strstr.
36642         (__strstr_sse42): Use typeof __redirect_strstr.
36643         (__strstr_ia32): Likewise.
36644         (__libc_strstr): New prototype.
36645         (strstr): Renamed to ...
36646         (__libc_strstr): This.
36647         (strstr): New strong alias of __libc_strstr.
36648         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
36649         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
36650         __redirect_time.
36651         Include <time.h>.
36652         (__libc_time): New prototype.
36653         (time_ifunc): Replace time with __libc_time.
36654         (time): New strong alias and hidden definition of __libc_time.
36655         (__GI_time): Remove strong alias.
36656         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
36657         Include <stddef.h>.
36658         (memmove): Redefined to __redirect_memmove.
36659         (__memmove_sse2): Use typeof __redirect_memmove.
36660         (__memmove_ssse3): Likewise.
36661         (__memmove_ssse3_back): Likewise.
36662         (__libc_memmove): New prototype.
36663         (memmove): Renamed to ...
36664         (__libc_memmove): This.
36665         (memmove): New strong alias of __libc_memmove.
36667 2012-08-08  Mark Salter  <msalter@redhat.com>
36669         * elf/elf.h
36670         (R_MN10300_TLS_GD): Define.
36671         (R_MN10300_TLS_LD): Likewise.
36672         (R_MN10300_TLS_LDO): Likewise.
36673         (R_MN10300_TLS_GOTIE): Likewise.
36674         (R_MN10300_TLS_IE): Likewise.
36675         (R_MN10300_TLS_LE): Likewise.
36676         (R_MN10300_TLS_DTPMOD): Likewise.
36677         (R_MN10300_TLS_DTPOFF): Likewise.
36678         (R_MN10300_TLS_TPOFF): Likewise.
36679         (R_MN10300_SYM_DIFF): Likewise.
36680         (R_MN10300_ALIGN): Likewise.
36681         (R_MN10300_NUM): Update.
36683 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
36685         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
36686         Remove.
36688 2012-08-08  Roland McGrath  <roland@hack.frob.com>
36690         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
36692         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
36693         sysdeps/unix -> sysdeps/posix move.
36694         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
36696 2012-08-07      Allan McRae     <allan@archlinux.org>
36698         [BZ #14303]
36699         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
36700         (SUNOS_CPP): Likewise.
36701         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
36702         not found.
36703         (open_input): Call CPP using execvp.
36705 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
36707         * sysdeps/unix/sysv/linux/kernel-features.h
36708         (__ASSUME_PROT_GROWSUPDOWN): Remove.
36709         (__ASSUME_NO_CLONE_DETACHED): Likewise.
36710         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
36711         (__ASSUME_WAITID_SYSCALL): Likewise.
36712         * sysdeps/unix/sysv/linux/dl-execstack.c
36713         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
36714         code unconditional.
36715         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
36716         conditional code.
36717         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
36718         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
36719         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
36720         code.
36721         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
36722         unconditional.
36723         [__ASSUME_WAITID_SYSCALL]: Likewise.
36724         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
36726 2012-08-07  Roland McGrath  <roland@hack.frob.com>
36728         * sysdeps/unix/closedir.c: Renamed to ...
36729         * sysdeps/posix/closedir.c: ... here.
36730         * sysdeps/unix/dirfd.c: Renamed to ...
36731         * sysdeps/posix/dirfd.c: ... here.
36732         * sysdeps/unix/dirstream.h: Renamed to ...
36733         * sysdeps/posix/dirstream.h: ... here.
36734         * sysdeps/unix/fdopendir.c: Renamed to ...
36735         * sysdeps/posix/fdopendir.c: ... here.
36736         * sysdeps/unix/opendir.c: Renamed to ...
36737         * sysdeps/posix/opendir.c: ... here.
36738         * sysdeps/unix/readdir.c: Renamed to ...
36739         * sysdeps/posix/readdir.c: ... here.
36740         * sysdeps/unix/readdir_r.c: Renamed to ...
36741         * sysdeps/posix/readdir_r.c: ... here.
36742         * sysdeps/unix/rewinddir.c: Renamed to ...
36743         * sysdeps/posix/rewinddir.c: ... here.
36744         * sysdeps/unix/seekdir.c: Renamed to ...
36745         * sysdeps/posix/seekdir.c: ... here.
36746         * sysdeps/unix/telldir.c: Renamed to ...
36747         * sysdeps/posix/telldir.c: ... here.
36748         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
36749         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
36750         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
36751         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
36753         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
36754         * bits/fcntl.h: ... here.
36756         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
36757         not 0.
36758         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
36759         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
36760         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
36761         (struct flock): Move l_start, l_len to the beginning.
36762         Use __pid_t for l_pid.
36763         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
36764         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
36765         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
36766         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
36767         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
36768         [__USE_LARGEFILE64] (struct flock64): New type.
36769         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
36771         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
36772         * bits/dirent.h: ... here.
36774         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
36775         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
36777 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
36779         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36780         Change from 2.6.0 to 2.6.16.
36781         * sysdeps/unix/sysv/linux/configure: Regenerated.
36782         * sysdeps/unix/sysv/linux/kernel-features.h
36783         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
36784         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
36785         version.
36786         (__ASSUME_UTIMES): Likewise.
36787         (__ASSUME_CLONE_STOPPED): Remove.
36788         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
36789         architectures, not kernel version.
36790         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
36791         (__ASSUME_NO_CLONE_DETACHED): Likewise.
36792         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
36793         (__ASSUME_WAITID_SYSCALL): Likewise.
36794         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
36795         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
36796         * README: State 2.6.16 as minimum Linux kernel version.  Do not
36797         refer to older versions.
36799 2012-08-06  Roland McGrath  <roland@hack.frob.com>
36801         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
36802         Define alphasort64 as an alias.
36803         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
36804         Define versionsort64 as an alias.
36805         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
36806         Define scandir64 as an alias.
36807         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
36808         Define scandirat64 as an alias.
36809         * dirent/alphasort64.c (alphasort64):
36810         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
36811         * dirent/versionsort64.c: Likewise.
36812         * dirent/scandir64.c: Likewise.
36813         * dirent/scandirat64.c: Likewise.
36814         * sysdeps/wordsize-64/alphasort.c: File removed.
36815         * sysdeps/wordsize-64/alphasort64.c: File removed.
36816         * sysdeps/wordsize-64/scandir.c: File removed.
36817         * sysdeps/wordsize-64/scandir64.c: File removed.
36818         * sysdeps/wordsize-64/scandirat.c: File removed.
36819         * sysdeps/wordsize-64/scandirat64.c: File removed.
36820         * sysdeps/wordsize-64/versionsort.c: File removed.
36821         * sysdeps/wordsize-64/versionsort64.c: File removed.
36822         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
36823         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
36824         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
36825         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
36826         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
36827         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
36828         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
36829         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
36831         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
36832         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
36833         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
36834         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36835         [defined __arch64__ || defined __sparcv9]
36836         (__INO_T_MATCHES_INO64_T): New macro.
36837         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36838         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
36839         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
36840         * sysdeps/unix/sysv/linux/bits/dirent.h
36841         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
36842         (_DIRENT_MATCHES_DIRENT64): New macro.
36844         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
36845         Define lockf64 as an alias.
36846         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
36847         Define fseeko64 as an alias.
36848         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
36849         Define ftello64 as an alias.
36850         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
36851         Define _IO_fgetpos64 and fgetpos64 as aliases.
36852         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
36853         Define _IO_fsetpos64 and fsetpos64 as aliases.
36854         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
36855         Conditionalize body on this.
36856         * libio/fseeko64.c: Likewise.
36857         * libio/ftello64.c: Likewise.
36858         * libio/iofgetpos64.c: Likewise.
36859         * libio/iofsetpos64.c: Likewise.
36860         * sysdeps/wordsize-64/lockf.c: File removed.
36861         * sysdeps/wordsize-64/lockf64.c: File removed.
36862         * sysdeps/wordsize-64/fseeko.c: File removed.
36863         * sysdeps/wordsize-64/fseeko64.c: File removed.
36864         * sysdeps/wordsize-64/ftello.c: File removed.
36865         * sysdeps/wordsize-64/ftello64.c: File removed.
36866         * sysdeps/wordsize-64/iofgetpos.c: File removed.
36867         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
36868         * sysdeps/wordsize-64/iofsetpos.c: File removed.
36869         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
36870         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
36871         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
36872         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
36873         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
36874         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
36875         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
36876         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
36877         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
36878         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
36879         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
36881         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
36882         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
36883         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
36884         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36885         [defined __arch64__ || defined __sparcv9]
36886         (__OFF_T_MATCHES_OFF64_T): New macro.
36887         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36888         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
36889         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36890         (__OFF_T_MATCHES_OFF64_T): New macro.
36892 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
36894         * stdlib/secure-getenv.c (__secure_getenv): Replace
36895         GLIBC_2_16 with GLIBC_2_17.
36897 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
36899         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
36900         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
36902 2012-08-03  David S. Miller  <davem@davemloft.net>
36904         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36906 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
36908         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
36909         Remove.
36910         (__ASSUME_CORRECT_SI_PID): Likewise.
36911         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
36912         (__ASSUME_TMPFS_NAME): Likewise.
36913         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
36914         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
36915         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
36916         (HAVE_AUX_SECURE): Make definition unconditional.
36917         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
36918         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
36920 2012-08-03  Roland McGrath  <roland@hack.frob.com>
36922         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
36923         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
36924         * sysdeps/mach/hurd/eloop-threshold.h: New file.
36925         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36926         __eloop_threshold instead of SYMLOOP_MAX.
36928         * sysdeps/generic/eloop-threshold.h: New file.
36929         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
36930         of MAXSYMLINKS.
36931         * elf/chroot_canon.c (chroot_canon): Likewise.
36933 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
36935         [BZ #13717]
36936         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36937         Change to 2.6.0 everywhere.
36938         * sysdeps/unix/sysv/linux/configure: Regenerated.
36939         * sysdeps/unix/sysv/linux/kernel-features.h
36940         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
36941         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
36942         kernel versions.
36943         (__ASSUME_POSIX_TIMERS): Define unconditionally.
36944         (__ASSUME_FUTEX_REQUEUE): Remove.
36945         (__ASSUME_STATFS64): Define unconditionally.
36946         (__ASSUME_AT_SECURE): Likewise.
36947         (__ASSUME_CORRECT_SI_PID): Likewise.
36948         (__ASSUME_TGKILL): Define without depending on kernel version for
36949         i386.
36950         (__ASSUME_UTIMES): Likewise.
36951         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
36952         kernel version.
36953         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
36954         (__ASSUME_TMPFS_NAME): Likewise.
36955         * README: Update reference to Linux kernel versions.
36957 2012-08-02  Marek Polacek  <polacek@redhat.com>
36959         [BZ# 14150]
36960         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
36961         libc_cv_asm_type_prefix with %.
36962         * configure: Regenerated.
36963         * include/libc-symbols.h: Remove comment about
36964         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
36965         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
36966         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
36967         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
36968         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
36969         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
36970         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
36971         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
36972         * elf/tst-unique2mod1.c: Likewise.
36973         * elf/tst-unique1mod2.c: Likewise.
36974         * elf/tst-unique1mod1.c: Likewise.
36975         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
36976         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
36977         Replace ASM_TYPE_DIRECTIVE with .type.
36978         * sysdeps/s390/s390-64/sysdep.h: Likewise.
36979         * sysdeps/i386/sysdep.h: Likewise.
36980         * sysdeps/x86_64/sysdep.h: Likewise.
36981         * sysdeps/sh/sysdep.h: Likewise.
36982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36983         Do not define ASM_TYPE_DIRECTIVE.
36984         * sysdeps/powerpc/sysdep.h: Likewise.
36985         * sysdeps/powerpc/powerpc32/sysdep.h:
36986         Replace ASM_TYPE_DIRECTIVE with .type.
36987         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
36988         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
36989         * sysdeps/i386/fpu/e_powf.S: Likewise.
36990         * sysdeps/i386/fpu/e_expl.S: Likewise.
36991         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
36992         * sysdeps/i386/fpu/e_acosh.S: Likewise.
36993         * sysdeps/i386/fpu/e_pow.S: Likewise.
36994         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
36995         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
36996         * sysdeps/i386/fpu/s_expm1.S: Likewise.
36997         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
36998         * sysdeps/i386/fpu/e_log2.S: Likewise.
36999         * sysdeps/i386/fpu/e_log2l.S: Likewise.
37000         * sysdeps/i386/fpu/e_scalb.S: Likewise.
37001         * sysdeps/i386/fpu/e_powl.S: Likewise.
37002         * sysdeps/i386/fpu/e_log10f.S: Likewise.
37003         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
37004         * sysdeps/i386/fpu/e_logl.S: Likewise.
37005         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
37006         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
37007         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
37008         * sysdeps/i386/fpu/e_log2f.S: Likewise.
37009         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37010         * sysdeps/i386/fpu/e_log.S: Likewise.
37011         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37012         * sysdeps/i386/fpu/e_logf.S: Likewise.
37013         * sysdeps/i386/fpu/e_log10l.S: Likewise.
37014         * sysdeps/i386/fpu/e_atanh.S: Likewise.
37015         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
37016         * sysdeps/i386/fpu/e_log10.S: Likewise.
37017         * sysdeps/i386/fpu/s_frexp.S: Likewise.
37018         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37019         * sysdeps/i386/fpu/s_asinh.S: Likewise.
37020         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
37021         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37022         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
37023         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
37024         * sysdeps/i386/i686/strtok.S: Likewise.
37025         * sysdeps/i386/i386-mcount.S: Likewise.
37026         * sysdeps/i386/strtok.S: Likewise.
37027         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
37028         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37029         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37030         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37031         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37032         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37033         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
37034         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
37035         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37036         * sysdeps/x86_64/_mcount.S: Likewise.
37037         * sysdeps/x86_64/strtok.S: Likewise.
37038         * sysdeps/sh/_mcount.S: Likewise.
37040 2012-08-01  Roland McGrath  <roland@hack.frob.com>
37042         * libio/iofopen.c: Include <fcntl.h>.
37043         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
37044         (_IO_fopen64, fopen64): Define as aliases.
37045         * libio/iofopen64.c: Include <fcntl.h>.
37046         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
37047         Conditionalize body on this.
37048         * sysdeps/wordsize-64/iofopen.c: File removed.
37049         * sysdeps/wordsize-64/iofopen64.c: File removed.
37051 2012-08-01  Marek Polacek  <polacek@redhat.com>
37053         * libc/Makeconfig: Use elf in place of binfmt-subdir.
37054         Use dlfcn directly instead of a variable.
37055         (binfmt-subdir): Do not define.
37056         (dlfcn): Likewise.
37058 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
37060         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
37061         Remove all definitions.
37062         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
37063         <kernel-features.h>.
37064         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
37065         (miss_F_GETOWN_EX): Remove all definitions.
37066         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
37067         macro definition.
37068         [!__ASSUME_FCNTL64]: Remove conditional code.
37069         [__ASSUME_FCNTL64]: Make code unconditional.
37070         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
37071         <kernel-features.h>.
37072         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
37073         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
37074         (lockf64) [__NR_fcntl64]: Make code unconditional.
37075         (lockf64) [__ASSUME_FCNTL64]: Likewise.
37077         * sysdeps/unix/sysv/linux/kernel-features.h
37078         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
37079         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
37080         Make code unconditional.
37081         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37082         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
37084         [__NR_vfork]: Make code unconditional.
37085         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37086         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
37088         [__NR_vfork]: Make code unconditional.
37089         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37090         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37092 2012-08-01  Roland McGrath  <roland@hack.frob.com>
37094         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
37095         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
37097         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37098         Define mkstemp64 as an alias.
37099         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37100         Define mkstemps64 as an alias.
37101         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37102         Define mkostemp64 as an alias.
37103         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37104         Define mkostemps64 as an alias.
37105         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
37106         Conditionalize body on this.
37107         * misc/mkostemp64.c: Likewise.
37108         * misc/mkostemps64.c: Likewise.
37109         * misc/mkstemps64.c: Likewise.
37110         * sysdeps/wordsize-64/mkstemp64.c: File removed.
37111         * sysdeps/wordsize-64/mkostemp64.c: File removed.
37112         * sysdeps/wordsize-64/mkostemp.c: File removed.
37113         * sysdeps/wordsize-64/mkstemp.c: File removed.
37114         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
37115         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
37116         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
37117         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
37119         [BZ #14138]
37120         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
37121         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
37122         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
37123         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
37125         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
37126         compat_symbol macros from <shlib-compat.h> rather than the underlying
37127         default_symbol_version and symbol_version macros, so that DEFAULT
37128         lines in shlib-versions are respected.
37129         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
37131 2012-08-01  Florian Weimer  <fweimer@redhat.com>
37133         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
37134         Declare with warn_unused_result.
37135         (setgid, setregid, setegid, setresgid): Likewise.
37136         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
37137         Likewise.
37138         * WUR-REPORT: Remove set*id functions.
37140 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
37142         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
37144 2012-07-31  Roland McGrath  <roland@hack.frob.com>
37146         [BZ #10191]
37147         * include/sys/socket.h (__libc_accept, __libc_accept4):
37148         Add attribute_hidden.
37149         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
37151         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
37152         use of PTR_MANGLE.
37153         * inet/getnetgrent_r.c (setup): Likewise.
37155         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
37157 2012-07-31  David S. Miller  <davem@davemloft.net>
37159         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37161 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
37163         [BZ #13629]
37164         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
37165         value between 1.0 and 2.0 and smaller part has absolute value less
37166         than 1.0.
37167         * math/s_clog10.c (__clog10): Likewise.
37168         * math/s_clog10f.c (__clog10f): Likewise.
37169         * math/s_clog10l.c (__clog10l): Likewise.
37170         * math/s_clogf.c (__clogf): Likewise.
37171         * math/s_clogl.c (__clogl): Likewise.
37172         * math/libm-test.inc (clog_test): Add more tests.
37173         (clog10_test): Likewise.
37174         * sysdeps/i386/fpu/libm-test-ulps: Update.
37175         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37177 2012-07-31  Florian Weimer  <fweimer@redhat.com>
37179         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
37180         Exit with zero in case no suitable GID is found, and write a
37181         message to standard error.
37183 2012-07-30  Roland McGrath  <roland@hack.frob.com>
37185         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
37186         rather than to 1.
37187         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
37188         (MAXPATHLEN): Removed.
37189         (NOGROUP, NODEV): New macros.
37190         (setbit, clrbit, isset, isclr): New macros.
37191         (howmany, roundup, powerof2): New macros.
37192         (DEV_BSIZE): New macro.
37194         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
37195         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
37197         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
37198         definition on [!__NO_LONG_DOUBLE_MATH].
37200         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
37201         PTR_MANGLE and PTR_DEMANGLE.
37203         * socket/accept4.c (accept4): Rename to __libc_accept4.
37204         Define accept4 as a weak alias.
37206         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
37207         on [_DIRENT_HAVE_D_TYPE].
37208         * io/ftw.c (ftw_dir): Likewise.
37210         * io/xmknod.c (__xmknod): Don't check PATH for being null.
37212         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
37214         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
37215         Use the BSD numbers rather than the arbitrary ones we had.
37216         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
37217         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
37218         (SIGXCPU, SIGXFSZ): New macros.
37219         (_NSIG): Now 32.
37221         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
37222         initializer on [_LIBC_REENTRANT].
37224         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
37225         definitions inside [_POSIX_MAPPED_FILES].
37227         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
37229         * dirent/opendir.c: Include <fcntl.h>.
37231         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
37232         (__libc_getspecific): Likewise.
37233         (__libc_key_create): Likewise.
37235         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
37236         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
37237         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
37238         (tmpfile64): Define as alias.
37239         * sysdeps/wordsize-64/tmpfile.c: File removed.
37240         * sysdeps/wordsize-64/tmpfile64.c: File removed.
37241         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
37242         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
37244         * stdio-common/vfscanf.c: Include <stdbool.h>.
37245         * nss/makedb.c: Likewise.
37246         * stdio-common/_i18n_number.h: Likewise.
37247         * argp/argp-help.c: Likewise.
37248         * posix/wordexp.c: Likewise.
37249         * sysdeps/posix/spawni.c: Likewise.
37250         * nss/nss_files/files-initgroups.c: Likewise.
37251         * stdio-common/reg-modifier.c: Include <stdlib.h>.
37252         * nss/nss_files/files-initgroups.c: Likewise.
37253         * nss/nss_db/db-netgrp.c: Likewise.
37254         * nss/nss_db/db-initgroups.c: Likewise.
37255         * io/fchmodat.c: Include <sys/stat.h>.
37257         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
37258         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
37260         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
37261         [HAVE_MMAP].
37263         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
37264         Add multiple inclusion protection.
37266 2012-07-27  David S. Miller  <davem@davemloft.net>
37268         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37270 2012-07-27  Gary Benson  <gbenson@redhat.com>
37272         [BZ #14298]
37273         * elf/rtld.c: Include <stap-probe.h>.
37274         (dl_main): Added static probes "init_start" and "init_complete".
37275         * elf/dl-load.c: Include <stap-probe.h>.
37276         (lose): Take new parameter "nsid".
37277         Added static probe "map_failed".
37278         (_dl_map_object_from_fd): Pass namespace id to lose.
37279         Added static probe "map_start".
37280         (open_verify): Pass namespace id to lose.
37281         * elf/dl-open.c: Include <stap-probe.h>.
37282         (dl_open_worker) Added static probes "map_complete", "reloc_start"
37283         and "reloc_complete".
37284         * elf/dl-close.c: Include <stap-probe.h>.
37285         (_dl_close_worker): Added static probes "unmap_start" and
37286         "unmap_complete".
37287         * elf/rtld-debugger-interface.txt: New file documenting the above.
37289 2012-07-26  Roland McGrath  <roland@hack.frob.com>
37291         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
37292         rather than a string variable.
37293         * sunrpc/rpc_main.c (h_output): Likewise.
37294         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
37296 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
37298         * inet/check_native.c: New file.
37300 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
37302         [BZ #13629]
37303         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
37304         if larger part has absolute value 1.0.
37305         * math/s_clog10.c (__clog10): Likewise.
37306         * math/s_clog10f.c (__clog10f): Likewise.
37307         * math/s_clog10l.c (__clog10l): Likewise.
37308         * math/s_clogf.c (__clogf): Likewise.
37309         * math/s_clogl.c (__clogl): Likewise.
37310         * math/libm-test.inc (clog_test): Add more tests.
37311         (clog10_test): Likewise.
37312         * sysdeps/i386/fpu/libm-test-ulps: Update.
37313         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37315         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
37316         (pltexit): Likewise.
37317         (La_regs): Likewise.
37318         (La_retval): Likewise.
37319         (int_retval): Likewise.
37320         Update #error for removed macros to refer only to definitions in
37321         tst-audit.h.
37322         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
37323         macro.
37324         (pltexit): Likewise.
37325         (La_regs): Likewise.
37326         (La_retval): Likewise.
37327         (int_retval): Likewise.
37328         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
37329         macro.
37330         (pltexit): Likewise.
37331         (La_regs): Likewise.
37332         (La_retval): Likewise.
37333         (int_retval): Likewise.
37334         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
37335         macro.
37336         (pltexit): Likewise.
37337         (La_regs): Likewise.
37338         (La_retval): Likewise.
37339         (int_retval): Likewise.
37340         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
37341         macro.
37342         (pltexit): Likewise.
37343         (La_regs): Likewise.
37344         (La_retval): Likewise.
37345         (int_retval): Likewise.
37346         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
37347         macro.
37348         (pltexit): Likewise.
37349         (La_regs): Likewise.
37350         (La_retval): Likewise.
37351         (int_retval): Likewise.
37352         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
37353         macro.
37354         (pltexit): Likewise.
37355         (La_regs): Likewise.
37356         (La_retval): Likewise.
37357         (int_retval): Likewise.
37358         * sysdeps/generic/tst-audit.h: Update comment to refer only to
37359         macro definitions in tst-audit.h.
37360         * sysdeps/i386/tst-audit.h: New file.
37361         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
37362         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
37363         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
37364         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
37365         * sysdeps/sh/tst-audit.h: Likewise.
37366         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
37367         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
37368         * sysdeps/x86_64/tst-audit.h: Likewise.
37370 2012-07-26  Andreas Jaeger  <aj@suse.de>
37372         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
37373         ptrace.
37375         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
37376         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
37377         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
37378         PTRACE_O_MASK.
37379         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
37380         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
37381         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
37383         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
37384         value.
37386         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
37387         _sigsys.
37388         (si_call_addr, si_syscall, si_arch): Define new macro.
37389         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
37390         _sigsys.
37391         (si_call_addr, si_syscall, si_arch): Define new marcro.
37392         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
37393         _sigsys.
37394         (si_call_addr, si_syscall, si_arch): Define new macro.
37395         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
37396         _sigsys.
37397         (si_call_addr, si_syscall, si_arch): Define new macro.
37399 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
37401         [BZ #13717]
37402         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37403         Change to 2.4.21 where previously 2.4.1.
37404         * sysdeps/unix/sysv/linux/configure: Regenerated.
37405         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
37406         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
37407         Linux kernel version.
37408         (__ASSUME_STD_AUXV): Remove.
37409         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
37410         kernel version.
37411         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
37412         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
37413         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
37414         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
37415         (__ASSUME_NETLINK_SUPPORT): Likewise.
37416         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
37417         (__no_netlink_support): Remove conditional definition.
37418         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
37419         Remove.
37420         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
37421         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
37422         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
37423         (if_nameindex_ioctl): Remove.
37424         (if_nameindex_netlink): Do not handle __no_netlink_support.
37425         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
37426         code.
37427         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
37428         Remove conditional code.
37429         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
37430         code.
37431         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
37432         unconditional.
37433         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
37434         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
37435         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
37436         Remove.
37437         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
37438         [!__ASSUME_STD_AUXV]: Remove conditional code.
37439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
37440         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
37441         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
37442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
37443         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
37444         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
37445         code.
37446         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
37447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
37448         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
37449         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
37450         conditional code.
37451         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
37452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
37453         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
37454         code.
37455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
37456         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
37457         conditional code.
37458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
37459         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37460         code unconditional.
37461         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37462         conditional code.
37463         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37464         unconditional.
37465         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37466         conditional code.
37467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37468         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37469         unconditional.
37470         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37471         conditional code.
37472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
37473         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37474         code unconditional.
37475         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37476         conditional code.
37477         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37478         unconditional.
37479         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37480         conditional code.
37481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
37482         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37483         code unconditional.
37484         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37485         conditional code.
37486         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37487         unconditional.
37488         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37489         conditional code.
37491 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
37493         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
37494         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
37495         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
37496         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
37497         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
37498         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
37499         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
37500         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
37501         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
37502         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
37503         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
37504         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
37505         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
37506         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
37507         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
37508         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
37509         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
37510         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
37511         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
37512         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
37513         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
37514         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
37515         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
37517 2012-07-25  Florian Weimer  <fweimer@redhat.com>
37519         * Versions.def: Add GLIBC_2.17.
37520         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
37521         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
37522         Introduce __libc_secure_getenv.
37523         * stdlib/Versions (2.17): Add secure_getenv
37524         (GLIBC_PRIVATE): Add __libc_secure_getenv.
37525         * stdlib/secure-getenv.c: Rename __secure_getenv to
37526         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
37527         symbol __secure_getenv for GLIBC_2.0.
37528         * stdlib/tst-secure-getenv.c: New.
37529         * stdlib/Makefile (tests): Add testcase.
37530         * manual/startup.texi (Environment Access): Document
37531         secure_getenv.
37532         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
37533         __libc_secure_getenv.
37534         * inet/ruserpass.c (ruserpass): Likewise.
37535         * malloc/mtrace.c (mtrace): Likewise.
37536         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
37537         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
37538         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
37539         * sysdeps/posix/tempname.c: Likewise.  Evaluate
37540         HAVE_SECURE_GETENV.
37541         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
37542         __secure_getenv to __libc_secure_getenv.
37543         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
37544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37545         Likewise.
37546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37547         Likewise.
37548         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
37549         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
37550         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37551         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
37552         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
37553         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37554         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
37556 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
37558         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
37559         (struct La_i86_retval): Likewise.
37560         (struct La_x86_64_regs): Likewise.
37561         (struct La_x86_64_retval): Likewise.
37562         (struct La_x32_regs): Likewise.
37563         (struct La_x32_retval): Likewise.
37564         (struct La_ppc32_regs): Likewise.
37565         (struct La_ppc32_retval): Likewise.
37566         (struct La_ppc64_regs): Likewise.
37567         (struct La_ppc64_retval): Likewise.
37568         (struct La_sh_regs): Likewise.
37569         (struct La_sh_retval): Likewise.
37570         (struct La_s390_32_regs): Likewise.
37571         (struct La_s390_32_retval): Likewise.
37572         (struct La_s390_64_regs): Likewise.
37573         (struct La_s390_64_retval): Likewise.
37574         (struct La_sparc32_regs): Likewise.
37575         (struct La_sparc32_retval): Likewise.
37576         (struct La_sparc64_regs): Likewise.
37577         (struct La_sparc64_retval): Likewise.
37578         (struct audit_ifaces): Remove architecture-specific pltenter and
37579         pltexit members.
37580         * sysdeps/i386/ldsodefs.h: New file.
37581         * sysdeps/powerpc/ldsodefs.h: Likewise.
37582         * sysdeps/s390/ldsodefs.h: Likewise.
37583         * sysdeps/sh/ldsodefs.h: Likewise.
37584         * sysdeps/sparc/ldsodefs.h: Likewise.
37585         * sysdeps/x86_64/ldsodefs.h: Likewise.
37587 2012-07-25  Marek Polacek  <polacek@redhat.com>
37589         [BZ #6808]
37590         * math/libm-test.inc (yn_test): Add another test.
37591         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
37592         to ERANGE when the result is +-Inf.
37593         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
37594         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
37595         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
37596         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
37598 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
37600         * conform/data/time.h-data (NULL): Use macro-constant.  Require
37601         equal to 0.
37602         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
37603         clock_t.
37604         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
37606 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
37608         * configure.in <sysdeps resolving>: Correct printing
37609         Implies_before.
37610         * configure: Regenerate.
37612 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
37614         * math/w_ilogb.c: Include <limits.h>.
37615         * math/w_ilogbl.c: Likewise.
37617 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
37619         * manual/lang.texi (__va_copy): Document primarily as ISO C99
37620         va_copy.  Document allowing for unavailable va_copy only as
37621         pre-C99 compatibility.
37622         * manual/string.texi (Copying and Concatenation): Use va_copy
37623         instead of __va_copy in concat example.
37625 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
37627         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
37628         (__sendto): Use create_address_port.  Initialize APORT and deallocate
37629         it if not null.
37631         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
37632         with O_NOLINK passed to __file_name_lookup.
37634         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
37635         with O_NOLINK passed to __file_name_lookup.
37637         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
37638         negative N or less than NGIDS.
37640         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
37641         type to string_t.  Set ERANGE as errno and return it if NAME is not big
37642         enough.  Use memcpy instead of strncpy.
37644 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
37646         * elf/Makefile (check-data): Remove.
37647         (localplt.data): New vpath directive.
37648         ($(objpfx)check-localplt.out): Use localplt.data from vpath
37649         instead of $(check-data).
37650         * scripts/data/localplt-generic.data: Move to ...
37651         * sysdeps/generic/localplt.data: ... here.
37652         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
37653         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
37654         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
37655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
37656         ... here.
37657         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
37658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
37659         ... here.
37660         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
37661         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
37662         ... here.
37663         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
37664         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
37665         ... here.
37666         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
37667         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
37668         ... here.
37669         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
37670         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
37671         ... here.
37673 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37675         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
37676         PPC32 and PPC64 files.
37677         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
37678         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
37680 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37682         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
37683         __makecontext_ret to ...
37684         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
37685         ... here and call exit if uc_link is NULL.  New file.
37686         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
37687         __makecontext_ret.S.
37688         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
37689         __makecontext_ret to ...
37690         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
37691         ... here and call exit if uc_link is NULL.  New file.
37692         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
37693         __makecontext_ret.S.
37695 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37697         * elf/elf.h (R_390_IRELATIVE): New definition.
37698         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
37699         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
37700         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
37701         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
37702         (elf_machine_lazy_rel): Likewise.
37703         * sysdeps/s390/dl-irel.h: New file.
37704         * sysdeps/s390/s390-64/memcpy.S: New asm code.
37705         * sysdeps/s390/s390-64/memset.S: New asm code.
37706         * sysdeps/s390/s390-64/memcmp.S: New asm code.
37707         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
37708         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
37709         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
37710         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
37711         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
37712         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
37713         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
37714         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
37715         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
37716         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
37717         * sysdeps/s390/s390-32/memcpy.S: New asm code.
37718         * sysdeps/s390/s390-32/memset.S: New asm code.
37719         * sysdeps/s390/s390-32/memcmp.S: New asm code.
37721 2012-07-17  Marek Polacek  <polacek@redhat.com>
37723         [BZ #14349]
37724         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
37725         * sysdeps/s390/s390-64/configure.in: Likewise.
37726         * sysdeps/sparc/configure.in: Likewise.
37727         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
37728         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
37729         * sysdeps/i386/configure.in: Likewise.
37730         * sysdeps/x86_64/configure.in: Likewise.
37731         * sysdeps/sh/configure.in: Likewise.
37732         * sysdeps/s390/s390-32/configure: Regenerated.
37733         * sysdeps/s390/s390-64/configure: Likewise.
37734         * sysdeps/x86_64/configure: Likewise.
37735         * sysdeps/sh/configure: Likewise.
37736         * sysdeps/powerpc/powerpc64/configure: Likewise.
37737         * sysdeps/powerpc/powerpc32/configure: Likewise.
37738         * sysdeps/sparc/configure: Likwise.
37739         * sysdeps/i386/configure: Likewise.
37741         * elf/dl-open.c: Comment fixes.
37743 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
37745         * Makefile [CXX] (check-data): Remove.
37746         [CXX] (c++-types.data): New vpath directive.
37747         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
37748         vpath.  Do not allow for C++ type data being missing.
37749         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
37750         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
37751         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
37752         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
37753         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
37754         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
37755         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
37756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
37757         ... here.
37758         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
37759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
37760         ... here.
37761         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
37762         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
37763         ... here.
37764         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
37765         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
37766         ... here.
37767         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
37768         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
37769         ... here.
37770         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
37771         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
37772         ... here.
37773         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
37774         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
37775         ... here.
37776         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
37777         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
37779         * elf/tls-macros.h (TLS_LE): Move architecture-specific
37780         definitions to architecture-specific files.
37781         (TLS_IE): Likewise.
37782         (TLS_LD): Likewise.
37783         (TLS_GD): Likewise.
37784         * sysdeps/i386/tls-macros.h: New file.
37785         * sysdeps/powerpc/tls-macros.h: Likewise.
37786         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
37787         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
37788         * sysdeps/sh/tls-macros.h: Likewise.
37789         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
37790         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
37791         * sysdeps/x86_64/tls-macros.h: Likewise.
37793 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
37795         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
37796         zero value for regular exit case.
37798         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
37799         (__start_context): Preserve zero value for regular exit case.
37801 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
37802             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37804         * manual/setjmp.texi (setcontext): Clarify normal process
37805         termination when uc_link is the null pointer.
37806         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
37807         exit call.
37809 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
37811         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
37812         preprocessor.  Test for each exception mask separately.
37814 2012-07-16  Andreas Jaeger  <aj@suse.de>
37816         * po/ru.po: Update from translation team.
37818 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
37820         * conform/data/string.h-data (NULL): Use macro-constant.  Require
37821         equal to 0.
37822         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
37823         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
37824         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
37825         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
37826         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37828 2012-07-13  Andreas Jaeger  <aj@suse.de>
37830         * po/fr.po: Update from translation team.
37832 2012-07-12  Marek Polacek  <polacek@redhat.com>
37834         [BZ #14173]
37835         * math/libm-test.inc (yn_test): Add test for BZ #14173.
37836         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
37837         loop condition.
37839 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
37841         [BZ #13717]
37842         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37843         Change to 2.4.1 where previously 2.4.0.
37844         * sysdeps/unix/sysv/linux/configure: Regenerated.
37845         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
37846         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
37847         version.
37848         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
37849         (__ASSUME_AT_CLKTCK): Remove.
37850         (__ASSUME_AT_PAGESIZE): Likewise.
37851         (__ASSUME_AT_XID): Likewise.
37852         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
37853         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
37854         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
37855         unconditionally.
37856         (HAVE_AUX_PAGESIZE): Likewise.
37857         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
37858         [__ASSUME_AT_CLKTCK]: Make code unconditional.
37859         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
37861 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
37863         [BZ #14307]
37864         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
37865         the temporary buffer used to invoke __gethostbyname2_r,
37866         __gethostbyaddr_r and gethostbyname4_r to make room for struct
37867         host_data / struct gaih_addrtuple.
37868         * resolv/nss_dns/dns-host.c (global scope): Move definition of
37869         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
37870         header file nss/nsswitch.h.
37871         * nss/nsswitch.h (global scope): Add definition of implementation
37872         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
37873         resolv/nss_dns/dns-host.c).
37875 2012-07-11  Andreas Jaeger  <aj@suse.de>
37877         * po/fr.po: Update from translation team.
37879         * po/sv.po: Update from translation team
37880         * po/fr.po: Another update from translation team.
37882 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37884         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
37885         for subnormals or multiply small sinh result by itself.
37886         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
37887         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37889 2012-07-11  David S. Miller  <davem@davemloft.net>
37891         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37893 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
37895         [BZ #14347]
37896         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
37897         (INTERNAL_MARK): Shift it here.
37899 2012-07-10  Marek Polacek  <polacek@redhat.com>
37901         [BZ #14151]
37902         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
37903         libc_cv_asm_global_directive with .globl.
37904         * configure: Regenerated.
37905         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
37906         with .globl.
37907         * sysdeps/i386/configure: Regenerated.
37908         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
37909         with .globl.
37910         * sysdeps/x86_64/configure: Regenerated.
37911         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
37912         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
37913         * elf/tst-unique2mod2.c: Likewise.
37914         * elf/tst-unique2mod1.c: Likewise.
37915         * elf/tst-unique1mod2.c: Likewise.
37916         * elf/tst-unique1mod1.c: Likewise.
37917         * sysdeps/s390/s390-32/sysdep.h: Likewise.
37918         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
37919         * sysdeps/s390/s390-64/sysdep.h: Likewise.
37920         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
37921         * sysdeps/mach/sysdep.h: Likewise.
37922         * sysdeps/i386/sysdep.h: Likewise.
37923         * sysdeps/i386/i386-mcount.S: Likewise.
37924         * sysdeps/x86_64/_mcount.S: Likewise.
37925         * sysdeps/x86_64/sysdep.h: Likewise.
37926         * sysdeps/sh/_mcount.S: Likewise.
37927         * sysdeps/sh/sysdep.h: Likewise.
37928         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
37929         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
37930         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
37931         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37932         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
37933         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
37934         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
37935         * locale/localeinfo.h: Likewise.
37936         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
37937         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
37939 2012-07-09  Roland McGrath  <roland@hack.frob.com>
37941         [BZ #14336]
37942         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
37943         system".
37944         * manual/message.texi (The Uniforum approach): Likewise.
37945         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
37946         (glibc iconv Implementation): Likewise.
37948 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
37950         [BZ #14337]
37951         * math/s_clog.c (__clog): Avoid scaling a value down where that
37952         could result in underflow.
37953         * math/s_clog10.c (__clog10): Likewise.
37954         * math/s_clog10f.c (__clog10f): Likewise.
37955         * math/s_clog10l.c (__clog10l): Likewise.
37956         * math/s_clogf.c (__clogf): Likewise.
37957         * math/s_clogl.c (__clogl): Likewise.
37958         * math/libm-test.inc (clog_test): Add more tests.
37959         (clog10_test): Likewise.
37960         * sysdeps/i386/fpu/libm-test-ulps: Update.
37961         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37963 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
37965         [BZ #14283]
37966         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
37967         by 7 not 8 to examine high bit of fractional part.
37969         [BZ #14042]
37970         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
37971         for call to __mcount_internal.
37972         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
37973         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
37974         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
37976 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
37978         [BZ #14154]
37979         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
37980         approximation for values within 0x1p-13f of an odd multiple of
37981         pi/4.
37982         * math/libm-test.inc (tan_test): Do not allow spurious underflow
37983         exception.  Add more tests.
37984         * sysdeps/i386/fpu/libm-test-ulps: Update.
37986         [BZ #6778]
37987         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
37988         inputs and return -1 for them.  Do not check for +Inf in case not
37989         reachable for +Inf.
37990         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
37991         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
37992         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
37993         and return -1 for them.  Do not check for +Inf in case not
37994         reachable for +Inf.
37995         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
37996         define.
37997         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
37998         and return -1 for them.  Do not check for +Inf in case not
37999         reachable for +Inf.
38000         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
38001         spurious underflow.
38002         * sysdeps/i386/fpu/libm-test-ulps: Update.
38003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38005 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
38007         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
38009 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
38011         [BZ #14157]
38012         [BZ #14331]
38013         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
38014         could result in spurious underflow.  Scale down values above
38015         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
38016         * math/s_csqrtf.c (__csqrtf): Likewise.
38017         * math/s_csqrtl.c (__csqrtl): Likewise.
38018         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
38019         spurious underflow.
38020         * sysdeps/i386/fpu/libm-test-ulps: Update.
38021         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38023 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
38025         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
38026         xopen-msg.sed.
38027         * catgets/xopen-msg.awk: New file.
38028         * catgets/xopen-msg.sed: Removed.
38030         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
38031         po2text.sed.
38032         * intl/po2test.awk: New file.
38033         * intl/po2test.sed: Removed.
38035 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
38037         [BZ #14328]
38038         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
38039         or multiply small sinh result by itself.
38040         * math/s_ctanf.c (__ctanf): Likewise.
38041         * math/s_ctanh.c (__ctanh): Likewise.
38042         * math/s_ctanhf.c (__ctanhf): Likewise.
38043         * math/s_ctanhl.c (__ctanhl): Likewise.
38044         * math/s_ctanl.c (__ctanl): Likewise.
38045         * math/libm-test.inc (ctan_test_tonearest): New function.
38046         (ctan_test_towardzero): Likewise.
38047         (ctan_test_downward): Likewise.
38048         (ctan_test_upward): Likewise.
38049         (ctanh_test_tonearest): Likewise.
38050         (ctanh_test_towardzero): Likewise.
38051         (ctanh_test_downward): Likewise.
38052         (ctanh_test_upward): Likewise.
38053         (main): Call these new functions.
38054         * sysdeps/i386/fpu/libm-test-ulps: Update.
38055         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38057 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
38059         * .gitignore: Delete /ports entry.
38061 2012-07-03  Andreas Jaeger  <aj@suse.de>
38063         * po/bg.po: Update from translation team.
38064         * po/cs.po: Likewise.
38065         * po/de.po: Likewise.
38066         * po/hr.po: Likewise.
38067         * po/nl.pl: Likewise.
38068         * po/pl.po: Likewise.
38069         * po/vi.po: Likewise.
38071 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
38073         * Makeconfig [!+link] (+link-before-libc): New variable.
38074         [!+link] (+link-after-libc): Likewise.
38075         [!+link] (+link-tests): Likewise.
38076         [!+link] (+link): Define in terms of $(+link-before-libc) and
38077         $(+link-after-libc).
38078         [!+link-static] (+link-static-before-libc): New variable.
38079         [!+link-static] (+link-static-after-libc): Likewise.
38080         [!+link-static] (+link-static-tests): Likewise.
38081         [!+link-static] (+link-static): Define in terms of
38082         $(+link-static-before-libc) and $(+link-static-after-libc).
38083         [build-shared] (link-libc-before-gnulib): New variable.
38084         [build-shared] (link-libc-tests): Likewise.
38085         [build-shared] (link-libc): Define in terms of
38086         $(link-libc-before-gnulib).
38087         [!build-shared] (link-libc-tests): New variable.
38088         (link-libc-static-tests): New variable.
38089         [!gnulib] (gnulib-arch): New variable.
38090         [!gnulib] (gnulib-tests): Likewise.
38091         [!gnulib] (static-gnulib-arch): Likewise.
38092         [!gnulib] (static-gnulib-tests): Likewise.
38093         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
38094         Define with "=" instead of ":=".
38095         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
38096         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
38097         * Rules (binaries-all-notests): New variable.
38098         (binaries-all-tests): Likewise.
38099         (binaries-static-notests): Likewise.
38100         (binaries-static-tests): Likewise.
38101         (binaries-all): Define using $(binaries-all-notests) and
38102         $(binaries-all-tests).
38103         (binaries-static): Define using $(binaries-static-notests) and
38104         $(binaries-static-tests).
38105         (binaries-shared-tests): New variable.
38106         (binaries-shared-notests): Likewise.
38107         (binaries-shared): Remove variable.
38108         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
38109         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
38110         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
38111         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
38112         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
38113         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
38114         * elf/Makefile (sln-modules): New variable.
38115         (extra-objs): Add $(sln-modules:=.o).
38116         (ldconfig-modules): Add static-stubs.
38117         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
38118         * elf/static-stubs.c: New file.
38120         [BZ #14283]
38121         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
38122         by 7 not 8 to examine high bit of fractional part.  Use volatile
38123         variables when splitting into final array of floats if
38124         __FLT_EVAL_METHOD__ != 0.
38125         * math/libm-test.inc (cos_test): Add another test.
38126         (sin_test): Likewise.
38127         * sysdeps/i386/fpu/libm-test-ulps: Update.
38129         [BZ #14273]
38130         * math/libm-test.inc (cosh_test): Add more tests.
38132         * version.h (RELEASE): Set to "development".
38133         (VERSION): Set to "2.16.90".
38135 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
38137         * NEWS: Update copyright. Remove last-updated date.
38138         Mention math library bug fixes and timezone data changes.
38139         * README: Mention GNU/Hurd, x32, and HPPA support status.
38141 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
38143         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
38145 2012-06-27  Andreas Jaeger  <aj@suse.de>
38147         * manual/contrib.texi (Contributors): Add Samuel Thibault.
38149 2012-06-25  Andreas Jaeger  <aj@suse.de>
38151         * sysdeps/s390/fpu/libm-test-ulps: Update.
38153 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
38154             Thomas Schwinge  <thomas@codesourcery.com>
38156         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
38157         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
38158         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
38159         fanotify_mark.
38161 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
38163         * sysdeps/mach/start.c: Remove file.
38164         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
38165         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
38166         * sysdeps/sh/init-first.c: Likewise.
38168         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
38169         registers for frame unwinding purposes, add CFI directives.
38170         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
38171         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
38172         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
38173         Likewise.
38175         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
38176         __fortify_fail returning.
38177         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
38179         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
38180         sysdeps/sh/____longjmp_chk.S.
38181         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
38182         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
38183         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
38184         (gen-as-const-headers): Append sigaltstack-offsets.sym.
38186         * sysdeps/sh/abort-instr.h: New file.
38187         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
38188         process in case exit returns.
38190         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
38191         initialize the GOT register before use.
38193         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
38194         calculation of ARGC > 4.
38196         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
38197         meaningful names to some local labels.
38199 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38200             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38202         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
38203         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
38204         (__arch_compare_and_exchange_val_16_acq): Likewise.
38205         (__arch_compare_and_exchange_val_32_acq): Likewise.
38206         (atomic_exchange_and_add): Fix gUSA sequence.
38207         (atomic_add): Likewise.
38208         (atomic_add_negative): Likewise.
38209         (atomic_add_zero): Likewise.
38210         (atomic_bit_test_set): Likewise.
38212 2012-06-22  Andreas Schwab  <schwab@redhat.com>
38214         [BZ #13579]
38215         * include/link.h (struct link_map): Add l_free_initfini.
38216         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
38217         l_initfini.
38218         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
38219         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
38220         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
38221         set.
38223 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
38225         * configure.in: Use AC_LANG_SOURCE.
38226         * configure: Regenerate.
38228 2012-06-22  Roland McGrath  <roland@hack.frob.com>
38230         * configure.in (libc_cv_localstatedir): New substituted variable.
38231         * configure: Regenerated.
38232         * config.make.in (localstatedir): New variable, substituted from
38233         libc_cv_localstatedir.
38234         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
38235         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
38236         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
38237         * sysdeps/gnu/configure: Regenerated.
38239 2012-06-21  Jeff Law  <law@redhat.com>
38241         [BZ #14277]
38242         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
38243         free.  Simplify list management for _LIBC case.
38245 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
38247         [BZ #14273]
38248         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
38249         Clear sign bit of 64-bit integer value before comparing against
38250         overflow value.
38252         * sysdeps/mach/configure: Regenerated.
38254 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
38256         [BZ #14278]
38257         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
38259 2012-06-21  Jeff Law  <law@redhat.com>
38261         [BZ #13882]
38262         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
38263         uint16_t for elements in the "seen" array to avoid char overflows.
38264         * elf/dl-fini.c (_dl_sort_fini): Likewise.
38265         * elf/dl-open.c (dl_open_worker): Likewise.
38267 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
38269         * scripts/list-sources.sh: Scan PORTS for translations.
38270         * po/libc.pot: Regenerated.
38272 2012-06-21  Andreas Jaeger  <aj@suse.de>
38274         [BZ #12194]
38275         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
38276         warning.
38277         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
38278         * bits/byteswap-16.h (__bswap_16): Likewise.
38279         * bits/byteswap.h (__bswap_constant_16): Likewise.
38281 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
38283         [BZ #14117]
38284         * sysdeps/i386/fpu_control.h: Removed.
38285         * sysdeps/x86_64/fpu_control.h: Moved to ...
38286         * sysdeps/x86/fpu_control.h: Here.
38288         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
38289         (_FPU_SETCW): Likewise.
38291 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
38293         [BZ #14117]
38294         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
38295         * sysdeps/x86/fpu/bits/mathinline.h: This.
38296         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
38298         [BZ #14050]
38299         [BZ #14117]
38300         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
38301         functions if __x86_64__ is defined.
38303 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
38305         * string/endian.h: Add !__ASSEMBLER__ condition for including
38306         conversion interfaces.
38308 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
38310         [BZ #14241]
38311         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
38312         of ABS(x) in calculating zero to negative powers other than odd
38313         integers.
38314         * math/libm-test.inc (pow_test): Add more tests.
38316 2012-06-15  Andreas Jaeger  <aj@suse.de>
38318         * manual/contrib.texi (Contributors): Update entry of Liubov
38319         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
38320         Machado Filho.
38322 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
38324         * string/string.h: Add __wur to GNU version of strerror_r.
38326 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
38328         [BZ #14229]
38329         * string/Makefile (tests): Add tst-strtok_r.
38330         * string/tst-strtok_r.c: New file.
38331         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
38332         RAX_LP/RDX_LP on SAVE_PTR.
38334 2012-06-14  Roland McGrath  <roland@hack.frob.com>
38336         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
38338 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
38340         * libm_test.inc (csqrt_test): Allow more spurious underflow
38341         exceptions.
38342         (j0_test): Likewise.
38343         (j1_test): Likewise.
38344         (y0_test): Likewise.
38345         (y1_test): Likewise.
38347 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
38349         * po/Makefile (libc.pot): Use UTF-8 charset.
38351 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
38353         [BZ #14210]
38354         Suppress sign-conversion warning from FD_SET.
38355         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
38356         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
38357         not unsigned long int.
38358         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
38360 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
38362         [BZ #14050]
38363         [BZ #14117]
38364         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
38365         __extern_always_inline instead of __extern_inline.
38366         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
38367         (__signbit): Likewise.
38368         (__signbitl): Support C++ namespace.
38369         (lrintf): New inline function.
38370         (lrint): Likewise.
38371         (llrintf): Likewise.
38372         (llrint): Likewise.
38373         (fmaxf): Likewise.
38374         (fmax): Likewise.
38375         (fminf): Likewise.
38376         (fmin): Likewise.
38377         (rint): Likewise.
38378         (rintf): Likewise.
38379         (ceil): Likewise.
38380         (ceilf): Likewise.
38381         (floor): Likewise.
38382         (floorf): Likewise.
38383         (nearbyint): Likewise.
38384         (nearbyintf): Likewise.
38386 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
38388         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
38389         non-default versions.
38391 2012-06-11  Roland McGrath  <roland@hack.frob.com>
38393         [BZ #14218]
38394         * manual/argp.texi (Argp): Reword argp_parse description slightly.
38396 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
38398         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
38399         (FE_UPWARD, FE_DOWNWARD): Don't define.
38400         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
38401         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
38403         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
38404         reading it.
38405         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
38406         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38408 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38410         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
38411         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
38412         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
38413         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
38415 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
38417         [BZ #14117]
38418         * sysdeps/i386/fpu/bits/fenv.h: Removed.
38419         * sysdeps/i386/fpu/Implies: New file.
38420         * sysdeps/x86_64/fpu/Implies: Likewise.
38421         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
38422         * sysdeps/x86/fpu/bits/fenv.h: This.
38424         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
38425         __SSE_MATH__.
38427 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
38429         [BZ #14134]
38430         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
38431         character 0xffff that matches the last element of the
38432         conversion table.
38434 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38436         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
38437         fmodl commit.
38439 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38441         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
38442         values higher than 25.6283.
38444 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38446         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
38447         subnormal exponent extraction and add some __builtin_expect.
38448         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
38449         Fix for subnormal mantissa calculation.
38451 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
38453         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
38454         cpu2 is -1 and errno is not ENOSYS.
38456 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
38458         [BZ #14117]
38459         * sysdeps/i386/i486/bits/string.h: Renamed to ...
38460         * sysdeps/x86/bits/string.h: This.
38461         * sysdeps/x86_64/bits/string.h: Removed.
38463         * sysdeps/i386/i486/bits/string.h: Define inline functions only
38464         if not compiling for x86-64, but compiling for >= i486.
38466         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
38467         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
38469         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
38470         New macro from Linux kernel 3.4.0.
38471         (FP_XSTATE_MAGIC2): Likewise.
38472         (FP_XSTATE_MAGIC2_SIZE): Likewise.
38473         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
38474         (struct _fpx_sw_bytes): New struct.
38475         (struct _xsave_hdr): Likewise.
38476         (struct _ymmh_state): Likewise.
38477         (struct _xstate): Likewise.
38479         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
38480         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
38481         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
38482         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
38483         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
38484         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
38486         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
38487         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
38488         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
38489         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
38490         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
38491         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
38493 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
38495         [BZ #13743]
38496         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
38497         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
38498         (sysdep_headers): Include sys/platform/ppc.h.
38499         * sysdeps/powerpc/test-gettimebase.c: Test for
38500         __ppc_get_timebase() to catch future ISA opcode/insn changes.
38501         * manual/Makefile (appendices): Include platform.texi.
38502         * manual/contrib.texi (Contributors): Update @node pointers.
38503         * manual/maint.texi (Maintenance): Likewise.
38504         (Platform): New node.
38505         * manual/platform.texi: New file.  Document the new features.
38507 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38508             Jakub Jelinek  <jakub@redhat.com>
38510         [BZ #14188]
38511         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
38512         where __builtin_expect is unavailable.
38514 2012-06-03  David S. Miller  <davem@davemloft.net>
38516         * stdlib/longlong.h: Updated from GCC.
38518 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
38520         [BZ #14042]
38521         * sysdeps/powerpc/powerpc32/mcount.c: New file.
38522         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
38523         __mcount_internal.
38524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
38525         (GLIBC_2.16): Likewise.
38527 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
38529         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
38531 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
38533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
38534         (default-abi): New variable.
38535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
38536         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
38537         variable.
38538         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
38539         Likewise.
38540         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
38541         Likewise.
38542         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
38543         Likewise.
38545         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
38546         definition.  Document in comment.
38548 2012-06-01  David S. Miller  <davem@davemloft.net>
38550         * stdlib/longlong.h: Updated from GCC.
38552 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
38554         [BZ #14117]
38555         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
38556         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
38557         sys/debugreg.h sys/io.h here.
38558         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
38559         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
38560         sys/io.h.
38561         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
38562         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
38563         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
38564         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
38565         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
38566         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
38568         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
38569         Define only if __x86_64__ is defined.
38571 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
38573         [BZ #14048]
38574         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
38575         Use int64_t for variable i.
38576         * math/libm-test.inc (fmod_test): Add more tests.
38578         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
38579         z computation is not scheduled after fetestexcept.
38580         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
38581         Use math_force_eval instead of asm to ensure calculation scheduled
38582         before exception test.
38583         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
38584         Ensure a1 + u.d computation is not scheduled after fetestexcept.
38586 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
38588         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
38589         computation is not scheduled after fetestexcept.
38591 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
38593         [BZ #14117]
38594         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
38595         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
38597 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38599         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
38600         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
38602 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
38604         [BZ #14117]
38605         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
38606         <bits/wordsize.h>.
38607         (__WCHAR_MIN): Support __WORDSIZE == 64.
38608         (__WCHAR_MAX): Likewise.
38610         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
38611         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
38613         [BZ #14183]
38614         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
38615         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
38617         [BZ #14117]
38618         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
38619         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
38621         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
38622         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
38624         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
38625         Defined to 1 if __x86_64__ isn't defined.
38626         (_STAT_VER_LINUX_OLD): New.
38627         (st_atime): Remove duplicate.
38628         (st_mtime): Likewise.
38629         (st_ctime): Likewise.
38631 2012-05-31  David S. Miller  <davem@davemloft.net>
38633         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
38634         entries.
38636 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
38638         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
38639         gen-libm-test.pl.
38641         [BZ #14132]
38642         * elf/dl-reloc.c: Include <_itoa.h>.
38643         (_dl_reloc_bad_type): Remove use of INTUSE.
38644         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
38645         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
38646         * stdio-common/psiginfo.c (psiginfo): Likewise.
38647         * stdio-common/psignal.c (psignal): Likewise.
38648         * string/strsignal.c (strsignal): Likewise.
38649         * include/signal.h (_sys_siglist): Declare hidden proto.
38650         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
38651         INTVARDEF with libc_hidden_data_def.
38652         * stdio-common/itoa-udigits.c: Likewise.
38653         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
38654         (_itoa_lower_digits_internal): Remove declaration.
38655         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
38656         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
38657         (_sys_sigabbrev_internal): Remove aliases.
38658         (_sys_siglist): Define hidden alias.
38660 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
38662         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38663         bits/sysctl.h.
38665 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
38667         [BZ #14117]
38668         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
38669         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
38671         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
38672         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
38673         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
38674         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
38675         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
38676         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
38678         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
38679         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
38680         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
38682         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
38683         with __addr.
38684         (insw): Likewise.
38685         (insl): Likewise.
38686         (outsb): Likewise.
38687         (outsw): Likewise.
38688         (outsl): Likewise.
38690         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
38691         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
38692         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
38694         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
38695         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
38696         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
38697         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
38698         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
38699         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
38701         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
38702         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
38704         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
38705         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
38707         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
38708         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
38709         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
38711         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
38712         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
38713         to ...
38714         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
38716         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
38717         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
38718         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
38720         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
38721         for x86-64.
38722         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
38724 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
38726         * math/math.h (M_El): Use two more decimal places.
38727         (M_LOG2El): Likewise.
38728         (M_LOG10El): Likewise.
38729         (M_LN2l): Likewise.
38730         (M_LN10l): Likewise.
38731         (M_PIl): Likewise.
38732         (M_PI_2l): Likewise.
38733         (M_PI_4l): Likewise.
38734         (M_1_PIl): Likewise.
38735         (M_2_PIl): Likewise.
38736         (M_2_SQRTPIl): Likewise.
38737         (M_SQRT2l): Likewise.
38738         (M_SQRT1_2l): Likewise.
38740 2012-05-31  David S. Miller  <davem@davemloft.net>
38742         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
38743         values between float registers.
38744         * sysdeps/sparc/sparc64/memset.S: Likewise.
38745         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38747 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
38749         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
38750         -D_FORTIFY_SOURCE=1.
38751         (CPPFLAGS-tst-longjmp_chk.c): Define.
38752         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
38753         (CPPFLAGS-tst-longjmp_chk2.c): Define.
38754         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
38755         CFLAGS-tst-wchar-h.c.
38757 2012-05-31  Marek Polacek  <polacek@redhat.com>
38759         [BZ #14132]
38760         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
38761         __endmntent_internal): Remove declaration.
38762         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
38763         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
38764         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
38766 2012-05-30  David S. Miller  <davem@davemloft.net>
38768         * sysdeps/sparc/sparc32/soft-fp/q_util.c
38769         (___Q_simulate_exceptions): Use real FP ops rather than writing
38770         into the %fsr.
38771         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
38772         Likewise.
38774 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
38776         [BZ #14117]
38777         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
38778         * sysdeps/x86/bits/xtitypes.h: This.
38780         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
38781         * sysdeps/x86/bits/wordsize.h: This.
38783         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
38784         * sysdeps/x86/bits/huge_vall.h: This.
38786         * sysdeps/i386/bits/select.h: Removed.
38787         * sysdeps/x86_64/bits/select.h: Renamed to ...
38788         * sysdeps/x86/bits/select.h: This.
38790         * sysdeps/i386/bits/setjmp.h: Removed.
38791         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
38792         * sysdeps/x86/bits/setjmp.h: This.
38794         * sysdeps/i386/bits/mathdef.h: Removed.
38795         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
38796         * sysdeps/x86/bits/mathdef.h: This.
38798 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
38800         [BZ #14132]
38801         * include/sys/socket.h (__connect_internal)
38802         (__libc_sa_len_internal): Remove declaration.
38803         (__connect, __libc_sa_len): Declare hidden_proto.
38804         (SA_LEN): Remove use of INTUSE.
38805         * socket/connect.c: Add libc_hidden_def.
38806         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
38807         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
38808         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
38809         alias.
38810         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
38811         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
38812         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
38813         of adding _internal alias.
38815 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
38817         [BZ #14117]
38818         * sysdeps/i386/bits/link.h: Removed.
38819         * sysdeps/i386/bits/linkmap.h: Likewise.
38820         * sysdeps/x86_64/bits/link.h: Renamed to ...
38821         * sysdeps/x86/bits/link.h: This.
38822         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
38823         * sysdeps/x86/bits/linkmap.h: This.
38825         * sysdeps/i386/bits/endian.h: Removed.
38826         * sysdeps/x86_64/bits/endian.h: Renamed to ...
38827         * sysdeps/x86/bits/endian.h: This.
38829         * sysdeps/i386/bits/byteswap.h: Removed.
38830         * sysdeps/i386/bits/byteswap-16.h: Likewise.
38831         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
38832         * sysdeps/x86/bits/byteswap.h: This.
38833         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
38834         * sysdeps/x86/bits/byteswap-16.h: This.
38835         * sysdeps/i386/Implies: Add x86.
38836         * sysdeps/x86_64/Implies: Likewise.
38838 2012-05-30  David S. Miller  <davem@davemloft.net>
38840         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
38841         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
38842         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
38843         (FP_TRAPPING_EXCEPTIONS): Define.
38844         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
38845         (FP_TRAPPING_EXCEPTIONS): Define.
38846         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
38847         subnormals only when inexact has been signalled or underflow
38848         exceptions are enabled.
38849         (_FP_PACK_CANONICAL): Likewise.
38851 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
38853         [BZ #14183]
38854         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
38855         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
38857 2012-05-30  Richard Henderson  <rth@twiddle.net>
38859         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
38860         with #ifndef NOT_IN_libc.
38862         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
38863         marked to avoid plt entry.
38865 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
38867         [BZ #14112]
38868         * Makeconfig (default-abi): New macro.
38869         (abi-includes): Likewise.
38870         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
38871         $(abi-$(default-abi)-lib-soname) for soname if defined.
38872         ($(common-objpfx)gnu/lib-names.stmp): Generate from
38873         abi-variants.
38874         * Makefile (installed-stubs): Likewise.
38875         * include/stubs-biarch.h: Removed.
38876         * scripts/lib-names.awk: Only handle one library at a time.
38877         * scripts/soversions.awk: Remove WORDSIZE support.
38878         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
38879         entries.
38880         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
38881         Removed.
38882         (syscall-list-default-condition): Likewise.
38883         (syscall-list-default-condition): Likewise.
38884         (syscall-list-includes): Likewise.
38885         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
38886         syscall-list-* with abi-*.  Handle undefined abi-variants.
38887         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
38888         * sysdeps/unix/sysv/linux/i386/Implies: New file.
38889         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
38890         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
38891         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
38892         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
38893         Removed.
38894         (syscall-list-32-options): Likewise.
38895         (syscall-list-32-condition): Likewise.
38896         (syscall-list-64-options): Likewise.
38897         (syscall-list-64-condition): Likewise.
38898         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
38899         macro.
38900         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
38901         Renamed to ...
38902         (abi-*): This.
38903         (abi-64-ld-soname): New macro.
38904         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
38905         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
38906         Renamed to ...
38907         (abi-*): This.
38908         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
38909         * sysdeps/x86_64/x32/shlib-versions: Likewise.
38911 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
38913         * sysdeps/unix/sysv/linux/kernel-features.h
38914         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
38915         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
38916         include <kernel-features.h>.
38917         [!__NR_ftruncate64]: Remove conditional code.
38918         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38919         [__NR_ftruncate64]: Make code unconditional.
38920         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38921         * sysdeps/unix/sysv/linux/truncate64.c: Do not
38922         include <kernel-features.h>.
38923         [!__NR_ftruncate64]: Remove conditional code.
38924         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38925         [__NR_ftruncate64]: Make code unconditional.
38926         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
38928         include <kernel-features.h>.
38929         [!__NR_ftruncate64]: Remove conditional code.
38930         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38931         [__NR_ftruncate64]: Make code unconditional.
38932         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
38934         include <kernel-features.h>.
38935         [!__NR_ftruncate64]: Remove conditional code.
38936         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38937         [__NR_ftruncate64]: Make code unconditional.
38938         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38940         * configure.in (libc_cv_fpie): Weaken to a compile test using
38941         LIBC_TRY_CC_OPTION.
38942         * configure: Regenerated.
38944 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38946         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
38947         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
38948         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
38949         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38950         Refreshed.
38951         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
38952         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
38953         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
38954         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
38955         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
38956         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38957         Refreshed.
38959 2012-05-27  David S. Miller  <davem@davemloft.net>
38961         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
38962         (___Q_zero): New.
38963         (__Q_simulate_exceptions): Return void.  Change to simulate
38964         exceptions by writing into the %fsr.
38965         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
38966         (__Qp_handle_exceptions): Likewise.
38967         (numbers): Delete.
38968         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
38969         __Qp_handle_exceptions.
38970         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
38971         __Qp_handle_exceptions.
38972         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
38973         as unused and give dummy FP_RND_NEAREST initializer.
38974         (FP_INHIBIT_RESULTS): Define.
38975         (___Q_simulate_exceptions): Update declaration.
38976         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
38977         formatting.
38978         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
38979         as unused and give dummy FP_RND_NEAREST initializer.
38980         (__Qp_handle_exceptions): Update declaration.
38981         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
38982         formatting.
38984 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
38986         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
38987         the temporary FPU control word.
38988         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
38989         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
38990         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
38991         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
38992         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
38993         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
38994         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
38995         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
38996         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
38997         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
38998         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39000 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39002         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
39003         fields.
39005 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
39007         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
39008         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
39009         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
39010         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
39011         Likewise.
39012         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
39013         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
39014         Likewise.
39016 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
39018         * po/h.po: Update from translation team.
39020 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
39022         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
39024         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
39025         handling of denormals.
39026         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
39027         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
39028         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
39029         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
39030         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39031         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
39032         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
39033         Likewise.
39035 2012-05-26  Marek Polacek  <polacek@redhat.com>
39037         [BZ #14152]
39038         * math/libm-test.inc (fma_test): Don't always expect underflow
39039         exception.
39041 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39043         [BZ #12416]
39044         * elf/tst-execstack.c: Include stackinfo.h.
39045         (do_test): Adjust test case to ensure that pthread_getattr_np
39046         behaviour remains the same after marking stack executable.
39048 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
39050         * sysdeps/unix/sysv/linux/kernel-features.h
39051         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
39052         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
39053         kernel-features.h.
39054         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
39055         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
39056         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
39057         kernel-features.h.
39058         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
39059         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
39061 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
39063         * configure.in: Define the default includes to being none.
39064         * configure: Regenerated.
39066 2012-05-25  Roland McGrath  <roland@hack.frob.com>
39068         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
39069         * sysdeps/x86_64/setjmp.S: Likewise.
39070         * sysdeps/i386/bsd-setjmp.S: Likewise.
39071         * sysdeps/i386/bsd-_setjmp.S: Likewise.
39072         * sysdeps/i386/setjmp.S: Likewise.
39073         * sysdeps/i386/__longjmp.S: Likewise.
39074         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
39075         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
39077         * include/stap-probe.h: New file.
39078         * configure.in: Handle --enable-systemtap.
39079         * configure: Regenerated.
39080         * config.h.in (USE_STAP_PROBE): New #undef.
39081         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
39082         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
39083         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
39085 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
39087         [BZ #13717]
39088         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
39089         to 2.4.0 where earlier.
39090         * sysdeps/unix/sysv/linux/configure: Regenerated.
39091         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
39092         <kernel-features.h>.
39093         [__ASSUME_32BITUIDS]: Make code unconditional.
39094         [!__ASSUME_32BITUIDS]: Remove conditional code.
39095         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
39096         <kernel-features.h>.
39097         [__ASSUME_32BITUIDS]: Make code unconditional.
39098         [!__ASSUME_32BITUIDS]: Remove conditional code.
39099         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
39100         [__ASSUME_32BITUIDS]: Make code unconditional.
39101         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
39102         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
39103         <kernel-features.h>.
39104         [__ASSUME_32BITUIDS]: Make code unconditional.
39105         [!__ASSUME_32BITUIDS]: Remove conditional code.
39106         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
39107         <kernel-features.h>.
39108         [__ASSUME_32BITUIDS]: Make code unconditional.
39109         [!__ASSUME_32BITUIDS]: Remove conditional code.
39110         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
39111         <kernel-features.h>.
39112         [__ASSUME_32BITUIDS]: Make code unconditional.
39113         [!__ASSUME_32BITUIDS]: Remove conditional code.
39114         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
39115         <kernel-features.h>.
39116         [__ASSUME_32BITUIDS]: Make code unconditional.
39117         [!__ASSUME_32BITUIDS]: Remove conditional code.
39118         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
39119         <kernel-features.h>.
39120         [__ASSUME_32BITUIDS]: Make code unconditional.
39121         [!__ASSUME_32BITUIDS]: Remove conditional code.
39122         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
39123         <kernel-features.h>.
39124         [__ASSUME_32BITUIDS]: Make code unconditional.
39125         [!__ASSUME_32BITUIDS]: Remove conditional code.
39126         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
39127         <kernel-features.h>.
39128         [__ASSUME_32BITUIDS]: Make code unconditional.
39129         [!__ASSUME_32BITUIDS]: Remove conditional code.
39130         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
39131         <kernel-features.h>.
39132         [__ASSUME_32BITUIDS]: Make code unconditional.
39133         [!__ASSUME_32BITUIDS]: Remove conditional code.
39134         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
39135         <kernel-features.h>.
39136         [__ASSUME_32BITUIDS]: Make code unconditional.
39137         [!__ASSUME_32BITUIDS]: Remove conditional code.
39138         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
39139         <kernel-features.h>.
39140         [__ASSUME_32BITUIDS]: Make code unconditional.
39141         [!__ASSUME_32BITUIDS]: Remove conditional code.
39142         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
39143         <kernel-features.h>.
39144         [__NR_setresgid] (__setresgid): Do not declare.
39145         [__ASSUME_32BITUIDS]: Make code unconditional.
39146         [!__ASSUME_32BITUIDS]: Remove conditional code.
39147         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
39148         <kernel-features.h>.
39149         [__NR_setresuid] (__setresuid): Do not declare.
39150         [__ASSUME_32BITUIDS]: Make code unconditional.
39151         [!__ASSUME_32BITUIDS]: Remove conditional code.
39152         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
39153         <kernel-features.h>.
39154         [__ASSUME_32BITUIDS]: Make code unconditional.
39155         [!__ASSUME_32BITUIDS]: Remove conditional code.
39156         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
39157         <kernel-features.h>.
39158         [__ASSUME_32BITUIDS]: Make code unconditional.
39159         [!__ASSUME_32BITUIDS]: Remove conditional code.
39160         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
39161         <kernel-features.h>.
39162         [__ASSUME_32BITUIDS]: Make code unconditional.
39163         [!__ASSUME_32BITUIDS]: Remove conditional code.
39164         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
39165         <kernel-features.h>.
39166         [__ASSUME_32BITUIDS]: Make code unconditional.
39167         [!__ASSUME_32BITUIDS]: Remove conditional code.
39168         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
39169         <kernel-features.h>.
39170         [__ASSUME_32BITUIDS]: Make code unconditional.
39171         [!__ASSUME_32BITUIDS]: Remove conditional code.
39172         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
39173         <kernel-features.h>.
39174         [__ASSUME_32BITUIDS]: Make code unconditional.
39175         [!__ASSUME_32BITUIDS]: Remove conditional code.
39176         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
39177         <kernel-features.h>.
39178         [__ASSUME_32BITUIDS]: Make code unconditional.
39179         [!__ASSUME_32BITUIDS]: Remove conditional code.
39180         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
39181         <kernel-features.h>.
39182         [__ASSUME_32BITUIDS]: Make code unconditional.
39183         [!__ASSUME_32BITUIDS]: Remove conditional code.
39184         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
39185         <kernel-features.h>.
39186         [__ASSUME_32BITUIDS]: Make code unconditional.
39187         [!__ASSUME_32BITUIDS]: Remove conditional code.
39188         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
39189         <kernel-features.h>.
39190         [__ASSUME_32BITUIDS]: Make code unconditional.
39191         [!__ASSUME_32BITUIDS]: Remove conditional code.
39192         * sysdeps/unix/sysv/linux/kernel-features.h
39193         (__ASSUME_SETRESUID_SYSCALL): Remove.
39194         (__ASSUME_SETRESGID_SYSCALL): Likewise.
39195         (__ASSUME_32BITUIDS): Likewise.
39196         (__ASSUME_LDT_WORKS): Likewise.
39197         (__ASSUME_O_DIRECTORY): Likewise.
39198         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
39199         architecture but not kernel version.
39200         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
39201         (__ASSUME_MMAP2_SYSCALL): Likewise.
39202         (__ASSUME_STAT64_SYSCALL): Likewise.
39203         (__ASSUME_IPC64): Likewise.
39204         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
39205         <kernel-features.h>.
39206         [__ASSUME_32BITUIDS]: Make code unconditional.
39207         [!__ASSUME_32BITUIDS]: Remove conditional code.
39208         * sysdeps/unix/sysv/linux/opendir.c: Do not include
39209         <kernel-features.h>.
39210         [__ASSUME_O_DIRECTORY]: Make code unconditional.
39211         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
39212         132096]: Remove conditional code.
39213         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
39214         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
39215         <kernel-features.h>.
39216         [__ASSUME_32BITUIDS]: Make code unconditional.
39217         [!__ASSUME_32BITUIDS]: Remove conditional code.
39218         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
39219         <kernel-features.h>.
39220         [__ASSUME_32BITUIDS]: Make code unconditional.
39221         [!__ASSUME_32BITUIDS]: Remove conditional code.
39222         * sysdeps/unix/sysv/linux/setegid.c: Do not include
39223         <kernel-features.h>.
39224         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
39225         unconditional.
39226         (__setresgid): Do not declare.
39227         [__ASSUME_32BITUIDS]: Make code unconditional.
39228         [!__ASSUME_32BITUIDS]: Remove conditional code.
39229         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
39230         <kernel-features.h>.
39231         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
39232         unconditional.
39233         (__setresuid): Do not declare.
39234         [__ASSUME_32BITUIDS]: Make code unconditional.
39235         [!__ASSUME_32BITUIDS]: Remove conditional code.
39236         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
39237         <kernel-features.h>.
39238         [__ASSUME_32BITUIDS]: Make code unconditional.
39239         [!__ASSUME_32BITUIDS]: Remove conditional code.
39240         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
39241         <kernel-features.h>.
39242         [__ASSUME_32BITUIDS]: Make code unconditional.
39243         [!__ASSUME_32BITUIDS]: Remove conditional code.
39245 2012-05-25  Richard Henderson  <rth@twiddle.net>
39247         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
39248         dl_hwcap to ifunc resolver.
39249         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
39250         elf_ifunc_invoke.
39251         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
39252         dl_hwcap to ifunc resolver.
39253         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
39255 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
39257         [BZ #14153]
39258         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
39259         for |x| <= 2**-26, not 2**-57.
39260         * math/libm-test.inc (acos_test): Do not allow spurious underflow
39261         exception.
39263 2012-05-24  Jeff Law  <law@redhat.com>
39265         * stdio-common/Makefile (tests): Add bug25.
39266         * stdio-common/bug25.c: New test.
39268 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
39270         [BZ #13576]
39271         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
39272         multiple of MALLOC_ALIGNMENT in size.
39273         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
39275 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
39277         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
39278         Require >= 256.
39279         (FILENAME_MAX): Use macro-int-constant.
39280         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
39281         (_IOFBF): Use macro-int-constant.
39282         (_IOLBF): Likewise.
39283         (_IONBF): Likewise.
39284         (SEEK_CUR): Likewise.
39285         (SEEK_END): Likewise.
39286         (SEEK_SET): Likewise.
39287         (TMP_MAX): Likewise.
39288         (EOF): Use macro-int-constant.  Require < 0.
39289         (NULL): Use macro-constant.  Require == 0.
39290         (stdin): Require type to be FILE *.
39291         (stdout): Likewise.
39292         (stderr): Likewise.
39293         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
39294         macro-int-constant.
39295         (EXIT_SUCCESS): Likewise.
39296         (NULL): Use macro-constant.  Require == 0.
39297         (RAND_MAX): Use macro-int-constant.
39298         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
39299         [C99-based standards] (strtof): Require function.
39300         [C99-based standards] (strtold): Likewise.
39301         [C99-based standards] (strtoll): Likewise.
39302         [C99-based standards] (strtoull): Likewise.
39303         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
39304         [ISO || ISO99 || ISO11] (limits.h): Likewise.
39305         [ISO || ISO99 || ISO11] (math.h): Likewise.
39306         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
39307         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
39308         [ISO || ISO99 || ISO11] (*_t): Do not allow.
39310 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
39312         [BZ #14132]
39313         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
39314         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
39315         * intl/dgettext.c (DCGETTEXT): Likewise.
39316         * intl/gettext.c (DCGETTEXT): Likewise.
39317         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
39318         * posix/regex_internal.h (gettext): Likewise.
39319         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
39320         Remove declaration.
39321         * include/argz.h (__argz_count_internal)
39322         (__argz_stringify_internal): Remove declaration.
39323         (__argz_count, __argz_stringify): Declare hidden proto.
39324         * intl/dcgettext.c: Remove use of INTDEF.
39325         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
39326         * string/argz-stringify.c: Likewise.
39327         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
39328         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
39329         Declare hidden proto.
39330         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
39331         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
39332         Declare hidden proto.
39333         * include/stdio.h (__asprintf_internal): Don't declare.
39334         (__asprintf): Don't define as macro.  Declare hidden proto.
39335         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
39336         (__fsetlocking): Declare hidden proto.
39337         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
39338         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
39339         hidden proto.
39340         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
39341         (_IO_setlinebuf): Remove use of INTUSE.
39342         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
39343         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
39344         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
39345         Remove declaration.
39346         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
39347         (_IO_do_flush): Remove use of INTUSE.
39348         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
39349         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
39350         (_IO_adjust_column, _IO_least_wmarker)
39351         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
39352         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
39353         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
39354         (_IO_default_doallocate, _IO_wdefault_doallocate)
39355         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
39356         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
39357         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
39358         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
39359         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
39360         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
39361         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
39362         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
39363         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
39364         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
39365         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
39366         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
39367         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
39368         proto.
39369         (_IO_flush_all_internal, _IO_adjust_column_internal)
39370         (_IO_default_uflow_internal, _IO_default_finish_internal)
39371         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
39372         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
39373         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
39374         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
39375         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
39376         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
39377         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
39378         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
39379         (_IO_file_close_internal, _IO_file_close_it_internal)
39380         (_IO_file_underflow_internal, _IO_file_overflow_internal)
39381         (_IO_file_init_internal, _IO_file_attach_internal)
39382         (_IO_file_fopen_internal, _IO_file_read_internal)
39383         (_IO_file_sync_internal, _IO_file_seek_internal)
39384         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
39385         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
39386         (_IO_str_underflow_internal, _IO_str_overflow_internal)
39387         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
39388         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
39389         (_IO_list_all_internal, _IO_link_in_internal)
39390         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
39391         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
39392         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
39393         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
39394         (_IO_do_write_internal, _IO_padn_internal)
39395         (_IO_getline_info_internal, _IO_getline_internal)
39396         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
39397         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
39398         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
39399         (_IO_vfscanf_internal, _IO_vfprintf_internal)
39400         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
39401         (_IO_init_internal, _IO_un_link_internal): Don't declare.
39402         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
39403         with libc_hidden_ver, remove use of INTUSE.
39404         * libio/genops.c: Likewise.
39405         * libio/freopen.c: Likewise.
39406         * libio/freopen64.c: Likewise.
39407         * libio/iofclose.c: Likewise.
39408         * libio/iofdopen.c: Likewise.
39409         * libio/iofflush.c: Likewise.
39410         * libio/iofflush_u.c: Likewise.
39411         * libio/iofgets.c: Likewise.
39412         * libio/iofgets_u.c: Likewise.
39413         * libio/iofopen.c: Likewise.
39414         * libio/iofopncook.c: Likewise.
39415         * libio/iofread.c: Likewise.
39416         * libio/iofread_u.c: Likewise.
39417         * libio/ioftell.c: Likewise.
39418         * libio/iofwrite.c: Likewise.
39419         * libio/iogetline.c: Likewise.
39420         * libio/iogets.c: Likewise.
39421         * libio/iogetwline.c: Likewise.
39422         * libio/iopadn.c: Likewise.
39423         * libio/iopopen.c: Likewise.
39424         * libio/ioseekoff.c: Likewise.
39425         * libio/ioseekpos.c: Likewise.
39426         * libio/iosetbuffer.c: Likewise.
39427         * libio/iosetvbuf.c: Likewise.
39428         * libio/ioungetc.c: Likewise.
39429         * libio/ioungetwc.c: Likewise.
39430         * libio/iovdprintf.c: Likewise.
39431         * libio/iovsprintf.c: Likewise.
39432         * libio/iovsscanf.c: Likewise.
39433         * libio/memstream.c: Likewise.
39434         * libio/obprintf.c: Likewise.
39435         * libio/oldfileops.c: Likewise.
39436         * libio/oldiofclose.c: Likewise.
39437         * libio/oldiofdopen.c: Likewise.
39438         * libio/oldiofopen.c: Likewise.
39439         * libio/oldiopopen.c: Likewise.
39440         * libio/oldstdfiles.c: Likewise.
39441         * libio/putc.c: Likewise.
39442         * libio/setbuf.c: Likewise.
39443         * libio/setlinebuf.c: Likewise.
39444         * libio/stdfiles.c: Likewise.
39445         * libio/strops.c: Likewise.
39446         * libio/vasprintf.c: Likewise.
39447         * libio/vscanf.c: Likewise.
39448         * libio/vsnprintf.c: Likewise.
39449         * libio/vswprintf.c: Likewise.
39450         * libio/wfiledoalloc.c: Likewise.
39451         * libio/wfileops.c: Likewise.
39452         * libio/wgenops.c: Likewise.
39453         * libio/wmemstream.c: Likewise.
39454         * libio/wstrops.c: Likewise.
39455         * libio/__fpurge.c: Likewise.
39456         * libio/__fsetlocking.c: Likewise.
39457         * assert/assert.c: Likewise.
39458         * debug/fgets_chk.c: Likewise.
39459         * debug/fgets_u_chk.c: Likewise.
39460         * debug/fread_chk.c: Likewise.
39461         * debug/fread_u_chk.c: Likewise.
39462         * debug/gets_chk.c: Likewise.
39463         * debug/obprintf_chk.c: Likewise.
39464         * debug/vasprintf_chk.c: Likewise.
39465         * debug/vdprintf_chk.c: Likewise.
39466         * debug/vsnprintf_chk.c: Likewise.
39467         * debug/vsprintf_chk.c: Likewise.
39468         * malloc/mtrace.c: Likewise.
39469         * misc/error.c: Likewise.
39470         * misc/syslog.c: Likewise.
39471         * stdio-common/asprintf.c: Likewise.
39472         * stdio-common/fxprintf.c: Likewise.
39473         * stdio-common/getw.c: Likewise.
39474         * stdio-common/isoc99_fscanf.c: Likewise.
39475         * stdio-common/isoc99_scanf.c: Likewise.
39476         * stdio-common/isoc99_vfscanf.c: Likewise.
39477         * stdio-common/isoc99_vscanf.c: Likewise.
39478         * stdio-common/isoc99_vsscanf.c: Likewise.
39479         * stdio-common/printf-prs.c: Likewise.
39480         * stdio-common/printf_fp.c: Likewise.
39481         * stdio-common/printf_fphex.c: Likewise.
39482         * stdio-common/printf_size.c: Likewise.
39483         * stdio-common/putw.c: Likewise.
39484         * stdio-common/scanf.c: Likewise.
39485         * stdio-common/sprintf.c: Likewise.
39486         * stdio-common/tmpfile.c: Likewise.
39487         * stdio-common/vfprintf.c: Likewise.
39488         * stdio-common/vfscanf.c: Likewise.
39489         * stdlib/strfmon_l.c: Likewise.
39490         * sunrpc/openchild.c: Likewise.
39491         * sunrpc/xdr_stdio.c: Likewise.
39492         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
39493         * sysdeps/mach/hurd/tmpfile.c: Likewise.
39495 2012-05-24  Roland McGrath  <roland@hack.frob.com>
39497         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
39499         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
39500         in the third column, to generate for the shared library an IFUNC
39501         that uses _dl_vdso_vsym.
39502         * Makerules (COMPILE.c, compile-stdin.c): New variables.
39503         * Makeconfig (object-suffixes-noshared): New variable.
39505         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
39506         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
39507         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
39508         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
39510         [BZ #14132]
39511         * include/sys/time.h (__gettimeofday): Remove macro.
39512         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
39513         * time/gettimeofday.c (__gettimeofday): Remove #undef.
39514         Remove INTDEF.
39515         (__gettimeofday): Add libc_hidden_def.
39516         (gettimeofday): Add libc_hidden_weak.
39517         * sysdeps/mach/gettimeofday.c: Likewise.
39518         * sysdeps/posix/gettimeofday.c: Likewise.
39519         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
39520         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
39521         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
39522         (__gettimeofday_internal): Remove strong_alias.
39523         (__gettimeofday): Add libc_hidden_def.
39524         (gettimeofday): Add libc_hidden_weak.
39525         * sysdeps/unix/syscalls.list (gettimeofday):
39526         Remove __gettimeofday_internal alias.
39528 2012-05-24  Daniel Jacobowitz  <drow@false.org>
39529             H.J. Lu  <hongjiu.lu@intel.com>
39531         [BZ #12495]
39532         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
39533         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
39534         (largebin_index_32_big): New.
39535         (largebin_index): Use it for 16-byte alignment.
39536         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
39537         correction with front_misalign.
39539 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
39541         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
39542         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
39543         Likewise.
39544         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
39545         Likewise.
39546         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
39547         Likewise.
39548         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
39549         Likewise.
39550         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
39551         Likewise.
39552         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
39553         Likewise.
39554         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
39555         Likewise.
39556         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
39557         Likewise.
39558         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
39559         Likewise.
39560         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
39561         Likewise.
39562         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
39563         Likewise.
39564         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
39565         Likewise.
39567         * scripts/data/c++-types-x32-linux-gnu.data: New file.
39568         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
39570 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
39572         [BZ #10846]
39573         [BZ #14036]
39574         * math/libm-test.inc (exp_test): Add test from bug 14036.
39575         (pow_test): Add test from bug 10846.
39577         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
39578         and other flags.
39579         (special_function): Do not include flags in test name.
39580         (parse_args): Likewise.
39581         * sysdeps/i386/fpu/libm-test-ulps: Update.
39582         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39583         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
39584         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
39585         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39587         * math/gen-libm-test.pl (%beautify): Add entries for underflow
39588         exceptions.
39589         * math/libm-test.inc ("Philosophy"): Update comment about
39590         exception testing.
39591         (UNDERFLOW_EXCEPTION): New macro.
39592         (UNDERFLOW_EXCEPTION_OK): Likewise.
39593         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
39594         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
39595         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
39596         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
39597         (INVALID_EXCEPTION_OK): Update value.
39598         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39599         (OVERFLOW_EXCEPTION_OK): Likewise.
39600         (IGNORE_ZERO_INF_SIGN): Likewise.
39601         (test_exceptions): Handle underflow exceptions.
39602         (acos_test): Update for underflow exception expectations.
39603         (cexp_test): Likewise.
39604         (clog_test): Likewise.
39605         (clog10_test): Likewise.
39606         (csqrt_test): Likewise.
39607         (ctan_test): Likewise.
39608         (ctanh_test): Likewise.
39609         (exp_test): Likewise.
39610         (exp10_test): Likewise.
39611         (exp2_test): Likewise.
39612         (expm1_test): Likewise.
39613         (fma_test): Likewise.
39614         (j0_test): Likewise.
39615         (jn_test): Likewise.
39616         (nexttoward_test): Likewise.
39617         (pow_test): Likewise.
39618         (scalbn_test): Likewise.
39619         (scalbln_test): Likewise.
39620         (tan_test): Likewise.
39621         (y1_test): Likewise.
39622         * sysdeps/i386/fpu/libm-test-ulps: Update.
39623         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39625 2012-05-23  David S. Miller  <davem@davemloft.net>
39627         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
39628         (__libc_sigaction): Remove unused local variables.
39630 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
39632         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
39634 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
39636         mktime: avoid signed integer overflow
39637         * time/mktime.c (__mktime_internal): Do not mishandle the case
39638         where diff == INT_MIN.
39640         mktime: simplify computation of average
39641         * time/mktime.c (ranged_convert): Use new time_t_avg function
39642         instead of rolling our own (probably-slower) code.
39644         mktime: do not assume signed right shift propagates sign bit
39645         * time/mktime.c (isdst_differ): New static function.
39646         (__mktime_internal): No need to normalize tm_isdst now.
39647         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
39648         tm_isdst values.
39650         mktime: merge another wrapv change from gnulib
39651         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
39652         from some compilers.
39654         mktime: remove incorrect attempt at unusual arithmetics
39655         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
39656         The code didn't really work on such machines anyway.
39657         (TYPE_MINIMUM): Assume two's complement.
39658         (twos_complement_arithmetic): Verify that long_int and time_t
39659         are two's complement (or unsigned, in the latter case).
39661         mktime: check signed shifts on long_int and time_t, too
39662         * time/mktime.c (SHR): Check that shifts work as desired
39663         on the types long_int and time_t too, as SHR is used on
39664         such types.
39666         mktime: do not assume 'long' is wide enough
39667         * time/mktime.c (verify): Move decl up.
39668         (long_int): New type.
39669         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
39670         to remove assumption in the code that 'long' is wide enough to
39671         store year values.  This assumption is not true on x32 and on
39672         some non-glibc platforms.
39674         mktime: merge wrapv change from gnulib
39675         * time/mktime.c (WRAPV): New macro.
39676         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
39677         (guess_time_tm, __mktime_internal): Do not assume that signed
39678         integer overflow wraps around; modern compilers generate code
39679         where this assumption is no longer valid.
39681 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
39683         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
39684         Replace "jmp L(pseudo_end)" with "ret".
39685         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
39686         Likewise.
39688 2012-05-23  Andreas Jaeger  <aj@suse.de>
39690         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
39691         * sysdeps/unix/sysv/linux/poll.c: Remove file.
39693 2012-05-23  Andreas Jaeger  <aj@suse.de>
39694             Maximilian Attems  <max@stro.at>
39696         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
39697         New macros.
39699 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
39701         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
39702         code so that pseudo_end is just ret and the stack pointer is
39703         correct also for static library in error case.
39705 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
39707         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
39708         move to syscalls.list.
39709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
39710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
39711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
39712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
39714         * manual/install.texi (Running make install): Do not mention Linux
39715         kernel version for which pt_chown is not needed.
39716         (Linux): Do not mention problems with nscd with 2.0 kernels.
39717         * INSTALL: Regenerated.
39719 2012-05-23  Andreas Jaeger  <aj@suse.de>
39721         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
39722         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
39723         macro.
39724         * sysdeps/unix/sysv/linux/s390/bits/mman.h
39725         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39726         * sysdeps/unix/sysv/linux/sh/bits/mman.h
39727         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39728         * sysdeps/unix/sysv/linux/i386/bits/mman.h
39729         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39730         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
39731         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39732         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
39733         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39734         * sysdeps/unix/sysv/linux/bits/in.h
39735         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
39737 2012-05-22  Roland McGrath  <roland@hack.frob.com>
39739         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
39740         (PREPARE_VERSION): Just use assert instead, it will be elided
39741         under [NDEBUG] anyway.
39743 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
39745         * sysdeps/unix/sysv/linux/Makefile: Include
39746         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
39747         (sysdep_routines): Remove sysctl.
39748         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
39749         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
39750         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
39751         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
39752         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
39754 2012-05-22  Andreas Jaeger  <aj@suse.de>
39756         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
39757         that pseudo_end is just ret and the stack pointer is correct also
39758         for static library in error case.
39760 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
39762         [BZ #14122]
39763         * nss/nsswitch.c (defconfig_entries): New variable.
39764         (__nss_database_lookup): Don't leak defconfig entries.
39765         (nss_parse_service_list): Don't leak on error paths.
39766         (free_database_entries): New function.
39767         (free_defconfig): New function.
39768         (free_mem): Move common code to free_database_entries.
39770 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
39772         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
39773         Add arch_prctl.
39774         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
39776         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
39777         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
39778         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
39779         New macro.
39780         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
39781         (INTERNAL_SYSCALL_TYPES): Likewise.
39782         (LOAD_ARGS_TYPES_[1-6]): Likewise.
39783         (LOAD_REGS_TYPES_[1-6]): Likewise.
39784         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
39785         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
39787 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39789         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
39790         copysignl for GLIBC_2_0.
39791         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
39792         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
39793         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
39794         logbl for GLIBC_2_0.
39795         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
39796         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
39798 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
39800         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
39801         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
39803         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
39804         Use "neg %eax".
39806         * time/mktime.c: Update copyright years.
39808 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
39810         mktime: merge comment-quoting-style change from gnulib
39811         * time/mktime.c: Quote 'like this' in comments.
39812         The GNU coding standards suggest that we no longer quote `like this',
39813         as "`" and "'" are typically rendered asymmetrically nowadays.
39814         The typical gnulib style is to quote 'like this' when quoting
39815         code, and "like this" when quoting English.
39817         * time/mktime.c (compile-command): Add "-I.".
39819         mktime: merge mktime-internal.h change from gnulib
39820         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
39822         mktime: merge time_r change from gnulib
39823         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
39825         mktime: merge DEBUG change from gnulib
39826         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
39827         case system <time.h> has a #define.
39829         mktime: merge <sys/types.h> change from gnulib
39830         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
39831         since <time.t> is now guaranteed to define time_t.
39833         mktime: merge HAVE_CONFIG_H change from gnulib
39834         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
39836 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
39838         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
39839         Use "neg %eax".
39841         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
39842         __rlim_t cast.
39843         (struct rusage): Use anonymous union to pad each field to
39844         __syscall_slong_t.
39846 2012-05-21  David S. Miller  <davem@davemloft.net>
39848         * Makefules (o-iterator): Remove .s cases.
39849         (compile-command.s): Delete.
39850         (COMPILE.s): Delete.
39851         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
39853 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
39855         * configure.in (libc_cv_predef_stack_protector): Only consider
39856         "foobar" and "__stack_chk_fail" lines in libc_undefs.
39857         * configure: Regenerated.
39859 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
39861         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
39862         New macro.  Use R*LP on int and pointer.
39863         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
39864         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
39865         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
39866         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
39868         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
39869         [__WORDSIZE_TIME64_COMPAT32] instead of
39870         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
39871         (struct utmp): Likewise.
39872         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
39873         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
39874         Renamed to ...
39875         (__WORDSIZE_TIME64_COMPAT32): This.
39876         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
39877         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
39878         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
39879         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
39880         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
39881         (__WORDSIZE_TIME64_COMPAT32): New macro.
39883 2012-05-21  Andreas Jaeger  <aj@suse.de>
39885         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
39886         only if [SHARED]. Add prototype for __wcschr_ia32.
39888 2012-05-21  Roland McGrath  <roland@hack.frob.com>
39890         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
39891         of %rbp unmolested in the jmp_buf while mangling the low bits.
39892         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
39893         unmolested high bits of %rbp while demangling the low bits.
39894         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
39896 2012-05-21  Andreas Jaeger  <aj@suse.de>
39898         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
39899         * sunrpc/svc_simple.c: Use it for registerrpc.
39900         * sunrpc/xcrypt.c: Use it for passwd2des.
39902         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
39904 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
39906         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
39907         Don't define if [__SYSCALL_WORDSIZE != 32].
39908         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
39909         New macro.
39911 2012-05-21  Bruno Haible  <bruno@clisp.org>
39912             Andreas Jaeger  <aj@suse.de>
39914         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
39915         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
39916         inptr and inend for must_buffer_ch.
39917         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
39918         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
39919         * stdio-common/Makefile (tests): Remove bug15.
39920         (bug15-ENV): Remove macro.
39921         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
39922         anymore.
39924 2012-05-19  Andreas Jaeger  <aj@suse.de>
39925             Roland McGrath  <roland@hack.frob.com>
39927         * manual/contrib.texi: Completely rewritten. It contains now an
39928         alphabetical list of contributors and their contributions.
39930 2012-05-21  Richard Henderson  <rth@twiddle.net>
39932         * misc/getauxval.c (__getauxval): Use unsigned long int.
39933         * misc/sys/auxv.h: Include <sys/cdefs.h>.
39934         (getauxval): Use unsigned long int.
39936 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
39938         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
39940 2012-05-21  Roland McGrath  <roland@hack.frob.com>
39942         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
39943         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
39944         __alignof__ (long double).
39946 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39948         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39950 2012-05-20  Richard Henderson  <rth@twiddle.net>
39952         * misc/getauxval.c: New file.
39953         * misc/sys/auxv.h: New file.
39954         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
39955         (routines): Add getauxval.
39956         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
39957         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
39958         * elf/dl-sysdep.c (_dl_auxv): Remove.
39959         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
39960         * elf/dl-support.c (_dl_auxv): New variable.
39961         (_dl_aux_init): Initialize it.
39962         * manual/startup.texi (Auxiliary Vector): New node.
39963         * sysdeps/generic/bits/hwcap.h: New file.
39964         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
39965         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
39966         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
39967         * sysdeps/sparc/sysdep.h: ... here.  Include it.
39968         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
39969         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
39970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39971         Update.
39972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
39973         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
39974         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
39975         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
39976         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
39977         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
39978         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
39979         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
39981 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39983         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39985 2012-05-19  David S. Miller  <davem@davemloft.net>
39987         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39989 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
39991         [BZ #14123]
39992         * math/s_ccosh.c: Include <float.h>
39993         (__ccosh): Avoid internal overflow calculating sinh and cosh
39994         values before multiplying by sin and cos values.
39995         * math/s_ccoshf.c: Likewise.
39996         * math/s_ccoshl.c: Likewise.
39997         * math/s_csin.c: Likewise.
39998         * math/s_csinf.c: Likewise.
39999         * math/s_csinl.c: Likewise.
40000         * math/s_csinh.c: Likewise.
40001         * math/s_csinhf.c: Likewise.
40002         * math/s_csinhl.c: Likewise.
40003         * math/libm-test.inc (ccos_test): Add more tests.
40004         (ccosh_test): Likewise.
40005         (csin_test): Likewise.
40006         (csinh_test): Likewise.
40007         * sysdeps/i386/fpu/libm-test-ulps: Update.
40008         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40010 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
40012         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
40013         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
40015         * sysdeps/x86_64/x32/_itoa.h: Add comment.
40017 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
40019         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
40020         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
40021         * sysdeps/powerpc/soft-fp/Versions: Likewise.
40022         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
40023         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
40024         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
40025         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
40026         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
40027         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
40028         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
40029         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
40030         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
40031         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
40032         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
40033         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
40034         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
40035         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
40036         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
40037         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
40038         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
40039         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
40040         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
40041         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
40042         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
40043         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
40044         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
40045         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
40046         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
40047         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
40048         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
40049         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
40051 2012-05-18  Andreas Jaeger  <aj@suse.de>
40053         * csu/.gitignore: Delete.
40055 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
40057         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
40058         (timex): Use __syscall_slong_t.
40060 2012-05-18  Andreas Jaeger  <aj@suse.de>
40061             Carlos O'Donell  <carlos_odonell@mentor.com>
40063         * manual/install.texi (Configuring and compiling): Update
40064         description about files modified in the source directory.
40065         * INSTALL: Regenerated.
40067 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
40069         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
40070         value.  Use "or" to set return value to -1.
40071         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
40072         negate return value.
40074 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
40076         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
40077         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
40078         failure if the compiler has Graphite support disabled.
40079         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
40080         Likewise.
40081         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
40082         (CFLAGS-memmove.c): Likewise.
40083         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
40084         Likewise.
40086 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
40088         * sysdeps/x86_64/x32/_itoa.h: New file.
40090         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
40091         getdents system call only if kernel and user dirents have the
40092         same d_ino and d_off.
40094         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
40095         LLONG_MAX != LONG_MAX.
40096         (_itoa_word): Use _ITOA_WORD_TYPE on value.
40097         (_fitoa_word): Likewise.
40099         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
40100         years.
40101         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
40102         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
40103         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
40105         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
40106         include <bits/wordsize.h>.  Check __x86_64__ instead of
40107         __WORDSIZE.
40108         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
40109         if __x86_64__ is defined.  Use anonymous union on fpstate.
40111         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
40112         anonymous union.
40114 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
40116         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
40117         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
40118         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
40119         Refer to _rtld_local_ro instead of _rtld_global_ro.
40120         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
40121         Likewise.
40122         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
40123         Likewise.
40124         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
40125         Likewise.
40126         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
40127         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
40128         of _rtld_global, and rtld_progname instead of _dl_argv[0].
40130         * sysdeps/powerpc/powerpc32/dl-machine.c
40131         (__elf_machine_runtime_setup) [PROF]: Don't reference
40132         _dl_prof_resolve.
40134 2012-05-18  Andreas Jaeger  <aj@suse.de>
40136         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
40137         function only available for GCCs before 3.4 since GCC 3.4
40138         introduced a builtin.
40139         (lrint): Likewise.
40140         (llrintf): Likewise.
40141         (llrint): Likewise.
40142         (fmaxf): Likewise.
40143         (fmax): Likewise.
40144         (fminf): Likewise.
40145         (fmin): Likewise.
40146         (rint): Likewise.
40147         (rintf): Likewise.
40148         (nearbyint): Likewise.
40149         (nearbyintf): Likewise.
40150         (ceil): Likewise.
40151         (ceilf): Likewise.
40152         (floor): Likewise.
40153         (floorf): Likewise.
40155 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
40157         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
40158         on both fields and cast pointer to __syscall_ulong_t.
40160         * bits/types.h (__fsword_t): New type.
40161         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
40162         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
40163         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40164         (__FSWORD_T_TYPE): Likewise.
40165         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40166         (__FSWORD_T_TYPE): Likewise.
40167         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40168         (__FSWORD_T_TYPE): Likewise.
40169         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
40170         (__FSWORD_T_TYPE): Likewise.
40171         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
40172         __SWORD_TYPE with __fsword_t.
40173         (statfs64): Likewise.
40175 2012-05-17  David S. Miller  <davem@davemloft.net>
40177         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
40179 2012-05-17  Andreas Jaeger  <aj@suse.de>
40181         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
40182         warning.
40184 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
40186         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
40188 2012-05-17  Andreas Jaeger  <aj@suse.de>
40190         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
40191         when it is used.
40193 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
40195         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
40197 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
40199         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
40200         * sysdeps/x86_64/tst-mallocalign1.c: New file.
40202 2012-05-17  Andreas Jaeger  <aj@suse.de>
40203             Carlos O'Donell  <carlos_odonell@mentor.com>
40205         [BZ #14059]
40206         * sysdeps/x86_64/multiarch/init-arch.h
40207         (bit_YMM_Usable): Rename to...
40208         (bit_AVX_Usable): ... this.
40209         (bit_FMA4_Usable): New macro.
40210         (bit_XMM_state): New macro.
40211         (bit_YMM_state): New macro.
40212         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
40213         [__ASSEMBLER__] (index_AVX_Usable): ... this.
40214         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
40215         (CPUID_OSXSAVE): New macro.
40216         (CPUID_AVX): New macro.
40217         (CPUID_FMA4): New macro.
40218         (index_YMM_Usable): Rename to...
40219         (index_AVX_Usable): ... this.
40220         (HAS_AVX): Use HAS_ARCH_FEATURE.
40221         (HAS_FMA4): Likewise.
40222         (HAS_YMM_USABLE): Remove.
40223         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40224         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
40225         are present.
40226         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
40227         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
40228         * sysdeps/x86_64/multiarch/Makefile: Likewise.
40229         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
40230         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
40232 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
40234         * math/libm-test.c: Support platforms without multiple rounding modes.
40235         * math/bug-nextafter.c: Support platforms without FP exceptions.
40236         * math/bug-nexttoward.c: Likewise.
40237         * math/test-fenv.c: Likewise.
40238         * math/test-misc.c: Likewise.
40239         * stdlib/bug-getcontext.c: Likewise.
40241 2012-05-17  Andreas Jaeger  <aj@suse.de>
40243         * manual/examples/search.c (critter_cmp): Change signature to
40244         avoid warnings.
40245         * manual/string.texi (Collation Functions): Likewise.
40247 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40249         * bits/types.h: Fold copyright years.
40250         * bits/typesizes.h: Likewise.
40251         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
40252         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
40253         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
40254         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
40255         * time/time.h: Likewise.
40257 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
40259         [BZ #208]
40260         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
40261         in instead of returning them.  Return void.
40262         (__libc_mallinfo): Accumulate over all arenas.
40263         (__malloc_stats): Adjust for change in int_mallinfo interface.
40265 2012-05-16  Roland McGrath  <roland@hack.frob.com>
40267         [BZ #10375]
40268         * configure.in (NM): Add AC_CHECK_TOOL for it.
40269         (libc_extra_cflags): New substituted variable.
40270         Check for -fstack-protector being used implicitly.
40271         * configure: Regenerated.
40272         * config.make.in (config-extra-cflags): New variable,
40273         gets @libc_extra_cflags@.
40274         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
40276         [BZ #10375]
40277         * configure.in: Check for _FORTIFY_SOURCE being predefined.
40278         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
40279         * configure: Regenerated.
40280         * config.make.in (CPPUNDEFS): New substituted variable.
40281         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
40282         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
40283         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
40285 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40287         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
40288         (mq_attr): Use __syscall_slong_t.
40290 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40292         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
40293         Check __x86_64__ instead of __WORDSIZE.
40294         (_STAT_VER_LINUX): Likewise.
40295         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
40296         __syscall_ulong_t and __syscall_slong_t.
40297         (stat64): Likewise.
40299 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40301         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
40303 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40305         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
40307 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40309         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
40310         __syscall_ulong_t.
40312         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
40313         include <bits/wordsize.h>.  Check __x86_64__ instead of
40314         __WORDSIZE.
40315         (greg_t): Use "__extension__ long long int" if __x86_64__ is
40316         defined.
40317         (mcontext_t): Replace "unsigned long" with "unsigned long long".
40319         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
40320         include <bits/wordsize.h>.  Check __x86_64__ instead of
40321         __WORDSIZE.
40322         (user_regs_struct): Use "__extension__ unsigned long long"
40323         instead of "unsigned long" if __x86_64__ is defined.
40324         (user): Likewise.  Pad after pointer field if __ILP32__ is
40325         defined.
40327 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
40329         * configure.in (makeinfo): Require version 4.5 or later.  Allow
40330         versions 5 to 9.
40331         * configure: Regenerated.
40332         * manual/install.texi (texinfo): Increase version requirement to
40333         4.5 or later.
40334         * INSTALL: Regenerated.
40336         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
40338 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40340         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
40342         * sysdeps/x86_64/x32/ffs.c: New file.
40344         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
40345         __syscall_ulong_t.
40346         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
40347         defined.  Use __syscall_ulong_t.
40348         (shminfo): Use __syscall_ulong_t.
40349         (shm_info): Likewise.
40351         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
40352         __syscall_ulong_t.
40354         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
40355         <bits/wordsize.h>.
40356         (msgqnum_t): Use __syscall_ulong_t.
40357         (msglen_t): Likewise.
40358         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
40359         __syscall_ulong_t.
40361         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
40362         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
40364         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
40366         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
40367         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
40369         * sysvipc/sys/msg.h (msgbuf): Replace long int with
40370         __syscall_slong_t.
40372         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
40373         include <bits/wordsize.h>.  Check __x86_64__ instead of
40374         __WORDSIZE.
40376         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
40377         "unsigned long long int" if __x86_64__ is defined.
40378         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
40380         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
40381         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
40382         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
40384         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
40385         <stdint.h>.
40386         (GET_PC): Cast to uintptr_t first.
40387         (GET_FRAME): Likewise.
40388         (GET_STACK): Likewise.
40390         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
40391         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
40392         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
40393         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
40394         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
40395         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
40396         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
40397         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
40398         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
40399         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
40400         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
40401         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
40402         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
40403         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
40404         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
40405         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
40406         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
40407         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
40408         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
40409         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
40410         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
40411         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
40412         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
40413         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
40414         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
40415         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
40416         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
40417         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
40418         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
40420 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
40422         * Makerules (+depfiles): Also collect depfiles from .oS in
40423         $(extra-objs).
40424         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
40425         .oS, $(libnldbl-routines)).
40427         * Makerules (native-compile-mkdep-flags): Define.
40428         * sunrpc/Makefile (extra-objs): Add $(addprefix
40429         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
40430         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
40431         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
40432         calling $(make-target-directory).
40434 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40436         * bits/types.h (__snseconds_t): Removed.
40437         * time/time.h (struct timespec): Replace __snseconds_t with
40438         __syscall_slong_t.
40439         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
40440         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
40441         Likewise.
40442         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40443         (__SNSECONDS_T_TYPE): Likewise.
40444         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40445         (__SNSECONDS_T_TYPE): Likewise.
40446         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40447         (__SNSECONDS_T_TYPE): Likewise.
40449 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40451         * sysdeps/mach/hurd/bits/typesizes.h
40452         (__SYSCALL_SLONG_TYPE): New macro.
40453         (__SYSCALL_ULONG_TYPE): Likewise.
40455 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40457         * bits/types.h (__syscall_slong_t): New type.
40458         (__syscall_ulong_t): Likewise.
40460         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
40461         (__SYSCALL_ULONG_TYPE): Likewise.
40462         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40463         (__SYSCALL_SLONG_TYPE): Likewise.
40464         (__SYSCALL_ULONG_TYPE): Likewise.
40465         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40466         (__SYSCALL_SLONG_TYPE): Likewise.
40467         (__SYSCALL_ULONG_TYPE): Likewise.
40468         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40469         (__SYSCALL_SLONG_TYPE): Likewise.
40470         (__SYSCALL_ULONG_TYPE): Likewise.
40472 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40474         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
40475         Add sigaltstack-offsets.sym.
40476         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
40477         <sigaltstack-offsets.h>.
40478         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
40479         longjmp_msg pointer.
40480         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
40481         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
40482         signal stack.
40483         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
40485 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
40487         * elf/stackguard-macros.h: Remove file.
40488         * sysdeps/generic/stackguard-macros.h: New file.
40489         * sysdeps/i386/stackguard-macros.h: Likewise.
40490         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
40491         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
40492         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
40493         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
40494         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
40495         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
40496         * sysdeps/x86_64/stackguard-macros.h: Likewise.
40497         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
40498         <elf/stackguard-macros.h>.
40500         [BZ #14109]
40501         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
40502         __aligned__ in attribute.
40503         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
40504         (gregset_t): Likewise.
40506 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40508         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
40509         * sysdeps/x86_64/64/Implies-after: Here.  New file.
40510         * sysdeps/x86_64/x32/Implies-after: New file.
40512 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40514         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
40515         and access return value for _dl_profile_fixup.  Use R10_LP to
40516         load frame size.
40518 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40520         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
40522 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40524         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
40525         * sysdeps/x86_64/x32/sysdep.h: New file.
40527 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40529         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
40530         * sysdeps/x86_64/setjmp.S: Likewise.
40532 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40534         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
40535         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
40536         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
40537         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
40538         remove unused global constant.
40540 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
40542         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
40543         include of <not-cancel.h>.
40545 2012-05-15  Roland McGrath  <roland@hack.frob.com>
40547         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
40549 2012-05-15  Jeff Law  <law@redhat.com>
40550             Andreas Jaeger  <aj@suse.de>
40552         [BZ #13594]
40553         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
40554         out from...
40555         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
40556         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
40557         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
40558         code changing __hst_map_handle.map.
40560 2012-05-15  Roland McGrath  <roland@hack.frob.com>
40562         * configure.in (sysnames): Look for Implies-before and Implies-after
40563         files.
40564         * configure: Regenerated.
40566 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40568         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
40569         8-byte data alignment with LP_SIZE alignment.
40571 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40573         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
40574         into R10_LP.
40576 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40578         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
40580 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40582         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
40583         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
40584         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
40585         Likewise.
40586         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
40588 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40590         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
40591         (stackinfo_sub_sp): Likewise.
40593 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40595         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
40596         RAX_LP.
40598 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40600         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
40601         into R*_LP.
40603 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40605         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
40606         sizes into R*_LP.
40608 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40610         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
40612 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40614         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
40615         into R11_LP and load __x86_64_shared_cache_size_half into
40616         R8_LP.
40618 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40620         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
40621         R8_LP.
40623 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40625         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
40626         logb for POWER7.
40627         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
40628         logbf for POWER7.
40629         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
40630         logbl for POWER7.
40631         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
40632         powerpc32/power7/fpu/s_logb.c via #include.
40633         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
40634         powerpc32/power7/fpu/s_logbf.c via #include.
40635         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
40636         powerpc32/power7/fpu/s_logbl.c via #include.
40638 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
40640         * README.libm: Remove file.
40642 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40644         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
40645         count for x32.  Use R*_LP and omit operand-size suffix.
40647 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40649         * shlib-versions: Move x86_64-.*-linux.* entries to ...
40650         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
40651         * sysdeps/x86_64/x32/shlib-versions: New file.
40653 2012-05-14  Roland McGrath  <roland@hack.frob.com>
40655         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
40656         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
40657         Use _dl_fatal_printf instead.
40659 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
40661         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
40662         set if not set by the user.  Do not allow for being unset.
40663         * sysdeps/unix/sysv/linux/configure: Regenerated.
40665 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40667         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
40668         the `q' suffix from lea and replace .quad with ASM_ADDR.
40670 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40672         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
40673         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
40674         instead of $17.
40675         (PTR_DEMANGLE): Likewise.
40677 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40679         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
40680         (LP_OP): Likewise.
40681         (ASM_ADDR): Likewise.
40682         (RAX_LP): Likewise.
40683         (RBP_LP): Likewise.
40684         (RBX_LP): Likewise.
40685         (RCX_LP): Likewise.
40686         (RDI_LP): Likewise.
40687         (RSI_LP): Likewise.
40688         (RSP_LP): Likewise.
40689         (R8_LP): Likewise.
40690         (R9_LP): Likewise.
40691         (R10_LP): Likewise.
40692         (R10_LP): Likewise.
40693         (R11_LP): Likewise.
40694         (R12_LP): Likewise.
40695         (R13_LP): Likewise.
40696         (R14_LP): Likewise.
40697         (R15_LP): Likewise.
40699 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40701         * sysdeps/x86_64/x32/dl-machine.h: New file.
40703 2012-05-14  Andreas Jaeger  <aj@suse.de>
40705         * manual/Makefile (subdir): Remove export of subdir.
40706         (all): Remove target.
40707         (.PHONY): Remove all from list.
40708         (mkinstalldirs): Remove.
40709         (.PHONY): Remove installdirs from list.
40710         ($(inst_infodir)/libc.info): Use make-target-directory.
40711         (installdirs): Remove.
40712         (subdir_%): Remove.
40713         (glibc-targets): Remove.
40714         (lib): Remove.
40715         (stubs): Remove.
40716         ($(objpfx)stubs ../po/manual.pot): Remove.
40717         ($(objpfx)stamp%): Remove.
40718         (make-target-directory): Remove.
40719         (subdir_install): Remove.
40720         (routines): Remove.
40721         (aux): Remove.
40722         (sources): Remove.
40723         (objects): Remove.
40724         (headers): Remove.
40726         [BZ #13750]
40727         * manual/.gitignore: Remove, it's not needed anymore.
40728         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
40729         all files in it.
40730         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
40731         directory.
40732         (texis): Renamed to $(objpfx)texis.
40733         (texis-path): New, contains path to generated files.
40734         (chapters.%): Use texis-path for complete path, add extra argument
40735         libc-texinfo.sh.
40736         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
40737         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
40738         (summary,texi, stamp-summary): Use complete path of
40739         files. Generate files in build dir.
40740         (dir-add.texi): Build in build dir.
40741         (libm-err.texi,stamp-libm-err): Likewise.
40742         (version.texi, stamp-version): Likewise.
40743         (.%c.texi): Likewise.
40744         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
40745         (mostlyclean): Remove target.
40746         (realclean): Remove target.
40747         (generated): Add new variable with contents from mostlyclean and
40748         realclean, remove entries duplicated in common-mostlyclean, add
40749         stamp-libm-err and stamp-version.
40750         (generated-dirs): Add libc directory.
40751         ($(inst_infodir)/libc.info): Install files from build dir.
40753         * manual/install.texi (Configuring and compiling): Adjust since
40754         the info files are not part of the tar ball anymore.
40756 2012-05-14  Andreas Jaeger  <aj@suse.de>
40758         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
40759         variable.
40761 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
40763         [BZ #13717]
40764         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
40765         to 2.2.0 where earlier.
40766         * sysdeps/unix/sysv/linux/configure: Regenerated.
40767         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
40768         Remove conditional code.
40769         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
40770         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
40771         Remove conditional code.
40772         [!__NR_lchown]: Likewise.
40773         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40774         [__NR_lchown]: Likewise.
40775         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
40776         comment referencing __ASSUME_LCHOWN_SYSCALL.
40777         * sysdeps/unix/sysv/linux/i386/sigaction.c
40778         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40779         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40780         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
40781         Remove conditional code.
40782         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
40783         (__protocol_available): Remove #if 0 code.
40784         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
40785         conditional code.
40786         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
40787         * sysdeps/unix/sysv/linux/kernel-features.h
40788         (__ASSUME_GETCWD_SYSCALL): Don't define.
40789         (__ASSUME_REALTIME_SIGNALS): Likewise.
40790         (__ASSUME_PREAD_SYSCALL): Likewise.
40791         (__ASSUME_PWRITE_SYSCALL): Likewise.
40792         (__ASSUME_POLL_SYSCALL): Likewise.
40793         (__ASSUME_LCHOWN_SYSCALL): Likewise.
40794         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
40795         non-SPARC.
40796         (__ASSUME_SIOCGIFNAME): Don't define.
40797         (__ASSUME_MSG_NOSIGNAL): Likewise.
40798         (__ASSUME_SENDFILE): Define unconditionally.
40799         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
40800         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
40801         conditional code.
40802         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
40803         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
40804         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
40805         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40806         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
40807         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
40808         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
40810         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40811         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
40813         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40814         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
40816         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40817         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
40819         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40820         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
40822         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40823         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
40825         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40826         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
40828         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40829         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
40831         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40832         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40833         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
40834         Remove conditional code.
40835         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40836         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
40837         Remove conditional code.
40838         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40839         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
40840         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
40841         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
40842         Remove conditional code.
40843         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40844         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
40845         Remove conditional code.
40846         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40847         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
40848         Remove conditional code.
40849         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40850         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
40851         Remove conditional code.
40852         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40853         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
40854         Remove conditional code.
40855         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40856         * sysdeps/unix/sysv/linux/sh/pwrite64.c
40857         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40858         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40859         * sysdeps/unix/sysv/linux/sigaction.c
40860         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40861         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40862         * sysdeps/unix/sysv/linux/sigpending.c
40863         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40864         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40865         * sysdeps/unix/sysv/linux/sigprocmask.c
40866         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40867         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40868         * sysdeps/unix/sysv/linux/sigsuspend.c
40869         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40870         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40871         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
40872         (__libc_missing_rt_sigs): Remove.
40873         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
40874         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
40875         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
40876         Remove conditional code.
40877         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
40878         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
40879         return 1.
40880         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
40881         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
40882         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
40883         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
40885 2012-05-14  Andreas Jaeger  <aj@suse.de>
40887         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
40888         it's not used in glibc.
40889         (__coshm1): Likewise.
40890         (__acosh1p): Likewise.
40891         (__sgn): Likewise.
40893         * manual/string.texi (Copying and Concatenation): Add missing
40894         variable in concat example.
40895         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
40897 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40899         [BZ #14103]
40900         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
40901         __builtin_clzl with __builtin_clzll.
40903 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40905         [BZ #14104]
40906         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
40907         libc_freeres_ptr.
40909 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40911         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
40912         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
40913         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
40914         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
40916 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
40918         * NEWS: Update ia64 info.
40920 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
40922         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
40923         used as bcopy.
40925 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
40927         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
40928         * sysdeps/unix/syscalls.list (dup3): Likewise.
40929         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
40930         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
40932 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
40934         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
40935         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
40937 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
40939         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
40940         thread pointer.
40941         (TLS_IE): Use mov/add instead of movq/addq to load thread
40942         pointer.
40943         (TLS_GD_PREFIX): New.
40944         (TLS_GD): Use it.
40946 2012-05-11  David S. Miller  <davem@davemloft.net>
40948         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
40949         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
40950         (_FPU_SETCW): Likewise.
40952 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
40954         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
40955         is 32-byte aligned.
40957 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
40959         [BZ #11837]
40960         * iconvdata/gb18030.c: Update tables.
40961         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
40962         characters specially.
40963         (BODY for TO_LOOP): Add encoding of missing ranges.
40965 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
40967         [BZ #13673]
40968         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
40969         * sysdeps/mach/hurd/dup3.c: Likewise.
40970         * sysdeps/mach/hurd/readlinkat.c: Likewise.
40971         * sysdeps/powerpc/memmove.c:: Likewise.
40973 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
40975         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
40976         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
40978 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
40980         * elf/elf.h (R_X86_64_RELATIVE64): New.
40981         (R_X86_64_NUM): Updated.
40982         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
40983         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
40984         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
40985         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
40986         tst-quad1pie tst-quad2pie
40987         (modules-names): Add tst-quadmod1 tst-quadmod2.
40988         ($(objpfx)tst-quad1): New dependency.
40989         ($(objpfx)tst-quad2): Likewise.
40990         ($(objpfx)tst-quad1pie): Likewise.
40991         ($(objpfx)tst-quad2pie): Likewise.
40992         * sysdeps/x86_64/tst-quad1.c: New file.
40993         * sysdeps/x86_64/tst-quad1pie.c: New file.
40994         * sysdeps/x86_64/tst-quad2.c: Likewise.
40995         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
40996         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
40997         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
40998         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
40999         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
41001 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41003         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
41004         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
41005         * streams/stropts.h (t_scalar_t): Define type.
41007         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
41008         (_PATH_PRESERVE): Set to "/var/lib".
41009         (_PATH_RWHODIR): Set to "/var/spool/rwho".
41011         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
41012         instead of int.
41014         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
41015         if __dir_mkfile succeeded.
41017         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
41018         checking for _hurd_dtablesize.  Unlock it right after having
41019         finished _hurd_dtable allocation.
41021 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41023         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
41024         * sysdeps/mach/hurd/configure: Regenerated.
41025         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
41026         special-casing to...
41027         * sysdeps/gnu/configure.in: ... this new file.
41028         * sysdeps/unix/sysv/linux/configure: Regenerated.
41029         * sysdeps/gnu/configure: New generated file.
41031         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
41032         for Linux: use nsec instead of usec, as well as:
41033         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
41034         members of type struct timespec.
41035         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
41036         New macros.
41037         (struct stat64): Likewise.
41038         (_STATBUF_ST_NSEC): New macro.
41039         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
41041         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
41042         __strtoul_internal rather than strtoul.
41044 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
41046         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
41047         and reject them.
41049 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41051         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
41052         which preserves existing values.
41053         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
41055 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
41057         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
41058         TIMEOUT values.  Return EINVAL for NFDS values either negative or
41059         greater than FD_SETSIZE.
41061 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41063         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
41064         allocated, call __vm_protect to finish enabling the existing space, and
41065         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
41066         allocate the remainder.
41068 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
41070         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
41071         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
41073 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41075         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
41076         sysdeps/mach/hurd/readlink.c.
41078         * posix/tst-sysconf.c (posix_options): Only use
41079         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
41080         _POSIX_SYNCHRONIZED_IO when they are defined
41081         * sysdeps/mach/hurd/bits/posix_opt.h:
41082         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
41083         (_XOPEN_REALTIME): Undefine macro.
41084         (_XOPEN_REALTIME_THREADS): Undefine macro.
41085         (_XOPEN_SHM): Undefine macro.
41086         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
41087         macro to -1.
41088         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
41089         macro to -1.
41090         (_POSIX_ASYNC_IO): Undefine macro.
41091         (_POSIX_PRIORITIZED_IO): Undefine macro.
41092         (_POSIX_SPIN_LOCKS): Define macro to -1.
41094         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
41095         SA_NODEFER, SA_RESETHAND.
41096         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
41097         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
41098         F_DUPFD_CLOEXEC.
41100 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41102         * elf/Makefile (pldd-modules): Define unconditionally.
41104 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41106         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
41108 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41110         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
41111         Return ENOENT when name is empty.
41112         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
41114 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41116         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
41118         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
41120 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41122         Fix mlock in all cases except non-readable pages.
41123         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
41124         instead of VM_PROT_ALL as parameter to __vm_wire function.
41126         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
41127         (__mkdir): When path is `/', just fail with EEXIST.
41128         * sysdeps/mach/hurd/mkdirat.c: Likewise.
41130 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41132         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
41133         <sys/uio.h> (for writev).
41134         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
41135         and <sys/param.h> (for MIN).
41137 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
41139         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
41140         REQUESTED_TIME.  Properly set the remaining time and return EINTR
41141         if interrupted.
41143 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41145         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
41146         Depend on against $(link-rpcuserlibs).
41148 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41150         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
41151         (__libc_stack_end): Do not use attribute_relro.
41152         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
41153         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
41154         to libthread-provided value.
41155         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
41156         attribute_relro.
41158 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41160         [BZ #3748]
41161         * bits/libc-lock.h (__libc_once_get): New macro.
41162         * sysdeps/mach/bits/libc-lock.h: Likewise.
41163         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
41164         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
41165         instead of using implementation details.
41167         * libio/fileops.c: Unconditionally include <kernel-features.h>.
41168         * libio/freopen.c: Likewise.
41169         * libio/freopen64.c: Likewise.
41170         * misc/syslog.c: Likewise.
41171         * nscd/connections.c: Likewise.
41172         * nscd/netgroupcache.c: Likewise.
41173         * sysdeps/posix/getcwd.c: Likewise.
41175 2012-05-10  Roland McGrath  <roland@hack.frob.com>
41177         * math/w_ilogbf.c: Add #include <limits.h>.
41179 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41181         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
41182         path instead of returning without unlocking.
41184         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
41185         immediate-write ioctls.
41186         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
41188 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41190         * sysdeps/mach/hurd/i386/init-first.c (init): Use
41191         __builtin_frame_address instead of making assumptions about the
41192         location of the return address relative to DATA.  Force early load of
41193         the return address.
41194         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
41195         __builtin_frame_address.
41197         dup3 for GNU Hurd.
41198         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
41199         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
41200         implement dup3 and do some further code clean-ups.
41201         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
41202         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
41204 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41206         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
41208         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
41209         HURD_CRITICAL_END around holding _hurd_dtable_lock.
41210         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
41211         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
41212         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
41213         d->port.lock.
41215         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
41216         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
41217         when handler == SIG_ERR, not when handler != SIG_ERR.
41219 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41221         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
41222         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
41223         definitions.
41225         accept4 for GNU Hurd.
41226         * include/sys/socket.h (__libc_accept4): New prototype.
41227         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
41228         to implement __libc_accept4.
41229         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
41230         __libc_accept4.
41231         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
41233         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
41234         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
41235         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
41236         signal-defines.sym.
41238 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41240         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
41242 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41244         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
41245         assertion on O_CLOEXEC flag.
41246         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
41247         * hurd/intern-fd.c: Likewise.
41248         * hurd/port2fd.c: Likewise.
41250 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41252         [BZ #3906]
41253         * bits/in.h (IPV6_PKTINFO): Define new macro.
41254         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
41256 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41258         [BZ #13954]
41259         [BZ #13955]
41260         [BZ #13956]
41261         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
41262         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41263         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
41264         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
41265         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41266         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
41267         * math/libm-test.inc (logb_test) : Additional logb tests.
41269 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
41270             Andreas Jaeger  <aj@suse.de>
41272         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
41273         * configure: Regenerated.
41274         * config.h.in (LINK_OBSOLETE_RPC): New macro.
41275         * config.make.in (link-obsolete-rpc): New substituted variable.
41276         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
41277         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
41278         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
41279         (shared-only-routines): Don't set it under [link-obsolete-rpc],
41280         so that libc.a contains the symbols.
41281         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
41282         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
41283         * sunrpc/auth_none.c: Likewise.
41284         * sunrpc/auth_unix.c: Likewise.
41285         * sunrpc/authdes_prot.c: Likewise.
41286         * sunrpc/authuxprot.c: Likewise.
41287         * sunrpc/clnt_gen.c: Likewise.
41288         * sunrpc/clnt_perr.c: Likewise.
41289         * sunrpc/clnt_raw.c: Likewise.
41290         * sunrpc/clnt_simp.c: Likewise.
41291         * sunrpc/clnt_tcp.c: Likewise.
41292         * sunrpc/clnt_udp.c: Likewise.
41293         * sunrpc/clnt_unix.c: Likewise.
41294         * sunrpc/des_crypt.c: Likewise.
41295         * sunrpc/des_soft.c: Likewise.
41296         * sunrpc/get_myaddr.c: Likewise.
41297         * sunrpc/key_call.c: Likewise.
41298         * sunrpc/key_prot.c: Likewise.
41299         * sunrpc/netname.c: Likewise.
41300         * sunrpc/pm_getmaps.c: Likewise.
41301         * sunrpc/pm_getport.c: Likewise.
41302         * sunrpc/pmap_clnt.c: Likewise.
41303         * sunrpc/pmap_prot.c: Likewise.
41304         * sunrpc/pmap_prot2.c: Likewise.
41305         * sunrpc/pmap_rmt.c: Likewise.
41306         * sunrpc/publickey.c: Likewise.
41307         * sunrpc/rpc_cmsg.c: Likewise.
41308         * sunrpc/rpc_common.c: Likewise.
41309         * sunrpc/rpc_dtable.c: Likewise.
41310         * sunrpc/rpc_prot.c: Likewise.
41311         * sunrpc/rpc_thread.c: Likewise.
41312         * sunrpc/rtime.c: Likewise.
41313         * sunrpc/svc.c: Likewise.
41314         * sunrpc/svc_auth.c: Likewise.
41315         * sunrpc/svc_raw.c: Likewise.
41316         * sunrpc/svc_run.c: Likewise.
41317         * sunrpc/svc_tcp.c: Likewise.
41318         * sunrpc/svc_udp.c: Likewise.
41319         * sunrpc/svc_unix.c: Likewise.
41320         * sunrpc/svcauth_des.c: Likewise.
41321         * sunrpc/xcrypt.c: Likewise.
41322         * sunrpc/xdr.c: Likewise.
41323         * sunrpc/xdr_array.c: Likewise.
41324         * sunrpc/xdr_float.c: Likewise.
41325         * sunrpc/xdr_intXX_t.c: Likewise.
41326         * sunrpc/xdr_mem.c: Likewise.
41327         * sunrpc/xdr_rec.c: Likewise.
41328         * sunrpc/xdr_ref.c: Likewise.
41329         * sunrpc/xdr_sizeof.c: Likewise.
41330         * sunrpc/xdr_stdio.c: Likewise.
41332 2012-05-10  Roland McGrath  <roland@hack.frob.com>
41334         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
41335         change.  Update copyright years.
41337 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
41339         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
41341 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
41342             Joseph Myers  <joseph@codesourcery.com>
41343             Paul Pluzhnikov  <ppluzhnikov@google.com>
41345         [BZ #14012]
41346         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
41347         requiring rpcgen.
41348         [cross-compiling] (extra-libs): Likewise.
41349         [cross-compiling] (extra-libs-others): Likewise.
41350         [cross-compiling] (librpcsvc-routines): Likewise.
41351         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
41352         [cross-compiling] (omit-deps): Likewise.
41353         (sunrpc-CPPFLAGS): New variable.
41354         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
41355         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
41356         (cross-rpcgen-objs): New variable.
41357         (extra-objs): Append $(cross-rpcgen-objs).
41358         ($(cross-rpcgen-objs)): New rule.
41359         ($(objpfx)cross-rpcgen): Likewise.
41360         (rpcgen-cmd): Define to use $(built-program-file).  Expand
41361         comment.
41362         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
41363         ($(objpfx)x%.stmp): Likewise.
41364         * sunrpc/proto.h [IS_IN_build] (_): Define.
41365         [IS_IN_build] (_libc_intl_domainname): Likewise.
41367 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
41369         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
41370         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
41371         and R_X86_64_TPOFF64.
41373 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
41375         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
41376         sysdeps/unix/sysv/syscalls.list.
41377         (stime): Likewise.
41378         (utime): Likewise.
41379         * sysdeps/unix/sysv/syscalls.list: Remove file.
41381 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
41383         [BZ #3440]
41384         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
41385         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
41386         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
41387         (__LC_IDENTIFICATION): Make these macros useful in #if
41388         expressions, as required by C99.
41390 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
41392         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
41393         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
41394         after this.
41396 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
41398         * stdlib/longlong.h: Updated from GCC.
41400 2012-05-09  Andreas Jaeger  <aj@suse.de>
41402         * nscd/nscd.c (run_modes): Make named enum, reorder so that
41403         default is first entry.
41404         (run_mode): Set type.
41405         (main): Remove informal message about syslog.
41406         (options): Fix typo.
41408         [BZ #14053]
41409         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
41410         to asm.
41411         (lrint): Likewise.
41412         (llrintf): Likewise.
41413         (llrint): Likewise.
41414         (rint): Likewise.
41415         (rintf): Likewise.
41416         (nearbyint): Likewise.
41417         (nearbyintf): Likewise.
41419 2012-05-09  Andreas Jaeger  <aj@suse.de>
41420             Pedro Alves  <palves@redhat.com>
41422         * nscd/nscd.c (run_mode): Use enum.
41423         (main): Cleanup coding style issue.
41425 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
41426             Andreas Jaeger  <aj@suse.de>
41428         * nscd/nscd.c (go_background): Replaced with...
41429         (run_mode): ... this.
41430         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
41431         (options): Add -F --foreground.
41432         (main): Implement it.
41433         (parse_opt): Parse it.
41435 2012-05-09  Andreas Jaeger  <aj@suse.de>
41437         [BZ #14083]
41438         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
41439         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
41440         -Wconversion warning.
41441         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
41442         Likewise.
41444 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
41446         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
41447         == 0.
41448         (LC_ALL): Use macro-int-constant.
41449         (LC_COLLATE): Likewise.
41450         (LC_CTYPE): Likewise.
41451         (LC_MESSAGES): Likewise.
41452         (LC_MONETARY): Likewise.
41453         (LC_NUMERIC): Likewise.
41454         (LC_TIME): Likewise.
41455         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
41456         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
41457         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41458         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
41459         Specify type.
41460         [C99-based standards] (float_t): Expect type.
41461         [C99-based standards] (double_t): Expect type.
41462         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
41463         type.
41464         [C99-based standards] (HUGE_VALL): Likewise.
41465         [C99-based standards] (INFINITY): Likewise.
41466         [C99-based standards] (NAN): Likewise.
41467         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
41468         [C99-based standards] (FP_NAN): Likewise.
41469         [C99-based standards] (FP_NORMAL): Likewise.
41470         [C99-based standards] (FP_SUBNORMAL): Likewise.
41471         [C99-based standards] (FP_ZERO): Likewise.
41472         [C99-based standards] (FP_FAST_FMA): Use
41473         optional-macro-int-constant.  Specify type.  Require == 1.
41474         [C99-based standards] (FP_FAST_FMAF): Likewise.
41475         [C99-based standards] (FP_FAST_FMAL): Likewise.
41476         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
41477         [C99-based standards] (FP_ILOGBNAN): Likewise.
41478         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
41479         Specify type.
41480         [C99-based standards] (MATH_ERREXCEPT): Likewise.
41481         [C99-based standards] (math_errhandling): Specify type.
41482         [ISO99 || ISO11] (signgam): Do not allow.
41483         [non-C99-based standards] (copysignf): Do not allow.
41484         [non-C99-based standards] (exp2f): Likewise.
41485         [non-C99-based standards] (log2f): Likewise.
41486         [non-C99-based standards] (modff): Allow.
41487         [non-C99-based standards] (erff): Do not allow.
41488         [non-C99-based standards] (erfcf): Likewise.
41489         [non-C99-based standards] (gammaf): Likewise.
41490         [non-C99-based standards] (hypotf): Likewise.
41491         [non-C99-based standards] (j0f): Likewise.
41492         [non-C99-based standards] (j1f): Likewise.
41493         [non-C99-based standards] (jnf): Likewise.
41494         [non-C99-based standards] (lgammaf): Likewise.
41495         [non-C99-based standards] (tgammaf): Likewise.
41496         [non-C99-based standards] (y0f): Likewise.
41497         [non-C99-based standards] (y1f): Likewise.
41498         [non-C99-based standards] (ynf): Likewise.
41499         [non-C99-based standards] (isnanf): Likewise.
41500         [non-C99-based standards] (acoshf): Likewise.
41501         [non-C99-based standards] (asinhf): Likewise.
41502         [non-C99-based standards] (atanhf): Likewise.
41503         [non-C99-based standards] (cbrtf): Likewise.
41504         [non-C99-based standards] (expm1f): Likewise.
41505         [non-C99-based standards] (ilogbf): Likewise.
41506         [non-C99-based standards] (log1pf): Likewise.
41507         [non-C99-based standards] (logbf): Likewise.
41508         [non-C99-based standards] (nextafterf): Likewise.
41509         [non-C99-based standards] (remainderf): Likewise.
41510         [non-C99-based standards] (rintf): Likewise.
41511         [non-C99-based standards] (scalbf): Likewise.
41512         [non-C99-based standards] (copysignl): Likewise.
41513         [non-C99-based standards] (exp2l): Likewise.
41514         [non-C99-based standards] (log2l): Likewise.
41515         [non-C99-based standards] (modfl): Allow.
41516         [non-C99-based standards] (erfl): Do not allow.
41517         [non-C99-based standards] (erfcl): Likewise.
41518         [non-C99-based standards] (gammal): Likewise.
41519         [non-C99-based standards] (hypotl): Likewise.
41520         [non-C99-based standards] (j0l): Likewise.
41521         [non-C99-based standards] (j1l): Likewise.
41522         [non-C99-based standards] (jnl): Likewise.
41523         [non-C99-based standards] (lgammal): Likewise.
41524         [non-C99-based standards] (tgammal): Likewise.
41525         [non-C99-based standards] (y0l): Likewise.
41526         [non-C99-based standards] (y1l): Likewise.
41527         [non-C99-based standards] (ynl): Likewise.
41528         [non-C99-based standards] (isnanl): Likewise.
41529         [non-C99-based standards] (acoshl): Likewise.
41530         [non-C99-based standards] (asinhl): Likewise.
41531         [non-C99-based standards] (atanhl): Likewise.
41532         [non-C99-based standards] (cbrtl): Likewise.
41533         [non-C99-based standards] (expm1l): Likewise.
41534         [non-C99-based standards] (ilogbl): Likewise.
41535         [non-C99-based standards] (log1pl): Likewise.
41536         [non-C99-based standards] (logbl): Likewise.
41537         [non-C99-based standards] (nextafterl): Likewise.
41538         [non-C99-based standards] (remainderl): Likewise.
41539         [non-C99-based standards] (rintl): Likewise.
41540         [non-C99-based standards] (scalbl): Likewise.
41541         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41542         [non-C99-based standards] (FP_*): Do not allow.
41543         [C99-based standards] (FP_*): Change to
41544         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
41545         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41546         allow.
41547         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
41548         (SIG_ERR): Likewise.
41549         [X/Open-based standards] (SIG_HOLD): Likewise.
41550         (SIG_IGN): Likewise.
41551         (SIGABRT): Use macro-int-constant.  Specify type.  Require
41552         positive value.
41553         (SIGFPE): Likewise.
41554         (SIGILL): Likewise.
41555         (SIGINT): Likewise.
41556         (SIGSEGV): Likewise.
41557         (SIGTER): Likewise.
41558         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
41559         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
41560         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
41561         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
41562         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
41563         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
41564         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
41565         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
41566         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
41567         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
41568         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
41569         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
41570         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
41571         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
41572         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
41573         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
41574         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
41575         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
41576         [X/Open-based standards] (SIGTRAP): Likewise.
41577         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
41578         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
41579         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
41580         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
41581         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41582         allow.
41584 2012-05-08  Ian Wienand  <ianw@vmware.com>
41586         [BZ #14080]
41587         * time/tzset.c (__tzset_parse_tz): Update default rules for
41588         daylight time changes in the Energy Policy Act of 2005.
41590 2012-05-09  Andreas Jaeger  <aj@suse.de>
41592         [BZ #13983]
41593         * elf/ldconfig.c (parse_conf): Change string to make clear that
41594         ldconfig only issued a warning if ld.so.conf does not exist.
41596 2012-05-08  David S. Miller  <davem@davemloft.net>
41598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
41599         movxtod instead of popping the value on the stack.
41601         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41603 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
41605         * config.h.in: Add HAVE_ARM_PCS_VFP.
41607 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
41609         [BZ #13979]
41610         * include/features.h: Warn if user requests __FORTIFY_SOURCE
41611         checking but the checks are disabled for any reason.
41613 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
41615         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
41616         and ELF64_R_TYPE with ELFW(R_TYPE).
41618 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
41620         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
41621         (ulimit): Likewise.
41623         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
41624         (settimeofday): Likewise.
41626 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
41628         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
41629         a struct th_u2 inside the union, and move tu_block/tu_code into
41630         a new th_u3 union of tu_block/tu_code inside of that.  Move
41631         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
41632         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
41633         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
41634         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
41635         (th_stuff): Change to th_u1.tu_stuff.
41636         (th_data): Define.
41637         (th_msg): Change to th_u1.th_u2.tu_data.
41639 2012-05-07  David S. Miller  <davem@davemloft.net>
41641         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41643         [BZ #14074]
41644         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
41645         (SETUP_PIC_REG): Use it.
41646         (SETUP_PIC_REG_LEAF): Use it.
41648 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
41650         [BZ #13885]
41651         [BZ #13923]
41652         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41653         USE_AS_EXPM1L.
41654         (EXPL_FINITE): Likewise.
41655         (FLDLOG): Likewise.
41656         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
41657         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
41658         e_expl.S.
41659         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41660         USE_AS_EXPM1L.
41661         (EXPL_FINITE): Likewise.
41662         (FLDLOG): Likewise.
41663         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
41664         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
41665         e_expl.S.
41666         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
41667         test of -max_value argument for long double.
41668         * sysdeps/i386/fpu/libm-test-ulps: Update.
41669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41671 2012-05-06  David S. Miller  <davem@davemloft.net>
41673         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
41674         quad soft-float symbols whose references which are compiler
41675         generated.
41676         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
41678 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
41680         [BZ #13884]
41681         [BZ #13914]
41682         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41683         USE_AS_EXP10L.
41684         (EXPL_FINITE): Likewise.
41685         (FLDLOG): Likewise.
41686         (c0): Likewise.
41687         (c1): Likewise.
41688         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
41689         Adjust comments for base varying.
41690         (__expl_finite): Change alias to EXPL_FINITE.
41691         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
41692         e_expl.S.
41693         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
41694         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
41695         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
41696         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
41697         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41698         USE_AS_EXP10L.
41699         (EXPL_FINITE): Likewise.
41700         (FLDLOG): Likewise.
41701         (c0): Likewise.
41702         (c1): Likewise.
41703         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
41704         Adjust comments for base varying.
41705         (__expl_finite): Change alias to EXPL_FINITE.
41706         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
41707         tests for bugs.
41708         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41710         [BZ #14064]
41711         * math/libm-test.inc (check_float_internal): Correct ulp
41712         calculation for subnormal expected results.
41714 2012-05-06  Andreas Jaeger  <aj@suse.de>
41716         * Makeconfig (+math-flags): New, set to -frounding-math.
41717         (+cflags): Add +math-flags so that all of glibc gets compiled with
41718         it.
41720         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
41722 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
41724         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
41725         Disable one test.
41727         [BZ #13787]
41728         [BZ #13922]
41729         [BZ #14036]
41730         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
41731         (__ieee754_expl): Allow for and saturate large arguments.
41732         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
41733         (u_threshold): Likewise.
41734         (__exp): Call __ieee754_exp before checking for overflow and
41735         underflow.
41736         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
41737         (u_threshold): Likewise.
41738         (__expf): Call __ieee754_expf before checking for overflow and
41739         underflow.
41740         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
41741         (u_threshold): Likewise.
41742         (__expl): Call __ieee754_expl before checking for overflow and
41743         underflow.
41744         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
41745         (__ieee754_expl): Allow for and saturate large arguments.
41746         * math/libm-test.inc (exp_test): Add another test.  Do not allow
41747         missing overflow exception on overflow.
41748         (expm1_test): Do not allow missing overflow exception on overflow.
41750         * sysdeps/i386/fpu/e_expl.c: Move to ...
41751         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
41752         rather than using inline asm.
41753         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
41754         * sysdeps/x86_64/fpu/e_expl.S: Copy from
41755         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
41757         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
41758         (nice): Likewise.
41759         (poll): Likewise.
41760         (signal): Likewise.
41761         (time): Likewise.
41762         (times): Likewise.
41764 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
41766         * sysdeps/unix/syscalls.list (adjtime): Add entry from
41767         sysdeps/unix/common/syscalls.list.
41768         (fchmod): Likewise.
41769         (fchown): Likewise.
41770         (ftruncate): Likewise.
41771         (getrusage): Likewise.
41772         (gettimeofday): Likewise.
41773         (setpgid): Likewise.
41774         (setregid): Likewise.
41775         (setreuid): Likewise.
41776         (sigaction): Likewise.
41777         (truncate): Likewise.
41778         (vhangup): Likewise.
41779         * sysdeps/unix/common/syscalls.list: Remove file.
41780         * sysdeps/unix/bsd/Implies: Don't include unix/common.
41781         * sysdeps/unix/sysv/linux/Implies: Likewise.
41783 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
41785         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
41786         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
41787         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
41788         Moved to ...
41789         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
41790         Here.
41791         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
41792         to ...
41793         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
41794         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
41795         to ...
41796         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
41797         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
41798         to ...
41799         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
41800         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
41801         to ...
41802         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
41803         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
41804         to ...
41805         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
41806         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
41807         to ...
41808         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
41809         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
41810         to ...
41811         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
41812         Here.
41813         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
41814         to ...
41815         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
41816         Here.
41817         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
41818         to ...
41819         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
41820         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
41821         Moved to ...
41822         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
41823         Here.
41824         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
41825         to ...
41826         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
41828 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
41830         * sysdeps/unix/common/bits/dirent.h: Remove file.
41831         * sysdeps/unix/common/bits/fcntl.h: Likewise.
41833         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
41834         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
41835         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
41836         * sysdeps/unix/bsd/isatty.c: Likewise.
41837         * sysdeps/unix/bsd/tcdrain.c: Likewise.
41838         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
41839         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
41841 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41843         [BZ #13563]
41844         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
41845         long double comparison inaccuracies.
41846         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
41847         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41849 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
41851         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
41852         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
41854 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
41856         [BZ #14049]
41857         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
41858         nonzero digits before rounding a hex value.
41859         * stdlib/tst-strtod.c (tests): Add another test.
41861 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41863         * sysdeps/s390/fpu/libm-test-ulps: Update.
41865 2012-05-03  Andreas Jaeger  <aj@suse.de>
41867         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
41868         does not get optimized out.
41869         (malloc_opt_barrier): New.
41871 2012-05-03  Andreas Jaeger  <aj@suse.de>
41872             Roland McGrath  <roland@hack.frob.com>
41874         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
41875         intermediate file deletion.
41876         (generated): Add .symlist files.
41878 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
41880         [BZ #13775]
41881         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
41882         Redirect under this condition.
41883         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
41884         [__USE_GNU] (__dprintf_chk): Not under this condition.
41885         [__USE_GNU] (__vdprintf_chk): Likewise.
41886         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
41887         under this condition.
41888         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
41889         [__USE_XOPEN2K8] (dprintf): Define under this condition.
41890         [__USE_XOPEN2K8] (vdprintf): Likewise.
41891         [__USE_GNU] (__dprintf_chk): Not under this condition.
41892         [__USE_GNU] (__vdprintf_chk): Likewise.
41893         [__USE_GNU] (dprintf): Likewise.
41894         [__USE_GNU] (vdprintf): Likewise.
41896 2012-05-03  Roland McGrath  <roland@hack.frob.com>
41898         * elf/Makefile (common-generated): Set this instead of generated for
41899         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
41900         $(all-built-dso)-derived lists.
41902 2012-05-03  Andreas Jaeger  <aj@suse.de>
41904         * sysdeps/i386/fpu/libm-test-ulps: Update.
41906         * FAQ: Removed.
41907         * FAQ.in: Likewise.
41908         * scripts/gen-FAQ.pl: Likewise.
41909         * manual/install.texi (Installation): Point to online location of
41910         FAQ.
41911         * Makefile (files-for-dist): Remove FAQ.
41912         (FAQ): Remove.
41914 2012-05-02  Allan McRae  <allan@archlinux.org>
41916         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
41917         (LDFLAGS-reldepmod5.so): Likewise.
41918         (LDFLAGS-reldep6mod1.so): Likewise.
41919         (LDFLAGS-reldep6mod4.so): Likewise.
41920         (LDFLAGS-reldep8mod3.so): Likewise.
41921         (LDFLAGS-unload4mod1.so): Likewise.
41922         (LDFLAGS-unload4mod2.so): Likewise.
41923         (LDFLAGS-tst-initorder): Likewise.
41924         (LDFLAGS-tst-initordera2.so): Likewise.
41925         (LDFLAGS-tst-initordera3.so): Likewise.
41926         (LDFLAGS-tst-initordera4.so): Likewise.
41927         (LDFLAGS-tst-initorderb2.so): Likewise.
41928         (LDFLAGS-noload): Likewise.
41929         (LDFLAGS-next): Likewise.
41930         (LDFLAGS-order2mod1.so): Likewise.
41931         (LDFLAGS-order2mod2.so): Likewise.
41932         (LDFLAGS-tst-initorder2): Likewise.
41933         (LDFLAGS-tst-initorder2a.so): Likewise.
41934         (LDFLAGS-tst-initorder2b.so): Likewise.
41935         (LDFLAGS-tst-initorder2c.so): Likewise.
41936         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
41938 2012-05-02  David S. Miller  <davem@davemloft.net>
41940         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41942 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
41944         [BZ #14055]
41945         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
41947 2012-05-02  Andreas Jaeger  <aj@suse.de>
41949         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
41950         since we manipulate rounding mode.
41951         (CPPFLAGS-test-idouble.c): Likewise.
41952         (CPPFLAGS-test-ifloat.c): Likewise.
41953         (CFLAGS-test-ldouble.c): Likewise.
41954         (CFLAGS-test-double.c): Likewise.
41955         (CFLAGS-test-float.c): Likewise.
41956         (CFLAGS-test-misc.c): Likewise.
41957         (CFLAGS-test-test-fenv.c): Likewise.
41959 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41961         [BZ #2550]
41962         [BZ #2570]
41963         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
41964         comparisons to determine direction to adjust input.
41966 2012-05-01  Roland McGrath  <roland@hack.frob.com>
41968         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
41969         output to the target.
41971         * scripts/localplt.awk: New file.
41972         * elf/Makefile ($(objpfx)check-localplt): Target removed.
41973         (check-localplt-CFLAGS): Variable removed.
41974         ($(all-built-dso:=.jmprel)): New static pattern rule.
41975         (generated): Add those targets.
41976         (localplt-built-dso): New variable.
41977         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
41979         * elf/check-localplt.c: File removed.
41981         * scripts/check-execstack.awk: New file.
41982         * elf/Makefile ($(objpfx)check-execstack): Target removed.
41983         (check-execstack-CFLAGS): Variable removed.
41984         ($(objpfx)check-execstack.h): Target removed.
41985         ($(objpfx)execstack-default): New target.
41986         (generated): Add that instead of check-execstack.h.
41987         ($(all-built-dso:=.phdr)): New static pattern rule.
41988         (generated): Add those targets.
41989         * elf/check-execstack.c: File removed.
41991         * scripts/check-textrel.awk: New file.
41992         * elf/Makefile ($(objpfx)check-textrel): Target removed.
41993         (check-textrel-CFLAGS): Variable removed.
41994         (all-built-dso): Use := to define.o
41995         ($(all-built-dso:=.dyn)): New static pattern rule.
41996         (generated): Add those targets.
41997         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
41998         * config.make.in (READELF): New substituted variable.
41999         * elf/check-textrel.c: File removed.
42001 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
42003         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42004         allow.
42005         * conform/data/ctype.h-data [C99-based standards] (isblank):
42006         Expect function.
42007         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
42008         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
42009         [ISO || ISO99 || ISO11] (*_t): Do not allow.
42010         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
42011         Specify type.  Require positive value.
42012         (EILSEQ): Likewise.
42013         (ERANGE): Likewise.
42014         [ISO || POSIX] (EILSEQ): Do not expect.
42015         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
42016         Specify type.  Require positive value.
42017         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
42018         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
42019         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
42020         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
42021         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
42022         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
42023         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
42024         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
42025         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
42026         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
42027         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
42028         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
42029         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
42030         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
42031         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
42032         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
42033         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
42034         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
42035         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
42036         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
42037         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
42038         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
42039         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
42040         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
42041         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
42042         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
42043         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
42044         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
42045         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
42046         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
42047         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
42048         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
42049         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
42050         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
42051         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
42052         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
42053         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
42054         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
42055         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
42056         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
42057         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
42058         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
42059         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
42060         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
42061         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
42062         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
42063         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
42064         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
42065         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
42066         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
42067         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
42068         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
42069         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
42070         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
42071         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
42072         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
42073         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
42074         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
42075         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
42076         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
42077         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
42078         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
42079         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
42080         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
42081         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
42082         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
42083         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
42084         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
42085         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
42086         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
42087         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
42088         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
42089         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
42090         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
42091         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
42092         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
42093         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
42094         Require >= 2.
42095         (FLT_ROUNDS): Expect as macro, not constant.
42096         (FLT_MANT_DIG): Use macro-int-constant.
42097         (DBL_MANT_DIG): Likewise.
42098         (LDBL_MANT_DIG): Likewise.
42099         (FLT_DIG): Likewise.
42100         (DBL_DIG): Likewise.
42101         (LDBL_DIG): Likewise.
42102         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
42103         (DBL_MIN_EXP): Likewise.
42104         (LDBL_MIN_EXP): Likewise.
42105         (FLT_MAX_EXP): Use macro-int-constant.
42106         (DBL_MAX_EXP): Likewise.
42107         (LDBL_MAX_EXP): Likewise.
42108         (FLT_MAX_10_EXP): Likewise.
42109         (DBL_MAX_10_EXP): Likewise.
42110         (LDBL_MAX_10_EXP): Likewise.
42111         (FLT_MAX): Use macro-constant.
42112         (DBL_MAX): Likewise.
42113         (LDBL_MAX): Likewise.
42114         (FLT_EPSILON): Use macro-constant.  Give upper bound.
42115         (DBL_EPSILON): Likewise.
42116         (LDBL_EPSILON): Likewise.
42117         (FLT_MIN): Likewise.
42118         (DBL_MIN): Likewise.
42119         (LDBL_MIN): Likewise.
42120         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
42121         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
42122         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
42123         [ISO11] (FLT_HAS_SUBNORM): Likewise.
42124         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
42125         [ISO11] (DBL_DECIMAL_DIG): Likewise.
42126         [ISO11] (FLT_DECIMAL_DIG): Likewise.
42127         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
42128         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
42129         [ISO11] (FLT_TRUE_MIN): Likewise.
42130         [ISO11] (LDBL_TRUE_MIN): Likewise.
42131         [ISO || ISO99 || ISO11] (*_t): Do not allow.
42132         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
42133         (SCHAR_MIN): Use macro-int-constant.  Specify type.
42134         (SCHAR_MAX): Likewise.
42135         (UCHAR_MAX): Likewise.
42136         (CHAR_MIN): Likewise.
42137         (CHAR_MAX): Likewise.
42138         (MB_LEN_MAX): Use macro-int-constant.
42139         (SHRT_MIN): Use macro-int-constant.  Specify type.
42140         (SHRT_MAX): Likewise.
42141         (USHRT_MAX): Likewise.
42142         (INT_MAX): Likewise.
42143         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
42144         bound negative.
42145         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
42146         bound with "U".
42147         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
42148         bound with "L".
42149         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
42150         bound negative.  Suffix upper bound with "L".
42151         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
42152         bound with "UL".
42153         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
42154         Specify type.
42155         [C99-based standards] (LLONG_MAX): Likewise.
42156         [C99-based standards] (ULLONG_MAX): Likewise.
42157         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
42158         == 0.
42159         [ISO11] (max_align_t): Require type.
42160         [ISO || ISO99 || ISO11] (*_t): Do not allow.
42162         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
42163         from $CFLAGS, without defining away __attribute__ calls.
42164         (checknamespace): Use $CFLAGS_namespace.
42166         * conform/conformtest.pl (@keywords): Only include C99 keywords
42167         for standards based on C99 or C11.
42169         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
42170         Disable tests.
42171         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
42172         UNIX98]: Likewise.
42174         * conform/conformtest.pl: Handle "macro-int-constant" and test for
42175         usability of symbols in #if.
42177         * conform/conformtest.pl: If macro or constant types start
42178         "promoted:", expect the symbol to be of the following type
42179         promoted by the integer promotions.
42181         * conform/conformtest.pl: Parse all "constant" and "macro" lines
42182         in one place.  Also handle "macro-constant".
42184         * conform/conformtest.pl: Only accept expected macro values with
42185         "==".  Parse all "macro" lines in one place.
42186         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
42188         * conform/conformtest.pl: Handle braced types on "constant" lines
42189         instead of handling "typed-constant".
42190         * conform/data/signal.h-data: Use "constant" instead of
42191         "typed-constant".
42193         * conform/conformtest.pl: Handle "optional-" at start of lines in
42194         one place rather than duplicating several cases.  Handle each
42195         format of "macro" line with initial "optional-".
42197         * conform/conformtest.pl: Only accept expected constant or
42198         optional-constant values with "==".  Parse all "constant" lines in
42199         one place.  Parse all "optional-constant" lines in one place.
42200         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
42201         * conform/data/fmtmsg.h-data: Likewise.
42202         * conform/data/netinet/in.h-data: Likewise.
42203         * conform/data/tar.h-data: Likewise.
42204         * conform/data/limits.h-data: Use "==" form on "constant" and
42205         "optional-constant" lines.
42207         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
42208         Use -std=c99 for XOPEN2K.
42209         (@knownproblems): Remove.
42210         (newtoken): Don't check %isknown.
42212         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
42213         Do not expect macro.
42214         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
42215         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
42216         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
42217         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
42218         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
42219         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
42220         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
42221         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
42222         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
42223         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
42224         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
42225         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
42226         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
42227         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
42228         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
42229         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
42230         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
42231         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
42232         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
42233         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
42234         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
42235         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
42236         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
42237         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
42238         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
42239         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
42240         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
42241         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
42242         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
42243         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
42244         [XPG3] (acosh): Likewise.
42245         [XPG3] (asinh): Likewise.
42246         [XPG3] (atanh): Likewise.
42247         [XPG3] (cbrt): Likewise.
42248         [XPG3] (expm1): Likewise.
42249         [XPG3] (ilogb): Likewise.
42250         [XPG3] (log1p): Likewise.
42251         [XPG3] (logb): Likewise.
42252         [XPG3] (nextafter): Likewise.
42253         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
42254         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
42255         [XPG3] (remainder): Likewise.
42256         [XPG3] (rint): Likewise.
42257         [XPG3 || XPG4 || UNIX98] (round): Likewise.
42258         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
42259         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
42260         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
42261         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
42262         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
42263         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
42264         [UNIX98 || XOPEN2K] (scalb): Expect.
42265         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
42266         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
42267         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
42268         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
42269         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
42270         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
42271         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
42272         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
42273         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
42274         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
42275         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
42276         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
42277         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
42278         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
42279         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
42280         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
42281         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
42282         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
42283         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
42284         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
42285         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
42286         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
42287         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
42288         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
42289         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
42290         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
42291         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
42292         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
42293         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
42294         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
42295         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
42296         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
42297         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
42298         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
42299         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
42300         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
42301         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
42302         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
42303         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
42304         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
42305         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
42306         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
42307         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
42308         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
42309         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
42310         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
42311         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
42312         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
42313         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
42314         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
42315         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
42316         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
42317         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
42318         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
42319         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
42320         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
42321         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
42322         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
42323         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
42324         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
42325         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
42326         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
42327         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
42328         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
42329         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
42330         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
42331         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
42332         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
42333         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
42334         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
42335         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
42336         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
42337         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
42338         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
42339         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
42340         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
42341         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
42342         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
42343         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
42344         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
42345         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
42346         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
42347         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
42348         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
42349         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
42350         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
42351         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
42352         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
42353         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
42354         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
42355         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
42356         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
42357         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
42358         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
42359         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
42360         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
42361         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
42362         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
42363         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
42364         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
42365         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
42366         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
42367         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
42368         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
42369         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
42370         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
42371         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
42372         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
42373         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
42374         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
42375         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
42376         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
42377         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
42378         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
42379         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
42380         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
42381         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
42382         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
42383         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
42384         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
42385         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
42386         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
42387         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
42388         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
42389         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
42390         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
42391         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
42392         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
42393         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
42394         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
42395         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
42396         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
42397         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
42398         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
42399         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
42400         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
42401         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
42403         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
42404         _XOPEN_SOURCE_EXTENDED for XPG4.
42406         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
42408         * Makeconfig (localtime): Remove variable.
42409         (inst_localtime-file): Likewise.
42411 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
42413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
42414         Update.
42415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42416         Update.
42417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
42418         Update.
42419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
42420         Update.
42421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
42422         Update.
42423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
42424         Update.
42425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42426         Update.
42427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
42428         Update.
42429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42430         Update.
42432 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
42434         [BZ #2550]
42435         [BZ #2570]
42436         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
42437         comparisons to determine direction to adjust input.
42438         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
42439         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
42440         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
42441         Likewise.
42442         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
42443         Likewise.
42444         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
42445         Likewise.
42446         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
42447         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
42448         Likewise.
42449         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
42450         Likewise.
42451         * math/libm-test.inc (nexttoward_test): Add more tests.
42453 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
42455         [BZ #14040]
42456         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
42457         in version GLIBC_2.1, not GLIBC_2.0.
42458         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
42459         Likewise.
42461 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
42463         [BZ #13942]
42464         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
42465         (1 - x) * (1 + x).
42466         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
42467         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
42468         * math/libm-test.inc (acos_test): Add more tests.
42469         (asin_test): Likewise.
42470         * sysdeps/i386/fpu/libm-test-ulps: Update.
42471         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42473         [BZ #14034]
42474         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
42475         of square root.
42476         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
42477         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
42478         * math/libm-test.inc (acos_test_tonearest): New function.
42479         (acos_test_towardzero): Likewise.
42480         (acos_test_downward): Likewise.
42481         (acos_test_upward): Likewise.
42482         (asin_test_tonearest): Likewise.
42483         (asin_test_towardzero): Likewise.
42484         (asin_test_downward): Likewise.
42485         (asin_test_upward): Likewise.
42486         (main): Call the new functions.
42487         * sysdeps/i386/fpu/libm-test-ulps: Update.
42488         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42490         [BZ #13884]
42491         [BZ #13924]
42492         * math/e_exp10.c: Include <float.h>.
42493         (__ieee754_exp10): Handle underflow here rather than multiplying
42494         large negative argument by M_LN10.
42495         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
42496         of __ieee754_expf.
42497         * math/e_exp10l.c: Include <float.h>.
42498         (__ieee754_exp10l): Handle underflow here rather than multiplying
42499         large negative argument by M_LN10l.
42500         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
42501         spurious overflow exception on underflow.
42503 2012-04-29  Marek Polacek  <polacek@redhat.com>
42505         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
42506         (__fortify_function): New macro.
42507         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
42508         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
42509         __extern_always_inline.
42510         * libio/bits/stdio2.h: Likewise.
42511         * libio/bits/stdio.h: Likewise.
42512         * string/string.h: Likewise.
42513         * string/bits/string3.h: Likewise.
42514         * include/stdio.h: Likewise.
42515         * stdlib/bits/stdlib.h: Likewise.
42516         * stdlib/stdlib.h: Likewise.
42517         * rt/bits/mqueue2.h: Likewise.
42518         * rt/mqueue.h: Likewise.
42519         * posix/bits/unistd.h: Likewise.
42520         * posix/unistd.h: Likewise.
42521         * io/bits/poll2.h: Likewise.
42522         * io/bits/fcntl2.h: Likewise.
42523         * io/fcntl.h: Likewise.
42524         * io/sys/poll.h: Likewise.
42525         * misc/bits/syslog.h: Likewise.
42526         * misc/bits/syslog-ldbl.h: Likewise.
42527         * misc/sys/syslog.h: Likewise.
42528         * socket/bits/socket2.h: Likewise.
42529         * socket/sys/socket.h: Likewise.
42530         * debug/tst-chk1.c: Likewise.
42531         * wcsmbs/bits/wchar2.h: Likewise.
42532         * wcsmbs/bits/wchar-ldbl.h: Likewise.
42533         * wcsmbs/wchar.h: Likewise.
42535 2012-04-29  Andreas Jaeger  <aj@suse.de>
42537         * Makerules (tests): Remove enable-check-abi protection.
42538         (check-abi-warn): Remove.
42539         (check-abi-%): Remove check-abi-warn usage.
42541         * configure.in: Remove check-abi configure option.
42542         * configure: Regenerated.
42543         * config.make.in (enable-check-abi): Remove.
42545 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
42547         [BZ #14033]
42548         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
42549         double functions to double *_finite functions.
42551         [BZ #13941]
42552         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
42553         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
42554         LDBL_MIN_EXP.
42555         * stdio-common/Makefile (tests): Add tst-sprintf3.
42556         * stdio-common/tst-sprintf3.c: New file.
42558         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
42559         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
42561 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
42563         * conform/conformtest.pl: Remove duplicate typed-constant
42564         handling.
42566 2012-04-28  David S. Miller  <davem@davemloft.net>
42568         * Makerules (%.abilist): Add vpath on sysdep_dirs.
42569         (check-abi-%): Remove AWK script prerequisite and explicit
42570         abilist directory.
42571         (check-abi): Rewrite to just diff the symlist with the abilist.
42572         (config-tls, config-abi-config): Delete, no longer used.
42573         (update-abi-%): Remove AWK script and explicit abilist directory.
42574         (update-abi): Rewrite to simply compare and conditionally copy the
42575         symlist and the sysdep abilist file.  Remove update-abi-config
42576         checks.
42577         * abilist/ld.abilist: Remove.
42578         * abilist/libBrokenLocale.abilist: Remove.
42579         * abilist/libanl.abilist: Remove.
42580         * abilist/libcrypt.abilist: Remove.
42581         * abilist/libdl.abilist: Remove.
42582         * abilist/librt.abilist: Remove.
42583         * abilist/libthread_db.abilist: Remove.
42584         * abilist/libutil.abilist: Remove.
42585         * scripts/extract-abilist.awk: Remove.
42586         * scripts/merge-abilist.awk: Remove.
42587         * sysdeps/generic/libcidn.abilist: New file.
42588         * sysdeps/generic/libnss_compat.abilist: New file.
42589         * sysdeps/generic/libnss_db.abilist: New file.
42590         * sysdeps/generic/libnss_dns.abilist: New file.
42591         * sysdeps/generic/libnss_files.abilist: New file.
42592         * sysdeps/generic/libnss_hesiod.abilist: New file.
42593         * sysdeps/generic/libnss_nis.abilist: New file.
42594         * sysdeps/generic/libnss_nisplus.abilist: New file.
42595         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
42596         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
42597         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
42598         file.
42599         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
42600         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
42601         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
42602         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
42603         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
42604         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
42605         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
42606         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
42607         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
42608         file.
42609         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
42610         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
42611         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
42612         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
42613         file.
42614         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
42615         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
42616         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
42617         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
42618         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
42619         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
42620         file.
42621         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
42622         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
42623         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
42624         file.
42625         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
42626         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
42627         New file.
42628         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
42629         New file.
42630         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
42631         New file.
42632         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
42633         New file.
42634         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
42635         New file.
42636         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
42637         New file.
42638         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
42639         New file.
42640         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
42641         New file.
42642         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
42643         New file.
42644         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
42645         New file.
42646         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
42647         New file.
42648         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
42649         New file.
42650         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
42651         New file.
42652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
42653         file.
42654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
42655         New file.
42656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
42657         New file.
42658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
42659         file.
42660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
42661         New file.
42662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
42663         New file.
42664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
42665         file.
42666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
42667         New file.
42668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42669         New file.
42670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
42671         New file.
42672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
42673         New file.
42674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
42675         New file.
42676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
42677         New file.
42678         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
42679         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
42680         file.
42681         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
42682         New file.
42683         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
42684         file.
42685         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
42686         file.
42687         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
42688         file.
42689         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
42690         file.
42691         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
42692         file.
42693         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42694         New file.
42695         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
42696         file.
42697         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
42698         file.
42699         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
42700         New file.
42701         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
42702         file.
42703         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
42704         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
42705         file.
42706         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
42707         New file.
42708         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
42709         file.
42710         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
42711         file.
42712         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
42713         file.
42714         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
42715         file.
42716         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
42717         file.
42718         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42719         New file.
42720         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
42721         file.
42722         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
42723         file.
42724         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
42725         New file.
42726         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
42727         file.
42728         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
42729         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
42730         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
42731         file.
42732         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
42733         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
42734         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
42735         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
42736         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
42737         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
42738         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
42739         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
42740         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
42741         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
42742         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
42743         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
42744         file.
42745         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
42746         New file.
42747         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
42748         file.
42749         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
42750         file.
42751         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
42752         file.
42753         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
42754         file.
42755         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
42756         file.
42757         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
42758         New file.
42759         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
42760         New file.
42761         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
42762         file.
42763         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
42764         New file.
42765         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
42766         file.
42767         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
42768         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
42769         file.
42770         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
42771         New file.
42772         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
42773         file.
42774         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
42775         file.
42776         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
42777         file.
42778         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
42779         file.
42780         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
42781         file.
42782         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
42783         New file.
42784         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
42785         New file.
42786         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
42787         file.
42788         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
42789         New file.
42790         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
42791         file.
42793 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
42795         * conform/conformtest.pl: Fix typo in handling typed-constant from
42796         allow-header.
42798 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
42800         * README: Cut down references to pre-2.6 Linux kernels and
42801         Linuxthreads.  Update lists of configurations in libc and ports
42802         and sort alphabetically.  Say "or newer" with Linux kernel version
42803         requirements.
42805         * config.h.in [IS_IN_build]: Allow compiling without optimization.
42807 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
42809         [BZ #887]
42810         * math/libm-test.inc (logb_test_downward): New test to expose
42811         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
42812         rounding mode.
42814 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
42816         [BZ #14027]
42817         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
42818         to be done.
42819         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
42820         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
42822 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
42824         * sysdeps/unix/i386/brk.S: Remove file.
42825         * sysdeps/unix/i386/dl-brk.S: Likewise.
42826         * sysdeps/unix/i386/pipe.S: Likewise.
42827         * sysdeps/unix/i386/sigreturn.S: Likewise.
42828         * sysdeps/unix/i386/syscall.S: Likewise.
42829         * sysdeps/unix/i386/vfork.S: Likewise.
42830         * sysdeps/unix/i386/wait.S: Likewise.
42832         * sysdeps/unix/common/tcsendbrk.c: Move to ...
42833         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
42835         * configure.in (arm*-none*): Do not allow without
42836         --enable-hacker-mode.
42837         (netbsd*): Remove case setting base_os.
42838         (386bsd*): Likewise.
42839         (freebsd*): Likewise.
42840         (bsdi*): Likewise.
42841         (osf*): Likewise.
42842         (sunos*): Likewise.
42843         (ultrix*): Likewise.
42844         (newsos*): Likewise.
42845         (dynix*): Likewise.
42846         (*bsd*): Likewise.
42847         (sysv*): Likewise.
42848         (isc*): Likewise.
42849         (esix*): Likewise.
42850         (sco*): Likewise.
42851         (minix*): Likewise.
42852         (irix4*): Likewise.
42853         (irix6*): Likewise.
42854         (solaris[2-9]*): Likewise.
42855         (none): Likewise.
42856         * configure: Regenerated.
42858 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42860         [BZ #11521]
42861         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
42862         overflow or cancellation in calculating denominator.
42863         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
42864         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
42865         down expression to avoid unexpected rounding in newer GCCs.
42866         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
42868 2012-04-26  David S. Miller  <davem@davemloft.net>
42870         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
42871         long-double compat symbols.
42872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
42873         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
42874         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
42875         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
42876         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
42877         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
42878         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
42879         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
42880         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
42881         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
42882         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
42883         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
42884         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
42886 2012-04-25  David S. Miller  <davem@davemloft.net>
42888         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
42889         HWCAP_* values only after the memory barriers have been defined.
42890         (atomic_full_barrier): Define.
42891         (atomic_read_barrier): Define.
42892         (atomic_write_barrier): Define.
42894 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42896         * shlib-versions: Add libgcc_s version information.
42897         * sysdeps/generic/libgcc_s.h: Remove.
42898         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
42899         libgcc_s.h.
42900         * sysdeps/gnu/unwind-resume.c: Likewise.
42901         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
42903 2012-04-25  David S. Miller  <davem@davemloft.net>
42905         * sysdeps/unix/sparc/brk.S: Delete.
42906         * sysdeps/unix/sparc/dl-brk.S: Delete.
42907         * sysdeps/unix/sparc/pipe.S: Delete.
42908         * sysdeps/unix/sparc/sysdep.S: Delete.
42909         * sysdeps/unix/sparc/sysdep.h: Delete.
42910         * sysdeps/unix/sparc/vfork.S: Delete.
42911         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
42912         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
42913         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
42914         (ret_ERRVAL, r0, r1, MOVE): Define.
42915         (JUMPTARGET): Remove.
42916         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
42917         sysdeps/unix/sparc/sysdep.h
42918         (ENTRY, END): Remove.
42919         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42921 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
42923         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
42924         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
42925         -DIS_IN_build.
42927         * timezone/README: Update upstream location and email address for
42928         tzcode and tzdata.
42929         * timezone/zdump.c: Update from tzcode 2012b.
42930         * timezone/zic.c: Likewise.
42932         * configure.in (libc_cv_as_needed): Remove test.
42933         * configure: Regenerated.
42934         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
42935         conditional definition.
42936         [$(have-as-needed) != yes] (no-as-needed): Likewise.
42937         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
42938         * config.make.in (have-as-needed): Remove variable.
42940 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
42941             Paul Pluzhnikov  <ppluzhnikov@google.com>
42943         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
42944         strings correctly.
42946 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
42948         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
42949         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
42950         * sysdeps/sh/strlen.S: Likewise.
42952 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
42954         * sysdeps/unix/fork.S: Remove file.
42955         * sysdeps/unix/i386/fork.S: Likewise.
42956         * sysdeps/unix/sparc/fork.S: Likewise.
42958         * sysdeps/unix/system.c: Remove file.
42959         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
42961         * sysdeps/unix/getegid.S: Remove file.
42962         * sysdeps/unix/geteuid.S: Likewise.
42964 2012-04-24  Roland McGrath  <roland@hack.frob.com>
42966         * scripts/check-localplt.awk: New file.
42967         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
42968         of diff.
42969         * scripts/data/localplt-generic.data: Add a comment.
42971         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
42972         NODE when __dir_mkfile failed.
42973         * sysdeps/mach/hurd/symlinkat.c: Likewise.
42974         Reported by Ludovic Courtès <ludo@gnu.org>.
42976 2012-04-24  Andreas Jaeger  <aj@suse.de>
42978         * Makerules (common-clean): Also remove gen-as-const-headers
42979         files.
42981 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
42983         * Makerules (native-compile): Do not change working directory for
42984         build.  Use $(OUTPUT_OPTION) in command.
42985         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
42987 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42989         [BZ #13886]
42990         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
42991         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
42992         * math/libm-test.inc (floor_test): Add more tests.
42993         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
42995 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
42997         * sysdeps/unix/getdents.c: Remove file.
42998         * sysdeps/unix/sysv/getdents.c: Likewise.
42999         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
43001         * sysdeps/unix/syscalls.list (madvise): Add syscall from
43002         sysdeps/unix/mman/syscalls.list.
43003         (mmap): Likewise.
43004         (mprotect): Likewise.
43005         (msync): Likewise.
43006         (munmap): Likewise.
43007         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
43008         * sysdeps/unix/mman/syscalls.list: Remove.
43009         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
43011         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
43012         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
43013         * configure: Regenerated.
43014         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
43015         $(libgcc_s_suffix).
43016         * config.make.in (libgcc_s_suffix): Remove variable.
43018 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
43020         * sysdeps/unix/sysv/gethostname.c: Move to ...
43021         * sysdeps/posix/gethostname.c: ... here.
43023         * sysdeps/unix/execve.S: Remove file.
43025         * sysdeps/unix/_exit.S: Remove file.
43027 2012-04-23  Andreas Jaeger  <aj@suse.de>
43029         [BZ #13739]
43030         * manual/Makefile: Remove make dist support, there's no
43031         need for a stand-alone documentation tar ball.
43032         (TEXI2DVI): Define always, it's not in Makeconfig.
43033         (dist): Removed.
43034         (tar-it): Removed.
43035         (edition): Removed.
43036         (glibc-doc-$(edition).tar): Removed
43037         (%.Z): Removed.
43038         (%.gz): Removed.
43039         (%.uu): Removed.
43040         (ETAGS): Remove, it's in Makeconfig.
43041         (move-if-change): Remove, it's in Makeconfig.
43043 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
43045         [BZ #13970]
43046         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
43047         (strtod, strtof, strtold, strtol, strtoul, strtoq)
43048         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
43049         (strtod_l, strtof_l, strtold_l): Remove __wur.
43050         It is not necessarily an error to ignore strtol's return value.
43051         One can reliably look at the stored endptr to decide whether
43052         the number had valid syntax.
43054 2012-04-21  Andreas Jaeger  <aj@suse.de>
43056         [BZ #13739]
43057         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
43059 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
43061         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
43062         * sysdeps/unix/sysv/Versions: Remove file.
43064 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
43066         [BZ #13927]
43067         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43069 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
43071         [BZ #7064]
43072         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
43073         version from __vm86.
43075 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
43077         * sysdeps/unix/common/lxstat.c: Remove file.
43078         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
43080         * sysdeps/unix/sysv/Makefile: Remove file.
43082         * sysdeps/unix/sysv/direct.h: Remove file.
43084         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
43085         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
43086         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
43087         * sysdeps/unix/sysv/bits/signum.h: Likewise.
43088         * sysdeps/unix/sysv/bits/stat.h: Likewise.
43089         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
43090         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
43092         * sysdeps/unix/sysv/setrlimit.c: Remove file.
43094         * sysdeps/unix/xmknod.c: Remove file.
43095         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
43097         * sysdeps/unix/sysv/settimeofday.c: Remove file.
43099         * sysdeps/unix/sysv/i386/time.S: Remove file.
43101         * sysdeps/unix/fxstat.c: Remove file.
43102         * sysdeps/unix/xstat.c: Likewise.
43103         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
43105         * sysdeps/unix/sysv/sigaction.c: Remove file.
43107         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
43108         (sysdep_headers): Remove variable.
43109         [termio.h not in sysdep_headers] (generated): Likewise.
43110         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
43111         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
43112         * sysdeps/unix/sysv/tcdrain.c: Likewise.
43113         * sysdeps/unix/sysv/tcflow.c: Likewise.
43114         * sysdeps/unix/sysv/tcflush.c: Likewise.
43115         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
43116         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
43117         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
43118         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
43119         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
43121         * sysdeps/unix/siglist.c: Remove file.
43123         * sysdeps/unix/getppid.S: Remove file.
43125         * sysdeps/unix/mkdir.c: Remove file.
43126         * sysdeps/unix/rmdir.c: Likewise.
43128 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
43130         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
43131         ERR_MAX value.
43132         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
43133         errlist-compat value.
43135 2012-04-18  David S. Miller  <davem@davemloft.net>
43137         * sysdeps/generic/memcopy.h (reg_char): Delete.
43138         * debug/strcat_chk.c: Use char, not reg_char.
43139         * debug/strcpy_chk.c: Likewise.
43140         * debug/strncat_chk.c: Likewise.
43141         * debug/strncpy_chk.c: Likewise.
43142         * string/memchr.c: Likewise.
43143         * string/memrchr.c: Likewise.
43144         * string/rawmemchr.c: Likewise.
43145         * string/strcat.c: Likewise.
43146         * string/strchr.c: Likewise.
43147         * string/strchrnul.c: Likewise.
43148         * string/strcmp.c: Likewise.
43149         * string/strcpy.c: Likewise.
43150         * string/strncat.c: Likewise.
43151         * string/strncmp.c: Likewise.
43152         * string/strncpy.c: Likewise.
43154 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
43156         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
43157         __builtin_memcopy is called when src and dest ranges are known to not
43158         overlap.
43160 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
43162         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
43163         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
43164         fwd_align_merge macro call.
43165         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
43166         bwd_align_merge macro call.
43167         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
43169 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
43171         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
43172         bwd_align_merge macros.
43173         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
43174         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
43175         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
43177 2012-04-18  David S. Miller  <davem@davemloft.net>
43179         * sysdeps/sparc/sparc64/memcopy.h: Delete.
43181 2012-04-18  Andreas Jaeger  <aj@suse.de>
43183         [BZ# 6794]
43184         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
43185         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
43186         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43188         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
43189         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
43190         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43192         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
43193         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
43194         Adjust for changed ldbl-128 files.
43196         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
43197         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
43198         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43200 2012-04-17  David S. Miller  <davem@davemloft.net>
43202         * sysdeps/sparc/sparc32/memcopy.h: Delete.
43204 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
43206         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
43207         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
43208         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
43209         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
43210         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
43211         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
43213 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43215         [BZ #6794]
43216         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
43217         * math/libm-test.inc: Add ilogb errno and exception tests.
43218         * math/w_ilogb.c: New file: ilogb wrapper.
43219         * math/w_ilogbf.c: New file: ilogbf wrapper.
43220         * math/w_ilogbl.c: New file: ilogbl wrapper.
43221         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
43222         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
43223         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
43224         exception being thrown with 0.0 as argument.
43225         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
43226         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
43227         exception being thrown with 0.0 as argument.
43228         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
43229         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
43230         exception being thrown with 0.0 as argument.
43231         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
43232         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
43233         exception being thrown with 0.0 as argument.
43234         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
43235         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
43236         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
43237         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
43238         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
43239         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
43240         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
43241         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
43242         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
43244 2012-04-17  Petr Baudis  <pasky@ucw.cz>
43246         * include/sys/uio.h: Change __vector to __iovec to avoid clash
43247         with altivec.
43249 2012-04-16  Marek Polacek  <polacek@redhat.com>
43251         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
43253 2012-04-16  Marek Polacek  <polacek@redhat.com>
43255         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
43256         operands of fdivp instruction.
43258 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
43260         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
43261         * elf/tst-auditmod3b.c: Likewise.
43262         * elf/tst-auditmod4b.c: Likewise.
43263         * elf/tst-auditmod5b.c: Likewise.
43264         * elf/tst-auditmod6b.c: Likewise.
43265         * elf/tst-auditmod6c.c: Likewise.
43266         * elf/tst-auditmod7b.c: Likewise.
43267         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
43268         * sysdeps/x86_64/preconfigure.in: Likewise.
43269         * sysdeps/x86_64/preconfigure: Regenerated.
43271 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
43273         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
43274         __ILP32__.
43276 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
43278         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43279         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
43281 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
43283         [BZ #13973]
43284         * locale/iso-639.def: Fix gl language name. Spotted by
43285         Yaron Shahrabani.
43287 2012-04-12  Roland McGrath  <roland@hack.frob.com>
43289         [BZ #2074]
43290         * libio/libio.h (__io_write_fn): Update comment.
43292 2012-04-12  Petr Baudis  <pasky@ucw.cz>
43294         [BZ #2074]
43295         * stdio.texi (Hook Functions): The user provided writer function
43296         is not allowed to return -1.
43298 2012-04-11  David S. Miller  <davem@davemloft.net>
43300         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43302 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
43304         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
43305         Add a leading slash to rtkaio.
43307 2012-04-11  Jim Meyering  <meyering@redhat.com>
43309         [BZ #11959]
43310         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
43311         It is not necessarily an error to ignore fwrite's return
43312         value.  One can reliably use ferror to test for errors after
43313         the fact.
43315 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
43317         * bits/types.h (__snseconds_t): New type.
43318         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
43320         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
43321         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43322         (__SNSECONDS_T_TYPE): Likewise.
43323         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43324         (__SNSECONDS_T_TYPE): Likewise.
43325         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43326         (__SNSECONDS_T_TYPE): Likewise.
43328 2012-04-10  Andreas Jaeger  <aj@suse.de>
43330         [BZ #2636]
43331         * manual/time.texi (Processor Time): Return type of times is
43332         elapsed real time since an arbitrary point in the past.
43333         (CPU Time): Move CLK_TCK from here...
43334         (Processor Time): ...to here.  Correct description.
43335         * manual/conf.texi (Constants for Sysconf): Correct description of
43336         _SC_CLK_TCK.
43338 2012-04-10  David S. Miller  <davem@davemloft.net>
43340         [BZ #13967]
43341         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
43342         where the is a gap between DT_REL(A) and DT_JMPREL.
43344 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
43346         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
43347         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
43348         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
43350 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
43352         * elf/dl-support.c (_dl_inhibit_cache): New variable.
43353         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
43354         (dl_main): Handle --inhibit-cache.
43355         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
43356         _dl_inhibit_cache.
43357         * elf/dl-load.c (_dl_map_object): Use it.
43358         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
43360 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
43362         [BZ #13872]
43363         * sysdeps/i386/fpu/e_powl.S (p78): New object.
43364         (__ieee754_powl): Saturate large exponents rather than testing for
43365         overflow of y*log2(x).
43366         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43367         * math/libm-test.inc (pow_test): Do not permit spurious overflow
43368         exceptions.
43370         [BZ #11521]
43371         * math/s_ctan.c: Include <float.h>.
43372         (__ctan): Avoid internal overflow or cancellation in calculating
43373         denominator.
43374         * math/s_ctanf.c: Likewise.
43375         * math/s_ctanl.c: Likewise.
43376         * math/s_ctanh.c: Likewise.
43377         * math/s_ctanhf.c: Likewise.
43378         * math/s_ctanhl.c: Likewise.
43379         * math/libm-test.inc (ctan_test): Add more tests.
43380         (ctanh_test): Likewise.
43381         * sysdeps/i386/fpu/libm-test-ulps: Update.
43382         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43384 2012-04-09  Andreas Jaeger  <aj@suse.de>
43386         [BZ #6894]
43387         * manual/filesys.texi (Directory Entries): Mention that d_namlen
43388         is an optional BSD extension.
43390         [BZ #10254]
43391         * manual/stdio.texi (Opening Streams): Document additional fopen
43392         parameters.
43394 2012-04-09  Roland McGrath  <roland@hack.frob.com>
43396         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
43397         %eax without telling the compiler.
43399 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
43401         [BZ # 13963]
43402         * manual/install.texi: Use sourceware.org.
43404 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
43406         [BZ #13873]
43407         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
43408         (__ieee754_pow): Generate overflow and underflow using huge*huge
43409         and tiny*tiny rather than just returning constant infinity or zero
43410         for large exponents.
43411         * math/libm-test.inc (pow_test): Require overflow exceptions for
43412         applicable cases of large exponents.
43414         [BZ #706]
43415         * sysdeps/i386/fpu/e_pow.S (p10): New object.
43416         (__ieee754_pow): Use iterative multiplication algorithm only for
43417         integer exponents with absolute value below 1024.  Check for odd
43418         integer exponents when using algorithm for real exponents.
43419         * math/libm-test.inc (pow_test): Add more tests.
43420         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43422 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
43424         [BZ #13705]
43425         * math/libm-test.inc (exp_test): Do not allow overflow exception
43426         on underflow test.
43428 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
43430         [BZ #13705]
43431         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
43432         instead of __kernel_standard_f.
43434 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
43436         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
43437         * sysdeps/x86_64/memset_chk.S: Likewise.
43439 2012-04-08  Andreas Jaeger  <aj@suse.de>
43441         [BZ #10153]
43442         * manual/startup.texi (Environment Access): Describe return value
43443         for putenv and setenv.
43445         [BZ #6895]
43446         * manual/filesys.texi (Directory Entries): Add description for
43447         DT_LNK.
43449         [BZ #6890]
43450         * manual/filesys.texi (Directory Entries): Clarify that it's file
43451         system not operating system in the description of DT_UNKNOWN.
43453         [BZ #6578]
43454         * manual/syslog.texi (closelog): Fix reference, it's openlog.
43456 2012-04-08  Stephen Compall  <s11@member.fsf.org>
43458         [BZ #6649]
43459         * manual/llio.texi (Opening and Closing Files): Add cross
43460         reference to explain mode argument.
43462 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
43464         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
43465         * sysdeps/x86_64/memset_chk.S: Likewise.
43467 2012-04-07  David S. Miller  <davem@davemloft.net>
43469         * elf/elf.h (R_SPARC_WDISP10): Define.
43470         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
43471         R_SPARC_SIZE32.
43472         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
43473         R_SPARC_SIZE64 and R_SPARC_H34.
43475 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
43477         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
43478         conditions and remove no longer applicable assertion.
43480 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
43482         * bits/byteswap.h: Include <features.h>.
43483         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
43484         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
43486 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
43488         * bits/byteswap.h (__bswap_16): Removed.
43489         Include <bits/byteswap-16.h> to get __bswap_16.
43490         * sysdeps/i386/bits/byteswap.h: Likewise.
43491         * sysdeps/s390/bits/byteswap.h: Likewise.
43492         * sysdeps/x86_64/bits/byteswap.h: Likewise.
43493         * bits/byteswap-16.h: New file.
43494         * sysdeps/i386/bits/byteswap-16.h: Likewise.
43495         * sysdeps/s390/bits/byteswap-16.h: Likewise.
43496         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
43497         * string/Makefile (headers): Add bits/byteswap-16.h.
43499 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
43501         [BZ #13895]
43502         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
43503         extra indirection.
43504         * nss/Makefile (tests-static, tests): Add tst-nss-static.
43505         * nss/tst-nss-static.c: New.
43507 2012-04-06  Robert Millan  <rmh@gnu.org>
43509         [BZ #6486]
43510         * manual/llio.texi (File Position Primitive): lseek
43511         refers to WHENCE when it really means OFFSET.
43513 2012-04-06  Andreas Jaeger  <aj@suse.de>
43515         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
43516         strncmp declarations.
43518         * abilist/libc.abilist: Add __poll and __ppoll.
43520 2012-04-05  David S. Miller  <davem@davemloft.net>
43522         * scripts/check-local-headers.sh: Accept a host triplet in the
43523         path matched by the exclude regexp.
43525         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
43526         definition.
43527         * sysdeps/powerpc/powerpc32/dl-machine.h
43528         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
43529         * sysdeps/s390/s390-32/dl-machine.h
43530         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43531         * sysdeps/sparc/sparc32/dl-machine.h
43532         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43533         * sysdeps/sparc/sparc64/dl-machine.h
43534         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43536         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
43537         lazy binding.
43538         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
43539         undefined symbol errors.
43541         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
43542         DT_NEEDED entries.
43544 2012-04-05  Michael Matz  <matz@suse.de>
43546         [BZ #13592]
43547         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
43549 2012-04-05  Andreas Jaeger  <aj@suse.de>
43551         [BZ #13908]
43552         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
43553         comment.
43555 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43557         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
43558         which ROUND is no valid rounding mode.
43560 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43562         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
43563         read again.
43564         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
43566 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43568         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
43569         an exception using FPU order intentionally.
43571 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43573         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
43574         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
43575         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
43576         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
43578 2012-04-05  Simon Josefsson  <simon@josefsson.org>
43580         [BZ #12340]
43581         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
43582         EINVAL when BUFLEN is too smal.
43584 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
43586         [BZ #13553]
43587         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
43588         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
43590 2012-04-03  Andreas Jaeger  <aj@suse.de>
43592         [BZ #13938]
43593         * manual/setjmp.texi (System V contexts): Fix sentence.
43595         [BZ #13926]
43596         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
43597         New macro for this case.
43598         [!__GNUC__] (__bswap_64): New inline function for this case.
43599         * sysdeps/x86_64/bits/byteswap.h: Likewise.
43600         * bits/byteswap.h: Likewise.
43601         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
43602         ull, guard with __GLIBC_HAVE_LONG_LONG.
43604         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
43605         __GLIBC_HAVE_LONG_LONG.
43607         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
43608         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
43610 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43612         [BZ #13691]
43613         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
43614         inptr and inend, rather than using last_ch.
43616 2012-04-02  David S. Miller  <davem@davemloft.net>
43618         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
43619         * stdio-common/printf-parse.h (read_int): Change return type to
43620         'int', return -1 on INT_MAX overflow.
43621         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
43622         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
43623         overflows INT_MAX.  Check for overflow of in-format-string precision
43624         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
43625         SIZE_MAX not INT_MAX for integer overflow test.
43626         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
43627         skip the construct in the format string but do not record anything.
43628         * stdio-common/bug22.c: Adjust to test both width/prevision
43629         INT_MAX overflow as well as total length INT_MAX overflow.  Check
43630         explicitly for proper errno values.
43632 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
43634         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
43635         CHAR_MAX.
43636         * string/test-strcmp.c [! WIDE]: Likewise.
43637         * time/tst-mktime2.c: Likewise for INT_MAX.
43638         * string/test-string.h: #include <sys/param.h> for MIN.
43640         * csu/init-first.c (__libc_init_first): Call __ctype_init.
43641         * sysdeps/i386/init-first.c (init): Likewise.
43642         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
43643         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
43644         * sysdeps/sh/init-first.c (init): Likewise.
43646 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
43648         * po/ru.po: Update from translation team.
43649         * po/vi.po: Likewise.
43651 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
43653         * resolv/nss_dns/dns-host.c: Merge copyright years.
43655 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43657         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
43658         Optimize memcpy with prefetch if
43659         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
43660         src, dst pointers have unequal 16 byte alignments.
43662 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
43664         [BZ #13928]
43665         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
43666         from a CNAME entry and return the minimum ttl for the query.
43667         (gaih_getanswer_slice): Likewise.
43669 2012-03-30  Jeff Law  <law@redhat.com>
43671         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
43672         due to long keys.
43673         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
43674         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
43676         * resolv/nss_dns/dns-host.c: Update copyright year.
43678 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
43680         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
43681         requests to save a system call.  Fix check that all bytes are sent.
43683         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
43684         comments for sendmmsg.
43686 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43688         [BZ #13691]
43689         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
43690         with only 1 character between 0x0041 and 0x01b0.
43691         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
43692         * wcsmbs/tst-mbsnrtowcs.c: New file.
43694 2012-03-29  David S. Miller  <davem@davemloft.net>
43696         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
43697         small copies by hand.
43699 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43701         [BZ #13761]
43702         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
43703         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
43704         group memberships.
43706 2012-03-28  David S. Miller  <davem@davemloft.net>
43708         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
43709         that branches into memcpy.
43710         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
43711         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
43712         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
43713         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
43714         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
43715         bits.
43716         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
43717         implementation too.
43718         * sysdeps/sparc/mempcpy.S: New file.
43720         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
43721         the IFUNC routine in the libc case.
43722         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43724         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
43725         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
43726         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
43727         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
43728         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
43729         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
43730         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
43731         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
43733         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
43734         loop to 256 bytes instead of 64 bytes and fix test signedness.
43736         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
43737         * sysdeps/sparc/sparc32/Makefile: rather than here...
43738         * sysdeps/sparc/sparc64/Makefile: and here.
43740 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
43742         * malloc/mallocbug.c: Avoid warnings about unused variables.
43744 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
43746         [BZ #13760]
43747         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
43748         in the right place. Discard and retry query if response is
43749         larger than input buffer size.
43751 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
43753         [BZ #369]
43754         [BZ #2678]
43755         [BZ #3866]
43756         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
43757         x for large integer exponent.
43758         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
43759         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
43760         sign of result as needed afterwards.
43761         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
43762         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
43763         result for underflowing pow the same as for overflow.
43764         (__kernel_standard_l): Handle powl overflow and underflow here
43765         rather than calling __kernel_standard.
43766         * math/libm-test.inc (pow_test): Add more tests.
43768         [BZ #3868]
43769         [BZ #13879]
43770         [BZ #13910]
43771         [BZ #13911]
43772         [BZ #13912]
43773         [BZ #13913]
43774         [BZ #13915]
43775         [BZ #13916]
43776         [BZ #13917]
43777         [BZ #13918]
43778         [BZ #13919]
43779         [BZ #13920]
43780         [BZ #13921]
43781         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
43782         * sysdeps/ieee754/k_standard.c: Include <float.h>.
43783         (__kernel_standard_l): New function.
43784         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
43785         __kernel_standard.
43786         * math/w_acosl.c (__acosl): Likewise.
43787         * math/w_asinl.c (__asinl): Likewise.
43788         * math/w_atan2l.c (__atan2l): Likewise.
43789         * math/w_atanhl.c (__atanhl): Likewise.
43790         * math/w_coshl.c (__coshl): Likewise.
43791         * math/w_exp10l.c (__exp10l): Likewise.
43792         * math/w_exp2l.c (__exp2l): Likewise.
43793         * math/w_fmodl.c (__fmodl): Likewise.
43794         * math/w_hypotl.c (__hypotl): Likewise.
43795         * math/w_j0l.c (__j0l, __y0l): Likewise.
43796         * math/w_j1l.c (__j1l, __y1l): Likewise.
43797         * math/w_jnl.c (__jnl, __ynl): Likewise.
43798         * math/w_lgammal.c (__lgammal): Likewise.
43799         * math/w_log10l.c (__log10l): Likewise.
43800         * math/w_log2l.c (__log2l): Likewise.
43801         * math/w_logl.c (__logl): Likewise.
43802         * math/w_powl.c (__powl): Likewise.
43803         * math/w_remainderl.c (__remainderl): Likewise.
43804         * math/w_scalbl.c (sysv_scalbl): Likewise.
43805         * math/w_sinhl.c (__sinhl): Likewise.
43806         * math/w_sqrtl.c (__sqrtl): Likewise.
43807         * math/w_tgammal.c (__tgammal): Likewise.
43808         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
43809         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
43810         * math/libm-test.inc (acos_test): Add more tests.
43811         (acosh_test): Likewise.
43812         (asin_test): Likewise.
43813         (atanh_test): Likewise.
43814         (exp_test): Likewise.
43815         (exp10_test): Likewise.
43816         (exp2_test): Likewise.
43817         (expm1_test): Likewise.
43818         (lgamma_test): Likewise.
43819         (log_test): Likewise.
43820         (log10_test): Likewise.
43821         (log1p_test): Likewise.
43822         (log2_test): Likewise.
43823         (pow_test): Do not allow some spurious overflow exceptions.
43824         (sqrt_test): Add more tests.
43825         (tgamma_test): Likewise.
43826         (y0_test): Likewise.
43827         (y1_test): Likewise.
43828         (yn_test): Likewise.
43830 2012-03-27  Anton Blanchard  <anton@samba.org>
43832         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
43833         MAP_HUGETLB.
43834         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43835         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
43836         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43838 2012-03-27  David S. Miller  <davem@davemloft.net>
43840         * conform/Makefile: Run run-conformtest.sh using $(BASH).
43842         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
43843         have-as-vis3 check.
43845 2012-03-27  Andreas Jaeger  <aj@suse.de>
43847         * sysdeps/x86_64/elf/configure.in: Moved to ...
43848         * sysdeps/x86_64/configure.in: ... here.
43849         * sysdeps/x86_64/elf/start.S: Moved to ...
43850         * sysdeps/x86_64/start.S: ... here.
43851         * sysdeps/x86_64/elf/configure: Delete.
43853         * sysdeps/x86_64/configure.in: Merge contents from
43854         sysdeps/i386/configure.in (without i686 check).
43856         * sysdeps/i386/elf/Versions: Merge into ...
43857         * sysdeps/i386/Versions: ... this.
43858         * sysdeps/i386/elf/Versions: Delete file.
43859         * sysdeps/i386/elf/start.S: Moved to ...
43860         * sysdeps/i386/start.S: ...here.
43861         * sysdeps/i386/elf/configure.in: Merge into...
43862         * sysdeps/i386/configure.in: ...here.
43863         * sysdeps/i386/elf/configure.in: Delete file.
43864         * sysdeps/i386/elf/configure: Delete file.
43866         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
43867         * debug/backtracesyms.c: ... here.
43868         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
43869         * debug/backtracesymsfd.c: ... here.
43870         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
43871         * sysdeps/generic/ifunc-sel.h: ... here.
43873         * sysdeps/unix/i386/start.c: Delete file.
43874         * sysdeps/unix/sparc/start.c: Delete file.
43875         * sysdeps/unix/start.c: Delete file.
43877         * sysdeps/sh/elf/configure.in: Moved to ...
43878         * sysdeps/sh/configure.in: ... here.
43879         * sysdeps/sh/elf/start.S: Moved to ...
43880         * sysdeps/sh/start.S: ... here.
43881         * sysdeps/sh/elf/configure: Delete file.
43883         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
43884         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
43885         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
43886         * sysdeps/powerpc/powerpc64/entry.h: ... here.
43887         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
43888         * sysdeps/powerpc/powerpc64/start.S: here.
43889         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
43890         * sysdeps/powerpc/powerpc64/Makefile: ... this.
43891         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
43892         * sysdeps/powerpc/powerpc64/configure.in: ... this.
43893         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
43895         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
43896         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
43897         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
43898         * sysdeps/powerpc/powerpc32/start.S: ... here.
43899         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
43900         * sysdeps/powerpc/powerpc32/configure.in: ... this.
43901         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
43903         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
43904         * sysdeps/powerpc/ifunc-sel.h: ... here.
43905         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
43906         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
43908         * sysdeps/sparc/elf/configure.in: Moved to ...
43909         * sysdeps/sparc/configure.in: ... here.
43910         * sysdeps/sparc/elf/configure: Delete file.
43911         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
43912         * sysdeps/sparc/sparc32/start.S: ... here.
43913         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
43914         * sysdeps/sparc/sparc64/start.S: ... here.
43915         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
43916         * sysdeps/sparc/sparc32/Makefile: ... this.
43917         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
43918         * sysdeps/sparc/sparc64/Makefile: ... this.
43920         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
43921         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
43922         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
43923         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
43924         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
43925         * sysdeps/s390/s390-32/setjmp.S: ... here.
43926         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
43927         * sysdeps/s390/s390-32/configure.in: ... here.
43928         * sysdeps/s390/s390-32/elf/configure: Delete file.
43929         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
43930         * sysdeps/s390/s390-32/start.S: ... here.
43932         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
43933         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
43934         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
43935         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
43936         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
43937         * sysdeps/s390/s390-64/setjmp.S: ... here.
43938         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
43939         * sysdeps/s390/s390-64/configure.in: ... here
43940         * sysdeps/s390/s390-64/elf/configure: Delete file.
43941         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
43942         * sysdeps/s390/s390-64/start.S: ... here.
43943         * sysdeps/s390/s390-64/elf/configure: Delete.
43945         * configure.in: Remove support for elf directories in sysdeps.
43947         * configure: Regenerated.
43948         * sysdeps/i386/configure: Regenerated.
43949         * sysdeps/powerpc/powerpc32/configure: Regenerated.
43950         * sysdeps/powerpc/powerpc64/configure: Regenerated.
43951         * sysdeps/s390/s390-32/configure: Regenerated.
43952         * sysdeps/s390/s390-64/configure: Regenerated.
43953         * sysdeps/sh/configure: Regenerated.
43954         * sysdeps/sparc/configure: Regenerated.
43955         * sysdeps/x86_64/configure: Regenerated.
43957 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
43959         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43961         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
43962         denormal result into account.
43964 2012-03-25  Roland McGrath  <roland@hack.frob.com>
43966         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
43967         Reported by Allan McRae <allan@archlinux.org>.
43969 2012-03-23  Jeff Law  <law@redhat.com>
43971         * nss/getnssent.c (__nss_getent): Fix typo.
43973 2012-03-23  David S. Miller  <davem@davemloft.net>
43975         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43977 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
43979         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
43980         to pad to uint64_t for each field.
43981         (dl_tls_index): Replace unsigned long with uint64_t.
43983 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
43984         Paul Pluzhnikov  <ppluzhnikov@google.com>
43986         [BZ #6528]
43987         * grp/Makefile (otherlibs): Don't set it.
43988         * inet/Makefile (otherlibs): Likewise.
43989         * login/Makefile (otherlibs): Likewise.
43990         * nscd/Makefile (otherlibs): Likewise.
43991         * posix/Makefile (otherlibs): Likewise.
43992         * pwd/Makefile (otherlibs): Likewise.
43993         * rt/Makefile (otherlibs): Likewise.
43994         * sunrpc/Makefile (otherlibs): Likewise.
43995         * nss/Makefile (otherlibs): Likewise.
43996         Add libnss_files to routines and static-only-routines.
43997         ($(objpfx)getent): Remove rule.
43998         * resolv/Makefile: Add libnss_dns and libresolv to routines and
43999         static-only-routines.
44001 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
44003         [BZ #13892]
44004         * math/s_cexp.c: Include <float.h>.
44005         (__cexp): Handle exp result overflowing not necessarily
44006         overflowing both real and imaginary parts of result.
44007         * math/s_cexpf.c: Likewise.
44008         * math/s_cexpl.c: Likewise.
44009         * math/libm-test.inc (cexp_test): Add more tests.
44010         * sysdeps/i386/fpu/libm-test-ulps: Update.
44011         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44013 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
44015         * include/link.h (ELFW): New macro.
44016         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
44017         Replace ELF64_R_TYPE with ELFW(R_TYPE).
44019 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
44021         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
44022         with uint64_t.
44024 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
44026         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
44027         declaration.
44028         (struct La_x32_retval): Likewise.
44030 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
44032         * sysdeps/x86_64/preconfigure.in: New file.
44033         * sysdeps/x86_64/preconfigure: New generated file.
44035 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
44037         [BZ #13824]
44038         * math/e_exp2l.c: Include <float.h>.
44039         (__ieee754_exp2l): Handle overflow and underflow cases
44040         separately.  Only pass fractional part of argument to
44041         __ieee754_expl.
44042         * math/libm-test.inc (exp2_test): Add more tests.
44044         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
44045         negating x to take absolute value.
44046         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
44047         Likewise.
44048         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
44049         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
44050         Likewise.
44051         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
44052         computing low part if x was negated.
44053         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
44055 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
44057         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
44058         la_x32_gnu_pltexit.
44059         (pltexit): Cast int_retval to ptrdiff_t.
44060         * elf/tst-auditmod3b.c: Likewise.
44061         * elf/tst-auditmod4b.c: Likewise.
44062         * elf/tst-auditmod5b.c: Likewise.
44063         * elf/tst-auditmod6b.c: Likewise.
44064         * elf/tst-auditmod6c.c: Likewise.
44065         * elf/tst-auditmod7b.c: Likewise.
44067         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
44068         and x32_gnu_pltexit.
44070         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
44071         __ELF_NATIVE_CLASS.
44072         (La_x32_regs): New macro.
44073         (La_x32_retval): Likewise.
44074         (la_x32_gnu_pltenter): New function prototype.
44075         (la_x32_gnu_pltexit): Likewise.
44077 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
44079         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
44080         exponent.
44082         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44084         * configure.in (libc_cv_cc_nofma): Check for option to disable
44085         generation of FMA instructions.
44086         * configure: Regenerate.
44087         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
44088         * sysdeps/ieee754/dbl-64/Makefile: New file.
44089         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
44090         Remove brandred-fma4.
44091         (CFLAGS-brandred-fma4.c): Remove.
44092         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
44093         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
44094         define.
44095         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
44096         define.
44098 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
44100         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
44101         LLONG_MAX != LONG_MAX.
44102         (_itoa_word): Use _ITOA_WORD_TYPE on value.
44103         (_fitoa_word): Likewise.
44104         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
44105         LLONG_MAX != LONG_MAX.
44106         * stdio-common/_itowa.h: Include <_itoa.h>.
44107         (_itowa_word): Use _ITOA_WORD_TYPE on value.
44108         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
44109         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
44110         only if not defined.
44111         (_ITOA_WORD_TYPE): Likewise.
44112         (_itoa_word): Use _ITOA_WORD_TYPE on value.
44113         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
44115 2012-03-21  David S. Miller  <davem@davemloft.net>
44117         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44119 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
44121         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
44122         of x86_64 when setting libc_cv_slibdir, libdir and
44123         libc_cv_localedir.
44124         * sysdeps/unix/sysv/linux/configure: Regenerated.
44126 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
44128         * manual/lang.texi (Old Varargs): Remove section.
44129         (How Variadic): Update menu.
44130         (va_start): Do not mention varargs.h.
44132 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
44133             Joseph Myers  <joseph@codesourcery.com>
44135         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
44136         link test.
44137         * configure: Regenerated.
44139 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
44141         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
44142         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
44143         conformtest.pl
44145 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
44147         * NOTES: Remove.
44148         * Makefile (files-for-dist): Remove NOTES.
44149         (NOTES): Remove rule.
44150         * README: Don't refer to NOTES.
44151         * manual/creature.texi: Don't include macros.texi.
44152         * manual/intro.texi (creature.texi): Remove comment referring to
44153         NOTES.
44155         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
44156         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
44157         * configure: Regenerated.
44158         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
44159         LIBC_TRY_CC_OPTION.
44160         (libc_cv_as_i686): Likewise.
44161         (libc_cv_cc_avx): Likewise.
44162         (libc_cv_cc_sse2avx): Likewise.
44163         (libc_cv_cc_fma4): Likewise.
44164         (libc_cv_cc_novzeroupper): Likewise.
44165         * sysdeps/i386/configure: Regenerated.
44167         [BZ #13883]
44168         * sysdeps/i386/fpu/s_cexp.S: Remove.
44169         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
44170         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
44171         * math/libm-test.inc (cexp_test): Add more tests.
44172         * sysdeps/i386/fpu/libm-test-ulps: Update.
44173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44175 2012-03-21  Allan McRae  <allan@archlinux.org>
44177         * timezone/Makefile: Do not install iso3166.tab and zone.tab
44179 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
44181         [BZ #13871]
44182         * math/w_exp2.c: Do not include <float.h>.
44183         (o_threshold, u_threshold): Remove.
44184         (__exp2): Calculate result before checking finiteness and calling
44185         __kernel_standard.
44186         * math/w_exp2f.c: Likewise.
44187         * math/w_exp2l.c: Likewise.
44188         * math/libm-test.inc (exp2_test): Require overflow exception for
44189         1e6 input.
44191         [BZ #3866]
44192         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
44193         range of signed 64-bit integers before using fistpll.  Remove
44194         checks for whether integers fit in mantissa bits.
44195         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
44196         the range of signed 32-bit integers before using fistpl.  Remove
44197         checks for whether integers fit in mantissa bits.
44198         * sysdeps/i386/fpu/e_powl.S (p64): New object.
44199         (__ieee754_powl): Test for y outside the range of signed 64-bit
44200         integers before using fistpll.  Reduce 64-bit values to 63-bit
44201         ones as needed.
44202         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
44203         divide-by-zero is raised for zero to large negative powers.
44204         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
44205         (__ieee754_powl): Test for y outside the range of signed 64-bit
44206         integers before using fistpll.  Reduce 64-bit values to 63-bit
44207         ones as needed.
44208         * math/libm-test.inc (pow_test): Add more tests.
44210 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
44212         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
44213         <stdio-common/_itoa.h>.
44214         * debug/segfault.c: Likewise.
44215         * elf/dl-cache.c: Likewise.
44216         * elf/dl-minimal.c: Likewise.
44217         * elf/dl-misc.c: Likewise.
44218         * elf/dl-sysdep.c: Likewise.
44219         * elf/dl-version.c: Likewise.
44220         * elf/rtld.c: Likewise.
44221         * hurd/hurdsock.c: Likewise.
44222         * hurd/lookup-retry.c: Likewise.
44223         * malloc/malloc.c: Likewise.
44224         * malloc/mtrace.c: Likewise.
44225         * nscd/nscd_getgr_r.c: Likewise.
44226         * nscd/nscd_getpw_r.c: Likewise.
44227         * nscd/nscd_getserv_r.c: Likewise.
44228         * posix/getopt_init.c: Likewise.
44229         * posix/wordexp.c: Likewise.
44230         * stdio-common/_itoa.c: Likewise.
44231         * stdio-common/printf_fphex.c: Likewise.
44232         * stdio-common/vfprintf.c: Likewise.
44233         * string/_strerror.c: Likewise.
44234         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
44235         * sysdeps/i386/i686/hp-timing.h: Likewise.
44236         * sysdeps/mach/_strerror.c: Likewise.
44237         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
44238         * sysdeps/mach/hurd/sethostid.c: Likewise.
44239         * sysdeps/mach/hurd/xmknodat.c: Likewise.
44240         * sysdeps/mach/xpg-strerror.c: Likewise.
44241         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
44242         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
44243         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
44244         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
44245         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
44246         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
44247         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
44248         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
44249         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
44250         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
44251         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
44252         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
44253         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
44254         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
44255         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
44256         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
44257         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
44258         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
44259         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
44260         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
44261         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
44263         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
44265         * stdio-common/_itoa.h: Moved to ...
44266         * sysdeps/generic/_itoa.h: Here.
44268         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
44270         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
44271         instead of "_itoa.h" and "_itowa.h".
44272         * stdio-common/vfprintf.: Likewise.
44274 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
44276         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
44277         <bits/wordsize.h>.
44278         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
44279         (__signbit): Likwise.
44280         (llrintf): Likwise.
44281         (llrint): Likwise.
44283 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
44285         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
44286         __WORDSIZE != 64.
44288 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
44290         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
44291         OVERFLOW_EXCEPTION_OK.
44292         * math/libm-test.inc ("Philosophy"): Update comment about
44293         exception testing.
44294         (OVERFLOW_EXCEPTION): Define.
44295         (OVERFLOW_EXCEPTION_OK): Likewise.
44296         (INVALID_EXCEPTION_OK): Renumber.
44297         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
44298         (IGNORE_ZERO_INF_SIGN): Likewise.
44299         (test_exceptions): Handle FE_OVERFLOW.
44300         (exp10_test): Expect overflow exceptions.
44301         (exp2_test): Likewise.
44302         (expm1_test): Likewise.
44303         (nextafter_test): Likewise.
44304         (pow_test): Likewise.
44305         (scalbn_test): Likewise.
44306         (scalbln_test): Likewise.
44308 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44310         * sysdeps/x86_64/bits/atomic.h
44311         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
44312         64bit integer.
44313         (atomic_exchange_acq): Likewise.
44314         (__arch_exchange_and_add_body): Likewise.
44315         (__arch_add_body): Likewise.
44316         (atomic_add_negative): Likewise.
44317         (atomic_add_zero): Likewise.
44319 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44321         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
44322         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
44324 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44326         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
44327         Check __x86_64__ instead of __WORDSIZE.
44329 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44331         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
44333 2012-03-19  David S. Miller  <davem@davemloft.net>
44335         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44337         * sysdeps/sparc/fpu/fenv_private.h: New file.
44338         * sysdeps/sparc/fpu/math_private.h: Use it.
44339         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
44340         Remove.
44341         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
44342         (libc_feholdexcept_setroundl): Remove.
44343         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
44344         Remove.
44345         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
44346         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
44348 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44350         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
44351         int64_t instead of long int.
44352         (INSERT_WORDS64): Likwise.
44354 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44356         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
44357         _Unwind_GetCFA return to _Unwind_Ptr first.
44359 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
44361         [BZ #13629]
44362         * math/s_clog.c: Include <float.h>.
44363         (__clog): Scale large or subnormal inputs.
44364         * math/s_clogf.c: Likewise.
44365         * math/s_clogl.c: Likewise.
44366         * math/s_clog10.c: Include <float.h>.
44367         (M_LOG10_2): Define.
44368         (__clog10): Scale large or subnormal inputs.
44369         * math/s_clog10f.c: Likewise.
44370         * math/s_clog10l.c: Likewise.
44371         * math/libm-test.inc (clog_test): Add more tests.
44372         (clog10_test): Likewise.
44373         * sysdeps/i386/fpu/libm-test-ulps: Update.
44374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44376         [BZ #11451]
44377         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
44378         x and y.
44379         * math/libm-test.inc (atan2_test): Add another test.
44381         * Makerules (common-objdir-compile): Remove.
44382         * sysdeps/unix/Makefile (config-generated): Do not add
44383         $(unix-generated) to variable.
44384         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
44385         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
44386         Remove rule.
44387         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
44388         Likewise.
44389         [generic bits/local_lim.h] (before-compile): Do not append to
44390         variable.
44391         [generic bits/local_lim.h] (common-generated): Likewise.
44392         [generic sys/param.h] (before-compile): Do not append to variable.
44393         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
44394         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
44395         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
44396         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
44397         include.
44398         [generic sys/param.h] (sys/param.h-includes): Remove variable.
44399         [generic sys/param.h] (sys/param.h-includes): Remove rule.
44400         [generic sys/param.h] ($(addprefix
44401         $(common-objpfx),$(sys/param.h-includes))): Likewise.
44402         [generic sys/param.h] (common-generated): Do not append to
44403         variable.
44404         [generic sys/param.h] (sysdep_headers): Likewise.
44405         [generic bits/errno.h] (before-compile): Do not append to
44406         variable.
44407         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
44408         rule.
44409         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
44410         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
44411         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
44412         [generic bits/errno.h] (common-generated): Do not append to
44413         variable.
44414         [generic bits/ioctls.h] (before-compile): Do not append to
44415         variable.
44416         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
44417         rule.
44418         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
44419         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
44420         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
44421         rule.
44422         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
44423         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
44424         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
44425         [generic bits/ioctls.h] (common-generated): Do not append to
44426         variable.
44427         [generic sys/syscall.h] (syscall.h): Remove variable.
44428         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
44429         rule.
44430         [generic sys/syscall.h] (before-compile): Do not append to
44431         variable.
44432         [generic sys/syscall.h] (common-generated): Likewise.
44433         * sysdeps/unix/errnos-tmpl.c: Remove file.
44434         * sysdeps/unix/errnos.awk: Likewise.
44435         * sysdeps/unix/ioctls-tmpl.c: Likewise.
44436         * sysdeps/unix/ioctls.awk: Likewise.
44437         * sysdeps/unix/mk-local_lim.c: Likewise.
44438         * sysdeps/unix/snarf-ioctls: Likewise.
44440 2012-03-19  Richard Henderson  <rth@twiddle.net>
44442         * sysdeps/i386/fpu/fenv_private.h: New file.
44443         * sysdeps/i386/fpu/math_private.h: Use it.
44444         (math_opt_barrier, math_force_eval): Remove.
44445         (libc_feholdexcept_setround_53bit): Remove.
44446         (libc_feupdateenv_53bit): Remove.
44447         * sysdeps/x86_64/fpu/math_private.h: Likewise.
44448         (math_opt_barrier, math_force_eval): Remove.
44449         (libc_feholdexcept): Remove.
44450         (libc_feholdexcept_setround): Remove.
44451         (libc_fetestexcept, libc_fesetenv): Remove.
44452         (libc_feupdateenv_test): Remove.
44453         (libc_feupdateenv, libc_feholdsetround): Remove.
44454         (libc_feresetround): Remove.
44456         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
44457         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
44459         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
44460         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
44461         (libc_feupdateenv_testl): New.
44462         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
44463         (libc_feupdateenv_testf): New.
44464         (libc_feupdateenv): Use libc_feupdateenv_test.
44465         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
44466         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
44468         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
44469         (libc_feholdsetroundf, libc_feholdsetroundl): New.
44470         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
44471         (libc_feresetround_noex): New.
44472         (libc_feresetround_noexf): New.
44473         (libc_feresetround_noexl): New.
44474         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
44475         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
44476         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
44477         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
44478         SET_RESTORE_ROUND.
44479         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
44480         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
44481         (__cos): Likewise.
44482         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
44483         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
44484         SET_RESTORE_ROUND_NOEX.
44485         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
44486         SET_RESTORE_ROUND_NOEXF.
44487         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
44488         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
44489         (libc_feholdsetroundf): New.
44490         (libc_feresetround, libc_feresetroundf): New.
44492         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
44493         (libc_feholdexcept_setround_53bit): Convert from macro to function.
44494         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
44496         * sysdeps/generic/math_private.h: Include <fenv.h>.
44497         (default_libc_feholdexcept): New.
44498         (default_libc_feholdexcept_setround): New.
44499         (default_libc_fesetenv, default_libc_feupdateenv): New.
44500         (libc_feholdexcept): Only define if undefined.
44501         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
44502         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
44503         (libc_feholdexcept_setroundl): Likewise.
44504         (libc_feholdexcept_setround_53bit): Likewise.
44505         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
44506         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
44507         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
44508         (libc_feupdateenv_53bit): Likewise.
44509         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
44510         (libc_feholdexcept): Convert from macro to inline function.
44511         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
44512         (libc_fesetenv, libc_feupdateenv): Likewise.
44514         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
44515         not previously defined.
44516         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
44517         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
44518         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
44519         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
44520         * sysdeps/ieee754/flt-32/math_private.h: New file.
44521         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
44522         math_private.h below SET_FLOAT_WORD.
44523         (__isnan, __isinf_ns, __finite): Remove.
44524         (__isnanf, __isinf_nsf, __finitef): Remove.
44526 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
44528         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44530 2012-03-17  David S. Miller  <davem@davemloft.net>
44532         [BZ #6471]
44533         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
44534         for 2.16.
44536 2012-03-16  David S. Miller  <davem@davemloft.net>
44538         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
44539         warnings.
44541         [BZ #6471]
44542         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
44543         properly.
44544         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
44545         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
44546         sysdep_routines when subdir is sysvipc.
44547         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
44548         __getshmlba helper.
44550         * sysdeps/sparc/fpu/libm-test/ulps: Update.
44552 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44554         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
44555         [__LP64__].
44557 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44559         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
44560         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
44561         (__lround): Renamed to ...
44562         (__llround): This.  Replace long int with long long int.
44563         Define lround functions as aliases of llround functions.
44564         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
44566 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44568         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
44569         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
44570         adresses to uintptr_t.  Replace "long int" and "unsigned long
44571         int" with "greg_t" on va_arg.
44573 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44575         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
44576         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
44578         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
44579         Move e_machine check before EI_CLASS check.  Handle x32
44580         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
44581         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
44582         SKIP_EM_IA_64 and include
44583         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
44585         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
44586         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
44587         (add_system_dir): New macro.
44589         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
44590         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
44592 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
44594         [BZ #2551]
44595         [BZ #2552]
44596         [BZ #2553]
44597         [BZ #2554]
44598         [BZ #2562]
44599         [BZ #2563]
44600         [BZ #2565]
44601         [BZ #2566]
44602         [BZ #2576]
44603         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
44604         (y0): Likewise.
44605         * math/w_j0f.c (j0f): Likewise.
44606         (y0f): Likewise.
44607         * math/w_j0l.c (__j0l): Likewise.
44608         (__y0l): Likewise.
44609         * math/w_j1.c (j1): Likewise.
44610         (y1): Likewise.
44611         * math/w_j1f.c (j1f): Likewise.
44612         (y1f): Likewise.
44613         * math/w_j1l.c (__j1l): Likewise.
44614         (__y1l): Likewise.
44615         * math/w_jn.c (jn): Likewise.
44616         (yn): Likewise.
44617         * math/w_jnf.c (jnf): Likewise.
44618         (ynf): Likewise.
44619         * math/w_jnl.c (__jnl): Likewise.
44620         (__ynl): Likewise.
44621         * math/libm-test.inc (j0_test): Add more tests.
44622         (j1_test): Likewise.
44623         (jn_test): Likewise.  Add trailing semicolon to existing test.
44624         (y0_test): Likewise.
44625         (y1_test): Likewise.
44626         * sysdeps/i386/fpu/libm-test-ulps: Update.
44627         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44629         [BZ #13851]
44630         [BZ #13854]
44631         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
44632         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
44633         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
44634         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
44635         (__tanl): Set errno for infinite argument.
44636         * sysdeps/i386/fpu/mptan.c: Remove.
44637         * sysdeps/i386/fpu/s_tan.S: Likewise.
44638         * sysdeps/i386/fpu/s_tanl.S: Likewise.
44639         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
44640         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
44641         * math/libm-test.inc (tan_test): Add more tests and enable more
44642         tests for double and long double.
44643         * sysdeps/i386/fpu/libm-test-ulps: Update.
44644         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44646 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
44648         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
44649         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
44651 2012-03-16  Roland McGrath  <roland@hack.frob.com>
44653         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
44654         * configure.in: Use it for both main tree and add-ons.
44655         * configure: Regenerated.
44657 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44659         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
44661 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
44663         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
44664         in comment.
44666         [BZ #13851]
44667         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
44668         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
44669         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
44670         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
44671         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
44672         infinite argument.
44673         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
44674         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
44675         != 0 for prec == 2.
44676         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
44677         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
44678         * sysdeps/i386/fpu/s_cosl.S: Likewise.
44679         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
44680         * sysdeps/i386/fpu/s_sinl.S: Likewise.
44681         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
44682         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
44683         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
44684         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
44685         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
44686         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
44687         * math/libm-test.inc (cos_test): Add more tests and enable more
44688         tests for long double.
44689         (sin_test): Likewise.
44690         (sincos_test): Likewise.
44691         * sysdeps/i386/fpu/libm-test-ulps: Update.
44692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44694 2012-03-16  David S. Miller  <davem@davemloft.net>
44696         * sysdeps/sparc/fpu/math_private.h: New file.
44698 2012-03-15  David S. Miller  <davem@davemloft.net>
44700         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
44701         file.
44702         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
44703         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
44704         file.
44705         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
44706         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
44707         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
44708         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
44709         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
44710         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
44711         sysdep routines.
44712         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
44714         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
44715         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
44717         * sysdeps/sparc/sparc-ifunc.h: New file.
44718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
44719         sparc-ifunc.h
44720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
44721         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
44722         Likewise.
44723         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
44724         Likewise.
44725         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
44726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
44727         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
44728         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
44729         Likewise.
44730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
44731         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
44732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
44733         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
44734         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
44735         Likewise.
44736         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
44737         Likewise.
44738         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
44739         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
44740         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
44741         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
44742         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
44743         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
44744         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
44745         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
44746         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
44747         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
44748         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
44749         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
44750         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
44751         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
44752         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
44753         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
44754         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
44755         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
44756         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
44757         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
44758         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
44759         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
44760         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
44761         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
44763 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
44765         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
44766         scaling.
44767         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44769 2012-03-15  Andreas Jaeger  <aj@suse.de>
44771         [BZ #13852]
44772         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
44773         ieee754/flt-32 implementation for sin, cos and sincos.
44774         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
44775         * sysdeps/i386/fpu/s_cosf.S: Likewise.
44776         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
44777         * sysdeps/i386/fpu/s_sinf.S: Likewise.
44778         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
44779         ieee754/flt-32 implementation for tan.
44781         * math/libm-test.inc (cos_test): Enable some large input tests for
44782         float as well
44783         (sin_test): Likewise.
44784         (sincos_test): Likewise.
44785         (tan_test): Add tests for large input.
44787         * sysdeps/i386/fpu/libm-test-ulps: Update.
44789 2012-03-15  Andreas Jaeger  <aj@suse.de>
44791         [BZ #13658]
44792         * math/libm-test.inc (cos_test): Add more test cases.
44793         (sin_test): Likewise.
44794         (sincos_test): Likewise.
44796 2012-03-15  Andreas Jaeger  <aj@suse.de>
44798         [BZ #13837]
44799         * math/libm-test.inc (cos_test): Add a test case for large input
44800         value.
44801         (sin_test): Likewise.
44802         (sincos_test): Likewise.
44804 2012-03-15  Andreas Jaeger  <aj@suse.de>
44805             Joseph Myers  <joseph@codesourcery.com>
44807         [BZ #13658]
44808         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
44809         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
44810         * sysdeps/i386/fpu/branred.c: Likewise.
44811         * sysdeps/i386/fpu/dosincos.c: Likewise.
44812         * sysdeps/i386/fpu/mpa.c: Likewise.
44813         * sysdeps/i386/fpu/s_cos.S: Likewise.
44814         * sysdeps/i386/fpu/s_sin.S: Likewise.
44815         * sysdeps/i386/fpu/s_sincos.S: Likewise.
44816         * sysdeps/i386/fpu/sincos32.c: Likewise.
44818         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
44819         Define.
44820         (libc_feupdateenv_53bit): Define.
44821         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
44822         Define.
44823         (libc_feupdateenv_53bit): Define.
44825         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
44826         53 bit (without extend i386 double precision).
44828         * math/libm-test.inc (sincos_test): Add tests for large input.
44829         (sin): Likewise.
44830         (cos): Likewise.
44832         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
44834 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
44836         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44838 2012-03-15  David S. Miller  <davem@davemloft.net>
44840         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
44841         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
44842         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
44843         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
44844         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
44845         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
44846         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
44847         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
44848         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
44849         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
44850         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
44851         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
44852         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
44853         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
44854         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
44855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
44856         file.
44857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
44858         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
44859         file.
44860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
44861         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
44862         file.
44863         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
44864         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
44865         file.
44866         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
44867         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
44868         fmin/fmax sysdep routines.
44869         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
44871 2012-03-14  David S. Miller  <davem@davemloft.net>
44873         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
44874         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
44875         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
44876         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
44877         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
44878         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
44879         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
44880         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
44881         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
44882         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
44883         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
44884         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
44885         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
44886         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
44887         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
44888         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
44889         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
44890         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
44891         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
44892         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
44893         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
44894         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
44895         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
44896         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
44897         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
44898         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
44899         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
44900         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
44901         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
44902         routines.
44903         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
44904         file.
44905         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
44906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
44907         file.
44908         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
44909         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
44910         file.
44911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
44912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
44913         file.
44914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
44915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
44916         file.
44917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
44918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
44919         file.
44920         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
44921         file.
44922         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
44923         file.
44924         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
44925         file.
44926         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
44927         New file.
44928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
44929         file.
44930         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
44931         file.
44932         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
44933         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
44934         file.
44935         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
44936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
44937         file.
44938         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
44939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
44940         file.
44941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
44942         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
44943         VIS3 routines.
44945         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
44946         New file.
44948         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44950         * sysdeps/sparc/configure.in: New file.
44951         * sysdeps/sparc/configure: Generate.
44952         * configure.in (libc_cv_sparc_as_vis3): Substitute.
44953         * configure: Regenerate.
44954         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
44955         * config.make.in (have-as-vis3): New.
44956         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
44957         available use -Av9d instead of -Av9a.
44958         * sysdeps/sparc/sparc64/Makefile: Likewise.
44959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
44960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
44961         New file.
44962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
44963         file.
44964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
44965         New file.
44966         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
44967         file.
44968         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
44969         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
44970         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
44971         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
44972         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
44974         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
44975         fzeros/fnegs to load 0x80000000 into a float register instead of
44976         using the stack.
44977         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
44979 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
44981         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44982         bits/syscall.h.
44983         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
44984         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
44985         ($(inst_includedir)/bits/syscall.h): Remove rule.
44986         ($(objpfx)bits/syscall.d): Include instead of
44987         $(objpfx)syscall-list.d.
44988         (generated): Change syscall-list.h and syscall-list.d to
44989         bits/syscall.h and bits/syscall.d.
44991 2012-03-14  Roland McGrath  <roland@hack.frob.com>
44993         [BZ #13846]
44994         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
44996 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
44998         [BZ #13841]
44999         * math/s_csqrt.c: Include <float.h>.
45000         (__csqrt): Scale large or subnormal inputs.
45001         * math/s_csqrtf.c: Likewise.
45002         * math/s_csqrtl.c: Likewise.
45003         * math/libm-test.inc (csqrt_test): Add more tests.
45004         * sysdeps/i386/fpu/libm-test-ulps: Update.
45005         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45007         [BZ #13840]
45008         * math/libm-test.inc (hypot_test): Add more tests.
45010 2012-03-13  David S. Miller  <davem@davemloft.net>
45012         [BZ #13840]
45013         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
45014         double-precision for the calculation instead of scaling.
45016 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
45018         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
45019         manipulate bits before adding and subtracting TWO52[sx].
45020         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
45021         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
45022         Likewise.
45023         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
45025 2012-03-13  David S. Miller  <davem@davemloft.net>
45027         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
45028         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
45029         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
45030         rtld-global-offsets.h
45031         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45033         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
45034         large parameters.
45036         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
45038         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
45039         'err' in the ifdef scope in which it is actually used.
45041         * nss/nss_db/db-init.c: Include string.h
45043 2012-03-12  David S. Miller  <davem@davemloft.net>
45045         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45046         masking out of the most significant byte of random value used.
45047         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45048         Fix coding style in previous change.
45050         * sysdeps/unix/sysv/linux/kernel-features.h
45051         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
45052         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
45053         expression.
45054         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
45055         later.
45057 2012-03-11  David S. Miller  <davem@davemloft.net>
45059         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
45060         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
45061         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
45062         for 'resultvar' otherwise things get truncated on 64-bit.
45064         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45065         Fix masking out of the most significant byte of random value used.
45067         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45069 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
45071         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45073 2012-03-09  David S. Miller  <davem@davemloft.net>
45075         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
45076         variables with appropriate CPP guards.
45077         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
45078         from the frame pointer, not the stack pointer.  Correct layout
45079         comments.  Fix test on resulting framesize and the management of
45080         the outregs buffer for pltexit.  Preserve floating point return
45081         values across _dl_call_pltexit call.
45082         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
45083         framesize and the management of the outregs buffer for pltexit.
45084         Preserve floating point return values across _dl_call_pltexit
45085         call.
45086         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
45087         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
45088         (la_sparc64_gnu_pltexit): New functions.
45089         (print_exit): Fix format string for return register value.
45091 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
45093         * sunrpc/Makefile (others): Add rpcgen.
45094         ($(objpfx)rpcgen): Remove special build rule and dependency on
45095         libc.
45096         * sunrpc/rpcgen.c: New file.
45098 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
45100         [BZ #13673]
45101         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
45102         * stdio-common/bug-vfprintf-nargs.c: Likewise.
45103         * sysdeps/i386/crti.S: Likewise.
45104         * sysdeps/i386/crtn.S: Likewise.
45105         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
45106         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
45107         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
45108         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
45109         * sysdeps/sh/crti.S: Likewise.
45110         * sysdeps/sh/crtn.S: Likewise.
45111         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
45113         [BZ #13673]
45114         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
45115         with URL.
45116         * locale/programs/locfile-kw.gperf: Likewise.
45117         * locale/programs/charmap-kw.h: Regenerated.
45118         * locale/programs/locfile-kw.h: Likewise.
45120         [BZ #13673]
45121         * intl/plural.y: Replace FSF snail mail address with URL.
45122         * intl/plural.c: Regenerated.
45124 2012-03-09  Richard Henderson  <rth@twiddle.net>
45126         * include/math_private.h: Remove file.
45127         * math/math_private.h: Move file ...
45128         * sysdeps/generic/math_private.h: ... here.
45130         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
45131         * sysdeps/powerpc/fpu/math_private.h: Likewise.
45132         * sysdeps/x86_64/fpu/math_private.h: Likewise.
45134         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
45135         and <math_private.h>.
45136         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
45137         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
45138         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
45139         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
45140         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
45141         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
45142         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
45143         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45144         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45145         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45146         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45147         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45148         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45149         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45150         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45151         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45152         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45153         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45154         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45155         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45156         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45157         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45158         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45159         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45160         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
45161         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45162         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45163         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45164         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45165         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45166         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45167         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45168         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
45169         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45170         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45171         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45172         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45173         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45174         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45175         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45176         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
45177         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45178         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
45179         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
45180         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
45181         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45182         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
45183         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
45184         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45185         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45186         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
45187         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
45188         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
45189         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45190         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
45191         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45192         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45193         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
45194         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
45195         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
45196         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45197         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
45198         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45199         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45200         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
45201         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
45202         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
45203         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
45204         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
45205         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
45206         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
45207         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45208         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
45209         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45210         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
45211         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
45212         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
45213         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
45214         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
45215         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
45216         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
45217         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
45218         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
45219         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
45220         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
45221         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
45222         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
45223         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
45224         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45225         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45226         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45227         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45228         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45229         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45230         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45231         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45232         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45233         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45234         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45235         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45236         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45237         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45238         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45239         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45240         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
45241         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45242         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45243         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45244         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
45245         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45246         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
45247         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
45248         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45249         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
45250         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
45251         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45252         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
45253         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
45254         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
45255         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
45256         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
45257         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
45258         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45259         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
45260         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
45261         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
45262         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45263         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
45264         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
45265         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
45266         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
45267         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
45268         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
45269         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
45270         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
45271         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
45272         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
45273         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
45274         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
45275         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
45276         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45277         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
45278         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
45279         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
45280         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
45281         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
45282         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
45283         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
45284         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
45285         * sysdeps/ieee754/k_standard.c: Likewise.
45286         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45287         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45288         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45289         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45290         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45291         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45292         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45293         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45294         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45295         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45296         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45297         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45298         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45299         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45300         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45301         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45302         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
45303         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45304         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45305         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
45306         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
45307         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
45308         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
45309         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
45310         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
45311         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
45312         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
45313         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
45314         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
45315         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
45316         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
45317         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
45318         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
45319         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
45320         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
45321         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
45322         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
45323         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
45324         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
45325         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
45326         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
45327         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
45328         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
45329         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
45330         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
45331         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
45332         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
45333         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
45334         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
45335         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
45336         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
45337         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
45338         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
45339         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
45340         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45341         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
45342         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
45343         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
45344         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
45345         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
45346         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
45347         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
45348         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
45349         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45350         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45351         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45352         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45353         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45354         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45355         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45356         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45357         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45358         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45359         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45360         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45361         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45362         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
45363         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45364         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45365         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
45366         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
45367         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
45368         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
45369         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
45370         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
45371         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
45372         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
45373         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
45374         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
45375         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
45376         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
45377         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
45378         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
45379         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
45380         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
45381         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
45382         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
45383         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
45384         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
45385         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
45386         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
45387         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
45388         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
45389         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
45390         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
45391         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
45392         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
45393         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
45394         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
45395         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
45396         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
45397         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
45398         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
45399         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45400         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
45401         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45402         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
45403         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45404         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45405         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
45406         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45407         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
45408         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45409         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
45410         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45411         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
45412         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
45413         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
45414         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
45415         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
45416         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
45417         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
45418         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
45419         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
45420         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
45421         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
45422         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
45423         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
45424         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
45425         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
45426         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
45427         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
45428         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
45429         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
45430         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
45431         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
45432         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
45433         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
45434         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
45435         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
45436         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
45437         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
45438         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
45439         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
45440         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
45441         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
45442         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
45443         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
45444         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
45445         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
45446         * sysdeps/ieee754/s_lib_version.c: Likewise.
45447         * sysdeps/ieee754/s_matherr.c: Likewise.
45448         * sysdeps/ieee754/s_signgam.c: Likewise.
45449         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45450         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45451         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
45452         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
45453         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
45454         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
45455         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
45456         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
45457         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
45458         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
45459         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
45460         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
45461         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
45462         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
45463         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
45464         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
45465         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
45466         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
45467         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
45468         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45469         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45471 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
45473         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
45474         * sunrpc/rpc_main.c: Likewise.
45475         * sunrpc/rpc_svcout.c: Likewise.
45477 2012-03-09  David S. Miller  <davem@davemloft.net>
45479         * include/math_private.h: New file.
45481 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
45483         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
45484         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
45485         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
45486         from <bits/socket_type.h>.
45487         (enum __socket_type): Don't define here.
45488         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
45489         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45490         bits/socket_type.h.
45492         [BZ #13566]
45493         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
45494         checking __USE_GNU.
45496         * Makerules ($(inst_includedir)/%.h): New rule.
45497         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
45498         (install-others): Remove variable setting.
45499         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
45501 2012-03-08  Richard Henderson  <rth@twiddle.net>
45503         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
45504         from macro to inline function; merge with the
45505         !__LIBC_INTERNAL_MATH_INLINES version.
45506         (__ieee754_sqrtf): Likewise.
45508         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
45509         to inline function.
45510         (__rintf, __floor, __floorf): Likewise.
45512         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
45513         macro to inline function.
45514         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
45516         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
45517         not <math/math_private.h>.
45519 2012-03-08  David S. Miller  <davem@davemloft.net>
45521         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
45522         copyright year.
45523         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
45525 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
45527         * resolv/gai_misc.c (handle_requests): Fix struct timespec
45528         normalization.
45529         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
45530         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
45532 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
45534         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
45535         be defined individually, they must be defined as a block.  Define
45536         S for printing a string instead of hidint the different by using a
45537         macro for adding the 'l'.
45538         * stdio-common/tst-fphex-wide.c: Adjust.
45540 2012-03-07  Marek Polacek  <polacek@redhat.com>
45542         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
45544 2012-03-08  Marek Polacek  <polacek@redhat.com>
45546         [BZ #13806]
45547         * stdio-common/Makefile (tests): Add tst-fphex-wide.
45548         * stdio-common/tst-fphex.c: Define a few macros to make the
45549         test reusable.  Use them.
45550         * stdio-common/tst-fphex-wide.c: New file.
45552 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
45554         [BZ #6911]
45555         * manual/macros.texi (gnusystems): New macro.
45556         (nongnusystems): Likewise.
45557         (gnulinuxhurdsystems): Likewise.
45558         (gnuhurdsystems): Likewise..
45559         (gnulinuxsystems): Likewise.
45560         * manual/charset.texi: Use new macros or @theglibc{} to refer to
45561         variants of the GNU system, not "GNU system".
45562         * manual/conf.texi: Likewise.
45563         * manual/errno.texi: Likewise.  Update example of errno macro
45564         expansion.
45565         * manual/filesys.texi: Likewise.
45566         (getumask): Document as specific to GNU/Hurd.
45567         * manual/install.texi: Likewise.  Reword some references to
45568         GNU/Linux.
45569         * manual/intro.texi: Likewise.
45570         * manual/io.texi: Likewise.
45571         (File Name Portability): Detail which constraints are inapplicable
45572         to all GNU systems and which are only inapplicable to GNU/Hurd.
45573         * manual/job.texi: Likewise.
45574         * manual/llio.texi: Likewise.
45575         (O_NOCTTY): Document as present on GNU/Linux.
45576         * manual/maint.texi: Likewise.
45577         * manual/memory.texi: Likewise.
45578         * manual/pattern.texi: Likewise.
45579         * manual/pipe.texi: Likewise.
45580         * manual/process.texi: Likewise.
45581         * manual/resource.texi: Likewise.
45582         (RUSAGE_CHILDREN): Remove statement about specifying a particular
45583         child on GNU/Hurd.
45584         * manual/setjmp.texi: Likewise.
45585         * manual/signal.texi: Likewise.
45586         * manual/startup.texi: Likewise.
45587         * manual/stdio.texi: Likewise.
45588         * manual/terminal.texi: Likewise.
45589         (ONLCR): Document as POSIX.
45590         (OXTABS): Document availability on GNU/Linux as XTABS.
45591         (ONOEOT): Document availability separately from other bits.
45592         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
45593         * manual/time.texi: Likewise.
45594         * manual/users.texi: Likewise.
45595         * INSTALL: Regenerated.
45596         * sysdeps/gnu/errlist.c: Regenerated.
45598         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
45599         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
45600         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
45601         puts.
45602         * configure: Regenerated.
45604 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
45606         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
45607         default includes instead of AC_HEADER_CHECK.
45608         * sysdeps/i386/configure: Regenerated.
45610         [BZ #10716]
45611         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
45612         * math/s_cacoshf.c (__cacoshf): Likewise.
45613         * math/s_cacoshl.c (__cacoshl): Likewise.
45614         * math/s_casinh.c (__casinh): Set signs of result from argument.
45615         * math/s_casinhf.c (__casinhf): Likewise.
45616         * math/s_casinhl.c (__casinhl): Likewise.
45617         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
45618         (casinh_test): Add more tests.
45619         * sysdeps/i386/fpu/libm-test-ulps: Update.
45620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45622 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
45624         * po/zh_TW.po: Update from translation team.
45626         * login/Makefile (distribute): Remove variable.
45627         * catgets/Makefile: Likewise.
45628         * mach/Makefile: Likewise.
45629         * malloc/Makefile: Likewise.
45630         * misc/Makefile: Likewise.
45631         * iconv/Makefile: Likewise.
45632         * nscd/Makefile: Likewise.
45633         * hurd/Makefile: Likewise.
45634         * manual/Makefile: Likewise.
45635         * locale/Makefile: Likewise.
45636         * intl/Makefile: Likewise.
45637         * conform/Makefile: Likewise.
45638         * nss/Makefile: Likewise.
45639         * time/Makefile: Likewise.
45640         * soft-fp/Makefile: Likewise.
45641         * dirent/Makefile: Likewise.
45642         * gmon/Makefile: Likewise.
45643         * po/Makefile: Likewise.
45644         * rt/Makefile: Likewise.
45645         * socket/Makefile: Likewise.
45646         * math/Makefile: Likewise.
45647         * signal/Makefile: Likewise.
45648         * debug/Makefile: Likewise.
45649         * elf/Makefile: Likewise.
45650         * timezone/Makefile: Likewise.
45651         * stdlib/Makefile: Likewise.
45652         * iconvdata/Makefile: Likewise.
45653         * sunrpc/Makefile: Likewise.
45654         * io/Makefile: Likewise.
45655         * argp/Makefile: Likewise.
45656         * inet/Makefile: Likewise.
45657         * hesiod/Makefile: Likewise.
45658         * grp/Makefile: Likewise.
45659         * csu/Makefile: Likewise.
45660         * wctype/Makefile: Likewise.
45661         * crypt/Makefile: Likewise.
45662         * libio/Makefile: Likewise.
45663         * string/Makefile: Likewise.
45664         * nis/Makefile: Likewise.
45665         * resolv/Makefile: Likewise.
45666         * stdio-common/Makefile: Likewise.
45667         * wcsmbs/Makefile: Likewise.
45668         * dlfcn/Makefile: Likewise.
45669         * posix/Makefile: Likewise.
45671         [BZ #6959]
45672         * timezone/Makefile: Don't install timezone files, just the programs
45673         and scripts.
45675 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
45677         * nss/databases.def: Add missing gshadow entry.
45679         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
45681 2012-03-06  Marek Polacek  <polacek@redhat.com>
45683         [BZ #13726]
45684         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
45685         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
45686         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
45687         * stdio-common/tst-long-dbl-fphex.c: New file.
45689 2012-03-06  David S. Miller  <davem@davemloft.net>
45691         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45692         (set_obp_int): New function.
45693         (get_obp_int): New function.
45694         (__get_clockfreq_via_dev_openprom): Likewise.
45695         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
45696         Avoid unused variable warnings on 'val' and use builtin_expect.
45697         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
45698         __builtin_expect.
45699         (INLINE_CLONE_SYSCALL): Likewise.
45701 2012-03-05  David S. Miller  <davem@davemloft.net>
45703         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45705 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
45707         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45709         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
45710         only for |x| >= 40.
45711         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45713 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
45715         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
45716         Replace gettimeofday with __vdso_gettimeofday.
45718         * sysdeps/unix/sysv/linux/x86_64/init-first.c
45719         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
45720         __vdso_clock_gettime and __vdso_getcpu.
45722         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
45723         time with __vdso_time.
45725 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
45727         * manual/lang.texi (size_t): Note types to which size_t may be
45728         equivalent with the GNU C Library, but do not describe when
45729         differences between them are significant.
45731 2012-03-05  Andreas Jaeger  <aj@suse.de>
45733         * sysdeps/i386/fpu/libm-test-ulps: Update.
45735 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
45737         [BZ #3976]
45738         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
45739         (__ieee754_pow): Save and restore rounding mode and use
45740         round-to-nearest for main computations.
45741         * math/libm-test.inc (pow_test_tonearest): New function.
45742         (pow_test_towardzero): Likewise.
45743         (pow_test_downward): Likewise.
45744         (pow_test_upward): Likewise.
45745         (main): Call the new functions.
45746         * sysdeps/i386/fpu/libm-test-ulps: Update.
45747         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45749         [BZ #3976]
45750         * math/libm-test.inc (cosh_test_tonearest): New function.
45751         (cosh_test_towardzero): Likewise.
45752         (cosh_test_downward): Likewise.
45753         (cosh_test_upward): Likewise.
45754         (sinh_test_tonearest): Likewise.
45755         (sinh_test_towardzero): Likewise.
45756         (sinh_test_downward): Likewise.
45757         (sinh_test_upward): Likewise.
45758         (main): Call the new functions.
45759         * sysdeps/i386/fpu/libm-test-ulps: Update.
45760         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45762 2012-03-05  Tom de Vries  <tom@codesourcery.com>
45764         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
45765         default stack guard is set in last bytes.
45766         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
45768 2012-03-05  Kees Cook  <keescook@chromium.org>
45770         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
45772         [BZ #13656]
45773         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
45774         possibly allocate from heap instead of stack.
45775         * stdio-common/bug-vfprintf-nargs.c: New file.
45776         * stdio-common/Makefile (tests): Add nargs overflow test.
45778 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
45780         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45782 2012-03-03  Marek Polacek  <polacek@redhat.com>
45784         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
45785         * math/math_private.h: Likewise.
45786         * stdlib/tst-strtod.c: Likewise.
45787         * sysdeps/i386/i486/bits/atomic.h: Likewise.
45788         * sysdeps/x86_64/bits/atomic.h: Likewise.
45790 2012-03-02  David S. Miller  <davem@davemloft.net>
45792         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
45793         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
45794         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
45795         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
45796         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
45797         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
45798         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
45799         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
45801 2012-03-02  Roland McGrath  <roland@hack.frob.com>
45803         [BZ #13792]
45804         * manual/examples/README: New file, says the example source files
45805         can be used under GPL>=2.
45806         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
45807         line containing just "*/".
45808         * manual/examples/add.c: Add copyright header (GPL>=2).
45809         * manual/examples/argp-ex1.c: Likewise.
45810         * manual/examples/argp-ex2.c: Likewise.
45811         * manual/examples/argp-ex3.c: Likewise.
45812         * manual/examples/argp-ex4.c: Likewise.
45813         * manual/examples/atexit.c: Likewise.
45814         * manual/examples/db.c: Likewise.
45815         * manual/examples/dir.c: Likewise.
45816         * manual/examples/dir2.c: Likewise.
45817         * manual/examples/execinfo.c: Likewise.
45818         * manual/examples/filecli.c: Likewise.
45819         * manual/examples/filesrv.c: Likewise.
45820         * manual/examples/fmtmsgexpl.c: Likewise.
45821         * manual/examples/genpass.c: Likewise.
45822         * manual/examples/inetcli.c: Likewise.
45823         * manual/examples/inetsrv.c: Likewise.
45824         * manual/examples/isockad.c: Likewise.
45825         * manual/examples/longopt.c: Likewise.
45826         * manual/examples/memopen.c: Likewise.
45827         * manual/examples/memstrm.c: Likewise.
45828         * manual/examples/mkfsock.c: Likewise.
45829         * manual/examples/mkisock.c: Likewise.
45830         * manual/examples/mygetpass.c: Likewise.
45831         * manual/examples/pipe.c: Likewise.
45832         * manual/examples/popen.c: Likewise.
45833         * manual/examples/rprintf.c: Likewise.
45834         * manual/examples/search.c: Likewise.
45835         * manual/examples/select.c: Likewise.
45836         * manual/examples/setjmp.c: Likewise.
45837         * manual/examples/sigh1.c: Likewise.
45838         * manual/examples/sigusr.c: Likewise.
45839         * manual/examples/stpcpy.c: Likewise.
45840         * manual/examples/strdupa.c: Likewise.
45841         * manual/examples/strftim.c: Likewise.
45842         * manual/examples/strncat.c: Likewise.
45843         * manual/examples/subopt.c: Likewise.
45844         * manual/examples/swapcontext.c: Likewise.
45845         * manual/examples/termios.c: Likewise.
45846         * manual/examples/testopt.c: Likewise.
45847         * manual/examples/testpass.c: Likewise.
45848         * manual/examples/timeval_subtract.c: Likewise.
45850         [BZ #13792]
45851         * manual/time.texi (Elapsed Time): Move timeval_subtract example
45852         function to ...
45853         * manual/timeval_subtract.c.texi: ... here, new file.
45855 2012-03-02  David S. Miller  <davem@davemloft.net>
45857         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
45859 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
45861         [BZ #3976]
45862         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
45863         (__sin): Save and restore rounding mode and use round-to-nearest
45864         for all computations.
45865         (__cos): Save and restore rounding mode and use round-to-nearest
45866         for all computations.
45867         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
45868         <fenv.h>.
45869         (tan): Save and restore rounding mode and use round-to-nearest for
45870         all computations.
45871         * math/libm-test.inc (cos_test_tonearest): New function.
45872         (cos_test_towardzero): Likewise.
45873         (cos_test_downward): Likewise.
45874         (cos_test_upward): Likewise.
45875         (sin_test_tonearest): Likewise.
45876         (sin_test_towardzero): Likewise.
45877         (sin_test_downward): Likewise.
45878         (sin_test_upward): Likewise.
45879         (tan_test_tonearest): Likewise.
45880         (tan_test_towardzero): Likewise.
45881         (tan_test_downward): Likewise.
45882         (tan_test_upward): Likewise.
45883         (main): Call the new functions.
45884         * sysdeps/i386/fpu/libm-test-ulps: Update.
45885         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45887         [BZ #10135]
45888         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
45889         small n, then large n, before computing and testing k+n.
45890         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
45891         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
45892         Likewise.
45893         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
45894         Likewise.
45895         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
45896         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
45897         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
45898         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
45899         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
45900         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
45901         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
45902         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
45903         * math/libm-test.inc (scalbn_test): Add more tests.
45904         (scalbln_test): Likewise.
45906         * manual/filesys.texi (mode_t): Describe constraints on size and
45907         signedness, not exact equivalence to a particular type.
45908         (ino_t): Likewise.
45909         (ino64_t): Likewise.
45910         (dev_t): Likewise.
45911         (nlink_t): Likewise.
45912         (blkcnt_t): Likewise.
45913         (blkcnt64_t): Likewise.
45914         * manual/llio.texi (off_t): Likewise.
45916         [BZ #3976]
45917         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
45918         (__ieee754_exp): Save and restore rounding mode and use
45919         round-to-nearest for all computations.
45920         * math/libm-test.inc (exp_test_tonearest): New function.
45921         (exp_test_towardzero): Likewise.
45922         (exp_test_downward): Likewise.
45923         (exp_test_upward): Likewise.
45924         (main): Call the new functions.
45925         * sysdeps/i386/fpu/libm-test-ulps: Update.
45926         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45928 2012-03-01  Chris Demetriou  <cgd@google.com>
45930         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
45931         have predictable order.
45933 2012-03-01  David S. Miller  <davem@davemloft.net>
45935         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
45937         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
45938         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
45939         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
45940         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
45942         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
45943         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
45944         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
45945         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
45946         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
45947         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
45948         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
45949         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
45950         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
45952         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45954         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
45955         * sysdeps/sparc/fpu/libm-test-ulps: to here.
45956         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
45958         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
45959         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45960         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
45961         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
45962         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
45963         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
45964         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
45965         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45966         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
45967         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
45968         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
45969         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45970         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45971         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
45972         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
45973         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45974         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
45975         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
45976         * sysdeps/sparc/elf/configure: Regenerated.
45978 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
45980         * configure.in (AS, LD): Require binutils 2.20 or later.
45981         * configure: Regenerated.
45982         * manual/install.texi (Tools for Compilation): Give binutils 2.20
45983         as required minimum version.
45984         * INSTALL: Regenerated.
45986         [BZ #2541]
45987         [BZ #4108]
45988         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
45989         before squaring exponent.
45990         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
45991         bottom long double and 27 bits of top long double before squaring
45992         exponent.
45993         * math/libm-test.inc (erfc_test): Add more tests.
45994         * sysdeps/i386/fpu/libm-test-ulps: Update.
45995         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45996         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45998 2012-03-01  Kai Tietz  <ktietz@redhat.com>
46000         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
46001         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
46002         containing bit-fields.
46003         * soft-fp/extended.h (_FP_UNION_E): Likewise.
46004         * soft-fp/single.h (_FP_UNION_S): Likewise.
46005         * soft-fp/double.h (_FP_UNION_D): Likewise.
46007 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
46009         [BZ #13786]
46010         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
46011         not include ../strcmp.S.
46012         [USE_AS_STRNCASECMP_L]: Likewise.
46013         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
46014         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
46015         * sysdeps/i386/i686/multiarch/strncase_l-c.c
46016         (__strncasecmp_l_ia32): Define as alias to
46017         __strncasecmp_l_nonascii.
46019         [BZ #5794]
46020         * math/libm-test.inc (expm1_test): Add test for bug 5794.
46021         * sysdeps/i386/fpu/libm-test-ulps: Update.
46022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46024         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
46025         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46027 2012-02-29  Jeff Law  <law@redhat.com>
46029         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
46030         out of bounds read.
46032 2012-02-29  Marek Polacek  <polacek@redhat.com>
46034         [BZ #13706]
46035         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
46036         * elf/Makefile: Add rules to run tst-unused-dep.out.
46038 2012-02-28  David S. Miller  <davem@davemloft.net>
46040         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
46041         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
46042         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
46043         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
46044         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
46045         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
46047 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
46049         * math/libm-test.inc (llround_test): Move one test from
46050         lround_test.  Use TEST_f_L in moved test.
46051         (lround_test): Move misplaced test to llround_test.  Add testcase
46052         from bug 2561.
46054 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
46056         * sysdeps/x86_64/fpu/e_expf.S: New file.
46057         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
46059 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
46061         [BZ #13637]
46062         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
46063         of remain_len that may cause incomplete multi-byte character and
46064         false match.
46065         * posix/bug-regex33.c: New file.
46066         * posix/Makefile (tests): Add bug-regex33.
46068 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
46070         * manual/macros.texi: New file.
46071         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
46072         * manual/libc.texinfo: Include macros.texi.
46073         * manual/creatute.texi: Likewise.
46074         * manual/install.texi: Likewise.
46075         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
46076         @glibcadj{} in references to the GNU C Library.
46077         * manual/charset.texi: Likewise.
46078         * manual/conf.texi: Likewise.
46079         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
46080         when not using those macros.
46081         * manual/creature.texi: Likewise.
46082         * manual/crypt.texi: Likewise.
46083         * manual/errno.texi: Likewise.
46084         * manual/filesys.texi: Likewise.
46085         * manual/header.texi: Likewise.
46086         * manual/install.texi: Likewise.
46087         * manual/intro.texi: Likewise.
46088         * manual/io.texi: Likewise.
46089         * manual/job.texi: Likewise.
46090         * manual/lang.texi: Likewise.
46091         * manual/libc.texiinfo: Likewise.
46092         * manual/llio.texi: Likewise.
46093         * manual/locale.texi: Likewise.
46094         * manual/maint.texi: Likewise.
46095         * manual/math.texi: Likewise.
46096         * manual/memory.texi: Likewise.
46097         * manual/message.texi: Likewise.
46098         * manual/nss.texi: Likewise.
46099         * manual/pattern.texi: Likewise.
46100         * manual/process.texi: Likewise.
46101         * manual/resource.texi: Likewise.
46102         * manual/search.texi: Likewise.
46103         * manual/setjmp.texi: Likewise.
46104         * manual/signal.texi: Likewise.
46105         * manual/socket.texi: Likewise.
46106         * manual/startup.texi: Likewise.
46107         * manual/stdio.texi: Likewise.
46108         * manual/string.texi: Likewise.
46109         * manual/sysinfo.texi: Likewise.
46110         * manual/syslog.texi: Likewise.
46111         * manual/terminal.texi: Likewise.
46112         * manual/time.texi: Likewise.
46113         * manual/users.texi: Likewise.
46114         * INSTALL: Regenerated.
46115         * NOTES: Regenerated.
46116         * sysdeps/gnu/errlist.c: Regenerated.
46118 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
46120         * include/dirent.h: Include <dirstream.h> before
46121         <dirent/dirent.h>.
46123 2012-02-28  David S. Miller  <davem@davemloft.net>
46125         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
46126         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
46127         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
46128         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
46130 2012-02-27  David S. Miller  <davem@davemloft.net>
46132         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
46133         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
46134         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
46135         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
46137         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
46138         frame pointer instead of stack pointer relative arg slot.
46139         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
46140         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
46141         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
46143 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
46145         [BZ #3992]
46146         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
46148 2012-02-27  David S. Miller  <davem@davemloft.net>
46150         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
46151         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
46152         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
46153         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
46154         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
46155         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
46156         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
46157         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
46159 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
46161         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
46162         later.  Allow versions 5-9.
46163         * configure: Regenerated.
46164         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
46165         required minimum version and 4.6 as recommended version.  Do not
46166         mention bugs in GCC 2.7 and 2.8.
46167         * INSTALL: Regenerated.
46169 2012-02-27  David S. Miller  <davem@davemloft.net>
46171         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
46172         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
46173         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
46174         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
46175         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
46176         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
46177         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
46178         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
46180         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
46181         manipulate bits before adding and subtracting TWO112[sx].
46182         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
46184 2012-02-27  Roland McGrath  <roland@hack.frob.com>
46186         [BZ #13775]
46187         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
46188         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
46189         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
46190         being in POSIX, because they are in 1003.1-2008.
46192         * rt/tst-aio.c: Include <fcntl.h>.
46193         * rt/tst-aio7.c: Likewise.
46194         * rt/tst-aio64.c: Likewise.
46196         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
46198 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
46200         * manual/install.texi (--with-headers): Describe headers as
46201         interface headers, not private headers.
46202         (Specific advice for GNU/Linux systems): Describe use of headers
46203         from "make headers_install", not private headers from older
46204         kernels.
46205         * INSTALL: Regenerated.
46206         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
46207         Change to 2.6.19.
46208         * sysdeps/unix/sysv/linux/configure: Regenerated.
46210         * manual/llio.texi (fclean): Remove documentation.
46212         * manual/Makefile (libc-texi-generated): New variable.  Include
46213         version.texi.
46214         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
46215         $(libc-texi-generated), not duplicated list of files.
46216         (version.texi, stamp-version): New rules.
46217         (realclean): Remove $(libc-texi-generated), not individual files
46218         from that list.  Do not remove dir-add.texinfo.
46219         * manual/libc.texinfo: Comment out uses of edition numbers and
46220         references to printed manual.  Remove last-updated dates.
46221         (EDITION): Comment out.
46222         (ISBN): Likewise.
46223         (VERSION, UPDATED): Remove.
46224         (version.texi): Include.
46226 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
46228         * sysdeps/posix/spawni.c: Include <signal.h>.
46229         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
46230         * sysdeps/pthread/aio_fsync.c: Likewise.
46232 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
46234         * conform/Makefile (tests): Run only when not cross-compiling and
46235         when fast-check is not defined.
46237         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
46238         * conform/data/limits.h-data: Fixes for POSIX2008.
46239         * conform/run-conformtest.sh: Run all tests.
46240         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
46241         headers.
46242         * include/bits/dlfcn.h: Likewise.
46243         * include/langinfo.h: Likewise.
46244         * include/monetary.h: Likewise.
46245         * include/sys/poll.h: Likewise.
46247         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
46248         for __USE_GNU.
46249         * posix/spawn.h: Define __need_sigset_t.
46250         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
46251         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
46252         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
46253         to get sigevent_t only.
46254         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
46255         only for __USE_GNU.
46256         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46257         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
46258         process_vm_writev only for __USE_GNU.
46259         * termios/termios.h: Declare tcgetsid also for POSIX2008.
46261         * conform/Makefile: For now ignore errors from run-conformtest.
46262         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
46263         POSIX to avoid namespace pollution.  Don't prepend headers.
46264         * conform/data/aio.h-data: Fixes for POSIX testing.
46265         * conform/data/fcntl.h-data: Likewise.
46266         * conform/data/glob.h-data: Likewise.
46267         * conform/data/grp.h-data: Likewise.
46268         * conform/data/pthread.h-data: Likewise.
46269         * conform/data/pwd.h-data: Likewise.
46270         * conform/data/signal.h-data: Likewise.
46271         * conform/data/spawn.h-data: Likewise.
46272         * conform/data/stdio.h-data: Likewise.
46273         * conform/data/stdlib.h-data: Likewise.
46274         * conform/data/stropts.h-data: Likewise.
46275         * conform/data/sys/mman.h-data: Likewise.
46276         * conform/data/sys/stat.h-data: Likewise.
46277         * conform/data/sys/types.h-data: Likewise.
46278         * conform/data/sys/wait.h-data: Likewise.
46279         * conform/data/time.h-data: Likewise.
46280         * conform/data/unistd.h-data: Likewise.
46281         * conform/data/utime.h-data: Likewise.
46283         * io/sys/stat.h: fchmod was always in POSIX.
46284         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
46285         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
46286         * rt/aio.h: Define __need_timespec before including <time.h>.
46287         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
46288         struct.  Add forward declaration of pthread_attr_t and use it in
46289         sigevent.
46290         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46291         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46292         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
46293         always remove CLK_TCK definition.
46295 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
46297         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
46299 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
46301         * conform/run-conformtest.sh: New file.
46302         * conform/Makefile: Run run-conformtest for tests.
46303         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
46304         support.
46306         * conform/data/uchar.h-data: New file.
46307         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
46308         * conform/data/arpa/inet.h-data: Likewise.
46309         * conform/data/assert.h-data: Likewise.
46310         * conform/data/complex.h-data: Likewise.
46311         * conform/data/cpio.h-data: Likewise.
46312         * conform/data/ctype.h-data: Likewise.
46313         * conform/data/dirent.h-data: Likewise.
46314         * conform/data/dlfcn.h-data: Likewise.
46315         * conform/data/errno.h-data: Likewise.
46316         * conform/data/fcntl.h-data: Likewise.
46317         * conform/data/float.h-data: Likewise.
46318         * conform/data/fmtmsg.h-data: Likewise.
46319         * conform/data/fnmatch.h-data: Likewise.
46320         * conform/data/ftw.h-data: Likewise.
46321         * conform/data/glob.h-data: Likewise.
46322         * conform/data/grp.h-data: Likewise.
46323         * conform/data/iconv.h-data: Likewise.
46324         * conform/data/inttypes.h-data: Likewise.
46325         * conform/data/langinfo.h-data: Likewise.
46326         * conform/data/libgen.h-data: Likewise.
46327         * conform/data/limits.h-data: Likewise.
46328         * conform/data/locale.h-data: Likewise.
46329         * conform/data/math.h-data: Likewise.
46330         * conform/data/monetary.h-data: Likewise.
46331         * conform/data/mqueue.h-data: Likewise.
46332         * conform/data/ndbm.h-data: Likewise.
46333         * conform/data/net/if.h-data: Likewise.
46334         * conform/data/netdb.h-data: Likewise.
46335         * conform/data/netinet/in.h-data: Likewise.
46336         * conform/data/nl_types.h-data: Likewise.
46337         * conform/data/poll.h-data: Likewise.
46338         * conform/data/pthread.h-data: Likewise.
46339         * conform/data/pwd.h-data: Likewise.
46340         * conform/data/regex.h-data: Likewise.
46341         * conform/data/sched.h-data: Likewise.
46342         * conform/data/search.h-data: Likewise.
46343         * conform/data/semaphore.h-data: Likewise.
46344         * conform/data/setjmp.h-data: Likewise.
46345         * conform/data/signal.h-data: Likewise.
46346         * conform/data/spawn.h-data: Likewise.
46347         * conform/data/stdarg.h-data: Likewise.
46348         * conform/data/stdio.h-data: Likewise.
46349         * conform/data/stdlib.h-data: Likewise.
46350         * conform/data/string.h-data: Likewise.
46351         * conform/data/strings.h-data: Likewise.
46352         * conform/data/stropts.h-data: Likewise.
46353         * conform/data/sys/ipc.h-data: Likewise.
46354         * conform/data/sys/mman.h-data: Likewise.
46355         * conform/data/sys/msg.h-data: Likewise.
46356         * conform/data/sys/resource.h-data: Likewise.
46357         * conform/data/sys/select.h-data: Likewise.
46358         * conform/data/sys/sem.h-data: Likewise.
46359         * conform/data/sys/shm.h-data: Likewise.
46360         * conform/data/sys/socket.h-data: Likewise.
46361         * conform/data/sys/stat.h-data: Likewise.
46362         * conform/data/sys/statvfs.h-data: Likewise.
46363         * conform/data/sys/time.h-data: Likewise.
46364         * conform/data/sys/timeb.h-data: Likewise.
46365         * conform/data/sys/times.h-data: Likewise.
46366         * conform/data/sys/types.h-data: Likewise.
46367         * conform/data/sys/uio.h-data: Likewise.
46368         * conform/data/sys/un.h-data: Likewise.
46369         * conform/data/sys/utsname.h-data: Likewise.
46370         * conform/data/sys/wait.h-data: Likewise.
46371         * conform/data/syslog.h-data: Likewise.
46372         * conform/data/tar.h-data: Likewise.
46373         * conform/data/termios.h-data: Likewise.
46374         * conform/data/utime.h-data: Likewise.
46375         * conform/data/utmpx.h-data: Likewise.
46376         * conform/data/varargs.h-data: Likewise.
46377         * conform/data/wchar.h-data: Likewise.
46378         * conform/data/wctype.h-data: Likewise.
46379         * conform/data/wordexp.h-data: Likewise.
46381         * include/stropts.h: New file.
46382         * include/uchar.h: New file.
46383         * include/aio.h: Changes to allow conformtest.pl to use the headers.
46384         * include/assert.h: Likewise.
46385         * include/ctype.h: Likewise.
46386         * include/dirent.h: Likewise.
46387         * include/dlfcn.h: Likewise.
46388         * include/fcntl.h: Likewise.
46389         * include/fnmatch.h: Likewise.
46390         * include/glob.h: Likewise.
46391         * include/grp.h: Likewise.
46392         * include/libio.h: Likewise.
46393         * include/locale.h: Likewise.
46394         * include/math.h: Likewise.
46395         * include/net/if.h: Likewise.
46396         * include/netdb.h: Likewise.
46397         * include/netinet/in.h: Likewise.
46398         * include/pthread.h: Likewise.
46399         * include/pwd.h: Likewise.
46400         * include/regex.h: Likewise.
46401         * include/sched.h: Likewise.
46402         * include/search.h: Likewise.
46403         * include/setjmp.h: Likewise.
46404         * include/signal.h: Likewise.
46405         * include/stdio.h: Likewise.
46406         * include/stdlib.h: Likewise.
46407         * include/string.h: Likewise.
46408         * include/sys/cdefs.h: Likewise.
46409         * include/sys/mman.h: Likewise.
46410         * include/sys/msg.h: Likewise.
46411         * include/sys/resource.h: Likewise.
46412         * include/sys/select.h: Likewise.
46413         * include/sys/socket.h: Likewise.
46414         * include/sys/stat.h: Likewise.
46415         * include/sys/statvfs.h: Likewise.
46416         * include/sys/time.h: Likewise.
46417         * include/sys/times.h: Likewise.
46418         * include/sys/uio.h: Likewise.
46419         * include/sys/utsname.h: Likewise.
46420         * include/sys/wait.h: Likewise.
46421         * include/termios.h: Likewise.
46422         * include/time.h: Likewise.
46423         * include/ulimit.h: Likewise.
46424         * include/unistd.h: Likewise.
46425         * include/utime.h: Likewise.
46426         * include/wchar.h: Likewise.
46427         * include/wctype.h: Likewise.
46428         * include/wordexp.h: Likewise.
46430         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
46432         * time/time.h: TIME_UTC must be a macro.
46433         Make timespec_get available for ISO C11 only as well.
46435 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
46437         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
46438         Reported by Peng Haitao <penght@cn.fujitsu.com>.
46440 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
46442         * configure.in: Use -o not -a in test for unsupported multi-arch.
46444 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
46446         * manual/texinfo.tex: Update to version 2012-01-19.16.
46448 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
46450         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
46452 2012-02-24  Roland McGrath  <roland@hack.frob.com>
46454         [BZ #13738]
46455         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
46456         * manual/fdl-1.3.texi: New file.
46457         * manual/fdl-1.1.texi: File removed.
46459         [BZ #13738]
46460         * manual/libc.texinfo (FDL_VERSION): New @set.
46461         Use it for mention of FDL in cover text.
46462         (Documentation License): Use it in @include file name.
46464 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46465             Roland McGrath  <roland@hack.frob.com>
46467         [BZ #5461]
46468         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
46469         (not LONG_LONG_MAX and LONG_LONG_MIN.
46470         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
46471         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
46472         name.
46473         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
46475 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46477         [BZ #2547]
46478         [BZ #11365]
46479         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
46480         manipulate bits before adding and subtracting TWO23[sx].
46481         * math/libm-test.inc (nearbyint_test): Add more tests.
46483 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46485         [BZ #2548]
46486         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
46487         bits before adding and subtracting TWO23[sx].
46488         * math/libm-test.inc (rint_test): Add more tests.
46489         (rint_test_tonearest): Likewise.
46490         (rint_test_towardzero): Likewise.
46491         (rint_test_downward): Likewise.
46492         (rint_test_upward: Likewise.
46494 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46496         [BZ #10110]
46497         * include/stdc-predef.h: New file.  Extracted from features.h.
46498         * include/features.h: Include stdc-predef.h.
46499         * Makefile (headers): Add stdc-predef.h.
46500         * CONFORMANCE (Compiler limitations): Update.
46502 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46504         * manual/libc.texinfo (VERSION, UPDATED): Revert.
46506 2012-02-21  David S. Miller  <davem@davemloft.net>
46508         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
46509         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
46511 2012-02-20  David S. Miller  <davem@davemloft.net>
46513         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
46514         using a normal save/restore sequence, rather than allocating a
46515         dummy stack frame just to store a frame pointer and restore.
46516         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46518 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
46520         * manual/install.texi: Fix stray word in line-wrapped comment.
46522 2012-02-20  David S. Miller  <davem@davemloft.net>
46524         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
46525         both binutils and gcc support GOTDATA.
46527         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
46528         "rd %pc" in the PIC register setup sequences.
46530         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
46531         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
46532         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
46533         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
46534         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
46535         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
46536         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46537         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46538         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
46539         (SYSCALL_ERROR_HANDLER): Likewise.
46540         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
46541         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46542         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
46543         (SYSCALL_ERROR_HANDLER): Likewise.
46545         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
46546         (HAVE_GCC_GOTDATA): New.
46547         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
46548         relocation support in both binutils and gcc.
46549         * sysdeps/sparc/elf/configure: Regenerate.
46551         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
46552         * sysdeps/sparc/sparc32/elf/configure: Delete.
46553         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
46554         * sysdeps/sparc/sparc64/elf/configure: Delete.
46555         * sysdeps/sparc/elf/configure.in: New file.
46556         * sysdeps/sparc/elf/configure: Generate.
46558         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
46559         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
46560         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
46561         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
46562         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
46564 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
46566         * manual/install.texi: Do not mention specific glibc version
46567         numbers.
46568         * manual/libc.texinfo (VERSION, UPDATED): Update.
46569         (@copying): Use @copyright{} and range of years.
46571 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
46573         [BZ #13695]
46574         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
46575         [crti.S not in sysdirs] (generated): Do not append.
46576         [crti.S not in sysdirs] (omit-deps): Likewise.
46577         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
46578         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
46579         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
46580         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
46581         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
46582         Likewise.
46583         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
46584         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
46585         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
46586         * csu/defs.awk: Remove file.
46587         * sysdeps/generic/initfini.c: Likewise.
46588         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
46589         variable.
46590         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
46591         Likewise.
46593 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
46595         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
46596         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
46597         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
46598         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
46599         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
46600         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
46601         <bits/epoll.h>.
46602         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
46603         (__EPOLL_PACKED): Define to empty if not defined by
46604         <bits/epoll.h>.
46605         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
46606         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46607         bits/epoll.h.
46609 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
46611         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
46612         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
46613         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
46614         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
46615         <bits/timerfd.h>.
46616         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
46617         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46618         bits/timerfd.h.
46620 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
46622         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
46623         in C locale.
46624         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46625         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
46626         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
46627         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46629 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
46631         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46632         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
46634 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
46636         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
46637         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
46638         defined.
46639         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
46640         Likewise.
46641         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
46642         entry for 2.16.
46644 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
46646         * math/w_acos.c: Use non-signaling floating-point comparisons.
46647         * math/w_acosf.c: Likewise.
46648         * math/w_acosh.c: Likewise.
46649         * math/w_acoshf.c: Likewise.
46650         * math/w_acoshl.c: Likewise.
46651         * math/w_acosl.c: Likewise.
46652         * math/w_asin.c: Likewise.
46653         * math/w_asinf.c: Likewise.
46654         * math/w_asinl.c: Likewise.
46655         * math/w_atanh.c: Likewise.
46656         * math/w_atanhf.c: Likewise.
46657         * math/w_atanhl.c: Likewise.
46658         * math/w_exp2.c: Likewise.
46659         * math/w_exp2f.c: Likewise.
46660         * math/w_exp2l.c: Likewise.
46661         * math/w_j0.c: Likewise.
46662         * math/w_j0f.c: Likewise.
46663         * math/w_j0l.c: Likewise.
46664         * math/w_j1.c: Likewise.
46665         * math/w_j1f.c: Likewise.
46666         * math/w_j1l.c: Likewise.
46667         * math/w_jn.c: Likewise.
46668         * math/w_jnf.c: Likewise.
46669         * math/w_log.c: Likewise.
46670         * math/w_log10.c: Likewise.
46671         * math/w_log10f.c: Likewise.
46672         * math/w_log10l.c: Likewise.
46673         * math/w_log2.c: Likewise.
46674         * math/w_log2f.c: Likewise.
46675         * math/w_log2l.c: Likewise.
46676         * math/w_logf.c: Likewise.
46677         * math/w_logl.c: Likewise.
46678         * math/w_sqrt.c: Likewise.
46679         * math/w_sqrtf.c: Likewise.
46680         * math/w_sqrtl.c: Likewise.
46681         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46682         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
46683         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46684         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
46685         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
46687 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
46689         [BZ #9739]
46690         * manual/string.texi (strnlen): Use correct parameter name in
46691         equivalent expression.
46693 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
46695         [BZ #11174]
46696         * manual/users.texi (seteuid): Consistently use neweuid for
46697         argument name.
46699 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
46701         [BZ #13704]
46702         * manual/nss.texi (Services in the NSS configuration): Correct
46703         list of services in example configuration file.
46705 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
46707         [BZ #11322]
46708         * manual/arith.texi: Remove statements about negative zero
46709         behaving identically to zero.
46711 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
46713         [BZ #5993]
46714         * manual/install.texi: Do not document upgrading from libc5.
46716 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
46718         [BZ #4596]
46719         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
46721 2012-02-18  David S. Miller  <davem@davemloft.net>
46723         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
46724         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
46725         %o7 across the call.
46726         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
46727         instead.
46728         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
46729         SETUP_PIC_REG_LEAF.
46730         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46731         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
46732         * sysdeps/sparc/crtn.S: Likewise.
46734 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
46736         * aout/Makefile: Remove.
46738 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
46740         [BZ #13058]
46741         * manual/examples/argp-ex1.c (main): Format definition in GNU
46742         style.
46743         * manual/examples/argp-ex2.c (main): Likewise.
46744         * manual/examples/argp-ex3.c (main): Likewise.
46745         * manual/examples/argp-ex4.c (main): Likewise.
46746         * manual/examples/longopt.c (main): Use new-style prototype
46747         definition.
46748         * manual/examples/strncat.c (main): Specify return type and use
46749         (void) for arguments.
46750         * manual/examples/subopt.c (main): Use char **argv argument.
46752 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
46754         [BZ #5077]
46755         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
46756         rounding modes.
46758 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
46760         [BZ #6907]
46761         * manual/string.texi (strchr): Change when strchrnul is
46762         recommended.
46764 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
46766         [BZ #174]
46767         * manual/locale.texi (setlocale): Document LOCPATH.
46769 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
46771         [BZ #10210]
46772         * manual/process.texi (execle): Move @dots{} before last argument.
46774 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
46776         [BZ #12047]
46777         * manual/charset.texi (Generic Charset Conversion): Fix typo
46778         (LC_TYPE -> LC_CTYPE).
46780 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
46782         [BZ #5805]
46783         * manual/arith.texi (scalbn): Use @var{} on parameter names.
46784         (scalbnf): Likewise.
46785         (scalbnl): Likewise.
46786         (scalbln): Likewise.
46787         (scalblnf): Likewise.
46788         (scalblnl): Likewise.
46789         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
46790         (vwarnx): Likewise.
46791         (verr): Likewise.
46792         (verrx): Likewise.
46793         * manual/filesys.texi (telldir): Use braces around return type.
46794         * manual/llio.texi (mmap): Add space after comma.
46795         (mmap64): Likewise.
46796         * manual/math.texi (jn): Use @var{} on parameter names.
46797         (jnf): Likewise.
46798         (jnl): Likewise.
46799         (yn): Likewise.
46800         (ynf): Likewise.
46801         (ynl): Likewise.
46802         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
46803         line.
46804         * manual/resource.texi (ulimit): Use @dots{} instead of literal
46805         "...".
46806         (sched_get_priority_min): Remove semicolon on @deftypefun line.
46807         (sched_get_priority_max): Likewise.
46808         * manual/signal.texi (sigvec): Add space after comma.
46809         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
46810         names.
46811         (if_indextoname): Likewise.
46812         (if_freenameindex): Likewise.
46813         (sendto): Use ',' instead of '.' in prototype.
46814         * manual/startup.texi (syscall): Use @dots{} instead of literal
46815         "...".
46816         * manual/stdio.texi (__fpending): Separate initial words of
46817         paragraph from @deftypefun line.
46818         * manual/syslog.texi (syslog): Use @dots{} instead of literal
46819         "...".
46820         (vsyslog): Use @var{} on parameter names.
46821         * manual/terminal.texi (stty): Use @var{} on parameter names.
46822         * manual/users.texi (getutmp): Use @var{} on parameter names.
46823         (getutmpx): Likewise.
46825 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
46827         [BZ #6884]
46828         * manual/stdio.texi (fopen): Fix typos in description of
46829         ",ccs=STRING".
46831 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
46833         [BZ #4026]
46834         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
46835         get clock_id definition.
46837 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
46839         [BZ #4822]
46840         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
46841         (madvise): Cast every argument to void on its own.
46843 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
46845         [BZ #9902]
46846         * manual/startup.texi (Exit Status): Fix typo.
46848 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
46850         [BZ #10140]
46851         * manual/examples/argp-ex1.c: Include <stdlib.h>.
46852         * manual/examples/argp-ex2.c: Likewise.
46853         * manual/examples/argp-ex3.c: Likewise.
46855 2012-02-16  Richard Henderson  <rth@redhat.com>
46857         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
46858         * sysdeps/s390/s390-32/initfini.c: Remove.
46859         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
46860         * sysdeps/s390/s390-64/initfini.c: Remove.
46862 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46864         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
46865         compiler output for sysdeps/generic/initfini.c.
46866         * sysdeps/sh/elf/initfini.c: Remove file.
46868 2012-02-16  David S. Miller  <davem@davemloft.net>
46870         [BZ #11494]
46871         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
46873         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
46874         * sysdeps/sparc/crti.S: New file.
46875         * sysdeps/sparc/crtn.S: New file.
46876         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
46877         * sysdeps/sparc/sparc64/Makefile: Likewise.
46879 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
46881         [BZ #3335]
46882         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
46884 2012-02-15  Roland McGrath  <roland@hack.frob.com>
46886         [BZ #4822]
46887         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
46889         * mach/devstream.c (cookie_io_functions_t): Macro removed.
46890         (write, read, close): Likewise.
46891         Patch by Aurelien Jarno <aurelien@aurel32.net>.
46893 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
46895         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
46896         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
46897         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
46898         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
46899         <bits/signalfd.h>.
46900         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
46901         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46902         bits/signalfd.h.
46904 2012-02-14  Marek Polacek  <polacek@redhat.com>
46906         * sysdeps/x86_64/crti.S: New file.
46907         * sysdeps/x86_64/crtn.S: New file.
46908         * sysdeps/x86_64/elf/initfini.c: Remove file.
46910 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
46912         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
46913         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
46914         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
46915         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
46916         <bits/inotify.h>.
46917         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
46918         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46919         bits/inotify.h.
46921 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
46923         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
46924         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
46925         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
46926         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
46927         <bits/eventfd.h>.
46928         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
46929         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46930         bits/eventfd.h.
46932 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
46934         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
46935         __feraiseexcept instead of feraiseexcept.
46937         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
46938         nanosleep invocations.
46939         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
46940         strings, and add error checking for a nanosleep invocations.
46942 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
46944         Replace FSF snail mail address with URLs, as per GNU coding standards.
46945         Most of the snail mail addresses were wrong anyway, and omitting
46946         them makes the source code easier to maintain.  Almost all of the
46947         changes are to license notices and to locale LC_IDENTIFICATION
46948         addresses, except for this one:
46949         * manual/libc.texinfo: In "Published by", give the FSF's URL,
46950         not its snail mail address.
46952 2012-02-09  Richard Henderson  <rth@twiddle.net>
46954         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
46955         of kernel-features.h.
46957         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
46959 2012-02-08  Marek Polacek  <polacek@redhat.com>
46961         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
46962         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
46963         * sysdeps/gnu/_G_config.h: Likewise.
46964         * sysdeps/generic/_G_config.h: Likewise.
46966 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
46968         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
46969         tests.
46970         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46972         * sysdeps/powerpc/powerpc32/crti.S: New file.
46973         * sysdeps/powerpc/powerpc32/crtn.S: New file.
46974         * sysdeps/powerpc/powerpc64/crti.S: New file.
46975         * sysdeps/powerpc/powerpc64/crtn.S: New file.
46977         * Makeconfig (have-initfini): Don't set.
46978         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
46979         * configure.in (nopic_initfini): Don't substitute.
46980         * config.h.in (HAVE_INITFINI): Don't #undef.
46981         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
46982         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
46984 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
46986         Support crti.S and crtn.S provided directly by architectures.
46987         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
46988         [crti.S in sysdirs] (omit-deps): Likewise.
46989         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
46990         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
46991         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
46992         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
46993         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
46994         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
46995         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
46996         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
46997         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
46998         compiler output for sysdeps/generic/initfini.c.
46999         * sysdeps/i386/elf/Makefile: Remove file.
47000         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
47002 2012-02-07  Marek Polacek  <polacek@redhat.com>
47004         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
47005         * sysdeps/gnu/_G_config.h: Likewise.
47006         * sysdeps/mach/hurd/_G_config.h: Likewise.
47008 2012-02-07  Marek Polacek  <polacek@redhat.com>
47010         * math/Makefile (tests): Add tst-CMPLX2.
47011         * math/tst-CMPLX2.c: New file.
47013 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
47015         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47017         * math/libm-test.inc (jn_test): Add missing L suffix.
47019 2012-02-06  Marek Polacek  <polacek@redhat.com>
47021         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
47022         * sysdeps/i386/fpu/e_powf.S: Likewise.
47023         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47024         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
47025         * sysdeps/i386/fpu/e_acosh.S: Likewise.
47026         * sysdeps/i386/fpu/e_pow.S: Likewise.
47027         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
47028         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47029         * sysdeps/i386/fpu/s_expm1.S: Likewise.
47030         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
47031         * sysdeps/i386/fpu/e_log2.S: Likewise.
47032         * sysdeps/i386/fpu/e_log2l.S: Likewise.
47033         * sysdeps/i386/fpu/e_scalb.S: Likewise.
47034         * sysdeps/i386/fpu/e_powl.S: Likewise.
47035         * sysdeps/i386/fpu/s_log1p.S: Likewise.
47036         * sysdeps/i386/fpu/e_log10f.S: Likewise.
47037         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
47038         * sysdeps/i386/fpu/e_logl.S: Likewise.
47039         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
47040         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
47041         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
47042         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
47043         * sysdeps/i386/fpu/e_log2f.S: Likewise.
47044         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47045         * sysdeps/i386/fpu/e_log.S: Likewise.
47046         * sysdeps/i386/fpu/s_cexp.S: Likewise.
47047         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47048         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
47049         * sysdeps/i386/fpu/e_logf.S: Likewise.
47050         * sysdeps/i386/fpu/e_log10l.S: Likewise.
47051         * sysdeps/i386/fpu/e_atanh.S: Likewise.
47052         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
47053         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
47054         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
47055         * sysdeps/i386/fpu/e_log10.S: Likewise.
47056         * sysdeps/i386/fpu/s_frexp.S: Likewise.
47057         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47058         * sysdeps/i386/fpu/s_asinh.S: Likewise.
47059         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
47060         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47061         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
47062         * sysdeps/i386/asm-syntax.h: Likewise.
47063         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47064         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47065         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47066         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
47067         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
47068         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47069         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
47070         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
47071         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47072         * sysdeps/powerpc/sysdep.h: Likewise.
47073         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
47074         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
47076 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
47078         [BZ #411]
47079         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
47081 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
47083         * sysdeps/i386/sysdep.h: Include <features.h>.
47084         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
47085         version.
47087 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
47089         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
47090         Define.
47091         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
47092         LOAD_PIC_REG_STR.
47094 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
47096         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
47097         (SETUP_PIC_REG): Use GET_PC_THUNK.
47098         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
47099         macro.
47101 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
47103         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
47104         for non-PIC compilation.
47105         (SETUP_PIC_REG): Add .p2align directive.
47106         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
47107         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
47108         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
47109         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
47110         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
47111         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
47112         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
47113         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47114         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
47115         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
47116         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
47117         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
47118         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
47119         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
47120         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
47121         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
47122         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
47123         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
47124         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
47125         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
47126         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
47127         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
47128         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
47129         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
47130         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
47131         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
47132         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
47133         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
47134         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
47135         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
47136         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
47137         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47138         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
47139         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
47140         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
47141         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
47142         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
47143         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
47144         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
47145         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
47146         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
47148 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
47150         * math/tst-CMPLX.c: Include <stdio.h>.
47152 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
47154         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
47155         float.
47156         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
47157         * sysdeps/sparc/bits/mathdef.h: Likewise.
47159 2012-01-31  Marek Polacek  <polacek@redhat.com>
47161         * libio/libio.h: Don't define _PARAMS.
47162         * locale/programs/config.h: Don't define PARAMS.
47163         * stdlib/strtol_l.c: Likewise.
47164         (__strtol_l): Remove PARAMS from the prototype.
47166 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
47168         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
47169         names.  Just use the correct names.  Remove unnecessary wrapper
47170         functions.
47171         * malloc/arena.c: Likewise.
47172         * malloc/hooks.c: Likewise.
47174         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
47175         ARENA_TEST says not to.  Simplify test for creation of a new arena.
47176         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
47178 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
47180         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
47181         into tail calls.
47182         (update_get_addr): New function.
47183         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
47184         GET_ADDR_MODULE parameter.
47186 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
47188         * crypt/cert.c: Remove __STDC__ conditionals.
47189         * crypt/crypt-entry.c: Likewise.
47190         * crypt/crypt_util.c: Likewise.
47191         * libio/filedoalloc.c: Likewise.
47192         * libio/fileops.c: Likewise.
47193         * libio/genops.c: Likewise.
47194         * libio/iofclose.c: Likewise.
47195         * libio/iofdopen.c: Likewise.
47196         * libio/iofopen.c: Likewise.
47197         * libio/iofopen64.c: Likewise.
47198         * libio/iogetdelim.c: Likewise.
47199         * libio/iopopen.c: Likewise.
47200         * libio/obprintf.c: Likewise.
47201         * libio/oldfileops.c: Likewise.
47202         * libio/oldiofclose.c: Likewise.
47203         * libio/oldiofdopen.c: Likewise.
47204         * libio/oldiofopen.c: Likewise.
47205         * libio/oldiopopen.c: Likewise.
47206         * libio/wfiledoalloc.c: Likewise.
47207         * libio/wgenops.c: Likewise.
47208         * locale/programs/xmalloc.c: Likewise.
47209         * misc/syslog.c: Likewise.
47210         * stdio-common/xbug.c: Likewise.
47211         * string/memchr.c: Likewise.
47212         * string/memcmp.c: Likewise.
47213         * string/memrchr.c: Likewise.
47214         * string/rawmemchr.c: Likewise.
47215         * sysdeps/posix/getcwd.c: Likewise.
47216         * time/strftime_l.c: Likewise.
47218 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
47220         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
47221         * config.make.in (config-cflags-sse2avx): Define.
47222         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
47223         Fix typo.
47225 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
47227         * scripts/config.guess: Update from upstream config git repository.
47228         * scripts/config.sub: Likewise.
47230 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
47232         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
47233         (EM_NUM): Update.
47234         (R_TILEPRO_*, R_TILEGX_*): New macros.
47236         * scripts/firstversions.awk: Fix bug in version range handling.
47238         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
47240         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
47242         * include/sys/epoll.h: New file.
47243         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
47244         libc_hidden_def.
47246 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
47248         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
47249         Avoid unnecessary __WORDSIZE == 64 test.
47250         (fmaxf): Use VEX format if possible.
47251         (fmax): Likewise.
47252         (fminf): Likewise.
47253         (fmin): Likewise.
47255         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
47256         * math/math_private.h: Remove libc_fegetround* and
47257         libc_fesetround*.
47258         * sysdeps/i386/configure.in: Check for -msse2avx.
47259         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
47260         also if SSE2AVX is defined.
47261         Remove libc_fegetround* and libc_fesetround*.
47262         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
47263         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
47264         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
47265         of HAS_YMM_USABLE.
47266         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47267         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47268         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47269         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47270         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47272         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
47274 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47276         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
47277         size is not set.
47278         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47280 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
47282         [BZ #13618]
47283         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
47284         relocation.
47285         * Makeconfig (libm): Define.
47286         * elf/Makefile: Add rules to build and run tst-relsort1.
47287         * elf/tst-relsort1.c: New file.
47288         * elf/tst-relsort1mod1.c: New file.
47289         * elf/tst-relsort1mod2.c: New file.
47291 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
47293         * math/s_ldexp.c: Remove __STDC__ conditionals.
47294         * math/s_ldexpf.c: Likewise.
47295         * math/s_ldexpl.c: Likewise.
47296         * math/s_nextafter.c: Likewise.
47297         * math/s_nexttowardf.c: Likewise.
47298         * math/s_significand.c: Likewise.
47299         * math/s_significandf.c: Likewise.
47300         * math/s_significandl.c: Likewise.
47301         * math/w_jnl.c: Likewise.
47302         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
47303         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
47304         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
47305         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
47306         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
47307         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47308         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
47309         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
47310         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47311         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47312         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
47313         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47314         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47315         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
47316         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47317         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47318         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
47319         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47320         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47321         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47322         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47323         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47324         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47325         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47326         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47327         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47328         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47329         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47330         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
47331         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47332         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47333         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
47334         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47335         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
47336         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
47337         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47338         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
47339         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
47340         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
47341         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
47342         * sysdeps/ieee754/k_standard.c: Likewise.
47343         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47344         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47345         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
47346         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
47347         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
47348         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
47349         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47350         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
47351         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
47352         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
47353         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
47354         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
47355         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
47356         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
47357         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
47358         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
47359         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
47360         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47361         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47362         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
47363         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47364         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47365         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
47366         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
47367         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47368         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
47369         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47370         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47371         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47372         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
47373         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
47374         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
47375         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
47376         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
47377         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
47378         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
47379         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
47380         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
47381         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
47382         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
47383         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
47384         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
47385         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
47386         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
47387         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
47388         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
47389         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
47390         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47391         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
47392         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
47393         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
47394         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47395         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47396         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
47397         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
47398         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
47399         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
47400         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47401         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47402         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47403         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47404         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
47405         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
47406         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47407         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47408         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47409         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47410         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
47411         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
47412         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47413         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47414         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47415         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47416         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
47417         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
47418         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47419         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
47420         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
47421         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
47422         * sysdeps/ieee754/s_matherr.c: Likewise.
47423         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
47424         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
47425         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47426         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
47428 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
47430         * crypt/md5.h: Remove __STDC__ conditionals.
47431         * libio/libioP.h: Likewise.
47432         * locale/programs/config.h: Likewise.
47433         * sysdeps/generic/sysdep.h: Likewise.
47434         * sysdeps/i386/asm-syntax.h: Likewise.
47435         * sysdeps/s390/asm-syntax.h: Likewise.
47436         * sysdeps/unix/sysdep.h: Likewise.
47437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
47438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
47440 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
47442         * libio/libio.h: Remove __STDC__ conditionals.
47443         * malloc/obstack.h: Likewise.
47444         * math/complex.h: Likewise.
47445         * math/math.h: Likewise.
47446         * sysdeps/generic/_G_config.h: Likewise.
47447         * sysdeps/gnu/_G_config.h: Likewise.
47448         * sysdeps/mach/hurd/_G_config.h: Likewise.
47449         * sysdeps/powerpc/bits/mathdef.h: Likewise.
47450         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
47451         * sysdeps/sparc/bits/mathdef.h: Likewise.
47453 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
47455         [BZ #13583]
47456         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
47457         Clean up HAS_* macros.
47458         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
47459         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
47460         possible.
47461         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
47462         HAS_AVX.
47463         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47464         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47465         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47466         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47467         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47469 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
47471         * elf/tst-unique3.cc (gets): Remove declaration.
47472         * elf/tst-unique3lib.cc (gets): Likewise.
47473         * elf/tst-unique3lib2.cc (gets): Likewise.
47474         * elf/tst-unique4.cc (gets): Likewise.
47476 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
47478         * include/stdio.h: Add C++ protection.  Add gets declarations and
47479         definitions.
47480         * debug/tst-chk1.c: Don't declare gets here.
47481         * stdio-common/tst-gets.c: Likewise.
47483 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
47485         * posix/glob: Remove directory.
47487 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
47489         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
47491 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
47493         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
47494         of the non-standard EPFNOSUPPORT.
47496 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47498         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
47499         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
47500         ANYWHERE set to 1 only on KERN_NO_SPACE error.
47502 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
47504         * wcsmbs/uchar.h: Test __STDC_VERSION__.
47506 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
47508         * nscd/aicache.c (addhstaiX): Do not cache negative results of
47509         transient errors.
47510         * nscd/grpcache.c (cache_addgr): Likewise.
47511         * nscd/hstcache.c (cache_addhst): Likewise.
47512         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47513         * nscd/pwdcache.c (cache_addpw): Likewise.
47514         * nscd/servicescache.c (cache_addserv): Likewise.
47516 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
47518         * malloc/malloc.c: Various cleanups.
47519         * malloc/hooks.c: Likewise.
47521         * stdlib/Makefile (tests): Add bug-fmtmsg1.
47522         * stdlib/bug-fmtmsg1.c: New file.
47524         * stdlib/fmtmsg.c (init): Add missing unlock.
47525         Patch by Peng Haitao <penght@cn.fujitsu.com>.
47527 2012-01-12  Marek Polacek  <polacek@redhat.com>
47529         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
47530         and _GNU_SOURCE.
47532 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
47534         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
47535         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
47536         macro to ensure uniqueness of label name.
47537         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
47538         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
47540 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
47542         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
47544         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
47545         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
47546         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47547         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
47549 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
47551         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
47553         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
47554         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
47555         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
47557         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
47559         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
47560         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
47561         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47562         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
47564         * math/bits/math-finite.h: Add ldexp support.
47566 2012-01-10  Marek Polacek  <polacek@redhat.com>
47568         * locale/programs/localedef.h (show_archive_content): Add noreturn
47569         attribute.
47571 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
47573         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
47575 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
47577         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
47579         * io/Makefile (headers): Add bits/poll2.h.
47581 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
47583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
47584         typo #include statement.
47586 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
47588         * include/sys/cdefs.h: Define __attribute_alloc_size.
47589         * catgets/gencat.c: Add alloc_size attribute and apply consistently
47590         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
47591         * elf/pldd.c: Likewise.
47592         * iconv/iconv_charmap.c: Likewise.
47593         * iconv/iconvconfig.c: Likewise.
47594         * iconv/strtab.c: Likewise.
47595         * locale/programs/locale.c: Likewise.
47596         * locale/programs/localedef.h: Likewise.
47597         * locale/programs/simple-hash.c: Likewise.
47598         * nscd/nscd.h: Likewise.
47599         * nss/makedb.c: Likewise.
47600         * sysdeps/generic/ldconfig.h: Likewise.
47601         * locale/programs/localedef.c: Remove xmalloc prototype.
47602         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
47604 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
47606         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
47607         appropriate.
47609 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
47611         * math/Makefile (tests): Add tst-CMPLX.
47612         * math/tst-CMPLX.c: New file.
47614         * math/complex.h (CMPLXL): Fix typo.
47616         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
47617         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
47618         GLIBC_2.16.
47619         * debug/tst-chk1.c: Add poll and ppoll tests.
47620         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
47621         * include/sys/poll.h: Add hidden proto for ppoll.
47622         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
47623         * sysdeps/mach/hurd/ppoll.c: Likewise.
47624         * io/ppoll.c: Likewise.
47625         * debug/poll_chk.c: New file.
47626         * debug/ppoll_chk.c: New file.
47627         * include/bits/poll2.h: New file.
47628         * io/bits/poll2.h: New file.
47630         [BZ #1350]
47631         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
47633         * configure.in: static is always set to yes.  Remove.
47634         * config.make.in: Don't set build-static.
47635         * Makeconfig: Remove use of build-static.
47636         * dlfcn/Makefile: Likewise.
47637         * elf/Makefile: Likewise.
47638         * math/Makefile: Likewise.
47639         * misc/Makefile: Likewise.
47640         * nptl/Makefile: Likewise.
47641         * sysdeps/mach/hurd/Makefile: Likewise.
47643         * configure.in: PWD_P is not used anymore.
47644         * config.make.in: Remove PWD_P entry.
47646         * configure.in: Remove last remnants of RANLIB.
47647         No need to check for signed size_t anymore.
47648         Don't set libc_commonpagesize and libc_relro_required here for Alpha
47649         and IA-64.
47650         Remove __builtin_expect test because we require at least gcc 3.4.
47651         * aclocal.m4: Likewise.
47653         * wcsmbs/mbrtoc16.c: Implement using towc function.
47654         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
47655         * wcsmbs/wcsmbsload.c: Likewise.
47656         * iconv/gconv_simple.c: Likewise.
47657         * iconv/gconv_int.h: Likewise.
47658         * iconv/gconv_builtin.h: Likewise.
47659         * iconv/iconv_prog.c: Remove CHAR16 handling.
47661         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
47663         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
47665         * configure.in: Remove --with-elf and --enable-bounded options.
47666         Dont set base_machine for ia64.  More non-ELF conditions removed.
47667         Remove testing and setting of leading underscore information.
47668         * config.make.in (build-bounded): Set to no.
47669         * config.h.in: Remove NO_UNDERSCORES entry.
47670         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
47671         them.
47672         * csu/start.c: Remove !NO_UNDERSCORE code.
47673         * locale/localeinfo.h: Likewise.
47674         * sysdeps/generic/machine-gmon.h: Likewise.
47675         * sysdeps/generic/sysdep.h: Likewise.
47676         * sysdeps/i386/sysdep.h: Likewise.
47677         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
47678         * sysdeps/mach/sysdep.h: Likewise.
47679         * sysdeps/s390/s390-32/sysdep.h: Likewise.
47680         * sysdeps/s390/s390-64/sysdep.h: Likewise.
47681         * sysdeps/sh/sysdep.h: Likewise.
47682         * sysdeps/sparc/sparc32/alloca.S: Likewise.
47683         * sysdeps/unix/i386/sysdep.S: Likewise.
47684         * sysdeps/unix/sparc/start.c: Likewise.
47685         * sysdeps/unix/sparc/sysdep.S: Likewise.
47686         * sysdeps/unix/sparc/sysdep.h: Likewise.
47687         * sysdeps/unix/start.c: Likewise.
47688         * sysdeps/unix/x86_64/sysdep.S: Likewise.
47689         * sysdeps/x86_64/sysdep.h: Likewise.
47691 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
47693         [BZ #13553]
47694         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
47695         for non-gcc.
47696         * argp/argp-fmtstream.h: Use const instead __const.
47697         * argp/argp.h: Likewise.
47698         * assert/assert.h: Likewise.
47699         * bits/fenv.h: Likewise.
47700         * bits/sched.h: Likewise.
47701         * bits/sigset.h: Likewise.
47702         * bits/sigthread.h: Likewise.
47703         * catgets/nl_types.h: Likewise.
47704         * conform/data/pthread.h-data: Likewise.
47705         * crypt/crypt-private.h: Likewise.
47706         * crypt/crypt.h: Likewise.
47707         * crypt/crypt_util.c: Likewise.
47708         * ctype/ctype.h: Likewise.
47709         * debug/execinfo.h: Likewise.
47710         * debug/mbsnrtowcs_chk.c: Likewise.
47711         * debug/mbsrtowcs_chk.c: Likewise.
47712         * debug/wcsnrtombs_chk.c: Likewise.
47713         * debug/wcsrtombs_chk.c: Likewise.
47714         * debug/wcstombs_chk.c: Likewise.
47715         * dirent/dirent.h: Likewise.
47716         * dlfcn/dlfcn.h: Likewise.
47717         * elf/neededtest4.c: Likewise.
47718         * grp/grp.h: Likewise.
47719         * gshadow/gshadow.h: Likewise.
47720         * iconv/gconv.h: Likewise.
47721         * iconv/gconv_int.h: Likewise.
47722         * iconv/gconv_simple.c: Likewise.
47723         * iconv/iconv.h: Likewise.
47724         * iconv/loop.c: Likewise.
47725         * iconv/skeleton.c: Likewise.
47726         * include/aio.h: Likewise.
47727         * include/aliases.h: Likewise.
47728         * include/argz.h: Likewise.
47729         * include/arpa/inet.h: Likewise.
47730         * include/assert.h: Likewise.
47731         * include/dirent.h: Likewise.
47732         * include/dlfcn.h: Likewise.
47733         * include/execinfo.h: Likewise.
47734         * include/fcntl.h: Likewise.
47735         * include/fenv.h: Likewise.
47736         * include/glob.h: Likewise.
47737         * include/grp.h: Likewise.
47738         * include/libintl.h: Likewise.
47739         * include/mntent.h: Likewise.
47740         * include/netdb.h: Likewise.
47741         * include/pwd.h: Likewise.
47742         * include/rpc/netdb.h: Likewise.
47743         * include/sched.h: Likewise.
47744         * include/search.h: Likewise.
47745         * include/shadow.h: Likewise.
47746         * include/signal.h: Likewise.
47747         * include/stdio.h: Likewise.
47748         * include/stdlib.h: Likewise.
47749         * include/string.h: Likewise.
47750         * include/sys/socket.h: Likewise.
47751         * include/sys/stat.h: Likewise.
47752         * include/sys/statfs.h: Likewise.
47753         * include/sys/statvfs.h: Likewise.
47754         * include/sys/syslog.h: Likewise.
47755         * include/sys/time.h: Likewise.
47756         * include/sys/uio.h: Likewise.
47757         * include/time.h: Likewise.
47758         * include/unistd.h: Likewise.
47759         * include/utmp.h: Likewise.
47760         * include/wchar.h: Likewise.
47761         * include/wctype.h: Likewise.
47762         * inet/aliases.h: Likewise.
47763         * inet/arpa/inet.h: Likewise.
47764         * inet/netinet/ether.h: Likewise.
47765         * inet/netinet/in.h: Likewise.
47766         * intl/libintl.h: Likewise.
47767         * io/bits/fcntl2.h: Likewise.
47768         * io/fcntl.h: Likewise.
47769         * io/ftw.h: Likewise.
47770         * io/sys/poll.h: Likewise.
47771         * io/sys/stat.h: Likewise.
47772         * io/sys/statfs.h: Likewise.
47773         * io/sys/statvfs.h: Likewise.
47774         * io/utime.h: Likewise.
47775         * libio/bits/stdio.h: Likewise.
47776         * libio/bits/stdio2.h: Likewise.
47777         * libio/libio.h: Likewise.
47778         * libio/libioP.h: Likewise.
47779         * libio/stdio.h: Likewise.
47780         * locale/lc-ctype.c: Likewise.
47781         * locale/locale.h: Likewise.
47782         * login/utmp.h: Likewise.
47783         * malloc/arena.c: Likewise.
47784         * malloc/malloc.c: Likewise.
47785         * malloc/malloc.h: Likewise.
47786         * malloc/mcheck.c: Likewise.
47787         * malloc/mtrace.c: Likewise.
47788         * math/bits/mathcalls.h: Likewise.
47789         * math/fenv.h: Likewise.
47790         * math/math_private.h: Likewise.
47791         * misc/bits/error.h: Likewise.
47792         * misc/bits/syslog.h: Likewise.
47793         * misc/err.h: Likewise.
47794         * misc/error.h: Likewise.
47795         * misc/fstab.h: Likewise.
47796         * misc/mntent.h: Likewise.
47797         * misc/regexp.h: Likewise.
47798         * misc/search.h: Likewise.
47799         * misc/sgtty.h: Likewise.
47800         * misc/sys/mman.h: Likewise.
47801         * misc/sys/syslog.h: Likewise.
47802         * misc/sys/uio.h: Likewise.
47803         * misc/sys/xattr.h: Likewise.
47804         * misc/ttyent.h: Likewise.
47805         * nis/rpcsvc/ypclnt.h: Likewise.
47806         * nss/nss.h: Likewise.
47807         * posix/bits/unistd.h: Likewise.
47808         * posix/fnmatch.h: Likewise.
47809         * posix/glob.h: Likewise.
47810         * posix/sched.h: Likewise.
47811         * posix/spawn.h: Likewise.
47812         * posix/sys/wait.h: Likewise.
47813         * posix/unistd.h: Likewise.
47814         * posix/wordexp.h: Likewise.
47815         * pwd/pwd.h: Likewise.
47816         * resolv/netdb.h: Likewise.
47817         * resource/sys/resource.h: Likewise.
47818         * rt/aio.h: Likewise.
47819         * rt/bits/mqueue2.h: Likewise.
47820         * rt/mqueue.h: Likewise.
47821         * shadow/shadow.h: Likewise.
47822         * signal/signal.h: Likewise.
47823         * socket/send.c: Likewise.
47824         * socket/sendto.c: Likewise.
47825         * socket/sys/socket.h: Likewise.
47826         * stdio-common/printf.h: Likewise.
47827         * stdlib/bits/stdlib.h: Likewise.
47828         * stdlib/fmtmsg.h: Likewise.
47829         * stdlib/monetary.h: Likewise.
47830         * stdlib/stdlib.h: Likewise.
47831         * stdlib/ucontext.h: Likewise.
47832         * streams/stropts.h: Likewise.
47833         * string/argz.h: Likewise.
47834         * string/bits/string2.h: Likewise.
47835         * string/string.h: Likewise.
47836         * string/strings.h: Likewise.
47837         * sunrpc/rpc/auth.h: Likewise.
47838         * sunrpc/rpc/auth_des.h: Likewise.
47839         * sunrpc/rpc/clnt.h: Likewise.
47840         * sunrpc/rpc/netdb.h: Likewise.
47841         * sunrpc/rpc/pmap_clnt.h: Likewise.
47842         * sunrpc/rpc/xdr.h: Likewise.
47843         * sysdeps/generic/inttypes.h: Likewise.
47844         * sysdeps/generic/net/if.h: Likewise.
47845         * sysdeps/generic/sys/swap.h: Likewise.
47846         * sysdeps/gnu/net/if.h: Likewise.
47847         * sysdeps/gnu/utmpx.h: Likewise.
47848         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
47849         * sysdeps/i386/i486/bits/string.h: Likewise.
47850         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
47851         * sysdeps/s390/bits/string.h: Likewise.
47852         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
47853         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
47854         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
47855         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
47856         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
47857         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
47858         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
47859         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
47860         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
47861         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
47862         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
47863         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
47864         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
47865         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
47866         * sysdeps/unix/sysv/linux/readv.c: Likewise.
47867         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
47868         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
47869         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47870         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
47871         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
47872         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
47873         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
47874         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
47875         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
47876         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
47877         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
47878         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
47879         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47880         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
47881         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
47882         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
47883         * sysvipc/sys/ipc.h: Likewise.
47884         * sysvipc/sys/msg.h: Likewise.
47885         * sysvipc/sys/sem.h: Likewise.
47886         * sysvipc/sys/shm.h: Likewise.
47887         * termios/termios.h: Likewise.
47888         * time/sys/time.h: Likewise.
47889         * time/time.h: Likewise.
47890         * wcsmbs/bits/wchar2.h: Likewise.
47891         * wcsmbs/uchar.h: Likewise.
47892         * wcsmbs/wchar.h: Likewise.
47893         * wctype/wctype.h: Likewise.
47895         [BZ #13551]
47896         * Makeconfig: Remove all but ELF support including AIX support.
47897         * Makerules: Likewise.
47898         * config.h.in: Likewise.
47899         * config.make.in: Likewise.
47900         * configure: Likewise.
47901         * configure.in: Likewise.
47902         * csu/Makefile: Likewise.
47903         * csu/version.c: Likewise.
47904         * debug/Makefile: Likewise.
47905         * dlfcn/Makefile: Likewise.
47906         * elf/Makefile: Likewise.
47907         * extra-lib.mk: Likewise.
47908         * iconv/Makefile: Likewise.
47909         * include/libc-symbols.h: Likewise.
47910         * include/shlib-compat.h: Likewise.
47911         * resolv/Makefile: Likewise.
47912         * resolv/res_libc.c: Likewise.
47913         * rt/Makefile: Likewise.
47914         * sysdeps/i386/asm-syntax.h: Likewise.
47915         * sysdeps/i386/sysdep.h: Likewise.
47916         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
47917         * sysdeps/mach/sysdep.h: Likewise.
47918         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
47919         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
47920         * sysdeps/s390/asm-syntax.h: Likewise.
47921         * sysdeps/s390/s390-32/sysdep.h: Likewise.
47922         * sysdeps/s390/s390-64/sysdep.h: Likewise.
47923         * sysdeps/sh/sysdep.h: Likewise.
47924         * sysdeps/unix/sparc/sysdep.h: Likewise.
47925         * sysdeps/wordsize-32/divdi3.c: Likewise.
47926         * sysdeps/x86_64/sysdep.h: Likewise.
47928         * argp/Versions: Remove _argp_unlock_xxx.
47930         [BZ #13559]
47931         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
47932         * abilist/libBrokenLocale.abilist: Likewise.
47933         * abilist/libanl.abilist: Likewise.
47934         * abilist/libc.abilist: Likewise.
47935         * abilist/libcrypt.abilist: Likewise.
47936         * abilist/libdl.abilist: Likewise.
47937         * abilist/libm.abilist: Likewise.
47938         * abilist/libnsl.abilist: Likewise.
47939         * abilist/libpthread.abilist: Likewise.
47940         * abilist/libresolv.abilist: Likewise.
47941         * abilist/librt.abilist: Likewise.
47942         * abilist/libthread_db.abilist: Likewise.
47943         * abilist/libutil.abilist: Likewise.
47944         * abilist/libnss_db.abilist: New file.
47946         * scripts/abilist.awk: Add support for indirect functions.
47948         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
47950         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
47952         * shlib-versions: Remove entries for ports architectures.
47954         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
47955         files in ports.
47956         * elf/stackguard-macros.h: Remove support for IA-64.
47957         * elf/tst-auditmod1.c: Likewise.
47958         * sysdeps/generic/ldsodefs.h: Likewise.
47960         * sysdeps/unix/sysv/linux/configure.in: Ports should define
47961         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
47962         configure files.
47964         [BZ #13552]
47965         * configure.in: Remove --enable-omitfp support.
47966         * FAQ.in: Adjust.
47967         * config.make.in: Likewise.
47968         * Makeconfig: Likewise.
47969         * manual/install.texi: Likewise.
47971         In case anyone cares, the IA-64 architecture could move to ports.
47972         * sysdeps/ia64/*: Removed.
47973         * sysdeps/unix/sysv/linux/ia64/*: Removed.
47974         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
47976         [BZ #13555]
47977         * configure.in: Remove entries for unsupported architectures.
47979         [BZ #13533]
47980         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
47981         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
47982         routines.
47983         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
47984         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
47985         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
47986         fall back to using wcrtomb.
47987         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
47988         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
47989         renaming.
47990         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
47991         * wcsmbs/tst-c16c32-1.c: New file.
47993         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
47994         local variable.
47996         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
47998         * elf/tst-unique3.cc: Add explicit declaration of gets.
47999         * elf/tst-unique3lib.cc: Likewise.
48000         * elf/tst-unique3lib2.cc: Likewise.
48001         * elf/tst-unique4.cc: Likewise.
48003         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
48005 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
48007         [BZ #13566]
48008         * assert/assert.h (static_assert): Don't define for C++.
48009         * libio/stdio.h (gets): Do declare for C++ <= C++11.
48010         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
48012 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
48014         * iconv/loop.c (single loop): Fix assertion in storing of
48015         remaining bytes.
48017         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
48019 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
48021         * posix/getconf.c: Update copyright year.
48022         * nss/getent.c: Likewise.
48023         * nss/makedb.c: Likewise.
48024         * iconv/iconvconfig.c: Likewise.
48025         * iconv/iconv_prog.c: Likewise.
48026         * elf/ldconfig.c: Likewise.
48027         * elf/pldd.c: Likewise.
48028         * elf/sotruss.ksh: Likewise.
48029         * catgets/gencat.c: Likewise.
48030         * csu/version.c: Likewise.
48031         * elf/ldd.bash.in: Likewise.
48032         * elf/sprof.c (print_version): Likewise.
48033         * locale/programs/locale.c: Likewise.
48034         * locale/programs/localedef.c: Likewise.
48035         * login/programs/pt_chown.c: Likewise.
48036         * nscd/nscd.c (print_version): Likewise.
48037         * debug/xtrace.sh: Likewise.
48038         * malloc/memusage.sh: Likewise.
48039         * malloc/mtrace.pl: Likewise.
48040         * debug/catchsegv.sh: Likewise.
48042 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
48044         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
48045         pure attribute.
48047 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
48049         [BZ #13533]
48050         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
48051         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
48052         transformations.
48053         * iconv/gconv_int.h: Likewise.
48054         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
48055         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
48056         from libc for GLIBC_2.16.
48057         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
48058         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
48059         * wcsmbs/uchar.h: Really define mbstate_t.
48060         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
48061         * wcsmbs/c16rtomb.c: New file.
48062         * wcsmbs/mbrtoc16.c: New file.
48063         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
48064         for C/POSIX locale.
48065         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
48066         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
48068         * wcsmbs/wchar.h: Add missing __restrict.
48070 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
48072         [BZ #13532]
48073         * time/Makefile (routines): Add timespec_get.
48074         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
48075         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
48076         timespec for ISO C11.
48077         * time/timespec_get.c: New file.
48078         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
48079         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
48081         [BZ #13531]
48082         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
48083         * stdlib/stdlib.h: Declare aligned_alloc.
48084         * Versions.def: Add GLIBC_2.16 for libc.
48085         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
48087         [BZ 13527]
48088         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
48089         ISO C11.
48091         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
48092         code.
48094         [BZ #13528]
48095         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
48097         [BZ #13529]
48098         * assert/assert.h (static_assert): Define.
48100         * version.h: Update for 2.16 development version.
48102         [BZ #13526]
48103         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
48104         _ISOC11_SOURCE.
48106         * version.h (RELEASE): Bump for 2.15 release.
48107         * include/features.h (__GLIBC_MINOR__): Bump to 15.
48109         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
48110         Patch by Marek Polacek <mpolacek@redhat.com>.
48112         * bits/byteswap.h: Protect long long constants with __extension__.
48113         * sysdeps/i386/bits/byteswap.h: Likewise.
48114         * sysdeps/ia64/bits/byteswap.h: Likewise.
48115         * sysdeps/s390/bits/byteswap.h: Likewise.
48116         * sysdeps/x86_64/bits/byteswap.h: Likewise.
48118 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48120         [BZ #13540]
48121         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
48122         destination buffer.
48123         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
48125 2011-12-23  Marek Polacek  <polacek@redhat.com>
48127         * elf/dl-addr.c (determine_info): Add inline keyword.
48128         * elf/tst-auditmod4b.c (check_avx): Likewise.
48129         * elf/tst-auditmod6b.c (check_avx): Likewise.
48130         * elf/tst-auditmod6c.c (check_avx): Likewise.
48131         * elf/tst-auditmod7b.c (check_avx): Likewise.
48133 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
48135         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
48136         !__SSE_MATH__.
48138 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48140         [BZ #13540]
48141         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
48142         processing for last bytes.
48144 2011-08-06  Bruno Haible  <bruno@clisp.org>
48146         [BZ #13061]
48147         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
48148         U+0385, not to U+1FEE.
48150         [BZ #13062]
48151         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
48152         entry for U+00A5 U+0301.
48154 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
48156         [BZ #13166]
48157         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
48158         buffer for the output is too small.
48160         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
48161         optimization.
48163         [BZ #13185]
48164         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
48165         SSE flags if possible.
48167 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48169         [BZ #13540]
48170         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
48171         processing for last bytes.
48173 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
48175         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
48176         (syscall-list-default-options, syscall-list-default-condition)
48177         (syscall-list-includes): Define.
48178         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
48179         list of ABIs and options and #if conditions for each ABI.  Do not
48180         handle common syscalls between ABIs specially.
48181         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
48182         Remove.
48183         (syscall-list-variants, syscall-list-32bit-options)
48184         (syscall-list-32bit-condition, syscall-list-64bit-options)
48185         (syscall-list-64bit-condition): Define.
48186         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
48187         (syscall-list-variants, syscall-list-32bit-options)
48188         (syscall-list-32bit-condition, syscall-list-64bit-options)
48189         (syscall-list-64bit-condition): Define.
48190         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
48191         Remove.
48192         (syscall-list-variants, syscall-list-32bit-options)
48193         (syscall-list-32bit-condition, syscall-list-64bit-options)
48194         (syscall-list-64bit-condition): Define.
48195         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
48196         Remove.
48197         (syscall-list-variants, syscall-list-32bit-options)
48198         (syscall-list-32bit-condition, syscall-list-64bit-options)
48199         (syscall-list-64bit-condition): Define.
48201 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
48203         * locale/iso-639.def: Add brx entry.
48205         [BZ #13328]
48206         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
48207         Proposed by Mariusz_Cukr <marcukr@op.pl>.
48209         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
48210         __feraiseexcept_renamed.
48212 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
48214         [BZ #13538]
48215         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
48216         EPOLLET with unsigned values.
48217         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48218         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
48220         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
48221         to large cancellation.
48222         * math/s_cacoshf.c: Likewise.
48223         * math/s_cacoshl.c: Likewise.
48225 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
48227         [BZ #13305]
48228         [BZ #12786]
48229         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
48230         * math/s_cacoshf.c: Likewise.
48231         * math/s_cacoshl.c: Likewise.
48233 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
48235         [BZ #13439]
48236         * iconv/gconv.h: Define __GCONV_SWAP.
48237         * iconvdata/unicode.c: The swap bit must be stored in __flags.
48238         * iconvdata/utf-16.c: Likewise.
48239         * iconvdata/utf-32.c: Likewise.
48241 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
48243         [BZ #13524]
48244         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
48245         numerator after shifting it by one limb.
48247 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
48249         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
48250         under [__USE_EXTERN_INLINES].
48252 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
48254         [BZ #13446]
48255         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
48257 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48259         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
48260         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
48261         optimized code.
48262         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
48263         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
48264         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
48265         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
48266         for strncasecmp/strncasecmp_l compilation.
48267         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
48268         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
48270 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
48272         [BZ #13484]
48273         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
48274         of __asm__.
48276 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
48278         [BZ #13506]
48279         * time/tzfile.c (__tzfile_read): Check values from file header.
48281 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
48283         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
48284         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
48285         * powerpc/powerpc32/dl-start.S: Likewise.
48286         * powerpc/powerpc32/elf/start.S: Likewise.
48287         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
48288         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
48289         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
48290         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
48291         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
48292         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
48293         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
48294         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
48295         * powerpc/powerpc32/fpu/s_round.S: Likewise.
48296         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
48297         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
48298         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
48299         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
48300         * powerpc/powerpc32/memset.S: Likewise.
48301         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
48302         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
48303         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
48304         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
48305         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
48306         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
48307         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
48308         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
48309         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
48310         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
48311         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
48312         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
48313         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
48315 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48317         * math/libm-test.inc: Added more nearbyint tests.
48318         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
48319         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
48320         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
48321         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
48323 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
48325         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
48326         FD_CLOEXEC.
48328 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48330         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
48331         Add wcscpy-ssse3 wcscpy-c.
48332         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
48333         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
48334         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
48335         * sysdeps/x86_64/wcschr.S: New file.
48336         * sysdeps/x86_64/wcsrchr.S: New file.
48337         * string/test-strcmp.c: Remove checking of wcscmp function for
48338         wrong alignments.
48339         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
48340         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
48341         wcsrchr-sse2 wcsrchr-c.
48342         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
48343         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
48344         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
48345         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
48346         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
48347         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
48348         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
48349         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
48350         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
48351         * wcsmbc/wcschr.c (WCSCHR): New macro.
48353 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48355         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
48356         * wcsmbs/test-wcsrchr.c: New file.
48357         * string/test-strrchr.c: Add wcsrchr support.
48358         (WIDE): New macro.
48359         * wcsmbs/test-wcscpy.c: New file.
48360         * string/test-strcpy.c: Add wcscpy support.
48361         (WIDE): New macro.
48363 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
48365         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
48366         the inner loop.
48368 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
48370         [BZ #13472]
48371         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
48373 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
48375         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
48376         Minor optimizations.
48378         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
48379         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
48380         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
48382 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
48384         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
48385         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
48386         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
48387         for gcc to avoid warnings.
48388         * inet/Makefile (tests): Add tst-checks.
48389         * inet/tst-checks.c: New file.
48391         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
48392         warning.
48394         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
48395         __wmemcmp_sse2.
48397         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
48398         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
48400         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
48402 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
48404         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
48405         problem.
48407         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
48409 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
48411         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
48412         conditional on GCC version.
48413         (__arch_compare_and_exchange_val_8_acq)
48414         (__arch_compare_and_exchange_val_16_acq)
48415         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
48416         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
48417         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
48419 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
48421         * sysdeps/sh/backtrace.c: New file.
48423 2011-12-02  Andreas Schwab  <schwab@redhat.com>
48425         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
48426         parenthesis.
48428 2011-12-01  Andreas Schwab  <schwab@redhat.com>
48430         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
48431         falling back to utime.
48433 2011-11-30  Andreas Schwab  <schwab@redhat.com>
48435         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
48436         expectations for float.
48438 2011-11-29  Andreas Schwab  <schwab@redhat.com>
48440         * locale/weight.h (findidx): Add parameter len.
48441         * locale/weightwc.h (findidx): Likewise.
48442         * posix/fnmatch_loop.c (FCT): Adjust caller.
48443         * posix/regcomp.c (build_equiv_class): Likewise.
48444         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
48445         * posix/regexec.c (check_node_accept_bytes): Likewise.
48446         * string/strcoll_l.c (STRCOLL): Likewise.
48447         * string/strxfrm_l.c (STRXFRM): Likewise.
48449 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
48451         * Makefile.in: Remove CVSOPT handling.
48452         * configure.in: Remove use of AC_REVISION.
48453         * iconvdata/Makefile (distribute): No need to filter out CVS.
48454         * scripts/list-sources.sh: Remove CVS, subversion and monotone
48455         handling.
48457 2011-11-16  Andreas Schwab  <schwab@redhat.com>
48459         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
48460         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
48461         [USE_AS_STRNCASECMP_L]: Likewise.
48462         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
48463         NO_TLS_DIRECT_SEG_REFS.
48464         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
48465         Fix argument offsets for non-PIC.
48466         [USE_AS_STRNCASECMP_L]: Likewise.
48467         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
48468         NO_TLS_DIRECT_SEG_REFS.
48470 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
48472         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
48473         O_CLOEXEC.
48474         * locale/loadlocale.c (_nl_load_locale): Likewise.
48476 2011-11-15  Andreas Schwab  <schwab@redhat.com>
48478         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
48479         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
48480         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
48481         (SYSCALL_GETTIME): Set errno on error.
48483         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
48484         count references to noai6ai_cached.
48486 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
48488         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
48490         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
48491         FD_CLOEXEC for /proc/self/maps.
48493         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
48494         FD_CLOEXEC for /proc/meminfo.
48496         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
48497         gai.conf.
48499         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
48500         FD_CLOEXEC for given file.
48502         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
48504         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
48505         FD_CLOEXEC for /etc/hosts.
48506         (_gethtent): Likewise.
48508         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
48510         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
48511         cancellation and set FD_CLOEXEC for /etc/netgroup.
48513         * nss/nss_files/files-key.c (search): Don't allow cancellation when
48514         reading /etc/publickey.
48516         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
48517         allow cancellation when reading /etc/group.
48519         * nss/nss_files/files-alias.c (internal_setent): Don't allow
48520         cancellation.
48521         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
48523         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
48524         when using data file.
48526         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
48528         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
48529         (write_nis_obj): Use "c" and "e" in fopen.
48531         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
48533         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
48535         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
48537         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
48539         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
48540         locale.alias.
48542         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
48544         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
48546         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
48548         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
48549         file parsing and set FD_CLOEXEC.
48551 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
48553         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
48555 2011-11-14  Andreas Schwab  <schwab@redhat.com>
48557         * malloc/arena.c (arena_get2): Don't call reused_arena when
48558         _int_new_arena failed.
48560 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
48562         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
48563         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
48564         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
48565         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
48566         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48567         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
48568         to compile strcasecmp and strncasecmp.
48569         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
48570         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
48572         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
48574 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
48576         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
48577         locale-defines.sym to gen-as-const-headers.
48578         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
48579         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
48580         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
48581         to compile strcasecmp and strncasecmp.
48582         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
48583         strcasecmp_l and strncasecmp_l.
48584         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
48585         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
48586         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
48587         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
48588         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
48589         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
48590         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
48591         * sysdeps/i386/i686/multiarch/strncase.S: New file.
48592         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
48593         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
48594         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
48596 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
48598         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
48599         result of SYSDEP_GETTIME_CPU to retval.
48600         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
48601         parameter list to macro.  Remove trailing semicolon.  Adjust users.
48603         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
48604         variable.
48606         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
48607         mantissa words.
48608         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
48610         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
48611         from unused variable.
48613         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
48614         DWARF definitions.
48615         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
48616         for assembling.
48618         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
48619         over namespaces.
48621         * sunrpc/rpc_prot.c (rejected): Fix case value.
48623         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
48624         unsigned long long int to avoid warnings in shift.
48626         * posix/regex_internal.c (re_string_reconstruct): Actually use result
48627         of use of trans.
48628         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
48629         variable tmp.
48631         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
48632         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
48633         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
48635         * nis/nis_table.c (nis_list): Use variable of correct type for
48636         result of __follow_path call.
48638 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48640         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
48641         of math functions ceil, trunc, floor, round, and sqrt, when
48642         avaliable on the platform.
48643         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
48644         name clash.
48645         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
48646         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
48647         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
48649 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
48651         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
48652         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
48654 2011-11-11  Roland McGrath  <roland@hack.frob.com>
48656         * include/unistd.h: Fix __readlink return type.
48657         Reported by Chris Metcalf <cmetcalf@tilera.com>.
48659 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
48661         * stdlib/ucontext.h: Undo last change for makecontext.
48663 2011-11-11  Andreas Schwab  <schwab@redhat.com>
48665         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
48667         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
48668         * setjmp/setjmp.h: Mark functions as non-leaf.
48669         * setjmp/bits/setjmp2.h: Likewise.
48670         * stdlib/ucontext.h: Likewise.
48672 2011-11-10  Andreas Schwab  <schwab@redhat.com>
48674         * malloc/arena.c (_int_new_arena): Don't increment narenas.
48675         (reused_arena): Don't check arena limit.
48676         (arena_get2): Atomically check arena limit.
48678 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
48680         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
48681         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
48683         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
48684         instructions.
48686 2011-11-07  Andreas Schwab  <schwab@redhat.com>
48688         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
48689         handler when locking.
48691         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
48692         Fix size of allocated buffer.
48694 2011-11-04  Andreas Schwab  <schwab@redhat.com>
48696         [BZ #10103]
48697         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
48698         declarations for long double functions.
48699         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
48701         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
48703 2011-11-03  Andreas Schwab  <schwab@redhat.com>
48705         * nscd/nscd.c (main): Don't start AVC thread until credentials are
48706         installed.
48708         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
48709         is disabled.
48711 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48713         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
48715 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
48717         * include/alloca.h (stackinfo_alloca_round): Define.
48718         (extend_alloca): Use it.
48719         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
48720         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
48721         here.
48723         * scripts/check-local-headers.sh: Ignore libaudit.h.
48725         * nscd/Makefile (extra-objs): Make recursively expanded.
48727 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
48729         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
48730         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
48732         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
48733         * posix/tst-rfc3484-2.c: Likewise.
48734         * posix/tst-rfc3484-3.c: Likewise.
48736         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
48737         process_vm_writev.
48738         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
48739         process_vm_writev.
48740         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
48741         process_vm_writev from libc using GLIBC_2.15 version.
48743         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
48745 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
48747         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
48748         stack usage.
48750 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
48752         [BZ #13367]
48753         * nss/getent.c (initgroups_keys): Show error message in case no group
48754         names are given.
48756         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
48757         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
48758         __bump_nl_timestamp.
48759         * nscd/connections (nscd_init): When host database is served open
48760         netlink socket and request notification about configuration changes.
48761         (main_loop_poll): Track netlink file descriptor and bump timestamp
48762         in case data becomes available.
48763         (main_loop_epoll): Likewise.
48764         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
48765         (database_pers_head): Add extra_data fileds.
48766         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
48767         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
48768         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
48769         Adjust caller.
48770         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
48771         in6ai data, call __free_in6ai.
48772         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
48773         Add -DHAVE_NETLINK.
48774         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
48775         interface information.  Reuse previous data if netlink timestamp
48776         is not changed.
48777         (__bump_nl_timestamp): New function.
48778         (__free_in6ai): New function.
48780 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
48782         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
48783         close_not_cancel_no_status here.
48784         (__check_pf): Reorganize code a bit to not call close twice if OOM.
48786 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
48788         [BZ #13276]
48789         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
48790         return value.
48792         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
48793         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
48794         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
48796 2011-07-03  Andreas Jaeger  <aj@suse.de>
48798         [BZ #10709]
48799         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
48800         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
48801         * math/libm-test.inc (sin_test): Add test case.
48803 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
48805         [BZ #13337]
48806         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
48807         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
48809         * elf/chroot_canon.c (chroot_canon): Cleanups.
48811         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
48813         [BZ #13335]
48814         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
48815         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
48817         * string/test-strchr.c: Make usable for strchrnul testing.
48818         * string/test-strchrnul.c: New file.
48819         * string/Makefile (strop-tests): Add strchrnul.
48821         * po/it.po: Update from translation team.
48822         * po/es.po: Likewise.
48824 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
48826         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
48827         the three constants needed as parameters.  Drop the others.
48828         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
48829         __m128i_strloadu_tolower.
48830         Create and initialize variable zero and use it in all the places
48831         where _mm_setzero_si128 was used.
48833         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
48834         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
48835         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
48836         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
48837         anymore.
48838         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
48839         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
48840         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
48841         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
48842         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
48843         __mpranred, __mptan.
48844         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
48845         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
48846         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
48847         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
48848         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
48849         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
48850         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
48851         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
48852         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
48854 2011-10-28  Andreas Schwab  <schwab@redhat.com>
48856         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
48857         redefine if SHARED.
48858         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
48860         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
48861         wide char related routines to wcsmbs subdir.
48863 2011-10-27  Andreas Schwab  <schwab@redhat.com>
48865         [BZ #13344]
48866         * misc/sys/cdefs.h (__THROWNL): Define.
48867         * posix/unistd.h: Use __THREADNL instead of __THREAD
48868         for memory synchronization functions.
48870 2011-10-26  Roland McGrath  <roland@hack.frob.com>
48872         [BZ #13349]
48873         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
48874         doesn't exist.
48875         * manual/stdio.texi (Obstack Streams): Node removed.
48877 2011-10-26  Andreas Schwab  <schwab@redhat.com>
48879         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
48880         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48881         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48883         * math/math_private.h (math_force_eval): Allow non-addressable
48884         arguments.
48885         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
48887 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
48889         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
48890         file is not needed.
48892         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
48893         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
48894         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48895         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48896         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48897         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48898         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48899         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
48900         Add AVX variants.
48901         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
48902         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
48903         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
48904         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
48905         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
48906         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
48907         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
48908         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
48909         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
48910         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
48911         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
48912         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
48913         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
48914         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
48915         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
48916         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
48917         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
48918         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
48919         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
48921         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
48922         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
48924         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
48925         place.  Use VEX encoding when compiling for AVX.
48927 2011-10-25  Andreas Schwab  <schwab@redhat.com>
48929         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
48930         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
48932         * string/test-strchr.c (do_test): Don't generate NUL bytes.
48934 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
48936         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
48937         useless if() expression.
48938         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48939         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48940         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48941         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48942         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48943         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48944         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48945         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48946         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48947         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48948         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48949         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48950         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
48951         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48952         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
48953         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48954         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48955         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48956         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
48958         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
48960 2011-10-25  Andreas Schwab  <schwab@redhat.com>
48962         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
48963         condition.
48964         * elf/dl-fini.c (_dl_sort_fini): Likewise.
48966 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
48968         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
48969         .text section.  Avoid duplicate constants.
48970         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48971         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48972         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48973         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48974         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48975         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48976         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48977         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48978         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
48979         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
48980         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
48981         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
48982         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
48983         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
48984         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
48985         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
48986         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
48987         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
48988         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48989         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48990         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48991         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48992         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48993         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
48994         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
48995         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
48996         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
48997         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
48998         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
48999         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
49000         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
49001         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
49002         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
49003         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
49004         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
49005         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
49006         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
49007         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
49008         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
49009         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
49010         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
49011         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
49012         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
49013         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
49014         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
49016 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
49018         * sysdeps/x86_64/dla.h: Move to ...
49019         * sysdeps/x86_64/fpu/dla.h: ...here.
49020         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
49021         situations.  Use __builtin_fma only for gcc 4.6 and up.
49023         * config.make.in: Add have-mfma4 entry.
49024         * configure.in: Substitute libc_cv_cc_fma4.
49025         * math/Makefile (dbl-only-routines): Add sincostab.
49026         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
49027         Use __sincostab not sincos.
49028         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
49029         name is a macro.
49030         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49031         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49032         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49033         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
49034         using __copysign.
49035         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
49036         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
49037         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
49038         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
49039         and __inv.
49040         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
49041         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
49042         __copysign.
49043         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
49044         define aliases when function name is a macro.
49045         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
49046         sysdeps/ieee754/dbl-64/sincos.tbl.
49047         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
49048         fma4-enabled routines.
49049         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
49050         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
49051         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
49052         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
49053         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
49054         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
49055         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
49056         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
49057         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
49058         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
49059         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
49060         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
49061         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
49062         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
49063         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
49064         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
49065         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
49066         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
49067         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
49068         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
49069         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
49070         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
49071         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
49072         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
49073         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
49074         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
49075         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
49076         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
49077         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
49078         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
49080         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
49081         rename.
49082         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49083         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49084         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49085         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49086         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49087         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49088         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49089         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49091 2011-10-24  Andreas Schwab  <schwab@redhat.com>
49093         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
49095 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
49097         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
49099         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
49100         prediction.
49101         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
49103         * string/strnlen.c: Don't define STRNLEN, reverse logic.
49104         Remove unused variable magic_bits.
49105         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
49107         * string/strnlen.c: Define and use STRNLEN macro.
49108         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
49109         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
49110         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
49111         * wcsmbs/wcslen.c: Define and use WCSLEN.
49112         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
49113         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
49114         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
49115         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
49116         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
49117         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
49118         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
49120 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49122         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49123         strnlen-sse2-no-bsf.
49124         Rename strlen-no-bsf to strlen-sse2-no-bsf.
49125         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
49126         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
49127         Add strnlen support.
49128         (USE_AS_STRNLEN): New macro.
49129         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
49130         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
49131         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
49132         * sysdeps/x86_64/wcslen.S: New file.
49134 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
49136         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
49137         XMM-moves are used for copying on small sizes.
49139 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49141         * wcsmbs/Makefile (strop-tests): Add wcschr.
49142         * wcsmbs/test-wcschr.c: New file.
49143         * string/test-strchr.c: Update.
49144         Add wcschr support.
49145         (WIDE): New macro.
49147 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49149         * wcsmbs/Makefile (strop-tests): Add wcslen.
49150         * wcsmbs/test-wcslen.c: New file.
49151         * string/test-strlen.c: Update.
49152         Add wcslen support.
49153         (WIDE): New macro.
49155 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
49157         * po/it.po: Update from translation team.
49159 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49161         * sysdeps/x86_64/wcscmp.S: Update.
49162         Fix wrong comparison semantics.
49163         wcscmp shall use signed comparison not unsigned.
49164         Don't use substraction to avoid overflow bug.
49165         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
49166         * wcsmbc/wcscmp.c: Likewise.
49167         * string/test-strcmp.c: Likewise.
49168         Add new tests to check cases with negative values.
49170 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
49172         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
49173         * sysdeps/x86_64/dla.h: ...here.  New file.
49174         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
49175         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49176         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49177         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49178         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49179         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49180         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49181         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49182         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49184 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
49186         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
49187         __ynl_finite aliases.
49189 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
49191         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49193         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
49194         define DLA_FMA.
49195         [DLA_FMA] (EMULV): Use DLA_FMA.
49196         [DLA_FMA] (MUL12): Use EMULV.
49197         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
49198         that are not needed.
49199         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49200         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49201         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49202         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49203         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49204         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49205         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49207 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
49209         * math/s_nan.c: Undef __nan.
49210         * math/s_nanf.c: Undef __nanf.
49211         * math/s_nanl.c: Undef __nanl.
49212         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
49213         "math_private.h".
49215 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
49217         * math/s_catan.c: Add branch predictions.
49218         * math/s_catanf.c: Likewise.
49219         * math/s_catanh.c: Likewise.
49220         * math/s_catanhf.c: Likewise.
49221         * math/s_catanhl.c: Likewise.
49222         * math/s_catanl.c: Likewise.
49223         * math/s_cexp.c: Likewise.
49224         * math/s_cexpf.c: Likewise.
49225         * math/s_cexpl.c: Likewise.
49226         * math/s_clog.c: Likewise.
49227         * math/s_clog10.c: Likewise.
49228         * math/s_clog10f.c: Likewise.
49229         * math/s_clog10l.c: Likewise.
49230         * math/s_clogf.c: Likewise.
49231         * math/s_clogl.c: Likewise.
49232         * math/s_csqrt.c: Likewise.
49233         * math/s_csqrtf.c: Likewise.
49234         * math/s_csqrtl.c: Likewise.
49235         * math/s_ctanf.c: Likewise.
49236         * math/s_ctanh.c: Likewise.
49237         * math/s_ctanhf.c: Likewise.
49238         * math/s_ctanhl.c: Likewise.
49239         * math/s_ctanl.c: Likewise.
49241         * math/math_private.h: Define __nan, __nanf, __nanl.
49242         * math/s_cacosh.c: Include <math_private.h>.
49243         * math/s_cacoshl.c: Likewise.
49244         * math/s_casinh.c: Likewise.
49245         * math/s_casinhf.c: Likewise.
49246         * math/s_casinhl.c: Likewise.
49247         * math/s_ccos.c: Rely entire on ccosh.
49248         * math/s_ccosf.c: Rely entire on ccoshf.
49249         * math/s_ccosl.c: Rely entirely on ccoshl.
49250         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
49251         Remove tests for FE_INVALID.
49252         * math/s_ccoshf.c: Likewise.
49253         * math/s_ccoshl.c: Likewise.
49254         * math/s_csin.c: Likewise.
49255         * math/s_csinf.c: Likewise.
49256         * math/s_csinh.c Likewise.
49257         * math/s_csinhf.c: Likewise.
49258         * math/s_csinhl.c: Likewise.
49259         * math/s_csinl.c: Likewise.
49260         * math/s_ctan.c: Likewise.
49261         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
49262         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
49263         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
49265 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
49267         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
49268         compilation problems.
49270         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
49271         __builtin_expect.
49273 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
49275         * sysdeps/i386/configure.in: Test for -mfma4 option.
49276         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
49277         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
49278         COMMON_CPUID_INDEX_80000001.
49279         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
49280         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
49281         use it if FMA3 is not supported.
49282         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
49284         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
49285         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49287 2011-10-20  Andreas Schwab  <schwab@redhat.com>
49289         [BZ #12892]
49290         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
49291         it would create a cycle with a link time dependency.
49293 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
49295         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
49296         instruction.
49297         * string/Makefile (strop-tests): Add rawmemchr.
49298         * string/test-rawmemchr.c: New file.
49300         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
49301         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
49302         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
49303         when compiling str{,n}casecmp and when AVX is available.  Hook up
49304         new optimized code in initializers.
49306 2011-10-19  Andreas Schwab  <schwab@redhat.com>
49308         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
49309         __feraiseexcept instead of feraiseexcept.
49311 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
49313         * math/math_private.h: Define defaults for libc_fetestexcept and
49314         libc_feupdateenv.
49315         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
49316         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
49317         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
49318         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
49319         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
49320         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
49321         libc_fetestexcept and libc_feupdateenv.
49323         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
49324         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
49325         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
49326         * sysdeps/x86_64/fpu/math_private.h: Define special version of
49327         libc_feholdexcept_setround.
49329         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
49330         Add s_nearbyint-c and s_nearbyintf-c.
49331         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
49332         nearbyintf inlines.
49333         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
49334         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
49335         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
49336         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
49338         * math/math_private.h: Define defaults for libc_fegetround,
49339         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
49340         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
49341         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
49342         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
49343         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
49344         standard functions.
49345         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
49346         Remove comments and hacks for old compiler versions.
49347         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
49348         libc_fegetround, libc_fesetround, libc_feholdexcept, and
49349         libc_feholdexceptl.
49351 2011-10-18  Andreas Schwab  <schwab@redhat.com>
49353         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
49354         (__feraiseexcept_renamed): Add __NTH.
49355         (feraiseexcept): Add __NTH.  Rename local variables to fix
49356         namespace violations.
49358 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
49360         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
49362         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
49364         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
49365         recently added interfaces.
49366         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
49368         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
49369         about macro parameter expansion.
49371         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
49372         __NO_MATH_INLINES is defined.  Cleanups.
49374         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
49375         and __floorf is target has SSE4.1.
49376         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
49377         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
49378         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
49379         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
49381         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
49382         name.
49383         (floorf): Likewise.
49385         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
49387 2011-10-17  Andreas Schwab  <schwab@redhat.com>
49389         * misc/sys/cdefs.h: Fix last change.
49391         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
49392         database lookup.
49394 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
49396         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
49398         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
49399         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49400         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
49401         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
49402         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49403         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
49404         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
49405         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
49406         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
49407         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
49408         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
49409         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
49410         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
49411         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
49412         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
49413         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
49414         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
49415         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
49416         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
49417         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
49418         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
49419         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
49421         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
49422         ceil, ceilf, floor, floorf.
49424         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
49425         Perform IRELATIVE relocations last.
49427         * elf/do-rel.h: Add another parameter nrelative, replacing the
49428         local variable with the same name.  Change name of the function
49429         to end in Rel or Rela (uppercase).
49430         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
49431         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
49432         elf_dynamic_do_##reloc function.
49434 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
49436         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
49437         is sufficient, at least on modern CPUs.
49439         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
49441         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
49442         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
49444         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
49445         __expl_finite.
49446         * math/bits/math-finite.h: Add entries for exp.
49447         * math/e_expl.c: Add __*_finite alias.
49448         * sysdeps/i386/fpu/e_exp.S: Likewise.
49449         * sysdeps/i386/fpu/e_expf.S: Likewise.
49450         * sysdeps/i386/fpu/e_expl.c: Likewise.
49451         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49452         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
49453         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
49454         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
49455         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
49456         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
49457         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
49459         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
49460         is sufficient, at least on modern CPUs.
49462         * ctype/ctype-info.c (__ctype_init): Define.
49463         * include/ctype.h (__ctype_init): Declare.
49464         (__ctype_b_loc): The variable is always initialized.
49465         (__ctype_toupper_loc): Likewise.
49466         (__ctype_tolower_loc): Likewise.
49467         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
49468         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
49470 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
49472         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
49474         * configure.in: Also look in $cxxmachine/include for C++ system
49475         headers.
49477 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49479         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
49480         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
49481         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
49482         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
49483         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
49484         (USE_AS_WMEMCMP): New macro.
49485         Fixing indents.
49486         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
49487         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
49488         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
49489         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
49490         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49491         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
49492         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
49493         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
49494         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
49495         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
49496         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
49497         (USE_AS_WMEMCMP): New macro.
49498         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
49499         * sysdeps/string/test-memcmp.c: Update.
49500         Fix simple_wmemcmp.
49501         Add new tests.
49502         * wcsmbs/wmemcmp.c: Update.
49503         (WMEMCMP): New macro.
49504         Fix overflow bug.
49506 2011-10-12  Andreas Jaeger  <aj@suse.de>
49508         [BZ #13268]
49509         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
49511 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
49513         * libio/iofwide.c (do_length): Avoid warning.
49515         * ctype/ctype.h (__isctype_f): Add missing __THROW.
49517 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
49519         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
49521         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
49522         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
49523         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
49524         * sysdeps/i386/i686/fpu/e_log.S: New file.
49525         * sysdeps/i386/i686/fpu/e_logf.S: New file.
49526         * sysdeps/i386/i686/fpu/e_logl.S: New file.
49528         * ctype/ctype.h: Add support for inlined isXXX functions when
49529         compiling C++ code.
49531 2011-10-14  Andreas Schwab  <schwab@redhat.com>
49533         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49535         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
49537 2011-10-13  Roland McGrath  <roland@hack.frob.com>
49539         [BZ #13291]
49540         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
49542 2011-10-13  Andreas Schwab  <schwab@redhat.com>
49544         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
49545         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
49546         feraiseexcept.
49548         * sysdeps/x86_64/memrchr.S: Check for zero size.
49550         * string/stratcliff.c: Add memrchr tests.
49552 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49554         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49555         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
49556         rawmemchr-sse2 rawmemchr-sse2-bsf.
49557         * sysdeps/i386/i686/multiarch/memchr.S: New file.
49558         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
49559         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
49560         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
49561         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
49562         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
49563         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
49564         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
49565         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
49566         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
49567         * string/memrchr.c (MEMRCHR): New macro.
49569 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
49571         Add integration with gcc's -ffinite-math-only and optimize wrapper
49572         functions in libm.
49573         * Versions.def: Define GLIBC_2.15 version for libm.
49574         * math/Makefile (headers): Add bits/math-finite.h.
49575         * math/bits/math-finite.h: New file.
49576         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
49577         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
49578         * math/e_acoshl.c: Add __*_finite alias.
49579         * math/e_acosl.c: Likewise.
49580         * math/e_asinl.c: Likewise.
49581         * math/e_atan2l.c: Likewise.
49582         * math/e_atanhl.c: Likewise.
49583         * math/e_coshl.c: Likewise.
49584         * math/e_exp10.c: Likewise.
49585         * math/e_exp10f.c: Likewise.
49586         * math/e_exp10l.c: Likewise.
49587         * math/e_exp2l.c: Likewise.
49588         * math/e_fmodl.c: Likewise.
49589         * math/e_gammal_r.c: Likewise.
49590         * math/e_hypotl.c: Likewise.
49591         * math/e_j0l.c: Likewise.
49592         * math/e_j1l.c: Likewise.
49593         * math/e_jnl.c: Likewise.
49594         * math/e_lgammal_r.c: Likewise.
49595         * math/e_log10l.c: Likewise.
49596         * math/e_log2l.c: Likewise.
49597         * math/e_logl.c: Likewise.
49598         * math/e_powl.c: Likewise.
49599         * math/e_sinhl.c: Likewise.
49600         * math/e_sqrtl.c: Likewise.
49601         * math/e_scalb.c: Completely rewritten and optimized.
49602         * math/e_scalbf.c: Likewise.
49603         * math/e_scalbl.c: Likewise.
49604         * math/w_acos.c: Likewise.
49605         * math/w_acosf.c: Likewise.
49606         * math/w_acosl.c: Likewise.
49607         * math/w_acosh.c: Likewise.
49608         * math/w_acoshf.c: Likewise.
49609         * math/w_acoshl.c: Likewise.
49610         * math/w_asin.c: Likewise.
49611         * math/w_asinf.c: Likewise.
49612         * math/w_asinl.c: Likewise.
49613         * math/w_atan2.c: Likewise.
49614         * math/w_atan2f.c: Likewise.
49615         * math/w_atan2l.c: Likewise.
49616         * math/w_atanh.c: Likewise.
49617         * math/w_atanhf.c: Likewise.
49618         * math/w_atanhl.c: Likewise.
49619         * math/w_exp10.c: Likewise.
49620         * math/w_exp10f.c: Likewise.
49621         * math/w_exp10l.c: Likewise.
49622         * math/w_fmod.c: Likewise.
49623         * math/w_fmodf.c: Likewise.
49624         * math/w_fmodl.c: Likewise.
49625         * math/w_j0.c: Likewise.
49626         * math/w_j0f.c: Likewise.
49627         * math/w_j0l.c: Likewise.
49628         * math/w_j1.c: Likewise.
49629         * math/w_j1f.c: Likewise.
49630         * math/w_j1l.c: Likewise.
49631         * math/w_jn.c: Likewise.
49632         * math/w_jnf.c: Likewise.
49633         * math/w_log.c: Likewise.
49634         * math/w_logf.c: Likewise.
49635         * math/w_logl.c: Likewise.
49636         * math/w_log10.c: Likewise.
49637         * math/w_log10f.c: Likewise.
49638         * math/w_log10l.c: Likewise.
49639         * math/w_log2.c: Likewise.
49640         * math/w_log2f.c: Likewise.
49641         * math/w_log2l.c: Likewise.
49642         * math/w_pow.c: Likewise.
49643         * math/w_powf.c: Likewise.
49644         * math/w_powl.c: Likewise.
49645         * math/w_remainder.c: Likewise.
49646         * math/w_remainderf.c: Likewise.
49647         * math/w_remainderl.c: Likewise.
49648         * math/w_scalb.c: Likewise.
49649         * math/w_scalbf.c: Likewise.
49650         * math/w_scalbl.c: Likewise.
49651         * math/w_sqrt.c: Likewise.
49652         * math/w_sqrtf.c: Likewise.
49653         * math/w_sqrtl.c: Likewise.
49654         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
49655         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
49656         used.
49657         * math/math_private.h: Declare __kernel_standard_f.
49658         * math/w_cosh.c: Remove cruft and optimize a bit.
49659         * math/w_coshf.c: Likewise.
49660         * math/w_coshl.c: Likewise.
49661         * math/w_exp2.c: Likewise.
49662         * math/w_exp2f.c: Likewise.
49663         * math/w_exp2l.c: Likewise.
49664         * math/w_hypot.c: Likewise.
49665         * math/w_hypotf.c: Likewise.
49666         * math/w_hypotl.c: Likewise.
49667         * math/w_lgamma.c: Likewise.
49668         * math/w_lgamma_r.c: Likewise.
49669         * math/w_lgammaf.c: Likewise.
49670         * math/w_lgammaf_r.c: Likewise.
49671         * math/w_lgammal.c: Likewise.
49672         * math/w_lgammal_r.c: Likewise.
49673         * math/w_sinh.c: Likewise.
49674         * math/w_sinhf.c: Likewise.
49675         * math/w_sinhl.c: Likewise.
49676         * math/w_tgamma.c: Likewise.
49677         * math/w_tgammaf.c: Likewise.
49678         * math/w_tgammal.c: Likewise.
49679         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49680         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49681         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
49682         Minor optimizations.  Pretty printing.  Remove cruft.
49683         * sysdeps/i386/fpu/e_acosf.S: Likewise.
49684         * sysdeps/i386/fpu/e_acosh.S: Likewise.
49685         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
49686         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
49687         * sysdeps/i386/fpu/e_acosl.c: Likewise.
49688         * sysdeps/i386/fpu/e_asin.S: Likewise.
49689         * sysdeps/i386/fpu/e_asinf.S: Likewise.
49690         * sysdeps/i386/fpu/e_atan2.S: Likewise.
49691         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
49692         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
49693         * sysdeps/i386/fpu/e_atanh.S: Likewise.
49694         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
49695         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
49696         * sysdeps/i386/fpu/e_exp10.S: Likewise.
49697         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
49698         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
49699         * sysdeps/i386/fpu/e_exp2.S: Likewise.
49700         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
49701         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
49702         * sysdeps/i386/fpu/e_fmod.S: Likewise.
49703         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
49704         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
49705         * sysdeps/i386/fpu/e_hypot.S: Likewise.
49706         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
49707         * sysdeps/i386/fpu/e_log.S: Likewise.
49708         * sysdeps/i386/fpu/e_log10.S: Likewise.
49709         * sysdeps/i386/fpu/e_log10f.S: Likewise.
49710         * sysdeps/i386/fpu/e_log10l.S: Likewise.
49711         * sysdeps/i386/fpu/e_log2.S: Likewise.
49712         * sysdeps/i386/fpu/e_log2f.S: Likewise.
49713         * sysdeps/i386/fpu/e_log2l.S: Likewise.
49714         * sysdeps/i386/fpu/e_logf.S: Likewise.
49715         * sysdeps/i386/fpu/e_logl.S: Likewise.
49716         * sysdeps/i386/fpu/e_pow.S: Likewise.
49717         * sysdeps/i386/fpu/e_powf.S: Likewise.
49718         * sysdeps/i386/fpu/e_powl.S: Likewise.
49719         * sysdeps/i386/fpu/e_remainder.S: Likewise.
49720         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
49721         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
49722         * sysdeps/i386/fpu/e_scalb.S: Likewise.
49723         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
49724         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
49725         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
49726         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
49727         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
49728         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
49729         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49730         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49731         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
49732         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
49733         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
49734         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
49735         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
49736         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49737         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
49738         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
49739         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
49740         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49741         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
49742         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
49743         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49744         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
49745         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
49746         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49747         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49748         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
49749         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
49750         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49751         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49752         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
49753         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
49754         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
49755         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
49756         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
49757         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
49758         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
49759         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
49760         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
49761         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
49762         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
49763         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
49764         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
49765         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
49766         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
49767         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
49768         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
49769         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
49770         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
49771         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
49772         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
49773         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
49774         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
49775         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
49776         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
49777         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
49778         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
49779         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
49780         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
49781         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
49782         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
49783         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
49784         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
49785         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
49786         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
49787         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
49788         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
49789         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
49790         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49791         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49792         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
49793         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
49794         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
49795         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
49796         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
49797         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
49798         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
49799         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
49800         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
49801         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
49802         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
49803         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
49804         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
49805         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
49806         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49807         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
49808         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49809         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
49810         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
49811         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49812         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49813         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
49814         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
49815         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
49816         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
49817         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
49818         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49819         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
49820         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
49821         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
49822         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
49823         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
49824         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
49825         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
49826         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
49827         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
49828         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
49829         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
49830         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
49831         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
49832         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
49833         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
49834         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
49835         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49836         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
49837         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
49838         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
49839         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
49840         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
49841         (__isnanf): Likewise.
49842         (__isinf_ns): Likewise.
49843         (__isinf_nsf): Likewise.
49844         (__finite): Likewise.
49845         (__finitef): Likewise.
49846         (__ieee754_sqrt): Define as macro.
49847         (__ieee754_sqrtf): Define as macro.
49848         (__ieee754_sqrtl): Define as macro.
49849         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
49850         inlined copy.
49851         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
49852         __FINITE_MATH_ONLY__ consistent.
49853         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
49855 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
49857         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
49858         of rawmemchr.
49860         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
49862 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
49864         * po/ja.po: Update from translation team.
49866 2011-10-08  Roland McGrath  <roland@hack.frob.com>
49868         * locale/programs/locarchive.c (prepare_address_space): New function.
49869         (create_archive, enlarge_archive, open_archive): Use it.
49871         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
49872         inside [SHARED], where it is used.
49874         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
49876         * nss/getent.c (netgroup_keys): Remove unused variable.
49877         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
49879 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
49881         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
49882         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
49883         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
49884         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
49885         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
49886         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
49887         * math/Makefile (libm-calls): Add s_isinf_ns.
49888         * math/divtc3.c: Use __isinf_nsl instead of isinf.
49889         * math/multc3.c: Likewise.
49890         * math/s_casin.c: Likewise.
49891         * math/s_casinf.c: Likewise.
49892         * math/s_casinl.c: Likewise.
49893         * math/s_ccos.c: Likewise.
49894         * math/s_ccosf.c: Likewise.
49895         * math/s_ccosl.c: Likewise.
49896         * math/s_ctan.c: Likewise.
49897         * math/s_ctanf.c: Likewise.
49898         * math/s_ctanh.c: Likewise.
49899         * math/s_ctanhf.c: Likewise.
49900         * math/s_ctanhl.c: Likewise.
49901         * math/s_ctanl.c: Likewise.
49902         * math/w_fmod.c: Likewise.
49903         * math/w_fmodf.c: Likewise.
49904         * math/w_fmodl.c: Likewise.
49905         * math/w_remainder.c: Likewise.
49906         * math/w_remainderf.c: Likewise.
49907         * math/w_remainderl.c: Likewise.
49908         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
49909         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
49910         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
49911         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
49912         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
49913         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
49914         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
49915         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
49917         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
49918         of the number.
49919         * stdio-common/printf_fphex.c: Likewise.
49920         * stdio-common/printf_size.c: Likewise.
49922         * math/e_exp10.c: Include math_private.h using <...> not "...".
49923         * math/e_exp10f.c: Likewise.
49924         * math/e_exp10l.c: Likewise.
49925         * math/e_exp2l.c: Likewise.
49926         * math/e_j0l.c: Likewise.
49927         * math/e_j1l.c: Likewise.
49928         * math/e_jnl.c: Likewise.
49929         * math/e_lgammal_r.c: Likewise.
49930         * math/e_rem_pio2l.c: Likewise.
49931         * math/e_scalb.c: Likewise.
49932         * math/e_scalbf.c: Likewise.
49933         * math/e_scalbl.c: Likewise.
49934         * math/k_cosl.c: Likewise.
49935         * math/k_sinl.c: Likewise.
49936         * math/k_tanl.c: Likewise.
49937         * math/s_cacoshf.c: Likewise.
49938         * math/s_catan.c: Likewise.
49939         * math/s_catanf.c: Likewise.
49940         * math/s_catanh.c: Likewise.
49941         * math/s_catanhf.c: Likewise.
49942         * math/s_catanhl.c: Likewise.
49943         * math/s_catanl.c: Likewise.
49944         * math/s_ccosh.c: Likewise.
49945         * math/s_ccoshf.c: Likewise.
49946         * math/s_ccoshl.c: Likewise.
49947         * math/s_cexp.c: Likewise.
49948         * math/s_cexpf.c: Likewise.
49949         * math/s_cexpl.c: Likewise.
49950         * math/s_clog.c: Likewise.
49951         * math/s_clog10.c: Likewise.
49952         * math/s_clog10f.c: Likewise.
49953         * math/s_clog10l.c: Likewise.
49954         * math/s_clogf.c: Likewise.
49955         * math/s_clogl.c: Likewise.
49956         * math/s_csin.c: Likewise.
49957         * math/s_csinf.c: Likewise.
49958         * math/s_csinh.c: Likewise.
49959         * math/s_csinhf.c: Likewise.
49960         * math/s_csinhl.c: Likewise.
49961         * math/s_csinl.c: Likewise.
49962         * math/s_csqrt.c: Likewise.
49963         * math/s_csqrtf.c: Likewise.
49964         * math/s_csqrtl.c: Likewise.
49965         * math/s_ctan.c: Likewise.
49966         * math/s_ctanf.c: Likewise.
49967         * math/s_ctanh.c: Likewise.
49968         * math/s_ctanhf.c: Likewise.
49969         * math/s_ctanhl.c: Likewise.
49970         * math/s_ctanl.c: Likewise.
49971         * math/s_ldexp.c: Likewise.
49972         * math/s_ldexpf.c: Likewise.
49973         * math/s_ldexpl.c: Likewise.
49974         * math/s_significand.c: Likewise.
49975         * math/s_significandf.c: Likewise.
49976         * math/s_significandl.c: Likewise.
49977         * math/w_acos.c: Likewise.
49978         * math/w_acosf.c: Likewise.
49979         * math/w_acosh.c: Likewise.
49980         * math/w_acoshf.c: Likewise.
49981         * math/w_acoshl.c: Likewise.
49982         * math/w_acosl.c: Likewise.
49983         * math/w_asin.c: Likewise.
49984         * math/w_asinf.c: Likewise.
49985         * math/w_asinl.c: Likewise.
49986         * math/w_atan2.c: Likewise.
49987         * math/w_atan2f.c: Likewise.
49988         * math/w_atan2l.c: Likewise.
49989         * math/w_atanh.c: Likewise.
49990         * math/w_atanhf.c: Likewise.
49991         * math/w_atanhl.c: Likewise.
49992         * math/w_cosh.c: Likewise.
49993         * math/w_coshf.c: Likewise.
49994         * math/w_coshl.c: Likewise.
49995         * math/w_dremf.c: Likewise.
49996         * math/w_exp10.c: Likewise.
49997         * math/w_exp10f.c: Likewise.
49998         * math/w_exp10l.c: Likewise.
49999         * math/w_exp2.c: Likewise.
50000         * math/w_exp2f.c: Likewise.
50001         * math/w_fmod.c: Likewise.
50002         * math/w_fmodf.c: Likewise.
50003         * math/w_fmodl.c: Likewise.
50004         * math/w_hypot.c: Likewise.
50005         * math/w_hypotf.c: Likewise.
50006         * math/w_hypotl.c: Likewise.
50007         * math/w_j0.c: Likewise.
50008         * math/w_j0f.c: Likewise.
50009         * math/w_j0l.c: Likewise.
50010         * math/w_j1.c: Likewise.
50011         * math/w_j1f.c: Likewise.
50012         * math/w_j1l.c: Likewise.
50013         * math/w_jn.c: Likewise.
50014         * math/w_jnf.c: Likewise.
50015         * math/w_jnl.c: Likewise.
50016         * math/w_lgamma.c: Likewise.
50017         * math/w_lgamma_r.c: Likewise.
50018         * math/w_lgammaf.c: Likewise.
50019         * math/w_lgammaf_r.c: Likewise.
50020         * math/w_lgammal.c: Likewise.
50021         * math/w_lgammal_r.c: Likewise.
50022         * math/w_log.c: Likewise.
50023         * math/w_log10.c: Likewise.
50024         * math/w_log10f.c: Likewise.
50025         * math/w_log10l.c: Likewise.
50026         * math/w_log2.c: Likewise.
50027         * math/w_log2f.c: Likewise.
50028         * math/w_log2l.c: Likewise.
50029         * math/w_logf.c: Likewise.
50030         * math/w_logl.c: Likewise.
50031         * math/w_pow.c: Likewise.
50032         * math/w_powf.c: Likewise.
50033         * math/w_powl.c: Likewise.
50034         * math/w_remainder.c: Likewise.
50035         * math/w_remainderf.c: Likewise.
50036         * math/w_remainderl.c: Likewise.
50037         * math/w_scalb.c: Likewise.
50038         * math/w_scalbf.c: Likewise.
50039         * math/w_scalbl.c: Likewise.
50040         * math/w_sinh.c: Likewise.
50041         * math/w_sinhf.c: Likewise.
50042         * math/w_sinhl.c: Likewise.
50043         * math/w_sqrt.c: Likewise.
50044         * math/w_sqrtf.c: Likewise.
50045         * math/w_sqrtl.c: Likewise.
50046         * math/w_tgamma.c: Likewise.
50047         * math/w_tgammaf.c: Likewise.
50048         * math/w_tgammal.c: Likewise.
50050         * po/ja.po: Update from translation team.
50052 2011-09-29  Andreas Jaeger  <aj@suse.de>
50054         [BZ #13179]
50055         * sunrpc/netname.c (netname2host): Fix logic.
50057         [BZ #6779]
50058         [BZ #6783]
50059         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
50060         correctly.
50061         * math/w_remainder.c (__remainder): Likewise.
50062         * math/w_remainderf.c (__remainderf): Likewise.
50063         * math/libm-test.inc (remainder_test): Add test cases.
50065 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50067         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
50068         sdiv_qrnnd.
50070 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
50072         * string/test-memcmp.c: Avoid unncessary #defines.
50073         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
50075 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50077         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
50078         Use new sse2 version for core i3 - i7 as it's faster
50079         than sse42 version.
50080         (bit_Prefer_PMINUB_for_stringop): New.
50081         * sysdeps/x86_64/rawmemchr.S: Update.
50082         Replace with faster SSE2 version.
50083         * sysdeps/x86_64/memrchr.S: New file.
50084         * sysdeps/x86_64/memchr.S: Update.
50085         Replace with faster SSE2 version.
50087 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
50089         * elf/dl-load.c (lose): Add cast to avoid warning.
50091 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
50093         * po/ca.po: Update from translation team.
50095         * inet/getnetgrent_r.c: Hook up nscd.
50096         * nscd/Makefile (routines): Add nscd_netgroup.
50097         (nscd-modules): Add netgroupcache.
50098         (CFLAGS-netgroupcache.c): Define.
50099         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
50100         (cache_search): Add const to second parameter.
50101         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
50102         INNETGR.
50103         (dbs): Add netgrdb entry.
50104         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
50105         (verify_persistent_db): Handle netgrdb.
50106         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
50107         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
50108         GETFDNETGR.
50109         (netgroup_response_header): Define.
50110         (innetgroup_response_header): Define.
50111         (datahead): Add netgroup_response_header and innetgroup_response_header
50112         elements.
50113         * nscd/nscd.conf: Add entries for netgroup cache.
50114         * nscd/nscd.h (dbtype): Add netgrdb.
50115         (_PATH_NSCD_NETGROUP_DB): Define.
50116         (netgroup_iov_disabled): Declare.
50117         (xmalloc, xcalloc, xrealloc): Move declarations here.
50118         (cache_search): Adjust prototype.
50119         Add netgroup-related prototypes.
50120         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
50121         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
50122         (__nscd_innetgr): Declare.
50123         * nscd/selinux.c (perms): Use access_vector_t as element type and
50124         add netgroup-related initializers.
50125         * nscd/netgroupcache.c: New file.
50126         * nscd/nscd_netgroup.c: New file.
50127         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
50128         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
50129         For four parameters use innetgr.
50130         * nss/nss_files/files-init.c: Add definition and callback for netgr.
50131         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
50132         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
50133         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
50135         * nscd/connections.c (register_traced_file): Don't register file
50136         for disabled databases.
50138 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
50140         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
50142         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
50143         from tree and freeing node.
50145 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
50147         * nss/nsswitch.c (__nss_database_lookup): Handle
50148         nss_parse_service_list out of memory case.
50150 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
50152         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
50153         out of memory case.
50155 2011-10-04  Andreas Schwab  <schwab@redhat.com>
50157         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
50158         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
50159         pass it down.
50160         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
50161         elf_machine_rela, elf_machine_lazy_rel.
50162         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
50163         (ELF_DYNAMIC_DO_REL): Likewise.
50164         (ELF_DYNAMIC_DO_RELA): Likewise.
50165         (ELF_DYNAMIC_RELOCATE): Likewise.
50166         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
50167         to ELF_DYNAMIC_DO_REL.
50168         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
50169         (dl_main): In trace mode always set __RTLD_NOIFUNC.
50170         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
50171         elf_machine_rela.
50172         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
50173         skip_ifunc, don't call ifunc function if non-zero.
50174         (elf_machine_rela): Likewise.
50175         (elf_machine_lazy_rel): Likewise.
50176         (elf_machine_lazy_rela): Likewise.
50177         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
50178         (elf_machine_lazy_rel): Likewise.
50179         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
50180         Likewise.
50181         (elf_machine_lazy_rel): Likewise.
50182         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50183         Likewise.
50184         (elf_machine_lazy_rel): Likewise.
50185         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
50186         (elf_machine_lazy_rel): Likewise.
50187         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
50188         (elf_machine_lazy_rel): Likewise.
50189         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
50190         (elf_machine_lazy_rel): Likewise.
50191         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
50192         (elf_machine_lazy_rel): Likewise.
50193         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
50194         (elf_machine_lazy_rel): Likewise.
50195         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
50196         (elf_machine_lazy_rel): Likewise.
50198 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
50200         * nss/nss_files/files-init.c (_nss_files_init): Use static
50201         initialization for all the *_traced_file variables.
50203 2011-09-28  Andreas Schwab  <schwab@redhat.com>
50205         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50207 2011-09-27  Roland McGrath  <roland@hack.frob.com>
50209         [BZ #13226]
50210         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
50212 2011-09-27  Andreas Schwab  <schwab@redhat.com>
50214         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
50215         Reread the line before reparsing it.
50217 2011-09-26  Andreas Schwab  <schwab@redhat.com>
50219         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
50221 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
50222             Maxim Kuvyrkov  <maxim@codesourcery.com>
50223             Joseph Myers  <joseph@codesourcery.com>
50225         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
50226         if needed for __stack_chk_guard.
50228 2011-09-19  Roland McGrath  <roland@hack.frob.com>
50230         * sysdeps/posix/spawni.c (script_execute): Always define it.
50231         It will be optimized away if unused.
50232         (maybe_script_execute): New function.
50233         (__spawni): Call it.
50235         * Makerules: Don't include tls.make.
50236         (config-tls): Always set to thread.
50237         * tls.make.c: File removed.
50239 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
50241         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
50242         * config.make.in (CPPFLAGS-config): New substituted variable.
50244 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
50246         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
50248         [BZ #13192]
50249         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
50250         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
50252 2011-09-15  Roland McGrath  <roland@hack.frob.com>
50254         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
50255         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
50256         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
50257         (CALL_FAIL): Likewise.
50258         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
50259         (CALL_FAIL): Macro removed.
50260         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
50262 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
50264         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
50265         for __FINITE_MATH_ONLY__ == 1.
50267 2011-09-15  Andreas Schwab  <schwab@redhat.com>
50269         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
50270         __ieee754_sqrt instead of sqrt.
50271         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
50272         __ieee754_sqrtf instead of sqrtf.
50273         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
50274         __floorf instead of floorf.
50275         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
50276         __floorf, __truncf instead of floorf, truncf.
50278 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
50280         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
50282         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
50283         __extern_always_inline.
50284         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
50285         32-bit.
50287 2011-09-14  Andreas Schwab  <schwab@redhat.com>
50289         * elf/rtld.c (dl_main): Also relocate in dependency order when
50290         doing symbol dependency testing.
50292 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
50294         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50295         Always define `refsym'.
50297 2011-09-13  Andreas Schwab  <schwab@redhat.com>
50299         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
50300         (__FD_ELT): Renamed from __FDELT.
50301         * misc/bits/select2.h (__FD_ELT): Likewise.
50302         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
50303         __FD_MASK instead of __FDELT, __FDMASK.
50304         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
50305         Likewise.
50306         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
50307         Likewise.
50309         * elf/Makefile (gen-ldd): Fix pattern.
50311         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
50312         (init_tls): Likewise.
50314 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
50316         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
50318 2011-09-12  Andreas Schwab  <schwab@redhat.com>
50320         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
50321         `struct cmsghdr *' instead of `void *'.
50322         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
50323         Likewise.
50325 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
50327         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
50328         if non-absolute.
50329         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
50330         ldd_rewrite_script.
50332 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
50334         * configure.in: Remove --with-tls option.
50335         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
50336         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
50337         out in case it is missing.
50338         * sysdeps/ia64/elf/configure.in: Likewise.
50339         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
50340         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
50341         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
50342         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
50343         * sysdeps/sh/elf/configure.in: Likewise.
50344         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
50345         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
50346         * sysdeps/x86_64/elf/configure.in: Likewise.
50347         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
50348         * sysdeps/mach/hurd/tls.h: Likewise.
50350         [BZ #13067]
50351         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
50353         [BZ #13090]
50354         * configure.in: Fix use of AC_INIT.
50356         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
50358 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
50360         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
50361         __set_errno.
50362         * malloc/hooks.c: Likewise.
50364         [BZ #11929]
50365         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
50366         variables statically.
50367         (narenas): Initialize.
50368         (list_lock): Initialize.
50369         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
50370         initializtion of main_arena and list_lock.  Small cleanups.
50371         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
50372         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
50373         Add initializers to main_arena and mp_.
50374         (malloc_state): Remove pagesize member.  Change all users to use
50375         GLRO(dl_pagesize).
50377         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
50378         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
50379         is always initialized.
50381         * malloc/malloc.c: Removed unused configurations and dead code.
50382         * malloc/arena.c: Likewise.
50383         * malloc/hooks.c: Likewise.
50384         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
50386         * include/tls.h: Removed.  USE___THREAD must always be defined.
50387         * bits/libc-tsd.h: Don't handle !USE___THREAD.
50388         * elf/dl-libc.c: Likewise.
50389         * elf/dl-tsd.c: Likewise.
50390         * include/errno.h: Likewise.
50391         * include/netdb.h: Likewise.
50392         * include/resolv.h: Likewise.
50393         * inet/herrno-loc.c: Likewise.
50394         * inet/herrno.c: Likewise.
50395         * malloc/arena.c: Likewise.
50396         * malloc/hooks.c: Likewise.
50397         * malloc/malloc.c: Likewise.
50398         * resolv/res-state.c: Likewise.
50399         * resolv/res_libc.c: Likewise.
50400         * sysdeps/i386/dl-machine.h: Likewise.
50401         * sysdeps/ia64/dl-machine.h: Likewise.
50402         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
50403         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
50404         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
50405         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
50406         * sysdeps/sh/dl-machine.h: Likewise.
50407         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
50408         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
50409         * sysdeps/unix/i386/sysdep.S: Likewise.
50410         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
50411         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
50412         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
50413         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
50414         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
50415         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
50416         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
50417         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
50418         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50419         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
50420         * sysdeps/unix/x86_64/sysdep.S: Likewise.
50421         * sysdeps/x86_64/dl-machine.h: Likewise.
50422         * tls.make.c: Likewise.
50424         * configure.in: Remove --with-__thread option.  Make tests for
50425         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
50426         tls_model attribute fail if no support is available.  Remove
50427         USE_IN_LIBIO.
50428         * Makeconfig: Adjust for dropped configure option.  All features are
50429         now mandatory.
50430         * Makerules: Likewise.
50431         * Versions.def: Likewise.
50432         * argp/argp-fmtstream.c: Likewise.
50433         * argp/argp-fmtstream.h: Likewise.
50434         * argp/argp-help.c: Likewise.
50435         * assert/assert.c: Likewise.
50436         * config.h.in: Likewise.
50437         * config.make.in: Likewise.
50438         * configure: Likewise.
50439         * configure.in: Likewise.
50440         * csu/Versions: Likewise.
50441         * csu/init.c: Likewise.
50442         * elf/tst-audit2.c: Likewise.
50443         * elf/tst-tls10.c: Likewise.
50444         * elf/tst-tls10.h: Likewise.
50445         * elf/tst-tls11.c: Likewise.
50446         * elf/tst-tls12.c: Likewise.
50447         * elf/tst-tls14.c: Likewise.
50448         * elf/tst-tlsmod11.c: Likewise.
50449         * elf/tst-tlsmod12.c: Likewise.
50450         * elf/tst-tlsmod13.c: Likewise.
50451         * elf/tst-tlsmod13a.c: Likewise.
50452         * elf/tst-tlsmod14a.c: Likewise.
50453         * elf/tst-tlsmod15b.c: Likewise.
50454         * elf/tst-tlsmod16a.c: Likewise.
50455         * elf/tst-tlsmod16b.c: Likewise.
50456         * elf/tst-tlsmod7.c: Likewise.
50457         * elf/tst-tlsmod8.c: Likewise.
50458         * elf/tst-tlsmod9.c: Likewise.
50459         * gmon/gmon.c: Likewise.
50460         * grp/fgetgrent_r.c: Likewise.
50461         * grp/putgrent.c: Likewise.
50462         * hurd/fopenport.c: Likewise.
50463         * include/libc-symbols.h: Likewise.
50464         * include/tls.h: Likewise.
50465         * intl/gettextP.h: Likewise.
50466         * intl/loadinfo.h: Likewise.
50467         * locale/global-locale.c: Likewise.
50468         * locale/localeinfo.h: Likewise.
50469         * mach/devstream.c: Likewise.
50470         * malloc/arena.c: Likewise.
50471         * malloc/set-freeres.c: Likewise.
50472         * misc/err.c: Likewise.
50473         * misc/getttyent.c: Likewise.
50474         * misc/mntent_r.c: Likewise.
50475         * posix/getopt.c: Likewise.
50476         * posix/wordexp.c: Likewise.
50477         * pwd/fgetpwent_r.c: Likewise.
50478         * resolv/Versions: Likewise.
50479         * resolv/res_hconf.c: Likewise.
50480         * shadow/fgetspent_r.c: Likewise.
50481         * shadow/putspent.c: Likewise.
50482         * stdio-common/printf_fphex.c: Likewise.
50483         * stdio-common/tmpfile.c: Likewise.
50484         * stdlib/abort.c: Likewise.
50485         * stdlib/fmtmsg.c: Likewise.
50486         * sunrpc/auth_unix.c: Likewise.
50487         * sunrpc/clnt_perr.c: Likewise.
50488         * sunrpc/clnt_tcp.c: Likewise.
50489         * sunrpc/clnt_udp.c: Likewise.
50490         * sunrpc/clnt_unix.c: Likewise.
50491         * sunrpc/openchild.c: Likewise.
50492         * sunrpc/svc_simple.c: Likewise.
50493         * sunrpc/svc_tcp.c: Likewise.
50494         * sunrpc/svc_udp.c: Likewise.
50495         * sunrpc/svc_unix.c: Likewise.
50496         * sunrpc/xdr.c: Likewise.
50497         * sunrpc/xdr_array.c: Likewise.
50498         * sunrpc/xdr_rec.c: Likewise.
50499         * sunrpc/xdr_ref.c: Likewise.
50500         * sunrpc/xdr_stdio.c: Likewise.
50502 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
50504         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50506 2011-07-03  Andreas Jaeger  <aj@suse.de>
50508         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
50509         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
50510         regenerate with gen-libm-tests.pl.
50512 2010-05-12  Petr Baudis  <pasky@suse.cz>
50514         [BZ #11589]
50515         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
50516         around j0() zero points by switching to j1().
50517         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50518         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50519         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50520         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50522 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
50524         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
50525         instead of 0.
50526         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
50527         instead of 0.
50528         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50529         Patch in part by Pavel Roskin <proski@gnu.org>.
50531         [BZ #13138]
50532         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
50533         realloc.
50534         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
50535         Free memory block if necessary.
50537         [BZ #12847]
50538         * libio/genops.c (INTDEF): For string streams the _lock pointer can
50539         be NULL.  Don't lock in this case.
50541 2011-09-09  Roland McGrath  <roland@hack.frob.com>
50543         * elf/elf.h (ELFOSABI_GNU): New macro.
50544         (ELFOSABI_LINUX): Define to that.
50546 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
50548         * string/strncat.c (strncat): Undef the symbol in case it has been
50549         defined in bits/string.h.
50551 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
50553         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
50555         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
50556         link map.
50558 2011-08-17  Andreas Jaeger  <aj@suse.de>
50560         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
50562 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
50563             Ian Lance Taylor  <iant@google.com>
50565         * math/libm-test.inc (lround_test): New testcase.
50566         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
50568 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
50570         * Makefile: Remove support for automatic cvs check-ins.
50571         * Makerules: Likewise.
50572         * config.make.in: Likewise.
50573         * configure.in: Likewise.
50574         * intl/Makefile: Likewise.
50575         * locale/Makefile: Likewise.
50576         * po/Makefile: Likewise.
50577         * posix/Makefile: Likewise.
50578         * sysdeps/gnu/Makefile: Likewise.
50579         * sysdeps/mach/hurd/Makefile: Likewise.
50580         * sysdeps/sparc/sparc32/Makefile: Likewise.
50582         [BZ #13118]
50583         * posix/Makefile (bug-regex32-ENV): Define.
50584         Patch by John Stanley <jpsinthemix@verizon.net>.
50586         * misc/Makefile (headers): Add bits/select2.h.
50587         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
50588         * misc/bits/select2.h: New file.
50589         * include/bits/select2.h: New file.
50590         * debug/Makefile (routines): Add fdelt_chk.
50591         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
50592         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
50593         FD_ISSET.
50594         * debug/fdelt_chk.c: New file.
50596         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
50597         * wcsmbs/test-wmemcmp.c: Likewise.
50598         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
50599         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
50601 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50603         * string/Makefile (strop-tests): Add memcmp.
50604         * string/test-wmemcmp.c: New file.
50605         * string/test-memcmp.c: Add wmemcmp support.
50607 2011-09-08  Roland McGrath  <roland@hack.frob.com>
50609         [BZ #13153]
50610         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
50611         2011-07-19 change.
50613         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
50614         garbage value in a __mach_port_mod_refs call in the cases of the
50615         task-self and thread-self ports.
50617 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50619         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
50621 2011-09-08  Andreas Schwab  <schwab@redhat.com>
50623         * elf/dl-load.c (lose): Check for non-null L.
50625 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
50627         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
50629         * elf/dl-libc.c (dlerror_run): Pass back error code from
50630         dl_catch_error.
50632         [BZ #13123]
50633         * elf/dl-load.c (lose): Free l_origin if it is valid.
50635         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
50636         names.
50637         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
50638         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
50639         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
50640         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
50641         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
50642         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
50644 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50646         * sysdeps/powerpc/fpu/e_hypot.c: New file.
50647         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
50648         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
50649         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
50650         * sysdeps/powerpc/fpu/k_cosf.c: New file.
50651         * sysdeps/powerpc/fpu/k_sinf.c: New file.
50652         * sysdeps/powerpc/fpu/s_cosf.c: New file.
50653         * sysdeps/powerpc/fpu/s_sinf.c: New file.
50654         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
50655         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
50657 2011-08-15  Alan Modra  <amodra@gmail.com>
50659         [BZ #13092]
50660         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
50661         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
50662         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
50663         ppc_mcount to static-only-routines.
50664         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
50665         __mcount_internal.
50666         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
50667         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
50669 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
50671         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
50672         for finite and infinity parameters.
50674 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
50676         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
50677         and add nop instructions for throughput optimization.
50678         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
50680 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
50682         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
50683         aligned copy for power7 with vector-scalar instructions.
50684         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
50686 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
50688         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
50689         AVX check.
50691 2011-09-07  Andreas Schwab  <schwab@redhat.com>
50693         [BZ #13144]
50694         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
50695         last change.
50697 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
50699         * sysdeps/unix/sysv/linux/x86_64/init-first.c
50700         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
50701         syscall wrapper around clock_gettime in __vdso_clock_gettime.
50702         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
50703         clock_gettime.
50705 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
50707         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
50708         Forgot to demangle the pointer.
50710         * sysdeps/i386/sysdep.h: Define atom_text_section.
50711         * sysdeps/x86_64/sysdep.h: Likewise.
50712         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
50713         section with atom_text_section.
50714         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
50715         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
50716         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
50717         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
50718         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
50720         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
50721         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
50722         already be defined.  Change to take two parameters and don't assign
50723         result to variable.  Adjust all users.
50724         Define INTERNAL_GETTIME if not already defined.
50725         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
50726         call.
50727         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
50728         HAVE_CLOCK_GETTIME_VSYSCALL.
50729         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
50731         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
50732         gettimeofday vsyscall, just use time.
50734 2011-09-06  Andreas Schwab  <schwab@redhat.com>
50736         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
50737         <errno.h>.
50739 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
50741         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
50742         syscall on x86-64.
50743         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
50744         syscall.
50745         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
50746         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
50747         syscall if possible.
50749 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
50751         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
50752         e_ident.  Don't pass to find_mapsXX.
50753         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
50755 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50757         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50758         strchr-sse2-no-bsf strrchr-sse2-no-bsf
50759         * sysdeps/x86_64/multiarch/strchr.S: Update.
50760         Check bit_slow_BSF bit.
50761         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
50762         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
50763         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
50765 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
50767         [BZ #13134]
50768         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
50769         before glibc 2.15.
50770         (tryshell): Define.
50771         (__spawni): Change last parameter to be flag.  Test
50772         SPAWN_XFLAGS_USE_PATH flag to use path or not.
50773         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
50774         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
50775         * posix/spawni.c: Likewise.
50776         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
50777         * posix/spawnp.c: Likewise.  Change normal version to use
50778         SPAWN_XFLAGS_USE_PATH.
50779         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
50780         SPAWN_XFLAGS_TRY_SHELL.
50782         [BZ #13150]
50783         * posix/glob.h: Remove gcc 1.x support.
50785         [BZ #13068]
50786         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
50788 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50790         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50791         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
50792         strrchr-sse2-bsf
50793         * sysdeps/i386/i686/multiarch/strchr.S: New file.
50794         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
50795         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
50796         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
50797         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
50798         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
50800 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50802         * sysdeps/x86_64/wcscmp.S: New file.
50804         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
50805         wcscmp-c wcscmp-sse2
50806         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
50807         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
50808         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
50809         * wcsmbs/wcscmp.c: Allow renaming.
50811 2011-09-05  David S. Miller  <davem@davemloft.net>
50813         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
50814         stack slot, rather than the struct return pointer slot.
50815         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
50816         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
50817         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
50818         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
50820 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
50822         * po/ja.po: Update from translation team.
50824         [BZ #13144]
50825         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
50826         kernel in 64-bit binaries.
50828 2011-09-01  David S. Miller  <davem@davemloft.net>
50830         * elf/elf.h (HWCAP_SPARC_*): Move to..
50831         * sysdeps/sparc/sysdep.h: this new file and add new values.
50832         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
50833         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
50834         _DL_HWCAP_COUNT to 24.
50835         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
50836         entries.
50837         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
50838         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
50839         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
50840         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
50841         instead of magic constants.
50842         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
50844 2011-08-31  David S. Miller  <davem@davemloft.net>
50846         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
50847         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
50848         Reimplement to do errno handling inline.
50849         (SYSCALL_ERROR_HANDLER): New macro.
50850         (__SYSCALL_STRING): Do not do errno handling in asm.
50851         (__CLONE_SYSCALL_STRING): Delete.
50852         (__INTERNAL_SYSCALL_STRING): Delete.
50853         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
50854         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
50855         (PSEUDO): Reimplement to do errno handling inline.
50856         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
50857         (SYSCALL_ERROR_HANDLER): New macro.
50858         (__SYSCALL_STRING): Do not do errno handling in asm.
50859         (__CLONE_SYSCALL_STRING): Delete.
50860         (__INTERNAL_SYSCALL_STRING): Delete.
50861         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
50862         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
50863         i386.
50864         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
50865         (inline_syscall*): Add 'err' argument.
50866         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
50867         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
50868         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
50869         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
50871         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
50872         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
50874 2011-08-30  Andreas Schwab  <schwab@redhat.com>
50876         * elf/rtld.c (dl_main): Relocate objects in dependency order.
50878 2011-08-29  Jiri Olsa <jolsa@redhat.com>
50880         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
50881         directive.
50883 2011-08-24  David S. Miller  <davem@davemloft.net>
50885         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
50887 2011-08-24  Andreas Schwab  <schwab@redhat.com>
50889         * elf/Makefile: Add rules to build and run unload8 test.
50890         * elf/unload8.c: New file.
50891         * elf/unload8mod1.c: New file.
50892         * elf/unload8mod1x.c: New file.
50893         * elf/unload8mod2.c: New file.
50894         * elf/unload8mod3.c: New file.
50896         * elf/dl-close.c (_dl_close_worker): Reset private search list if
50897         it wasn't used.
50899 2011-08-23  David S. Miller  <davem@davemloft.net>
50901         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
50902         subtract stack bias.
50903         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
50904         %sp not %fp in calculations.
50905         (_JMPBUF_UNWINDS_ADJ): Likewise.
50907         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
50908         (aio_suspend): Call it to force an exception region around the
50909         AIO_MISC_WAIT() invocation.
50911 2011-08-23  Andreas Schwab  <schwab@redhat.com>
50913         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
50914         backslash.
50916 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
50918         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
50919         protection macro.
50920         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
50921         and <dl-machine.h>.
50922         (Elf64_FuncDesc): Remove.
50924 2011-08-22  David S. Miller  <davem@davemloft.net>
50926         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
50927         sigaltstack check, add missing cfi directives.
50928         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
50929         missing cfi directives, and sigaltstack handling.
50931 2011-08-16  Andreas Schwab  <schwab@redhat.com>
50933         [BZ #11724]
50934         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
50935         object is seen twice.
50936         * elf/dl-fini.c (_dl_sort_fini): Likewise.
50938         * elf/Makefile (distribute): Add tst-initorder2.c.
50939         (tests): Add tst-initorder2.
50940         (modules-names): Add tst-initorder2a tst-initorder2b
50941         tst-initorder2c tst-initorder2d.  Add rules to build them.
50942         ($(objpfx)tst-initorder2.out): New rule.
50943         * elf/tst-initorder2.c: New file.
50944         * elf/tst-initorder2.exp: New file.
50946 2011-08-22  Andreas Schwab  <schwab@redhat.com>
50948         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
50950         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
50951         dependencies back to end of function.
50953         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
50954         $(elfobjdir)/ld.so.
50956 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
50958         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
50959         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
50960         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
50961         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
50962         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
50963         of __vdso_gettimeofday.
50964         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
50965         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
50966         attribute_hidden.
50967         (_libc_vdso_platform_setup): Remove initialization of
50968         __vdso_gettimeofday and __vdso_time.
50970 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
50972         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
50973         and fgetc_unlocked.
50974         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
50975         getc_unlocked.
50977         * elf/dl-open.c (add_to_global): Report additions to the global scope
50978         for LD_DEBUG=scopes.
50979         (dl_open_worker): Also print scope of newly loaded dependencies.
50980         (_dl_show_scope): Indicate if there is no scope.
50982         [BZ #13114]
50983         * stdio-common/Makefile (tests): Add bug24.
50984         * stdio-common/bug24.c: New file.
50986 2011-08-19  Andreas Jaeger  <aj@suse.de>
50988         [BZ #13114]
50989         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
50990         non-existant file when using close-on-exec mode.
50992 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
50994         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
50995         the very first instruction.
50997         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
50998         the CFI state in the end.
50999         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
51000         inclusion of dl-trampoline.h.
51001         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
51003 2011-08-19  Andreas Schwab  <schwab@redhat.com>
51005         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
51006         expectations for long double.
51008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
51009         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
51011 2011-08-14  David S. Miller  <davem@davemloft.net>
51013         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
51014         artificual limit depends upon the system page size.
51016 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
51018         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
51019         * resolv/Makefile: Define CFLAGS-libresolv.
51021 2011-08-17  Andreas Schwab  <schwab@redhat.com>
51023         * nss/makedb.c (compute_tables): Make variables used in nested
51024         function static.
51026 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
51028         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
51029         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
51030         if buffer was too small.
51032         * elf/pldd.c (main): Attach to all threads in the process.
51033         Rewrite /proc handling to use *at functions.
51035 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
51037         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
51038         specifies first scope to show.
51039         (dl_open_worker): Update callers.  Move printing scope of new
51040         object to before the relocation.
51041         * elf/rtld.c (dl_main): Update _dl_show_scope call.
51042         * sysdeps/generic/ldsodefs.h: Update declaration.
51044         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
51045         string for the scope number.
51047 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
51049         * nscd/servicescache.c (cache_addserv): Make sure written is always
51050         initialized.
51052 2011-08-14  Roland McGrath  <roland@hack.frob.com>
51054         * sysdeps/i386/i486/bits/atomic.h
51055         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
51056         statement expression, so as to suppress "set but not used" warning.
51057         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
51059         * string/strncat.c (STRNCAT): Use prototype definition.
51061         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
51062         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
51063         -Iprograms here.
51064         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
51065         (localedef-modules): Add localedef.
51066         (locale-modules): Add locale.
51068         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
51069         * elf/rtld.c (dl_main): Invert order of assignment in last change,
51070         to avoid a warning.
51072 2011-08-14  David S. Miller  <davem@davemloft.net>
51074         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
51075         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
51077 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
51079         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
51080         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
51081         * elf/rtld.c (dl_main): Set l_name of vDSO.
51082         Call _dl_show_scope when DL_DEBUG_SCOPES.
51083         (process_dl_debug): Recognize scopes flag and also set it for all.
51084         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
51085         Declare _dl_show_scope.
51087         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
51088         (do_dlopen): Pass caller_dlopen to dl_open.
51089         (__libc_dlopen_mode): Initialize caller_dlopen.
51091         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
51092         of libc.  Make tolower call locale-independent.  Optimize a bit by
51093         using isdigit instead of isalnum.
51094         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
51096 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
51098         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
51099         was a dependency or dynamically loaded.
51101 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
51103         * intl/l10nflist.c: Allow architecture-specific pop function.
51104         * sysdeps/x86_64/l10nflist.c: New file.
51106         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
51107         classification.
51109 2011-08-10  Andreas Schwab  <schwab@redhat.com>
51111         * include/dirent.h: Add libc_hidden_proto for scandirat and
51112         scandirat64.  Don't declare __scandirat64.
51113         * dirent/scandirat.c: Add libc_hidden_def.
51114         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
51115         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
51117 2011-08-10  David S. Miller  <davem@davemloft.net>
51119         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
51120         enum.
51121         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51122         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51123         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51125 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
51127         * Versions.def [libc]: Add GLIBC_2.15.
51128         * dirent/Makefile (routines): Add scandirat and scandirat64.
51129         * dirent/Versions [libc]: Export scandirat and scandirat64 for
51130         GLIBC_2.15.
51131         * dirent/dirent.h: Declare scandirat and scandirat64.
51132         * dirent/scandirat.c: New file.
51133         * dirent/scandirat64.c: New file.
51134         * sysdeps/wordsize-64/scandirat.c: New file.
51135         * sysdeps/wordsize-64/scandirat64.c: New file.
51136         * dirent/opendir.c: Define opendirat.
51137         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
51138         using scandirat.
51139         * dirent/scandir64.c: Adjust for scandir.c change.
51140         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
51141         __scandirat64, and __scandir_cancel_handler.
51142         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
51143         additional parameter and use openat instead of open (outside of ld.so).
51144         Add new __opendir as wrapper around __opendirat.
51145         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
51146         here without requiring old scandirat implementation.
51148 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
51150         * dirent/scandir.c (cancel_handler): Renamed to
51151         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
51152         defined.  Adjust users.
51153         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
51154         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
51156 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
51158         * string/test-string.h (IMPL): Use __STRING to expand name and then
51159         stringify it.
51161         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
51162         of cleanups.
51164 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51166         * string/Makefile: Update.
51167         (strop-tests): Append strncat.
51168         * string/test-wcscmp.c: New file.
51169         New comprehensive test for wcscmp.
51170         * string/test-strcmp.c: Update.
51171         (WIDE): New define.
51173 2011-07-22  Andreas Schwab  <schwab@redhat.com>
51175         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
51176         line.
51178 2011-07-26  Andreas Schwab  <schwab@redhat.com>
51180         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
51181         encoding to ACE if AI_IDN.
51183 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
51185         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
51186         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
51188 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51190         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
51191         Fix overflow bug in strncat.
51192         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
51194         * string/test-strncat.c: Update.
51195         Add new tests for checking overflow bugs.
51197 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51199         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51200         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
51201         * sysdeps/i386/i686/multiarch/strcat.S: New file.
51202         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
51203         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
51204         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
51205         * sysdeps/i386/i686/multiarch/strncat.S: New file.
51206         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
51207         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
51209         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
51210         (USE_AS_STRCAT): Define.
51211         Add strcat and strncat support.
51212         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
51214 2011-07-25  Andreas Schwab  <schwab@redhat.com>
51216         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
51217         __n bigger than INT_MAX+1.
51218         (__strncmp_g): Likewise.
51220 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
51222         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
51223         * libio/stido.h: Likewise.
51225         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
51226         (AF_NFC): Define.
51227         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
51228         (AF_NFC): Define.
51230         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
51231         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51232         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51233         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
51234         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51236         [BZ #13021]
51237         * scripts/test-installation.pl: Don't expect libnss_test1 to be
51238         installed.
51240         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
51241         typo.
51242         (_dl_x86_64_save_sse): Likewise.
51244 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
51246         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
51247         OSXSAVE.
51248         (_dl_x86_64_save_sse): Likewise.
51250         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
51252         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
51254 2011-07-21  Andreas Schwab  <schwab@redhat.com>
51256         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
51257         change.
51258         (_dl_x86_64_save_sse): Use correct AVX check.
51260 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51262         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
51263         bug in strncpy/strncat.
51264         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
51266 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
51268         * string/tester.c (test_strcat): Add tests for different alignments
51269         of source and destination.
51270         (test_strncat): Likewise.
51272 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
51274         [BZ #12852]
51275         * posix/glob.c (glob): Check passed in values before using them in
51276         expressions to avoid some overflows.
51277         (glob_in_dir): Likewise.
51279         [BZ #13007]
51280         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
51281         check for AVX enablement so that we don't crash with old kernels and
51282         new hardware.
51283         * elf/tst-audit4.c: Add same checks here.
51284         * elf/tst-audit6.c: Likewise.
51286         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
51288 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
51290         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
51292 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
51294         * po/cs.po: Update from translation team.
51295         * po/bg.po: Likewise.
51297 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
51299         * misc/sys/cdefs.h: Add support for const attribute.
51300         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
51301         to gnu_dev_{major,minor,makedev} functions.
51303 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
51305         * intl/dcigettext.c (get_output_charset): Add missing bracket.
51307 2011-07-20  Andreas Schwab  <schwab@redhat.com>
51309         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
51310         strlen results.
51312 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51314         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
51315         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
51316         register in order to avoid conflicts with the soft frame pointer
51317         being held in r11 when necessary.
51318         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
51319         (INTERNAL_VSYSCALL_NCS): Likewise.
51321 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
51323         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
51324         * elf/dl-fini.c (_dl_fini): Adjust caller.
51325         * elf/dl-close.c (_dl_close_worker): Likewise.
51326         * sysdeps/generic/ldsodefs.h: Adjust declaration.
51328 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
51330         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
51331         "aux_cache->nlibs < 0".
51333         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
51334         in the reload-count case.
51336 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51338         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51339         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
51340         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
51341         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
51342         * sysdeps/x86_64/multiarch/strcat.S: New file.
51343         * sysdeps/x86_64/multiarch/strncat.S: New file.
51344         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
51345         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
51346         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
51347         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
51348         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
51349         (USE_AS_STRCAT): Define.
51350         Add strcat and strncat support.
51351         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
51352         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
51353         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
51354         * string/strncat.c: Update.
51355         (USE_AS_STRNCAT): Define.
51356         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51357         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
51358         and i7.
51359         * sysdeps/x86_64/multiarch/init-arch.h
51360         (bit_Prefer_PMINUB_for_stringop): New.
51361         (index_Prefer_PMINUB_for_stringop): Likewise.
51362         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
51363         bit_Prefer_PMINUB_for_stringop.
51365 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
51367         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
51368         buffer64.
51369         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
51370         of casting of buffer.
51371         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
51372         buffer32 and buffer64.
51373         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
51374         writes instead of casting of buffer.
51375         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
51376         buffer32.
51377         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
51378         casting of buffer.
51380 2011-07-19  Andreas Schwab  <schwab@redhat.com>
51382         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
51384 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
51386         * nscd/nscd.c (termination_handler): Don't do anything for a database
51387         if it has not yet been initialized.
51389 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
51391         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
51393 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
51395         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
51397 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
51399         * po/nl.po: Update from translation team.
51400         * po/sv.po: Likewise.
51402 2011-07-16  Roland McGrath  <roland@hack.frob.com>
51404         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
51405         now disallowed by GCC.
51407         * configure.in (use-default-link): Default to yes if a test -shared
51408         link meets our qualifications.
51409         * configure: Regenerated.
51411         * config.make.in (output-format): New variable.
51412         * configure.in: Check for ld --print-output-format support.
51413         * configure: Regenerated.
51414         * Makerules ($(common-objpfx)format.lds)
51415         [$(output-format) != unknown]: Just use $(output-format),
51416         instead of the linker-script munging.
51418 2011-07-14  Roland McGrath  <roland@hack.frob.com>
51420         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
51421         of $(common-objpfx)shlib.lds.
51422         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
51424         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
51425         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
51427         * configure.in (-z relro check): Adjust test code to add a large
51428         writable data section after it.
51429         * configure: Regenerated.
51431 2011-07-11  Roland McGrath  <roland@hack.frob.com>
51433         * configure.in (-z relro check): Fix test code to make the variable
51434         truly const.
51435         * configure: Regenerated.
51437 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
51439         * nscd/nscd.h (struct traced_file): Define.
51440         (struct database_dyn): Remove inotify_descr, reset_res, and filename
51441         elements.  Add traced_files.
51442         (inotify_fd): Declare.
51443         (register_traced_file): Declare.
51444         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
51445         (inotify_fd): Export.
51446         (resolv_conf_descr): Remove.
51447         (nscd_init): Move inotify descriptor creation to main.
51448         Don't register files for notification here.
51449         (register_traced_file): New function.
51450         (invalidate_cache): Don't use reset_res to determine whether to call
51451         res_init, go through the list of registered files.
51452         (main_loop_poll): The inotify descriptors are now stored in the
51453         structures for the traced files.
51454         (main_loop_epoll): Likewise
51455         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
51456         to __nss_disable_nscd.
51457         * nscd/cache.c (prune_cache): There is no single inotify descriptor
51458         for a database anymore.  Check the records for all the registered
51459         files instead.
51460         * nss/Makefile (libnss_files-routines): Add files-init.
51461         (libnss_db-routines): Add db-init.
51462         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
51463         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
51464         * nss/nss_db/db-init.c: New file.
51465         * nss/nss_files/files-init.c: New file.
51466         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
51467         __nss_lookup_function.
51468         (__nss_lookup_function): Call nss_load_library.
51469         (nss_load_all_libraries): New function.
51470         (__nss_disable_nscd): Take parameter with callback function for files
51471         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
51472         used for the cached services.
51473         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
51474         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
51475         options for features to all the files in nscd.
51477         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
51479 2011-07-10  Roland McGrath  <roland@hack.frob.com>
51481         * csu/elf-init.c (__libc_csu_init): Comment typo.
51483 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
51485         * po/pl.po: Update from translation team.
51486         * po/ja.po: Likewise.
51487         * po/ru.po: Likewise.
51488         * po/ko.po: Likewise.
51489         * po/fr.po: Likewise.
51491 2011-07-09  Roland McGrath  <roland@hack.frob.com>
51493         * configure.in (.ctors/.dtors header and trailer check):
51494         Use an empirical test on a built program.
51495         * configure: Regenerated.
51497         * configure.in (-z relro check): Use an empirical test on a built DSO.
51498         Detect, but do not require, on ia64.
51499         * configure: Regenerated.
51501         * configure.in (READELF): Find it with AC_CHECK_TOOL.
51502         Update tests that use readelf to use $READELF instead.
51503         * configure: Regenerated.
51505 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
51507         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
51508         if the result is not used.
51510 2011-07-05  Andreas Jaeger  <aj@suse.de>
51512         [BZ#9696]
51513         * stdlib/tst-strtod.c: Add testcase.
51515 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
51517         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
51518         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
51519         The latter has a higher limit.  Take additional parameter to pass to
51520         the new function.
51521         (__pathconf): Pass file to __statfs_link_max.
51522         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
51523         __statfs_link_max.
51524         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
51525         __statfs_link_max.
51527         [BZ #12868]
51528         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
51529         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51530         Handle Lustre.
51531         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
51532         (__statfs_filesize_max): Likewise.
51533         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
51535 2011-07-05  Andreas Jaeger  <aj@suse.de>
51537         * resolv/res_comp.c (dn_skipname): Remove unused variable.
51539 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
51541         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
51542         `status' variable.
51543         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
51544         Likewise.
51546 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
51548         * Makefile (strop-tests): Add strncat.
51549         * string/test-strncat.c: New file.
51551 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
51553         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
51555 2011-06-21  Andreas Jaeger  <aj@suse.de>
51557         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
51558         Copy rule from iconvdata/Makefile.
51560 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
51562         [BZ #12922]
51563         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
51564         but no long options are defined, just return 'W'.
51566 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
51568         [BZ #9696]
51569         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
51571 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
51573         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
51574         netgroups to read.
51575         (innetgr): Likewise.
51577 2011-07-05  Roland McGrath  <roland@hack.frob.com>
51579         * config.make.in (install_root): Default to $(DESTDIR).
51581 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
51583         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
51585 2011-07-02  Roland McGrath  <roland@hack.frob.com>
51587         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
51589         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
51590         containing directory rather than embedding absolute directory names.
51592         * scripts/check-local-headers.sh: Rewritten using awk.
51593         Match by word, not by line.  Print error messages for matches.
51594         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
51596         * Makerules [shlib-lds-flags empty]:
51597         ($(common-objpfx)libc_pic.opts): New target.
51598         ($(common-objpfx)libc_pic.os.clean): New target.
51599         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
51601         * config.make.in (OBJCOPY): New variable.
51602         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
51603         * configure: Regenerated.
51605         * config.make.in (use-default-link): New variable.
51606         * configure.in (use_default_link): Grok --with-default-link to set it.
51607         * configure: Regenerated.
51608         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
51609         (shlib-lds, shlib-lds-flags): Define to empty.
51611         * Makerules (shlib-lds): New variable.
51612         (shlib-lds-flags): New variable.
51613         (build-shlib, build-moduile, build-module-asneeded): Use it.
51614         ($(common-objpfx)libc.so): Use $(shlib-lds).
51615         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
51616         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
51618         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
51619         DT_FLAGS/DT_FLAGS_1 with zero flags.
51621         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
51622         linker script munging.
51624 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
51626         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
51627         as 128-bit value.
51628         * crypt/sha512.c (sha512_process_block): Perform total addition using
51629         128-bit if possible.
51630         (__sha512_finish_ctx): Likewise.
51631         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
51632         as 64-bit value.
51633         * crypt/sha256.c (SWAP64): Define.
51634         (sha256_process_block): Perform total addition using 64-bit if
51635         possible.
51636         (__sha256_finish_ctx): Likewise.
51638 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
51640         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
51641         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51642         * nscd/hstcache.c (cache_addhst): Likewise.
51643         * nscd/grpcache.c (cache_addgr): Likewise.
51644         * nscd/aicache.c (addhstaiX): Likewise
51645         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
51647 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
51649         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
51650         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51651         * nscd/hstcache.c (cache_addhst): Likewise.
51652         * nscd/grpcache.c (cache_addgr): Likewise.
51653         * nscd/aicache.c (addhstaiX): Likewise
51655 2011-07-01  Andreas Schwab  <schwab@redhat.com>
51657         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
51658         domain only when needed.
51660 2011-06-30  Andreas Schwab  <schwab@redhat.com>
51662         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
51663         is always restored.
51665 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
51667         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
51668         are re-adding the entry.
51669         * nscd/servicescache.c (cache_addserv): Likewise.
51671 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
51673         * sysdeps/generic/dl-irel.h: fix protection against multiple
51674         inclusions.
51675         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
51677 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
51679         [BZ #12935]
51680         * malloc/memusage.sh: Fix quoting in message.
51681         * debug/xtrace.sh: Likewise.
51683         * configure.in: Remove support for --experimental-malloc option, make
51684         it the default.
51685         * config.make.in: Likewise.
51686         * malloc/Makefile: Likewise.
51688 2011-06-27  Andreas Schwab  <schwab@redhat.com>
51690         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
51691         two-byte characters.
51693 2011-06-27  Roland McGrath  <roland@hack.frob.com>
51695         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
51696         AC_CACHE_CHECK invocation.
51697         * configure: Regenerated.
51699         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
51701 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
51703         [BZ #12350]
51704         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
51705         bit from old_res_options.
51707         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
51709         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
51710         value type for setfct.
51712 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
51714         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
51715         __gettimeofday instead of gettimeofday.
51717 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
51719         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
51721 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
51723         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
51725         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
51726         info.
51728 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
51730         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51731         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
51732         strcpy-sse2-unaligned strncpy-sse2-unaligned
51733         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
51734         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
51735         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
51736         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
51737         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
51738         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
51739         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
51740         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
51741         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
51742         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
51743         (STRCPY): Support SSE2 and SSSE3 versions.
51745 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
51747         [BZ #12874]
51748         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
51749         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
51750         kernels which artificially limit size of requests.
51752 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
51754         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51755         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
51756         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
51757         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
51758         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
51759         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
51760         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
51761         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
51762         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
51763         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
51764         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
51765         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
51766         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
51767         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
51768         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
51769         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51770         Enable unaligned load optimization for Intel Core i3, i5 and i7
51771         processors.
51772         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
51773         Define.
51774         (index_Fast_Unaligned_Load): Define.
51775         (HAS_FAST_UNALIGNED_LOAD): Define.
51777 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
51779         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
51781 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
51783         [BZ #12907]
51784         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
51785         until it is clear that the information is realy needed.
51786         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
51788 2011-06-22  Andreas Schwab  <schwab@redhat.com>
51790         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
51792 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
51794         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
51795         /sys/devices/system/cpu/online if it is usable.
51797         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
51798         reading the information from the /proc filesystem to once a second.
51800 2011-06-21  Andreas Jaeger  <aj@suse.de>
51802         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
51803         NULL after inclusion of kernel headers.
51805 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
51807         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
51808         calls to internal_setent.
51810         [BZ #12885]
51811         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
51812         addresses using gethostbyname4_r ignore IPv4 addresses.
51814         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
51815         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
51817         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
51819 2011-06-20  David S. Miller  <davem@davemloft.net>
51821         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
51822         inclusions.
51823         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
51825         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
51826         (elf_irel): Use it.
51827         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
51828         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
51829         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
51830         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
51831         * sysdeps/x86_64/dl-irel.h: Likewise.
51833         * elf/dl-runtime.c: Use elf_ifunc_invoke.
51834         * elf/dl-sym.c: Likewise.
51836 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
51838         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
51839         need to dereference resplen2.
51841 2011-06-14  Andreas Schwab  <schwab@redhat.com>
51843         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
51845 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
51847         * Makeconfig: Define vardbdir and inst_vardbdir.
51848         * nss/Makefile: Add rules to install db-Makefile.
51850         * nss/nss_db/db-XXX.c: Cleanup.
51852         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
51853         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
51854         GLIBC_PRIVATE.
51855         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
51856         * nss/makedb.c: Implement -g option to specify that value strings
51857         are generated and should not be added to table iterated over for
51858         get*ent calls.
51859         * nss/nss_db/db-initgroups.c: New file.
51861         * nss/getent.c: Add support for initgroups lookups through getgrouplist
51862         interface.
51864         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
51865         (internal_getgrouplist): Adjust to name change.
51866         Update use_initgroups_entry if this is not the first call.
51867         * nss/databases.def: Add initgroups entry.
51869         * nss/makedb.c (compute_tables): Check result of multiple hash table
51870         sizes to minimize maximum chain length.
51872 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
51874         * Versions.def: Add entry for libnss_db.
51875         * shlib-versions: Likewise.
51876         * nss/Makefile: Add rules to build libnss_db.
51877         * nss/Versions: Add libnss_db information.  Organize libnss_files
51878         entries better.
51879         * nss/db-Makefile: Add gshadow support.  Change rules for the new
51880         makedb progra.  Some minor improvements to generate smaller files.
51881         * nss/nss_db/nss_db.h: Move NSS database header data structures to
51882         here from...
51883         * nss/makedb.c: ...here.
51884         Improve database format to be smaller and require less memory at
51885         runtime.
51886         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
51887         db anymore.
51888         * nss/nss_db/db-netgrp.c: Likewise.
51889         * nss/nss_db/db-open.c: Likewise.
51890         * nss/nss_files/flies-XXX.x: Adjust comments.
51891         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
51892         * nss/nss_files/files-grp.c: Likewise.
51893         * nss/nss_files/files-hosts.c: Likewise.
51894         * nss/nss_files/files-network.c: Likewise.
51895         * nss/nss_files/files-proto.c: Likewise.
51896         * nss/nss_files/files-pwd.c: Likewise.
51897         * nss/nss_files/files-rpc.c: Likewise.
51898         * nss/nss_files/files-service.c: Likewise.
51899         * nss/nss_files/files-sgrp.c: Likewise.
51900         * nss/nss_files/files-spwd.c: Likewise.
51901         * nss/nss_db/db-alias.c: Removed.
51902         * nss/nss_db/dummy-db.h: Removed.
51904 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
51906         * nss/makedb.c: Rewritten to not use database library.
51907         * nss/Makefile: Update to build new makedb program.
51909 2011-06-14  Andreas Jaeger  <aj@suse.de>
51911         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
51912         memset declaration.
51914 2011-06-10  Andreas Schwab  <schwab@redhat.com>
51916         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
51917         tmpbuf.
51919 2011-06-10  Roland McGrath  <roland@hack.frob.com>
51921         * Makerules (shlib.lds): Fail if the linker script comes out empty.
51922         * elf/Makefile ($(objpfx)ld.so): Likewise.
51924         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
51925         Don't list ld.so twice in dependencies.
51927         * posix/bug-regex31.c: Include <stdlib.h>.
51929         * nscd/hstcache.c (cache_addhst): Remove unused variable.
51931         * nis/nss_compat/compat-spwd.c
51932         (getspent_next_nss_netgr): Remove unused variable.
51933         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
51935         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
51936         nonmembers" output to use the right array.
51938         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
51940         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
51942         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
51943         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
51944         * catgets/gencat.c (read_input_file): Likewise.
51945         * locale/programs/locarchive.c (enlarge_archive): Likewise.
51947         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
51948         variable definition inside #if's controlling its use.
51950         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
51952         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
51954         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
51956         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
51957         unreachable code.
51959         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
51961         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
51962         * configure: Regenerated.
51964         * Makerules: Revert last change.
51965         * elf/Makefile: Likewise.
51967 2011-06-09  Roland McGrath  <roland@hack.frob.com>
51969         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
51970         * elf/Makefile ($(objpfx)librtld.os): Likewise.
51971         (reloc-link): Likewise.
51973 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
51975         * elf/Makefile: Add rules to build pldd.
51976         * elf/pldd.c: New file.
51977         * elf/pldd-xx.c: New file.
51979 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
51981         * version.h: Update for 2.15 development version.
51983 2011-06-07  David S. Miller  <davem@davemloft.net>
51985         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
51986         ifuncs.
51987         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
51988         elf_machine_lazy_rel): Likewise.
51989         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
51990         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
51991         elf_machine_lazy_rel): Likewise.
51992         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
51993         dl_hwcap via passed in argument.
51994         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
51995         Likewise.
51997 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51999         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
52001 2011-06-06  Roland McGrath  <roland@hack.frob.com>
52003         [BZ #12849]
52004         * manual/fdl-1.1.texi: New file, verbatim from:
52005         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
52006         * manual/lgpl-2.1.texi: New file, verbatim from:
52007         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
52008         * manual/Makefile (licenses): New variable, list those new file names.
52009         (texis): Use it.
52010         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
52012         * manual/fdl.texi: File removed.
52013         * manual/lesser.texi: File removed.
52014         * manual/libc.texinfo (Copying, Documentation License):
52015         Use new @include file names, put @appendix directive before @include.
52017 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
52019         [BZ #12841]
52020         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
52021         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
52022         (mq_open): Add __NTH.
52024 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
52026         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52027         Assume Intel Core i3/i5/i7 processor if AVX is available.
52029 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
52031         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
52032         typo.
52034 2011-05-31  Andreas Schwab  <schwab@redhat.com>
52036         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
52037         memory.  Use alloca_account.  Fix memory leak when retrying.
52039 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
52041         * version.h (RELEASE): Bump for 2.14 release.
52042         * include/features.h (__GLIBC_MINOR__): Bump to 14.
52044         * config.make.in (RANLIB): Remove entry.
52046 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
52048         * po/Makefile (po-sed-cmd): Add ksh to extensions.
52049         (libc.pot): Work around missing support for .ksh extension in xgettext.
52051         [BZ #12684]
52052         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
52053         if both request failed.
52054         (send_dg): In case of server errors clear resplen or *resplen2.
52056         [BZ #12454]
52057         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
52058         when there are multiple maps.
52059         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
52060         (_dl_fini): Remove test here.
52062         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
52064 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
52066         [BZ #12350]
52067         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
52068         bit from old_res_options.
52069         (gaih_inet): Likewise.
52071         [BZ #11099]
52072         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
52073         as signed.
52075         * resolv/res_init.c (res_setoptions): Make the code more compact.
52077         [BZ #11558]
52078         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
52079         set RES_USEVC.
52081         [BZ #11634]
52082         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
52084         * malloc/malloc.h: Mark malloc hook variables as deprecated.
52086         [BZ #11781]
52087         * malloc/malloc.h: Declare malloc hook variables as volatile.
52089         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
52090         in last patch.
52092         [BZ #11799]
52093         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
52094         raise in the comment.
52095         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
52096         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
52097         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
52099 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
52101         [BZ #12811]
52102         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
52103         grow the buffers more if it already has to be sufficient.
52104         (build_wcs_upper_buffer): Likewise.
52105         * posix/regexec.c (check_matching): Likewise.
52106         (clean_state_log_if_needed): Likewise.
52107         (extend_buffers): Don't enlarge buffers beyond size of the input
52108         buffer.
52109         Patches mostly by Emil Wojak <emil@wojak.eu>.
52110         * posix/bug-regex32.c: New file.
52111         * posix/Makefile (tests): Add bug-regex32.
52113         * locale/findlocale.c (_nl_find_locale): Return right away if
52114         _nl_explode_name failed.
52115         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
52117         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
52119         * debug/xtrace.sh: Unify messages.
52120         * malloc/memusage.sh: Likewise.
52122         [BZ #12813]
52123         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
52124         time symbol from vDSO.  Substitute with vsyscall if not available.
52125         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
52126         __vdso_time.
52128         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
52129         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
52130         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
52131         Add sendmmsg and internal_sendmmsg.
52132         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
52133         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
52134         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
52136         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
52137         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
52138         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
52140 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
52142         [BZ #12813]
52143         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
52144         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
52145         available.
52146         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
52147         __vdso_getcpu.
52149         [BZ #12814]
52150         * iconvdata/Makefile (tests): Add bug-iconv9.
52151         * iconvdata/bug-iconv9.c: New file.
52153 2011-05-27  Andreas Schwab  <schwab@redhat.com>
52155         [BZ #12814]
52156         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
52158 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
52160         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
52161         (struct user_regs_struct): Change intcs field back to cs.
52163 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
52165         * po/ja.po: Update from translation team.
52167 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
52169         [BZ #12795]
52170         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
52171         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
52173 2011-05-20  Andreas Schwab  <schwab@redhat.com>
52175         * stdlib/longlong.h: Update from GCC.
52177 2011-05-23  Andreas Schwab  <schwab@redhat.com>
52179         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
52180         parameter name.
52181         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
52182         Add parameter name.
52183         (__sysconf): Pass it down.
52185 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
52187         [BZ #12671]
52188         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
52189         some situations.
52190         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
52191         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
52192         add in in __libc_use_alloca calls.  Adjust callers.
52193         (glob): Use malloc in some situations.
52195         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
52196         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
52197         pltexit.
52199 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
52201         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
52202         and CLOCK_BOOTTIME_ALARM.
52204         [BZ #12782]
52205         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
52206         is returned.
52208         * string/_strerror.c (__strerror_r): Print negative errors as signed
52209         numbers.
52211         [BZ #12777]
52212         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
52213         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
52214         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
52216         * configure.in: Fix typo in redirection and correct removal of test
52217         files in two cases.
52219         [BZ #12788]
52220         * locale/setlocale.c (new_composite_name): Fix test to check for
52221         identical name of all categories.
52223         [BZ #12792]
52224         * libio/filedoalloc.c (local_isatty): New function.
52225         (_IO_file_doallocate): Use local_isatty.
52226         * stdio-common/perror.c (perror): In case a new stream is used
52227         forward the stream error.
52228         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
52229         error flag.
52231 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
52233         [BZ #11869]
52234         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
52235         alloca.
52236         * include/alloca.h (extend_alloca_account): Define.
52238         [BZ #11857]
52239         * posix/regex.h: Fix comments with documentation of user-accessible
52240         fields after compilation and describe correct free'ing of pattern
52241         after re_compile_pattern.
52242         Patch by Reuben Thomas <rrt@sc3d.org>.
52244 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
52246         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
52247         and -mno-altivec to prevent the compiler from using Altivec and/or
52248         VSX instructions when the corresponding registers are not available.
52250 2011-05-19  Andreas Schwab  <schwab@redhat.com>
52252         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
52254 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
52256         * libio/freopen.c (freopen): Use __dup2, not dup2.
52257         * libio/freopen64.c (freopen64): Likewise.
52259 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
52261         [BZ #12775]
52262         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
52263         * math/Makefile (tests): Add test-powl.
52264         (CFLAGS-test-powl.c): Define.
52265         * math/test-powl.c: New file.
52267 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
52269         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
52271 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
52273         [BZ #11837]
52274         * iconvdata/gb18030.c: Update to GB18020-2005.
52276 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
52278         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
52279         RE_SYNTAX_POSIX_AWK): Update to match recent development.
52280         Patch by Aharon Robbins <arnold@skeeve.com>.
52282         [BZ #11892]
52283         * stdlib/putenv.c (putenv): Don't always create copy of the variable
52284         on the stack.
52286         [BZ #11895]
52287         * misc/pselect.c (__pselect): Handle timeout value errors hidden
52288         through underflows.
52290         [BZ #12766]
52291         * misc/error.c (error_at_line): Ensure file_name and old_file_name
52292         point to strings before performing equality test for error_one_per_line
52293         mode.
52295         [BZ #11697]
52296         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
52298         [BZ #11820]
52299         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
52300         (struct user_fpregs_struct): Avoid __uint*_t types.
52302         [BZ #6420]
52303         * malloc/mtrace.c (tr_where): Add additional parameter to point to
52304         symbol info.  Use it instead of calling _dl_addr locally.
52305         (lock_and_info): New function.
52306         (tr_freehook): Call lock_and_info and pass symbol info as additional
52307         parameter to tr_where.
52308         (tr_mallochook): Likewise.
52309         (tr_reallochook): Likewise.
52310         (tr_memalignhook): Likewise.
52312         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
52313         used and couldn't be at all thread-safe.
52315 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
52317         * libio/freopen.c (freopen): Don't close old file descriptor
52318         before the new one is opened.  Instead dup the new file descriptor
52319         to the old one after the new stream is created.
52320         * libio/freopen64.c (freopen64): Likewise.
52321         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
52322         * libio/fileops.c (_IO_new_file_close_it): Handle new
52323         _IO_FLAGS2_NOCLOSE flag.
52324         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
52325         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
52326         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
52327         _IO_FLAGS2_NOCLOSE flag.
52328         * include/unistd.h: Add hidden_proto for dup3.
52329         Define __have_dup3.
52330         * io/dup3.c: Define hidden symbol.
52331         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
52333         [BZ #7101]
52334         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
52335         when an incomplete long option is used.
52336         * posix/tst-getopt_long1.c: New file.
52337         * posix/Makefile (tests): Add tst-getopt_long1.
52339         [BZ #10138]
52340         * scripts/config.guess: Update from autoconf-2.68.
52341         * scripts/config.sub: Likewise.
52343         [BZ #10157]
52344         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
52345         tests into ...
52346         (has_cpuclock): ...this.  New function.
52347         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
52348         macro here based on has_cpuclock code.
52350         [BZ #10149]
52351         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52352         First byte (not low byte) is now always NUL.
52353         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
52355         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52356         Use non-cancelable interfaces.
52358         [BZ #9809]
52359         * locale/iso-639.def: Add entry for Sorani.
52361         [BZ #11901]
52362         * include/stdlib.h: Move include protection to the right place.
52363         Define abort_msg_s.  Declare __abort_msg with it.
52364         * stdlib/abort.c (__abort_msg): Adjust type.
52365         * assert/assert.c (__assert_fail_base): New function.  Majority
52366         of code from __assert_fail.  Allocate memory for __abort_msg with
52367         mmap.
52368         (__assert_fail): Now call __assert_fail_base.
52369         * assert/assert-perr.c: Remove bulk of implementation.  Use
52370         __assert_fail_base.
52371         * include/assert.hL Declare __assert_fail_base.
52372         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
52373         mmap.
52374         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
52376 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
52378         [BZ #11952]
52379         [BZ #12453]
52380         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
52381         until all modules are registered in the DTV.
52382         * elf/Makefile: Add rules to build and run tst-tls19.
52383         * elf/tst-tls19.c: New file.
52384         * elf/tst-tls19mod1.c: New file.
52385         * elf/tst-tls19mod2.c: New file.
52386         * elf/tst-tls19mod3.c: New file.
52387         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
52389         [BZ #12083]
52390         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
52391         correctly.
52393         [BZ #12601]
52394         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
52395         two-byte sequence errors.
52396         * iconvdata/Makefile (tests): Add bug-iconv8.
52397         * iconvdata/bug-iconv8.c: New file.
52399         [BZ #12626]
52400         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
52401         buf2 definition.
52403         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
52405         [BZ #12432]
52406         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
52407         (dummy_getcfa): New function.
52408         (init): Get _Unwind_GetCFA address, use dummy if not found.
52409         (backtrace_helper): In recursion check, also check whether CFA changes.
52410         (__backtrace): Completely initialize arg.
52412         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
52413         storing incomplete byte sequence in state object.  Avoid testing for
52414         guaranteed too small input if we know there is enough data available.
52416 2011-05-11  Andreas Schwab  <schwab@redhat.com>
52418         * Makeconfig (+link-pie): Indent.
52419         * Rules (binaries-pie): Define if $(have-fpie) and
52420         $(build-shared).
52421         (binaries-shared): Also filter out $(binaries-pie).
52422         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
52423         * nscd/Makefile (others-pie): Add nscd.
52424         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
52425         ($(objpfx)nscd): Remove command override.
52426         * login/Makefile (others-pie): Add pt_chown.
52427         ($(objpfx)pt_chown): Remove command override.
52428         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
52429         remove command overrides.
52431 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
52433         * libio/tst_putwc.c: Fix error messages.
52435         [BZ #12724]
52436         * libio/fileops.c (_IO_new_file_close_it): Always flush when
52437         currently writing and seek to current position when not.
52438         * libio/Makefile (tests): Add bug-fclose1.
52439         * libio/bug-fclose1.c: New file.
52441 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
52443         [BZ #12511]
52444         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
52445         don't set DF_1_NODELETE here.
52446         (do_lookup_x): When entering new entry test for copy relocation
52447         and if necessary set DF_1_NODELETE flag.
52448         * elf/tst-unique4.cc: New file.
52449         * elf/tst-unique4.h: New file.
52450         * elf/tst-unique4lib.cc: New file.
52451         * elf/Makefile: Add rules to build and run tst-unique4.
52452         Patch by Piotr Bury <pbury@goahead.com>.
52454 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
52456         [BZ #12052]
52457         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
52459         [BZ #12625]
52460         * misc/mntent_r.c (addmntent): Flush the stream after the output
52462         [BZ #12393]
52463         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
52464         (is_trusted_path_normalize): Skip initial colon.  Append slash
52465         to empty buffer.  Duplicate is_trusted_path code but allow
52466         constructed patch to be prefix.
52467         (is_dst): Allow $ORIGIN followed by /.
52468         (_dl_dst_substitute): Correct clearing of check_for_trusted.
52469         Correct testing of result of is_trusted_path_normalize
52470         (decompose_rpath): Fix warning.
52472 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
52474         [BZ #11257]
52475         * grp/initgroups.c (internal_getgrouplist): When we found the service
52476         list through the initgroups entry in nsswitch.conf do not always
52477         continue on a successful lookup.  Don't always use the
52478         __nss_group_database value if it is set.
52479         * nss/nsswitch.conf (initgroups): Change action for successful db
52480         lookup to continue for compatibility.
52482 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
52484         [BZ #11532]
52485         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
52486         and CP774 modules.
52487         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
52488         and CP774 modules.
52489         * iconvdata/tst-tables.sh: Likewise.
52490         * iconvdata/cp770.c: New file.
52491         * iconvdata/cp771.c: New file.
52492         * iconvdata/cp772.c: New file.
52493         * iconvdata/cp773.c: New file.
52494         * iconvdata/cp774.c: New file.
52495         * iconvdata/testdata/CP770: New file.
52496         * iconvdata/testdata/CP770..UTF8: New file.
52497         * iconvdata/testdata/CP771: New file.
52498         * iconvdata/testdata/CP771..UTF8: New file.
52499         * iconvdata/testdata/CP772: New file.
52500         * iconvdata/testdata/CP772..UTF8: New file.
52501         * iconvdata/testdata/CP773: New file.
52502         * iconvdata/testdata/CP773..UTF8: New file.
52503         * iconvdata/testdata/CP774: New file.
52504         * iconvdata/testdata/CP774..UTF8: New file.
52506         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
52507         END CHARMAP line.
52508         * iconvdata/gen-8bit-gap.sh: Likewise.
52509         * iconvdata/gen-8bit.sh: Likewise.
52511         * locale/iso-639.def: Add ary entry.
52513         [BZ #11258]
52514         * locale/C-translit.h.in: Add U20A1 transliteration.
52516         [BZ #12178]
52517         * locale/iso-639.def: Add wae entry.
52518         Patch by Kevin Bortis <bortis@translate-wae.ch>.
52520         [BZ #12545]
52521         * locale/programs/localedef.c (construct_output_path): Use ssize_t
52522         for n.
52524         [BZ #12711]
52525         * locale/C-translit.h.in: Add entry for U20B9.
52526         Patch by pravin.d.s@gmail.com.
52528 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
52530         [BZ #12713]
52531         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
52532         ENAMETOOLONG use generic getcwd.
52533         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
52534         in rtld.  Use *stat64.
52535         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
52536         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
52537         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
52538         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
52539         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
52540         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
52541         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
52542         __fstatat64 macros.
52543         * include/dirent.h: Add libc_hidden_proto for rewinddir.
52544         * dirent/rewinddir.c: Add libc_hidden_def.
52545         * sysdeps/mach/hurd/rewinddir.c: Likewise.
52546         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
52548         * include/dirent.h (__alloc_dir): Add flags parameter.
52549         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
52550         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
52551         __alloc_dir.
52552         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
52553         from fdopendir if O_CLOEXEC is already set.
52555 2011-03-15  Alan Modra  <amodra@gmail.com>
52557         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
52558         l_tls_firstbyte_offset non-zero.  Save padding offset in
52559         l_tls_firstbyte_offset for later use.
52560         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
52561         freeing static tls block.
52563 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
52565         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
52566         where #ifdef was intended.  The intent is to prevent ARG_MAX from
52567         being defined by the kernel headers.
52569 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
52571         [BZ #12734]
52572         * resolv/resolv.h: Define RES_NOTLDQUERY.
52573         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
52574         no-tld-query and set RES_NOTLDQUERY.
52575         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
52576         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
52577         modern BIND to search name as TLD unless forbidden.
52579 2011-05-07  Petr Baudis  <pasky@suse.cz>
52580             Ulrich Drepper  <drepper@gmail.com>
52582         [BZ #12393]
52583         * elf/dl-load.c (fillin_rpath): Move trusted path check...
52584         (is_trusted_path): ...to here.
52585         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
52586         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
52587         using is_trusted_path_normalize() in setuid scripts.
52589 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
52591         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
52592         __BEGIN/__END_DECLS.
52594 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
52596         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
52597         NSS_STATUS_NOTFOUND if no record was found.
52599 2011-05-05  Andreas Schwab  <schwab@redhat.com>
52601         * sunrpc/Makefile (headers): Add rpc/netdb.h.
52602         (headers-not-in-tirpc): Remove rpc/netdb.h
52603         * resolv/netdb.h: Revert last change.
52605 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
52607         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
52608         circular dependency between libgcc.a and libc.a.
52610 2011-05-05  Andreas Schwab  <schwab@redhat.com>
52612         * resolv/netdb.h: Don't include <rpc/netdb.h>.
52613         * nis/Makefile: Don't install rpcsvc/*.
52614         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
52615         instead of <rpc/types.h>.
52616         (MAXHOSTNAMELEN): Define.
52618 2011-05-03  Andreas Schwab  <schwab@redhat.com>
52620         * elf/ldconfig.c (add_dir): Don't crash on empty path.
52622 2011-04-28  Maciej Babinski  <mbabinski@google.com>
52624         [BZ #12714]
52625         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
52626         gethostbyname4_r when IPv6 results are possible.
52628 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
52630         [BZ #12723]
52631         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
52632         _PC_PIPE_BUF handling.
52634 2011-04-30  Bruno Haible  <bruno@clisp.org>
52636         [BZ #12717]
52637         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
52638         * resolv/netdb.h (getnameinfo): Change type of flags parameter
52639         to 'int'.
52640         * inet/getnameinfo.c (getnameinfo): Likewise.
52642 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
52644         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
52645         to groups setting in database lookup.
52646         * nss/nsswitch.conf: Add initgroups entry.
52648 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
52650         [BZ #12685]
52651         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
52652         mode string.
52653         Patch by Eric Blake <eblake@redhat.com>.
52655 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
52657         * sunrpc/Makefile (need-export-routines): Add svc_run.
52658         (routines): Remove svc_run.
52659         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
52660         * sunrpc/clnt_perr.c (clnt_perrno): Export.
52661         * sunrpc/svc_run.c (svc_run): Likewise.
52662         * sunrpc/svc_udp.c (svcudp_create): Likewise.
52664 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
52666         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
52667         problem in reallocation in last patch.
52669 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
52671         * sunrpc/Makefile: Move inclusion of Rules.
52673 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
52675         * nss/nss_files/files-initgroups.c: New file.
52676         * nss/Makefile (libnss_files-routines): Add files-initgroups.
52677         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
52678         _nss_files_initgroups_dyn.
52680 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
52682         * elf/elf.h (R_ARM_IRELATIVE): Define.
52684 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
52686         * po/ru.po: Update from translation team.
52688 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
52690         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
52691         dependencies.
52693 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
52695         [BZ #12653]
52696         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
52697         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
52698         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
52699         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
52700         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
52702 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
52704         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
52705         differing bytes.
52706         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
52707         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
52708         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52710 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
52712         [BZ #12420]
52713         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
52714         storing it.
52715         * stdlib/bug-getcontext.c: New file.
52716         * stdlib/Makefile: Add rules to build and run bug-getcontext.
52718 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52720         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
52721         instructions into .machine "z9-109".
52722         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
52723         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
52725 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52727         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
52728         between environment variables and auxiliary vector.
52730 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
52732         * Makefile: Add rules to build linkobj/libc.so.
52733         * include/libc-symbols.h: Define libc_hidden_nolink.
52734         * include/rpc/auth.h: Mark functions which are to be hidden.
52735         * include/rpc/auth_des.h: Likewise.
52736         * include/rpc/auth_unix.h: Likewise.
52737         * include/rpc/clnt.h: Likewise.
52738         * include/rpc/des_crypt.h: Likewise.
52739         * include/rpc/key_prot.h: Likewise.
52740         * include/rpc/pmap_clnt.h: Likewise.
52741         * include/rpc/pmap_prot.h: Likewise.
52742         * include/rpc/pmap_rmt.h: Likewise.
52743         * include/rpc/rpc_msg.h: Likewise.
52744         * include/rpc/svc.h: Likewise.
52745         * include/rpc/svc_auth.h: Likewise.
52746         * include/rpc/xdr.h: Likewise.
52747         * nis/Makefile: Link all DSOs against linkobj/libc.so.
52748         * nss/Makefile: Likewise.
52749         * sunrpc/Makefile: Don't install headers.  Build library with normal
52750         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
52751         * sunrpc/auth_des.c: Hide exported symbols by default, export some
52752         for the compat linking library.  Remove use of INTDEF/INTUSE.
52753         * sunrpc/auth_none.c: Likewise.
52754         * sunrpc/auth_unix.c: Likewise.
52755         * sunrpc/authdes_prot.c: Likewise.
52756         * sunrpc/authuxprot.c: Likewise.
52757         * sunrpc/clnt_gen.c: Likewise.
52758         * sunrpc/clnt_perr.c: Likewise.
52759         * sunrpc/clnt_raw.c: Likewise.
52760         * sunrpc/clnt_simp.c: Likewise.
52761         * sunrpc/clnt_tcp.c: Likewise.
52762         * sunrpc/clnt_udp.c: Likewise.
52763         * sunrpc/clnt_unix.c: Likewise.
52764         * sunrpc/des_crypt.c: Likewise.
52765         * sunrpc/des_soft.c: Likewise.
52766         * sunrpc/get_myaddr.c: Likewise.
52767         * sunrpc/key_call.c: Likewise.
52768         * sunrpc/key_prot.c: Likewise.
52769         * sunrpc/netname.c: Likewise.
52770         * sunrpc/pm_getmaps.c: Likewise.
52771         * sunrpc/pm_getport.c: Likewise.
52772         * sunrpc/pmap_clnt.c: Likewise.
52773         * sunrpc/pmap_prot.c: Likewise.
52774         * sunrpc/pmap_prot2.c: Likewise.
52775         * sunrpc/pmap_rmt.c: Likewise.
52776         * sunrpc/publickey.c: Likewise.
52777         * sunrpc/rpc_cmsg.c: Likewise.
52778         * sunrpc/rpc_common.c: Likewise.
52779         * sunrpc/rpc_dtable.c: Likewise.
52780         * sunrpc/rpc_prot.c: Likewise.
52781         * sunrpc/rpc_thread.c: Likewise.
52782         * sunrpc/rtime.c: Likewise.
52783         * sunrpc/svc.c: Likewise.
52784         * sunrpc/svc_auth.c: Likewise.
52785         * sunrpc/svc_authux.c: Likewise.
52786         * sunrpc/svc_raw.c: Likewise.
52787         * sunrpc/svc_run.c: Likewise.
52788         * sunrpc/svc_simple.c: Likewise.
52789         * sunrpc/svc_tcp.c: Likewise.
52790         * sunrpc/svc_udp.c: Likewise.
52791         * sunrpc/svc_unix.c: Likewise.
52792         * sunrpc/svcauth_des.c: Likewise.
52793         * sunrpc/xcrypt.c: Likewise.
52794         * sunrpc/xdr.c: Likewise.
52795         * sunrpc/xdr_array.c: Likewise.
52796         * sunrpc/xdr_float.c: Likewise.
52797         * sunrpc/xdr_intXX_t.c: Likewise.
52798         * sunrpc/xdr_mem.c: Likewise.
52799         * sunrpc/xdr_rec.c: Likewise.
52800         * sunrpc/xdr_ref.c: Likewise.
52801         * sunrpc/xdr_sizeof.c: Likewise.
52802         * sunrpc/xdr_stdio.c: Likewise.
52804 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
52806         [BZ #12650]
52807         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
52808         * sysdeps/ia64/dl-tls.h: Likewise.
52809         * sysdeps/powerpc/dl-tls.h: Likewise.
52810         * sysdeps/s390/dl-tls.h: Likewise.
52811         * sysdeps/sh/dl-tls.h: Likewise.
52812         * sysdeps/sparc/dl-tls.h: Likewise.
52813         * sysdeps/x86_64/dl-tls.h: Likewise.
52814         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
52816 2011-03-14  Andreas Schwab  <schwab@redhat.com>
52818         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
52819         rpath element also skip the following colon.
52820         (expand_dynamic_string_token): Add is_path parameter and pass
52821         down to DL_DST_REQUIRED and _dl_dst_substitute.
52822         (decompose_rpath): Call expand_dynamic_string_token with
52823         non-zero is_path.  Ignore empty rpaths.
52824         (_dl_map_object_from_fd): Call expand_dynamic_string_token
52825         with zero is_path.
52827 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
52829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
52830         Make cancelable.
52832 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
52834         [BZ #12655]
52835         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
52836         Patch by Filipe David Manana <fdmanana@apache.org>.
52838 2011-04-07  Andreas Schwab  <schwab@redhat.com>
52840         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
52841         Maintain aligned stack.
52842         (CHECK_RSP): Remove unused macro.
52844 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
52846         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
52847         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
52849 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
52851         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
52853         * include/features.h: Mention __USE_XOPEN2K8 in comment.
52855 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
52857         [BZ #12518]
52858         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
52859         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
52860         * sysdeps/x86_64/memmove.c: New file.
52861         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
52862         (memcpy): Renamed to ...
52863         (__new_memcpy): This.
52864         (memcpy): Provide GLIBC_2_14 memcpy.
52865         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
52866         (memcpy): Provide GLIBC_2_2_5 memcpy.
52868 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
52870         [BZ #12631]
52871         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
52873 2011-03-30  Andreas Schwab  <schwab@redhat.com>
52875         * misc/syncfs.c: New file.
52876         * misc/Makefile (routines): Add syncfs.
52877         * posix/unistd.h: Declare syncfs.
52878         * sysdeps/unix/syscalls.list: Add syncfs.
52880 2011-04-01  Andreas Schwab  <schwab@redhat.com>
52882         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
52883         open_by_handle_at.
52884         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
52885         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52886         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52887         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52888         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52889         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
52890         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52892 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
52894         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
52895         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52896         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
52897         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52898         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52899         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52900         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52902         * io/Makefile: Compile fallocate.c, fallocate64.c, and
52903         sync_file_range.c with -fexceptions.
52904         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
52905         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
52906         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
52907         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
52908         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
52909         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
52910         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
52911         sync_file_range as cancellation point
52912         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
52913         now a wrapper around __call_sync_file_range with cancellation handling.
52914         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
52915         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
52916         function name to __call_sync_file_range.
52917         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
52918         Add call_sync_file_range.
52920 2011-04-01  Andreas Schwab  <schwab@redhat.com>
52922         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52923         bits/timex.h.
52925 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
52927         * iconv/iconv.h: Fix typo in comment.
52928         * io/fcntl.h: Likewise.
52929         * libio/stdio.h: Likewise.
52930         * posix/spawn.h: Likewise.
52931         * posix/unistd.h: Likewise.
52932         * stdlib/stdlib.h: Likewise.
52933         * time/time.h: Likewise.
52934         * wcsmbs/wchar.h: Likewise.
52936         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
52937         open_by_handle): Add.
52938         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
52939         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
52940         Augment a few comments.
52941         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52942         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52943         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52944         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52945         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52946         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
52947         open_by_handle.
52949         * io/fcntl.h (AT_EMPTY_PATH): Define.
52951 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
52953         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
52954         * sysdeps/unix/sysv/linux/bits/time.h: New file.
52955         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
52956         to...
52957         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
52958         * Versions.def: Add GLIBC_2.14.
52959         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
52960         Export.
52962 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
52964         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
52965         round counter.
52966         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
52968 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
52970         [BZ #12597]
52971         * string/test-strncmp.c (do_page_test): New function.
52972         (check2): Likewise.
52973         (test_main): Call check2.
52974         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
52976 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
52978         [BZ #12587]
52979         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
52980         Handle cache information in CPU leaf 4.
52981         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
52983 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
52985         [BZ #12583]
52986         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
52987         character representation.
52988         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
52990 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
52992         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
52993         END(__isnan) to END(__isnanf) to match function entry point/label
52994         EALIGN(__isnanf,...).
52996 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
52998         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
53000 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
53002         [BZ #12510]
53003         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
53004         copy from the symbol referenced in the relocation to initialize the
53005         used variable.
53006         Patch by Piotr Bury <pbury@goahead.com>.
53007         * elf/Makefile: Add rules to build and tst-unique3.
53008         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
53009         * elf/tst-unique3.cc: New file.
53010         * elf/tst-unique3.h: New file.
53011         * elf/tst-unique3lib.cc: New file.
53012         * elf/tst-unique3lib2.cc: New file.
53014         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
53016 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
53018         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
53019         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
53020         to _start.
53022 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
53024         * elf/dl-load.c (_dl_map_object): If we are looking for the first
53025         to-be-loaded object along a path to loader is ld.so.
53027 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
53028             Ulrich Drepper  <drepper@gmail.com>
53030         * sysdeps/x86_64/memset.S: After aligning destination, code
53031         branches to different locations depending on the value of
53032         misalignment, when multiarch is enabled. Fix this.
53034 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
53036         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
53037         Set _x86_64_preferred_memory_instruction for AMD processsors.
53038         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53039         Set bit_Prefer_SSE_for_memop for AMD processors.
53041 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
53043         * libio/fmemopen.c (fmemopen): Optimize a bit.
53045 2011-03-03  Andreas Schwab  <schwab@redhat.com>
53047         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
53049 2011-03-03  Roland McGrath  <roland@redhat.com>
53051         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
53053 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
53055         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
53056         __bzero_ultra1 instead of __memset_ultra1.
53058 2011-02-23  Andreas Schwab  <schwab@redhat.com>
53059             Ulrich Drepper  <drepper@gmail.com>
53061         [BZ #12509]
53062         * include/link.h (struct link_map): Add l_orig_initfini.
53063         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
53064         returning unsuccessfully.
53065         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
53066         close of a file loaded at startup, restore the original l_initfini
53067         list.
53068         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
53069         list, store the pointer.
53070         * elf/Makefile ($(objpfx)noload-mem): New rule.
53071         (noload-ENV): Define.
53072         (tests): Add $(objpfx)noload-mem.
53073         * elf/noload.c: Include <memcheck.h>.
53074         (main): Call mtrace.  Close all opened handles.
53076 2011-02-17  Andreas Schwab  <schwab@redhat.com>
53078         [BZ #12454]
53079         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
53080         dependencies are missing.
53082 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53084         Fix __if_freereq crash: Unlike the generic version which uses free,
53085         Hurd needs munmap.
53086         * sysdeps/mach/hurd/ifreq.h: New file.
53088 2011-01-27  Petr Baudis  <pasky@suse.cz>
53089             Ulrich Drepper  <drepper@gmail.com>
53091         [BZ 12445]#
53092         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
53093         to extend_alloca().
53094         * stdio-common/bug23.c: New file.
53095         * stdio-common/Makefile (tests): Add bug23.
53097 2010-09-28  Andreas Schwab  <schwab@redhat.com>
53098             Ulrich Drepper  <drepper@gmail.com>
53100         [BZ #12489]
53101         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
53102         before performing relro protection.  At old place add assertion
53103         to make sure nothing changed.
53105 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
53106             Glauber de Oliveira Costa  <glommer@gmail.com>
53108         * elf/elf.h: Add new ARM TLS relocs.
53110 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
53112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
53113         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
53114         cast from r3.
53115         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
53116         'tests' variable.
53117         * sysdeps/wordsize-64/tst-writev.c: New file.
53119 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
53121         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
53122         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
53123         insns in _dl_start to prevent a TOC reference before relocs are
53124         resolved.
53126 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
53128         [BZ #12469]
53129         * Makeconfig: Remove RANLIB definition.
53130         * Makerules: Don't use RANLIB.
53131         * aclocal.m4: Remove ranlib test.
53132         * configure.in: No need to check for ranlib.
53133         * elf/rtld-Rules: Don't use RANLIB.
53135 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53137         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
53138         protection macro.
53139         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
53140         inclusion protection macro.
53142         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
53143         SIGRTMIN and SIGRTMAX and print information in that case only when
53144         SIGRTMIN is defined.
53146 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
53148         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
53149         arginfo fn returning -1.
53151         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
53152         and thousands string is zero terminated.
53154 2011-02-03  Andreas Schwab  <schwab@redhat.com>
53156         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
53157         sysdeps/unix/sysv/linux/bits/socket.h.
53159 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53161         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
53162         (__CPU_COUNT): Remove old macros.
53163         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
53164         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
53165         (__CPU_ALLOC, __CPU_FREE): Add macros.
53166         (__sched_cpualloc, __sched_cpufree): Add declarations.
53168 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
53170         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
53171         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
53172         * nscd/aicache.c (addhstaiX): Return timeout of added value.
53173         (readdhstai): Return value of addhstaiX call.
53174         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
53175         (addgrbyX): Return value returned by cache_addgr.
53176         (readdgrbyname): Return value returned by addgrbyX.
53177         (readdgrbygid): Likewise.
53178         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
53179         (addpwbyX): Return value returned by cache_addpw.
53180         (readdpwbyname): Return value returned by addhstbyX.
53181         (readdpwbyuid): Likewise.
53182         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
53183         (addservbyX): Return value returned by cache_addserv.
53184         (readdservbyname): Return value returned by addservbyX:
53185         (readdservbyport): Likewise.
53186         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
53187         (addhstbyX): Return value returned by cache_addhst.
53188         (readdhstbyname): Return value returned by addhstbyX.
53189         (readdhstbyaddr): Likewise.
53190         (readdhstbynamev6): Likewise.
53191         (readdhstbyaddrv6): Likewise.
53192         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
53193         (readdinitgroups): Return value returned by addinitgroupsX.
53194         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
53195         (prune_cache): Keep track of timeout value of re-added entries.
53196         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
53197         * nscd/nscd.h: Adjust prototypes of readd* functions.
53199 2011-02-04  Roland McGrath  <roland@redhat.com>
53201         * nis/nis_server.c (nis_servstate): Use the right name for 0.
53202         (nis_stats): Likewise.
53203         * nis/nis_modify.c (nis_modify): Likewise.
53204         * nis/nis_remove.c (nis_remove): Likewise.
53205         * nis/nis_add.c (nis_add): Likewise.
53207         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
53209         * posix/fnmatch_loop.c: Add some consts.
53211         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
53213 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
53215         [BZ #12460]
53216         * config.make.in (config-cflags-novzeroupper): Define.
53217         * configure.in: Substitute libc_cv_cc_novzeroupper.
53218         * elf/Makefile (AVX-CFLAGS): Define.
53219         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
53220         (CFLAGS-tst-auditmod4a.c): Likewise.
53221         (CFLAGS-tst-auditmod4b.c): Likewise.
53222         (CFLAGS-tst-auditmod6b.c): Likewise.
53223         (CFLAGS-tst-auditmod6c.c): Likewise.
53224         (CFLAGS-tst-auditmod7b.c): Likewise.
53225         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
53227 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
53229         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
53230         function to the callback.
53231         Patch partly by Jiri Olsa <jolsa@redhat.com>.
53233 2011-02-02  Andreas Schwab  <schwab@redhat.com>
53235         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
53236         of errno.
53238 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
53240         [BZ #11724]
53241         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
53242         of constructors.
53243         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
53244         of destructors.
53245         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
53247         [BZ #11724]
53248         * elf/Makefile: Add rules to build and run new test.
53249         * elf/tst-initorder.c: New file.
53250         * elf/tst-initorder.exp: New file.
53251         * elf/tst-initordera1.c: New file.
53252         * elf/tst-initordera2.c: New file.
53253         * elf/tst-initordera3.c: New file.
53254         * elf/tst-initordera4.c: New file.
53255         * elf/tst-initorderb1.c: New file.
53256         * elf/tst-initorderb2.c: New file.
53257         * elf/tst-order-a1.c: New file.
53258         * elf/tst-order-a2.c: New file.
53259         * elf/tst-order-a3.c: New file.
53260         * elf/tst-order-a4.c: New file.
53261         * elf/tst-order-b1.c: New file.
53262         * elf/tst-order-b2.c: New file.
53263         * elf/tst-order-main.c: New file.
53264         New test case by George Gensure <werkt0@gmail.com>.
53266 2010-10-01  Andreas Schwab  <schwab@redhat.com>
53268         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
53269         decoding ACE if AI_CANONIDN.
53271 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
53273         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
53275 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
53277         * version.h (RELEASE): Bump for 2.13 release.
53278         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
53280         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
53282         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
53283         MADV_NOHUGEPAGE.
53284         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
53285         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
53286         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
53287         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
53288         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
53289         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
53291         * posix/getconf.c: Update copyright year.
53292         * catgets/gencat.c: Likewise.
53293         * csu/version.c: Likewise.
53294         * debug/catchsegv.sh: Likewise.
53295         * debug/xtrace.sh: Likewise.
53296         * elf/ldconfig.c: Likewise.
53297         * elf/ldd.bash.in: Likewise.
53298         * elf/sprof.c (print_version): Likewise.
53299         * iconv/iconv_prog.c: Likewise.
53300         * iconv/iconvconfig.c: Likewise.
53301         * locale/programs/locale.c: Likewise.
53302         * locale/programs/localedef.c: Likewise.
53303         * malloc/memusage.sh: Likewise.
53304         * malloc/mtrace.pl: Likewise.
53305         * nscd/nscd.c (print_version): Likewise.
53306         * nss/getent.c: Likewise.
53308         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
53309         PF_CAIF, and PF_ALG.
53310         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53312 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
53314         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
53315         (modules-names): Use them.
53316         (ifunc-test-modules, ifunc-pie-tests): Define.
53317         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
53318         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
53319         (test-extras): Likewise.
53320         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
53321         $(compile-command.c).
53322         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
53323         (all-built-dso): Define.
53324         (check-textrel.out, check-execstack.out): Depend on it.
53326         * configure.in: Don't override --enable-multi-arch.
53328 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
53330         [BZ #6812]
53331         * nscd/hstcache.c (tryagain): Define.
53332         (cache_addhst): Return tryagain not notfound for temporary errors.
53333         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
53334         failed.
53336 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
53338         [BZ #10563]
53339         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
53340         to make the syscall.
53341         * sysdeps/unix/sysv/linux/setgroups.c: New file.
53343         [BZ #12378]
53344         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
53345         and fall back to matching as normal character if the string ends before
53346         the matching ']' is found.  This is what POSIX requires.
53347         * posix/testfnm.c: Adjust test result.
53348         * posix/globtest.sh: Adjust test result.  Add new test.
53349         * posix/tst-fnmatch.input: Likewise.
53350         * posix/tst-fnmatch2.c: Add new test.
53352 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
53354         * elf/Makefile (check-execstack): Revert last change.  Depend on
53355         check-execstack.h.
53356         (check-execstack.h): New target.
53357         (generated): Add check-execstack.h.
53358         * elf/check-execstack.c: Include "check-execstack.h".
53359         (main): Revert last change.
53360         (handle_file): Return zero if GNU_STACK is absent and
53361         DEFAULT_STACK_PERMS doesn't include PF_X.
53363 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
53365         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
53366         in child fails because the descriptor is already closed.
53367         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
53368         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
53369         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
53371         [BZ #12397]
53372         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
53373         syscall.
53375         [BZ #10484]
53376         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
53377         temporary buffer used to handle multi lookups locally.
53378         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
53380 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
53382         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
53383         loader is ld.so.
53385 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
53387         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
53388         alignment for SSE2.
53390 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
53392         [BZ #12394]
53393         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
53394         characters.  When rounding increased number of integer digits recompute
53395         number of groups.
53396         * stdio-common/tst-grouping.c: New file.
53397         * stdio-common/Makefile: Add rules to build and run tst-grouping.
53399 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
53401         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
53402         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
53404         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
53405         void.
53406         * bits/select.h: Likewise.
53408 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
53410         * po/ja.po: Update from translation team.
53412 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
53414         [BZ #11155]
53415         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
53416         implementation just like for lxstat, fxstatat, et al.
53418 2010-12-27  Jim Meyering  <meyering@redhat.com>
53420         [BZ #12348]
53421         * posix/regexec.c (build_trtable): Return failure indication upon
53422         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
53424 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
53426         [BZ #12201]
53427         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
53428         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
53429         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
53430         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
53432         [BZ #12207]
53433         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
53435         [BZ #12204]
53436         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
53437         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
53439 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
53441         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
53442         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
53443         script has SORT_BY_INIT_PRIORITY.
53444         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
53445         NO_CTORS_DTORS_SECTIONS is defined.
53446         * elf/soinit.c: Likewise.
53447         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
53448         NO_CTORS_DTORS_SECTIONS is defined.
53449         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
53450         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
53451         * sysdeps/sh/init-first.c: Likewise.
53452         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
53454 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
53456         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
53457         always use the slow path.
53459 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
53461         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
53462         similar rule which adds the sysdep directories to the header search in
53463         order to pick up the correct platform stackinfo.h.
53464         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
53465         perform test if it is, otherwise return successfully without testing.
53466         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
53467         DEFAULT_STACK_PERMS define in stackinfo.h.
53468         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
53469         defined in stackinfo.h.
53470         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
53471         DEFAULT_STACK_PERMS defined in stackinfo.h.
53472         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
53473         * sysdeps/ia64/stackinfo.h: Likewise.
53474         * sysdeps/s390/stackinfo.h: Likewise.
53475         * sysdeps/sh/stackinfo.h: Likewise.
53476         * sysdeps/sparc/stackinfo.h: Likewise.
53477         * sysdeps/x86_64/stackinfo.h: Likewise.
53478         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
53479         PF_X for powerpc64.  Retain PF_X for powerpc32.
53481 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
53483         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
53484         accurately.
53485         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
53486         GETDENTS_64BIT_ALIGNED.
53488 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
53490         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
53492 2010-12-10  Andreas Schwab  <schwab@redhat.com>
53494         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
53495         _GNU_SOURCE.
53497         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
53498         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
53499         Remove __restrict.
53500         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
53501         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
53503 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
53505         [BZ #11655]
53506         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
53507         are initialized.
53509 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
53511         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
53513 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
53515         * po/it.po: Update from translation team.
53517 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
53519         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
53520         unused codes.
53522 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
53524         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
53526 2010-11-24  Andreas Schwab  <schwab@redhat.com>
53528         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
53529         specially.
53530         (gaih_getanswer_slice): Likewise.
53532 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
53534         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
53536 2010-05-31  Petr Baudis  <pasky@suse.cz>
53538         [BZ #11149]
53539         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
53540         silently even in the chroot mode.
53542 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
53544         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
53545         last patch a bit.  Pretty printing
53547 2010-05-31  Petr Baudis <pasky@suse.cz>
53549         [BZ #10085]
53550         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
53551         initialization of skip_initgroups_dyn.
53553 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
53555         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
53556         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
53558 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
53560         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
53562 2010-11-11  Andreas Schwab  <schwab@redhat.com>
53564         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
53565         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
53566         (tst-fnmatch-ENV): Set MALLOC_TRACE.
53567         ($(objpfx)tst-fnmatch-mem): New rule.
53568         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
53569         * posix/tst-fnmatch.c (main): Call mtrace.
53571 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
53573         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53574         Support Intel processor model 6 and model 0x2c.
53576 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
53578         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
53579           signed comparison.
53581 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
53583         [BZ #12205]
53584         * string/test-strncasecmp.c (check_result): New function.
53585         (do_one_test): Use it.
53586         (check1): New function.
53587         (test_main): Use it.
53588         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
53589         Support strcasecmp and strncasecmp.
53591 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
53593         [BZ #12194]
53594         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
53595         * sysdeps/x86_64/bits/byteswap.h: Likewise.
53597 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
53599         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
53600         IFUNC support.
53601         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53602         memset-x86-64.
53603         * sysdeps/x86_64/multiarch/bzero.S: New file.
53604         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
53605         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
53606         * sysdeps/x86_64/multiarch/memset.S: New file.
53607         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
53608         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53609         Set bit_Prefer_SSE_for_memop for Intel processors.
53610         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
53611         Define.
53612         (index_Prefer_SSE_for_memop): Define.
53613         (HAS_PREFER_SSE_FOR_MEMOP): Define.
53615 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
53617         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
53618         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
53620 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
53622         [BZ #12191]
53623         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
53624         (__x86_64_raw_data_cache_size_half): Likewise.
53625         (__x86_64_raw_shared_cache_size): Likewise.
53626         (__x86_64_raw_shared_cache_size_half): Likewise.
53628         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
53629         (__x86_64_raw_data_cache_size_half): Likewise.
53630         (__x86_64_raw_shared_cache_size): Likewise.
53631         (__x86_64_raw_shared_cache_size_half): Likewise.
53632         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
53633         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
53634         and __x86_64_raw_shared_cache_size_half.  Round
53635         __x86_64_data_cache_size_half, __x86_64_data_cache_size
53636         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
53637         to multiple of 256 bytes.
53639 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
53641         [BZ #12167]
53642         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
53643         of inacessible symlinks.  Verify result of symlink before returning it.
53644         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
53645         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
53647 2010-10-28  Erich Ritz  <erichritz@gmail.com>
53649         * math/math.h (isinf): Fix typo in comment.
53651 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
53653         * po/da.po: Update from translation team.
53655 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
53657         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
53658         is added to the list.
53660 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53661             Ulrich Drepper  <drepper@gmail.com>
53663         * elf/dl-object.c (_dl_new_object): Don't append the new object to
53664         the global list here.  Move code to...
53665         (_dl_add_to_namespace_list): ...here.  New function.
53666         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
53667         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
53668         * elf/dl-load.c (lose): Don't remove the element from the list.
53669         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
53670         (_dl_map_object): Likewise.
53672 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
53674         [BZ #12159]
53675         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
53676         into all bytes of SSE register.
53677         Patch by Richard Li <richardpku@gmail.com>.
53679 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
53681         [BZ #12140]
53682         * malloc/malloc.c (_int_free): Fill correct number of bytes when
53683         perturbing.
53685 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
53687         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
53688         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
53689         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
53690         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
53691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
53692         submachine.
53693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
53695 2010-10-22  Andreas Schwab  <schwab@redhat.com>
53697         * include/dlfcn.h (__RTLD_SECURE): Define.
53698         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
53699         mode & __RTLD_SECURE instead.
53700         (open_path): Rename preloaded parameter to secure.
53701         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
53702         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
53703         * elf/dl-deps.c (openaux): Likewise.
53704         * elf/rtld.c (struct map_args): Remove is_preloaded.
53705         (map_doit): Don't use it.
53706         (dl_main): Likewise.
53707         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
53708         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
53710 2010-09-09  Andreas Schwab  <schwab@redhat.com>
53712         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
53713         (sysd-rules-targets): Remove duplicates.
53714         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
53715         rtld-%.$o dependency.
53717 2010-10-18  Andreas Schwab  <schwab@redhat.com>
53719         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
53720         _dl_map_object do it.
53722 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
53724         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
53725         fast fma builtins, define the macros in the C99 standard.
53726         (FP_FAST_FMAF): Likewise.
53727         (FP_FAST_FMAL): Likewise.
53728         * sysdeps/x86_64/bits/mathdef.h: Likewise.
53730         * bits/mathdef.h: Update copyright year.
53731         * sysdeps/powerpc/bits/mathdef.h: Likewise.
53733 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
53735         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
53736         builtins, define the macros in the C99 standard.
53737         (FP_FAST_FMAF): Likewise.
53738         (FP_FAST_FMAL): Likewise.
53739         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
53740         multiply/add.
53741         (FP_FAST_FMAF): Likewise.
53743 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
53745         [BZ #3268]
53746         * math/libm-test.inc (fma_test): Some new testcases.
53747         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
53748         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
53749         y and infinite z.  Do multiplication by C already in long double.
53750         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
53751         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
53752         y and infinite z.  Do bitwise or of inexact bit into u.d.
53753         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
53754         * sysdeps/i386/fpu/s_fmaf.S: Removed.
53755         * sysdeps/i386/fpu/s_fma.S: Removed.
53756         * sysdeps/i386/fpu/s_fmal.S: Removed.
53758 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
53760         [BZ #3268]
53761         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
53762         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
53763         computation is not scheduled after fetestexcept.  Fix value
53764         of minimum denormal long double.
53766 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
53768         [BZ #3268]
53769         * math/libm-test.inc (fma_test): Add some more tests.
53770         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
53771         correctly.
53773 2010-10-15  Andreas Schwab  <schwab@redhat.com>
53775         * scripts/data/localplt-s390-linux-gnu.data: New file.
53776         * scripts/data/localplt-s390x-linux-gnu.data: New file.
53778 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
53780         [BZ #3268]
53781         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
53782         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
53783         instead of dbl-64.
53784         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
53785         inlines.
53786         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
53787         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
53788         if one of x and y is very large and the other is subnormal.
53789         * sysdeps/s390/fpu/s_fmaf.c: New file.
53790         * sysdeps/s390/fpu/s_fma.c: New file.
53791         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
53792         * sysdeps/powerpc/fpu/s_fma.S: New file.
53793         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
53794         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
53795         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
53797 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
53799         [BZ #3268]
53800         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
53801         fma tests.
53802         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
53803         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
53804         * sysdeps/i386/i686/multiarch/s_fma.c: Include
53805         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
53806         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
53807         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
53808         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
53810 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
53812         [BZ #12078]
53813         * posix/regcomp.c (parse_branch): One more memory leak plugged.
53814         * posix/bug-regex31.input: Add test case.
53816 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
53818         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
53819         * posix/bug-regex31.input: New file.
53821         [BZ #12078]
53822         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
53823         (parse_sub_exp): Fix last change, use postorder.
53825         * posix/bug-regex31.c: New file.
53826         * posix/Makefile: Add rules to build and run bug-regex31.
53828         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
53830         [BZ #12078]
53831         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
53833         [BZ #12108]
53834         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
53835         to have entries in sys_siglist.
53837         [BZ #12093]
53838         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
53839         be NULL.
53841 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
53843         [BZ #3268]
53844         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
53845         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
53846         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
53847         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
53848         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
53849         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
53850         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
53851         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
53852         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
53853         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
53854         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
53855         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
53856         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
53857         * math/ftestexcept.c (fetestexcept): Likewise.
53858         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
53859         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
53860         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
53861         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
53862         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
53863         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
53864         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
53866 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
53868         [BZ #12107]
53869         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
53870         newline.
53872 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
53874         * string/bug-strstr1.c: New file.
53875         * string/Makefile: Add rules to build and run bug-strstr1.
53877 2010-10-05  Eric Blake  <eblake@redhat.com>
53879         [BZ #12092]
53880         * string/str-two-way.h (two_way_long_needle): Always clear memory
53881         when skipping input due to the shift table.
53883 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
53885         [BZ #12005]
53886         * malloc/mcheck.c: Handle large requests.
53888         [BZ #12077]
53889         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
53890         for strncmp and strncasecmp.
53891         * string/stratcliff.c: Add tests for strcmp and strncmp.
53892         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
53894 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
53896         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
53897         __set_fpscr.
53899 2010-09-30  Andreas Jaeger  <aj@suse.de>
53901         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
53902         (CGROUP_SUPER_MAGIC): Define.
53903         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53904         Handle btrfs and cgroup file systems.
53905         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
53906         Likewise.
53908 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
53910         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
53911         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
53913 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53915         [BZ #12067]
53916         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
53917         trying to locate the ELF header.
53919 2010-09-27  Andreas Schwab  <schwab@redhat.com>
53921         [BZ #11611]
53922         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
53923         Mask out sign-bit copies when constructing f_fsid.
53925 2010-09-24  Petr Baudis <pasky@suse.cz>
53927         * debug/stack_chk_fail_local.c: Add missing licence exception.
53928         * debug/warning-nop.c: Likewise.
53930 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
53932         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
53933         implementing getdents64 using getdents syscall, set d_type if
53934         __ASSUME_GETDENTS32_D_TYPE.
53936 2010-09-16  Andreas Schwab  <schwab@redhat.com>
53938         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
53939         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
53941 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
53943         [BZ #12037]
53944         * posix/unistd.h: Undo change of feature selection for ftruncate from
53945         2010-01-11.
53947 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
53949         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
53950         detection.
53952 2010-09-20  Andreas Schwab  <schwab@redhat.com>
53954         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
53955         fanotify_mark.
53956         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
53958 2010-09-14  Andreas Schwab  <schwab@redhat.com>
53960         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
53961         variables after CHECK_SP call.
53962         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
53964 2010-09-13  Andreas Schwab  <schwab@redhat.com>
53965             Ulrich Drepper  <drepper@redhat.com>
53967         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
53968         re-relocationg ld.so.
53969         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
53970         _dl_init_paths call.
53971         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
53972         here anymore.
53974 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
53976         * resolv/res_init.c (__res_vinit): Count the default server we added.
53978 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
53979             Ulrich Drepper  <drepper@redhat.com>
53981         [BZ #11968]
53982         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
53983         (____longjmp_chk): Use %ebx for saving value across system call.
53984         Add unwind info.
53986 2010-09-06  Andreas Schwab  <schwab@redhat.com>
53988         * manual/Makefile: Don't mix pattern rules with normal rules.
53990 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
53992         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
53993         operation.
53994         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
53995         * libio/iofopncook.c (_IO_cookie_init): Likewise.
53996         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
53997         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
53998         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53999         Likewise.
54001 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
54003         [BZ #11979]
54004         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
54005         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
54007 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
54009         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
54010         * sysdeps/x86_64/addmul_1.S: Likewise.
54011         * sysdeps/x86_64/lshift.S: Likewise.
54012         * sysdeps/x86_64/mul_1.S: Likewise.
54013         * sysdeps/x86_64/rshift.S: Likewise.
54014         * sysdeps/x86_64/sub_n.S: Likewise.
54015         * sysdeps/x86_64/submul_1.S: Likewise.
54017 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54019         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
54020         Define __sched_param instead of SCHED_* and sched_param when
54021         <bits/sched.h> is included with __need_schedparam defined.
54022         * bits/sched.h [__need_schedparam]
54023         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
54024         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
54025         (__defined_schedparam): Define to 1.
54026         (__sched_param): New structure, identical to sched_param.
54027         (__need_schedparam): Undefine.
54029 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
54031         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
54032         (epoll_create1): Declare.
54034         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
54036 2010-08-31  Andreas Schwab  <schwab@redhat.com>
54038         [BZ #7066]
54039         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
54040         shifting retval into place.
54042 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
54044         * nis/rpcsvc/nis.h: Update copyright notice.
54045         * nis/rpcsvc/nis.x: Likewise.
54046         * nis/rpcsvc/nis_callback.h: Likewise.
54047         * nis/rpcsvc/nis_callback.x: Likewise.
54048         * nis/rpcsvc/nis_object.x: Likewise.
54049         * nis/rpcsvc/nis_tags.h: Likewise.
54050         * nis/rpcsvc/yp.h: Likewise.
54051         * nis/rpcsvc/yp.x: Likewise.
54052         * nis/rpcsvc/ypupd.h: Likewise.
54053         * nis/yp_xdr.c: Likewise.
54054         * nis/ypupdate_xdr.c: Likewise.
54056         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
54057         mainly the body of pmap_getport.  Add parameters to specify timeouts.
54058         (pmap_getport): Use __libc_rpc_getport.
54059         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
54060         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
54061         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
54063 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
54065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
54066         fanotify_mark.
54068 2010-08-27  Roland McGrath  <roland@redhat.com>
54070         * sysdeps/i386/i686/multiarch/Makefile
54071         (CFLAGS-varshift.c): New variable.
54073 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
54075         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
54076         * sysdeps/i386/i686/multiarch/varshift.c: New file.
54078         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
54080         * sysdeps/x86_64/strlen.S: Minimal code improvement.
54082 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
54084         * sysdeps/x86_64/strlen.S: Unroll the loop.
54085         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54086         strlen-sse2 strlen-sse2-bsf.
54087         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
54088         __strlen_no_bsf if bit_Slow_BSF is set.
54089         (__strlen_sse42): Removed.
54090         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
54091         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
54093 2010-08-25  Roland McGrath  <roland@redhat.com>
54095         * sysdeps/x86_64/multiarch/varshift.S: File removed.
54096         * sysdeps/x86_64/multiarch/varshift.c: New file.
54097         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
54098         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
54099         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
54100         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
54102 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
54104         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54105         strlen-sse2 strlen-sse2-bsf.
54106         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
54107         __strlen_sse2_bsf if bit_Slow_BSF is unset.
54108         (__strlen_sse2): Removed.
54109         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
54110         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
54111         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
54112         bit_Slow_BSF for Atom.
54113         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
54114         (index_Slow_BSF): Define.
54115         (HAS_SLOW_BSF): Define.
54117 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
54119         [BZ #10851]
54120         * resolv/res_init.c (__res_vinit): When no server address at all
54121         is given default to loopback.
54123 2010-08-24  Roland McGrath  <roland@redhat.com>
54125         * configure.in: Remove config-name.h generation.
54126         * configure: Regenerated.
54127         * config-name.in: File removed.
54128         * scripts/config-uname.sh: New file.
54129         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
54130         ($(objdir)config-name.h): New target.
54132         * sunrpc/rpc_parse.h: Avoid nested comment.
54134 2010-08-24  Richard Henderson  <rth@redhat.com>
54135             Ulrich Drepper  <drepper@redhat.com>
54136             H.J. Lu  <hongjiu.lu@intel.com>
54138         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
54139         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
54140         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
54141         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
54142         _mm_alignr_epi8 with _mm_loadu_si128.
54143         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
54144         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
54145         (__m128i_shift_right): Removed.
54146         * sysdeps/i386/i686/multiarch/varshift.h: New file.
54147         * sysdeps/i386/i686/multiarch/varshift.S: New file.
54148         * sysdeps/x86_64/multiarch/varshift.h: New file.
54149         * sysdeps/x86_64/multiarch/varshift.S: New file.
54151 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
54153         * configure.in: Move assembler checks to before sysdep dir checking.
54155 2010-08-20  Petr Baudis  <pasky@suse.cz>
54157         * LICENSES: Sync the sunrpc license.
54159 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
54161         * sunrpc/auth_des.c: Update copyright notice once again.
54162         * sunrpc/auth_none.c: Likewise.
54163         * sunrpc/auth_unix.c: Likewise.
54164         * sunrpc/authdes_prot.c: Likewise.
54165         * sunrpc/authuxprot.c: Likewise.
54166         * sunrpc/bindrsvprt.c: Likewise.
54167         * sunrpc/clnt_gen.c: Likewise.
54168         * sunrpc/clnt_perr.c: Likewise.
54169         * sunrpc/clnt_raw.c: Likewise.
54170         * sunrpc/clnt_simp.c: Likewise.
54171         * sunrpc/clnt_tcp.c: Likewise.
54172         * sunrpc/clnt_udp.c: Likewise.
54173         * sunrpc/clnt_unix.c: Likewise.
54174         * sunrpc/des_crypt.c: Likewise.
54175         * sunrpc/des_soft.c: Likewise.
54176         * sunrpc/get_myaddr.c: Likewise.
54177         * sunrpc/getrpcport.c: Likewise.
54178         * sunrpc/key_call.c: Likewise.
54179         * sunrpc/key_prot.c: Likewise.
54180         * sunrpc/openchild.c: Likewise.
54181         * sunrpc/pm_getmaps.c: Likewise.
54182         * sunrpc/pm_getport.c: Likewise.
54183         * sunrpc/pmap_clnt.c: Likewise.
54184         * sunrpc/pmap_prot.c: Likewise.
54185         * sunrpc/pmap_prot2.c: Likewise.
54186         * sunrpc/pmap_rmt.c: Likewise.
54187         * sunrpc/rpc/auth.h: Likewise.
54188         * sunrpc/rpc/auth_unix.h: Likewise.
54189         * sunrpc/rpc/clnt.h: Likewise.
54190         * sunrpc/rpc/des_crypt.h: Likewise.
54191         * sunrpc/rpc/key_prot.h: Likewise.
54192         * sunrpc/rpc/netdb.h: Likewise.
54193         * sunrpc/rpc/pmap_clnt.h: Likewise.
54194         * sunrpc/rpc/pmap_prot.h: Likewise.
54195         * sunrpc/rpc/pmap_rmt.h: Likewise.
54196         * sunrpc/rpc/rpc.h: Likewise.
54197         * sunrpc/rpc/rpc_des.h: Likewise.
54198         * sunrpc/rpc/rpc_msg.h: Likewise.
54199         * sunrpc/rpc/svc.h: Likewise.
54200         * sunrpc/rpc/svc_auth.h: Likewise.
54201         * sunrpc/rpc/types.h: Likewise.
54202         * sunrpc/rpc/xdr.h: Likewise.
54203         * sunrpc/rpc_clntout.c: Likewise.
54204         * sunrpc/rpc_cmsg.c: Likewise.
54205         * sunrpc/rpc_common.c: Likewise.
54206         * sunrpc/rpc_cout.c: Likewise.
54207         * sunrpc/rpc_dtable.c: Likewise.
54208         * sunrpc/rpc_hout.c: Likewise.
54209         * sunrpc/rpc_main.c: Likewise.
54210         * sunrpc/rpc_parse.c: Likewise.
54211         * sunrpc/rpc_parse.h: Likewise.
54212         * sunrpc/rpc_prot.c: Likewise.
54213         * sunrpc/rpc_sample.c: Likewise.
54214         * sunrpc/rpc_scan.c: Likewise.
54215         * sunrpc/rpc_scan.h: Likewise.
54216         * sunrpc/rpc_svcout.c: Likewise.
54217         * sunrpc/rpc_tblout.c: Likewise.
54218         * sunrpc/rpc_util.c: Likewise.
54219         * sunrpc/rpc_util.h: Likewise.
54220         * sunrpc/rpcinfo.c: Likewise.
54221         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
54222         * sunrpc/rpcsvc/key_prot.x: Likewise.
54223         * sunrpc/rpcsvc/klm_prot.x: Likewise.
54224         * sunrpc/rpcsvc/mount.x: Likewise.
54225         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
54226         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
54227         * sunrpc/rpcsvc/rex.x: Likewise.
54228         * sunrpc/rpcsvc/rstat.x: Likewise.
54229         * sunrpc/rpcsvc/rusers.x: Likewise.
54230         * sunrpc/rpcsvc/sm_inter.x: Likewise.
54231         * sunrpc/rpcsvc/spray.x: Likewise.
54232         * sunrpc/rpcsvc/yppasswd.x: Likewise.
54233         * sunrpc/rtime.c: Likewise.
54234         * sunrpc/svc.c: Likewise.
54235         * sunrpc/svc_auth.c: Likewise.
54236         * sunrpc/svc_authux.c: Likewise.
54237         * sunrpc/svc_raw.c: Likewise.
54238         * sunrpc/svc_run.c: Likewise.
54239         * sunrpc/svc_simple.c: Likewise.
54240         * sunrpc/svc_tcp.c: Likewise.
54241         * sunrpc/svc_udp.c: Likewise.
54242         * sunrpc/svc_unix.c: Likewise.
54243         * sunrpc/svcauth_des.c: Likewise.
54244         * sunrpc/xcrypt.c: Likewise.
54245         * sunrpc/xdr.c: Likewise.
54246         * sunrpc/xdr_array.c: Likewise.
54247         * sunrpc/xdr_float.c: Likewise.
54248         * sunrpc/xdr_mem.c: Likewise.
54249         * sunrpc/xdr_rec.c: Likewise.
54250         * sunrpc/xdr_ref.c: Likewise.
54251         * sunrpc/xdr_sizeof.c: Likewise.
54252         * sunrpc/xdr_stdio.c: Likewise.
54254         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
54255         handling.
54257 2010-08-19  Andreas Schwab  <schwab@redhat.com>
54259         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
54261 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
54263         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
54264         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
54265         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
54266         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
54267         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
54268         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
54269         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
54270         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
54271         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
54272         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
54273         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
54274         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
54275         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
54276         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
54278 2010-07-26  Anton Blanchard  <anton@samba.org>
54280         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
54281         * malloc/arena.c (heap_trim): Likewise.
54283 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
54285         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
54286         here.  Not...
54287         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
54288         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
54290 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
54292         * sysdeps/i386/elf/Makefile: New file.
54294 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
54296         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
54297         from fanotify_init.
54298         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
54299         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
54301 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
54303         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
54304         of strncasecmp_l.
54305         * sysdeps/multiarch/strcmp.S: Likewise.
54307 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
54309         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
54310         strncase_l-nonascii.
54311         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
54312         Add strncase_l-ssse3.
54313         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
54314         * sysdeps/x86_64/strcmp.S: Likewise.
54315         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
54316         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
54317         * sysdeps/x86_64/strncase.S: New file.
54318         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
54319         * sysdeps/x86_64/strncase_l.S: New file.
54320         * string/Makefile (strop-tests): Add strncasecmp.
54321         * string/test-strncasecmp.c: New file.
54323         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
54324         warning.
54326         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
54327         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
54329 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
54331         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
54333 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
54335         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
54336         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
54337         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
54339 2010-05-01  Alan Modra  <amodra@gmail.com>
54341         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
54342         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
54343         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
54344         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
54345         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
54346         tidying.  Don't tail-call __sigjmp_save for static lib.
54347         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
54348         save location.
54349         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
54350         (CALL_MCOUNT): Add eh info, and nop after bl.
54351         (TAIL_CALL_SYSCALL_ERROR): New macro.
54352         (PSEUDO_RET): Use it.
54353         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
54354         Correct save location of integer regs and cr.
54355         (_dl_profile_resolve): Correct cr save location.  Delete nops
54356         after bl when SHARED.  Reduce cfi size a little by better
54357         placement of cfi directives.
54358         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
54359         make a stack frame.  Instead use parm save area as a temp.
54360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
54361         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
54362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
54363         Don't make a stack frame for parent, use parm save area.
54364         Increase child stack frame to 112 bytes.  Don't save unused reg,
54365         and adjust reg usage.  Set up cfi on error recovery and
54366         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
54367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
54368         (__makecontext): Add dummy nop after jump to exit.
54369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
54370         Use correct parm save area and cr save, reduce stack frame.
54371         Correct cfi for possible PSEUDO_RET frame setup.
54372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
54373         Branch to local label emitted by PSEUDO_RET rather than
54374         __syscall_error.
54376 2010-08-12  Andreas Schwab  <schwab@redhat.com>
54378         [BZ #11904]
54379         * locale/programs/locale.c (print_assignment): New function.
54380         (show_locale_vars): Use it.
54382 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
54384         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
54385         field.
54386         (struct statfs64): Likewise.
54387         (_STATFS_F_FLAGS): Define.
54388         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
54389         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54390         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
54391         (ST_VALID): Define locally.
54392         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
54393         __statvfs_getflags, use the provided value.
54394         * sysdeps/unix/sysv/linux/kernel-features.h: Define
54395         __ASSUME_STATFS_F_FLAGS.
54397         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
54399         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
54400         Add sys/fanotify.h.
54401         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
54402         fanotify_mask for GLIBC_2.13.
54403         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
54404         fanotify_init and fanotify_mark.
54405         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
54406         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
54408         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
54409         Add prlimit.
54410         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
54411         prlimit64 for GLIBC_2.13.
54412         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
54413         prlimit64.
54414         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
54415         syscall.
54416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
54417         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
54418         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
54419         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
54420         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
54421         add prlimit alias.
54422         * sysdeps/unix/sysv/linux/prlimit.c: New file.
54424         [BZ #11903]
54425         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
54426         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
54428         * nss/Makefile: Add rules to build and run tst-nss-test1.
54429         * shlib-versions: Add entry for libnss_test1.
54430         * nss/nss_test1.c: New file.
54431         * nss/tst-nss-test1.c: New file.
54433         * nss/nsswitch.c (__nss_database_custom): Define new variable.
54434         (__nss_configure_lookup): Set appropriate entry in
54435         __nss_configure_lookup to true.
54436         * nss/nsswitch.h: Define enum with indeces of databases in
54437         databases and __nss_database_custom arrays.  Declare
54438         __nss_database_custom.
54439         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
54440         to avoid using nscd when custom rules are installed.
54441         * nss/getXXbyYY_r.c: Likewise.
54442         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
54444         * nss/nss_files/files-parse.c: Whitespace fixes.
54446 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
54448         [BZ #11883]
54449         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
54450         * posix/fnmatch_loop.c: Likewise.
54452 2010-07-17  Andi Kleen  <ak@linux.intel.com>
54454         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
54455         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
54456         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
54457         * Versions.def [GLIBC_2.13]: Add.
54459 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
54461         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
54462         Also fail if tpwd after pwuid call is NULL.
54464 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54466         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
54467         when converting to ms.
54469 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54471         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
54472         EOPNOTSUPP errors with ENOTTY.
54473         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
54474         EOPNOTSUPP errors with ENOTTY.
54476 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
54478         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
54479         Add strcasecmp_l-ssse3.
54480         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
54481         strcasecmp.
54482         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
54483         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
54484         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
54486 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
54488         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
54490         * string/Makefile (strop-tests): Add strcasecmp.
54491         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
54492         strcasecmp_l-nonascii.
54493         (gen-as-const-headers): Add locale-defines.sym.
54494         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
54495         * sysdeps/x86_64/strcasecmp.S: New file.
54496         * sysdeps/x86_64/strcasecmp_l.S: New file.
54497         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
54498         * sysdeps/x86_64/locale-defines.sym: New file.
54499         * string/test-strcasecmp.c: New file.
54501         * string/test-strcasestr.c: Test both ends of the range of characters.
54502         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
54504 2010-07-29  Roland McGrath  <roland@redhat.com>
54506         [BZ #11856]
54507         * manual/locale.texi (Yes-or-No Questions): Fix example code.
54509 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
54511         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
54512         for ld.so.
54514 2010-07-27  Andreas Schwab  <schwab@redhat.com>
54516         * manual/memory.texi (Malloc Tunable Parameters): Document
54517         M_PERTURB.
54519 2010-07-26  Roland McGrath  <roland@redhat.com>
54521         [BZ #11840]
54522         * configure.in (-fgnu89-inline check): Set and substitute
54523         gnu89_inline, not libc_cv_gnu89_inline.
54524         * configure: Regenerated.
54525         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
54527 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
54529         * string/test-strnlen.c: New file.
54530         * string/Makefile (strop-tests): Add strnlen.
54531         * string/tester.c (test_strnlen): Add a few more test cases.
54532         * string/tst-strlen.c: Better error reporting.
54534         * sysdeps/x86_64/strnlen.S: New file.
54536 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
54538         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
54539         lower-latency instructions.
54541 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
54543         * string/test-strcasestr.c: New file.
54544         * string/test-strstr.c: New file.
54545         * string/Makefile (strop-tests): Add strstr and strcasestr.
54546         * string/str-two-way.h: Don't undefine MAX.
54547         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
54549 2010-07-21  Andreas Schwab  <schwab@redhat.com>
54551         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54552         strcasestr-nonascii.
54553         (CFLAGS-strcasestr-nonascii.c): Define.
54554         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
54555         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
54556         Remove unused attribute.
54558 2010-07-20  Roland McGrath  <roland@redhat.com>
54560         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
54561         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
54562         ld.so.cache was broken.  With it, there is no way to disable dsocaps
54563         like LD_HWCAP_MASK can disable hwcaps.
54565 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
54567         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
54569 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
54571         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
54572         call in strcasestr.
54573         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
54574         __strcasestr_sse42_nonascii.
54575         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
54576         strcasestr-nonascii.c.
54577         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
54579 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
54581         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
54582         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
54583         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
54584         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
54586 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
54588         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
54589         fcntl.
54591 2010-07-06  Andreas Schwab  <schwab@redhat.com>
54593         [BZ #11577]
54594         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
54595         dl_signal_cerror.
54597 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
54599         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
54600         _PC_PIPE_BUF using F_GETPIPE_SZ.
54602 2010-07-05  Roland McGrath  <roland@redhat.com>
54604         * manual/arith.texi (Rounding Functions): Fix rint description
54605         implicit in round description.
54607 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
54609         * elf/Makefile: Fix linking for a few tests to make recent linker
54610         happy.
54612 2010-06-30  Andreas Schwab  <schwab@redhat.com>
54614         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
54615         $(common-objpfx)libc_nonshared.a.
54617 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
54619         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
54620         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
54621         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
54622         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
54623         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
54624         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
54625         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
54626         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
54627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
54628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
54629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
54630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
54631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
54632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
54633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
54634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
54635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
54636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
54637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
54638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
54639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
54640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
54641         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
54642         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
54643         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
54644         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
54645         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
54646         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
54647         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
54648         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
54649         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
54650         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
54651         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
54652         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
54653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
54654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
54655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
54656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
54657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
54658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
54659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
54660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
54661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
54662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
54663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
54664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
54665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
54666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
54668 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
54670         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
54671         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
54672         * string/memmove.c (memmove): Renamed to ...
54673         (MEMMOVE): ...this.  Default to memmove.
54674         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
54675         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
54676         (END_CHK): Define.
54677         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54678         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
54679         mempcpy-ssse3-back memmove-ssse3-back.
54680         * sysdeps/x86_64/multiarch/bcopy.S: New file .
54681         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
54682         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
54683         * sysdeps/x86_64/multiarch/memcpy.S: New file.
54684         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
54685         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
54686         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
54687         * sysdeps/x86_64/multiarch/memmove.c: New file.
54688         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
54689         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
54690         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
54691         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
54692         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
54693         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
54694         Define.
54695         (index_Fast_Copy_Backward): Define.
54696         (HAS_ARCH_FEATURE): Define.
54697         (HAS_FAST_REP_STRING): Define.
54698         (HAS_FAST_COPY_BACKWARD): Define.
54700 2010-06-21  Andreas Schwab  <schwab@redhat.com>
54702         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
54703         Restore proper fallback handling.
54705 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
54707         [BZ #11701]
54708         * posix/group_member.c (__group_member): Correct checking loop.
54710         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
54711         OOM in getpwuid_r correctly.  Return error number when the caller
54712         should return, otherwise -1.
54713         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
54714         call returning > 0 value.
54715         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
54717 2010-06-07  Andreas Schwab  <schwab@redhat.com>
54719         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
54720         libc_nonshared.a from targets in modules-names.
54722 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
54724         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
54725         requires it.
54727 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
54729         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
54730         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
54731         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
54732         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
54734 2010-06-02  Andreas Schwab  <schwab@redhat.com>
54736         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
54738 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
54740         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
54741         and F_GETPIPE_SZ.
54742         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
54743         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54744         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54745         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54746         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54747         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
54749 2010-06-14  Roland McGrath  <roland@redhat.com>
54751         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
54753 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
54755         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
54756         __REDIRECT followed by __THROW.
54757         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
54758         * posix/getopt.h (getopt): Likewise.
54760 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
54762         * hurd/lookup-at.c (__file_name_lookup_at): Accept
54763         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
54764         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
54765         in AT_FLAGS.
54766         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
54767         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
54769 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
54771         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
54773 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
54775         [BZ #11640]
54776         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54777         Properly check family and model.
54779 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
54781         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
54783 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
54785         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
54787 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
54789         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
54790         symbol reference.
54792 2010-05-19  Andreas Schwab  <schwab@redhat.com>
54794         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
54795         symbol reference.
54797 2010-05-21  Andreas Schwab  <schwab@redhat.com>
54799         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
54800         and internal_recvmmsg.
54801         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
54802         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
54803         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
54804         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
54806         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
54807         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
54808         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
54810 2010-05-20  Andreas Schwab  <schwab@redhat.com>
54812         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
54814 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
54816         POWER7 optimizations.
54817         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
54818         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
54820 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
54822         * version.h: Update for 2.13 development version.
54824 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
54826         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
54827         exceptions.  Return 0.
54829 2010-05-07  Roland McGrath  <roland@redhat.com>
54831         * elf/ldconfig.c (main): Add a const.
54833 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
54835         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
54836         (args_options): Add no-idn option.
54837         (ahosts_keys_int): Add idn_flags to ai_flags.
54838         (parse_option): Handle 'i' option to clear idn_flags.
54840         * malloc/malloc.c (_int_free): Possible race in the most recently
54841         added check.  Only act on the data if no current modification
54842         happened.
54844 See ChangeLog.17 for earlier changes.