ARM: Consolidate with generic unwinder wrapper code
[glibc.git] / ChangeLog
blob262e30015489d3a82e439ecb3ca5ae28a2d14b0f
1 2015-01-05  Roland McGrath  <roland@hack.frob.com>
3         * sysdeps/generic/unwind-resume.h: New file.
4         * sysdeps/gnu/unwind-resume.c: Include it.
5         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
6         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
7         argument list.
8         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
9         global rather than static.
10         (_Unwind_Resume): Update user.
11         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
12         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
13         rather than static.  Add __attribute__ ((cold)).
14         (_Unwind_Resume, __gcc_personality_v0): Update callers.
15         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
16         * sysdeps/arm/arm-unwind-resume.S: New file.
17         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
18         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
19         * sysdeps/arm/Makefile [$(subdir) = csu]
20         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
21         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
22         Add rt-arm-unwind-resume.
23         [$(subdir) = nptl]
24         (libpthread-sysdep_routines, libpthread-shared-only-routines):
25         Add pt-arm-unwind-resume.
26         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
27         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
29 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
31         [BZ #17748]
32         * include/fenv.h (__feholdexcept): Declare.  Use
33         libm_hidden_proto.
34         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
35         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
36         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
37         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
38         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
39         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
40         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
41         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
42         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
43         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
44         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
45         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
46         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
47         (feholdexcept): Likewise.
48         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
49         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
50         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
51         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
52         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
53         __feholdexcept instead of feholdexcept.
54         (default_libc_feholdexcept_setround): Likewise.
56 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
58         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
59         to avoid using stl/str to align destination.
61 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
63         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
65 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
67         [BZ #17796]
68         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
69         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
70         Define as weak alias not strong alias.
72 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
74         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
75         bltzal with addiupc.
76         (RTLD_START): Ditto.
78 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
80         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
81         for __vdso_* functions in declarations.
82         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
83         definitions.
84         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
85         INTERNAL_VSYSCALL): Use struct return types to check for error.
87         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
88         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
89         function with cast from llround().
90         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
91         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
92         Define.
94 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
96         [BZ #17793]
97         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
98         Define as weak alias not strong alias.
100         [BZ #17635]
101         * ctype/ctype-c99.c: New file.  isblank implementation moved from
102         ...
103         * ctype/ctype-extn.c: ... here.
104         (__isblank_l): Move to ...
105         * ctype/ctype-c99_l.c: ... here.  New file.
106         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
107         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
108         Remove variable.
109         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
110         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
111         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
112         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
113         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
115         [BZ #17777]
116         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
117         (posix_fadvise64): Define as weak alias not strong alias.
118         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
119         (posix_fallocate64): Likewise.
120         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
121         Remove variable.
122         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
123         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
124         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
125         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
126         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
128 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
130         [BZ #16191]
131         * NEWS: Mention bug fix.
132         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
133         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
134         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
135         (HOST_STACK_END_ADDR): Likewise.
137 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
139         [BZ #17748]
140         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
141         * math/fegetround.c (fegetround): Rename to __fegetround and
142         define as weak alias of __fegetround.  Use libm_hidden_weak.
143         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
144         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
145         * sysdeps/arm/fegetround.c (fegetround): Likewise.
146         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
147         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
148         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
149         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
150         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
151         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
152         Undefine after rather than before function definition; use
153         parentheses around function name in definition.
154         (__fegetround): Also undefine macro after function definition.
155         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
156         __fegetround and define as weak alias of __fegetround.  Use
157         libm_hidden_weak.  Do not undefine as macro.
158         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
159         Likewise.
160         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
161         __fegetround and define as weak alias of __fegetround.  Use
162         libm_hidden_weak.
163         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
164         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
165         * sysdeps/tile/math_private.h (__fegetround): New inline function.
166         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
167         __fegetround and define as weak alias of __fegetround.  Use
168         libm_hidden_weak.
169         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
170         __fegetround instead of fegetround.
172         [BZ #17782]
173         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
174         Condition macro definition on [__USE_MISC].
176         [BZ #17781]
177         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
178         (struct sigaction): Change type of sa_flags field to int.
180         [BZ #17780]
181         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
182         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
183         __glibc_reserved0.
185         * nptl/version.c (banner): Use single year in copyright notice.
187         * NEWS: Update copyright dates.
188         * catgets/gencat.c (print_version): Likewise.
189         * csu/version.c (banner): Likewise.
190         * debug/catchsegv.sh: Likewise.
191         * debug/pcprofiledump.c (print_version): Likewise.
192         * debug/xtrace.sh (do_version): Likewise.
193         * elf/ldconfig.c (print_version): Likewise.
194         * elf/ldd.bash.in: Likewise.
195         * elf/pldd.c (print_version): Likewise.
196         * elf/sotruss.sh: Likewise.
197         * elf/sprof.c (print_version): Likewise.
198         * iconv/iconv_prog.c (print_version): Likewise.
199         * iconv/iconvconfig.c (print_version): Likewise.
200         * locale/programs/locale.c (print_version): Likewise.
201         * locale/programs/localedef.c (print_version): Likewise.
202         * login/programs/pt_chown.c (print_version): Likewise.
203         * malloc/memusage.sh (do_version): Likewise.
204         * malloc/memusagestat.c (print_version): Likewise.
205         * malloc/mtrace.pl: Likewise.
206         * manual/libc.texinfo: Likewise.
207         * nptl/version.c (banner): Likewise.
208         * nscd/nscd.c (print_version): Likewise.
209         * nss/getent.c (print_version): Likewise.
210         * nss/makedb.c (print_version): Likewise.
211         * posix/getconf.c (main): Likewise.
212         * scripts/test-installation.pl: Likewise.
213         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
215 2015-01-02  Will Newton  <will.newton@linaro.org>
217         * sysdeps/arm/armv7/configure: Removed.
218         * sysdeps/arm/armv7/configure.ac: Likewise.
220 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
222         * All files with FSF copyright notices: Update copyright dates
223         using scripts/update-copyrights.
224         * intl/plural.c: Regenerated.
225         * locale/programs/charmap-kw.h: Likewise.
226         * locale/programs/locfile-kw.h: Likewise.
228 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
230         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
232 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
234         [BZ #17748]
235         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
236         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
237         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
238         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
239         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
240         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
241         define as weak alias of __fegetenv.  Use libm_hidden_weak.
242         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
243         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
244         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
245         define as weak alias of __fegetenv.  Use libm_hidden_weak.
246         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
247         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
248         define as weak alias of __fegetenv.  Use libm_hidden_weak.
249         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
250         libm_hidden_def.
251         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
252         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
253         Likewise.
254         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
255         define as weak alias of __fegetenv.  Use libm_hidden_weak.
256         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
257         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
258         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
259         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
260         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
261         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
262         __fegetenv instead of fegetenv.
263         (libc_feholdsetround_noex_ctx): Likewise.
265 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
267         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
268         (Elf_MIPS_ABIFlags_v0): New structure.
269         (EF_MIPS_FP64): Define.
270         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
271         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
272         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
273         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
274         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
275         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
276         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
277         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
278         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
279         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
280         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
281         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
282         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
283         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
284         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
285         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
286         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
287         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
288         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
289         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
290         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
291         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
292         field.
293         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
294         EF_MIPS_FP64.
295         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
296         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
297         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
298         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
299         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
300         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
301         * sysdeps/mips/tst-abi-interlink.c: Likewise.
302         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
303         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
304         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
305         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
306         record the current FP ABI extension.
307         (mips-mode-switch): Define to show if kernel headers support mode
308         switching.
309         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
310         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
311         supported SYSV ABI version to 3.
312         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
313         feature.
315 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
316             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
318         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
319         path.
320         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
322 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
324         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
325         __fegetround and redefine to call __fegetround.  Remove condition
326         on [!__NO_MATH_INLINES].
327         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
328         function.
329         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
330         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
331         Remove macro.
332         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
333         instead of <fenv_libc.h>.
334         (__llrintl): Call fegetround instead of __fegetround.
335         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
336         instead of <fenv_libc.h>.
337         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
338         (__lrintl): Call fegetround instead of __fegetround.
339         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
340         instead of <fenv_libc.h>.
341         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
342         (__rintl): Call fegetround instead of __fegetround.
344 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
346         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
347         arrays.
349 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
351         [BZ #17775]
352         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
353         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
354         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
356 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
358         * sysdeps/i386/tls-macros.h: Include <features.h>.
359         (TLS_LE): Use non-PIC version for GCC >= 5.0.
360         (TLS_IE): Likewise.
361         (TLS_LD): Likewise.
362         (TLS_GD): Likewise.
363         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
364         define for GCC >= 5.0.
366 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
368         * math/test-fenv.c (test_single_exception, set_single_exc,
369         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
370         feexcp_mask_test, feenable_test, fe_single_test): Add
371         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
372         case where they are not used.
373         * math/libm-test.inc: Likewise.
374         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
375         unused in the absence of FP rounding/exception support.
376         * stdio-common/tst-printf-round.c: Likewise.
377         * stdlib/tst-strtod-round.c: Likewise.
378         * stdlib/tst-strtod-underflow.c: Likewise.
380 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
382         [BZ #17723]
383         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
384         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
385         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
386         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
387         libm_hidden_weak.
388         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
389         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
390         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
391         libm_hidden_def.
392         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
393         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
394         libm_hidden_weak.
395         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
396         Likewise.
397         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
398         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
399         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
400         libm_hidden_weak.
401         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
402         libm_hidden_def.
403         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
404         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
405         (__feraiseexcept): Likewise.
406         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
407         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
408         libm_hidden_weak.
409         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
410         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
411         libm_hidden_def.
412         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
413         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
414         Use libm_hidden_def.
415         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
416         libm_hidden_def.
417         (feraiseexcept): Define as weak not strong alias.  Use
418         libm_hidden_weak.
419         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
420         New inline function.  Factored out of ...
421         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
422         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
423         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
424         feraiseexcept.
425         * math/w_acos.c (__acos): Likewise.
426         * math/w_asin.c (__asin): Likewise.
427         * math/w_ilogb.c (__ilogb): Likewise.
428         * math/w_j0.c (y0): Likewise.
429         * math/w_j1.c (y1): Likewise.
430         * math/w_jn.c (yn): Likewise.
431         * math/w_log.c (__log): Likewise.
432         * math/w_log10.c (__log10): Likewise.
433         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
434         * sysdeps/aarch64/fpu/math_private.h
435         (libc_feupdateenv_test_aarch64): Likewise.
436         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
437         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
438         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
439         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
440         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
441         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
442         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
443         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
444         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
445         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
447 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
449         [BZ #17732]
450         * io/test-utime.c (main): Replace %ld with %jd and cast to
451         intmax_t.
452         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
453         * nptl/tst-mutex5.c: Include <stdint.h>.
454         (do_test): Replace %ld with %jd and cast to intmax_t.
455         * posix/tst-regex.c (run_test): Likewise.
456         (run_test_backwards): Likewise.
457         * rt/tst-clock.c: Include <stdint.h>.
458         (clock_test): Replace %ld with %jd and cast to intmax_t.
459         * rt/tst-cpuclock1.c: Include <stdint.h>.
460         (do_test): Replace %lu with %ju and cast to uintmax_t.
461         * rt/tst-cpuclock2.c: Include <stdint.h>.
462         (do_test): Replace %lu with %ju and cast to uintmax_t.
463         * rt/tst-mqueue1.c: Include <stdint.h>.
464         (check_attrs): Replace %ld with %jd and cast to intmax_t.
465         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
466         intmax_t.
467         * rt/tst-mqueue4.c (do_test): Likewise.
468         * rt/tst-timer4.c: Include <stdint.h>.
469         (check_ts): Replace %ld with %jd and cast to intmax_t.
470         (do_test): Likewise.
471         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
472         and cast to intmax_t.
473         * sysdeps/pthread/tst-timer.c (main): Likewise.
474         * time/clocktest.c (main): Likewise.
475         * time/tst-posixtz.c (do_test): Likewise.
476         * timezone/tst-timezone.c (main): Likewise.
478 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
479             H.J. Lu  <hongjiu.lu@intel.com>
481         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
482         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
483         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
484         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
485         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
486         version if bit_Fast_Unaligned_Load is set.
487         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
488         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
489         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
490         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
491         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
492         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
493         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
494         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
495         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
496         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
497         to 4.
498         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
499         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
500         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
501         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
503 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
505         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
506         instead of #if to avoid a Wundef warning.
507         * stdlib/tst-limits.c (do_test): Likewise.
509         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
510         parallel other exception macros.
511         (fegetenv): Convert from macro to extern inline so that it applies
512         retroactively to inline functions already seen by the compiler.
513         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
515         * posix/Makefile (before-compile): Use $(objpfx) for
516         posix-conf-vars-def.h.
518 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
520         * posix/getconf.c (main): Use size_t for type of I.
521         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
522         NSPEC.
524         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
525         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
526         * posix/posix-envs.def: Likewise.
527         * sysdeps/posix/sysconf.c: Likewise.
528         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
529         (specs): Remove array.
530         * scripts/gen-posix-conf-vars.awk: Support generation of specs
531         array.
533         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
534         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
535         (__sysconf): Use CONF_IS_* macros.
537         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
538         ($(objpfx)posix-conf-vars-def.h): New target.
539         * posix/posix-conf-vars.list: New file.
540         * posix/posix-conf-vars.h: New file.
541         * posix/confstr.c: Include posix-conf-vars.h.
542         (confstr): Use CONF_IS_* macros.
543         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
544         CONF_IS_* macros.
545         * scripts/gen-posix-conf-vars.awk: New file.
547 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
549         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
550         fegetround): Add no-op macros to avoid linknamespace issues.
552         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
553         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
555         * sysdeps/unix/sysv/linux/tile/sysdep.h
556         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
557         assembly-specific section to avoid a redefinition warning.
559         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
560         long before casting to pointer to avoid a cast warning.
562 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
564         * sysdeps/tile/tilegx/Implies: New file.
566 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
568         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
570 2014-12-23  Florian Weimer  <fweimer@redhat.com>
572         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
574 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
576         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
577         not define.
578         * sysdeps/unix/sysv/linux/utimes.c: Do not include
579         <kernel-features.h>.
580         (__utimes) [__NR_utimes]: Make code unconditional.
581         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
582         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
583         (__ASSUME_UTIMES): Do not undefine.
584         * sysdeps/unix/sysv/linux/tile/kernel-features.h
585         (__ASSUME_UTIMES): Likewise.
586         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
587         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
588         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
589         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
591 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
593         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
595 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
597         [BZ #17747]
598         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
599         alias to weak alias for j0l, y0l.
600         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
601         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
603         [BZ #17746]
604         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
605         conversion.
607 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
609         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
610         to zero if not already defined.
612 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
614         [BZ #17724]
615         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
616         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
617         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
618         (char *) casts added.
619         * sysdeps/ieee754/k_standardf.c: New file.
620         * sysdeps/ieee754/k_standardl.c: Likewise.
621         * math/Makefile (libm-support): Remove k_standard.
622         (libm-calls): Add k_standard.
624 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
626         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
627         Optimize to avoid an unnecessary FPCR read.
629 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
631         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
632         Optimize to reduce FPCR/FPSR accesses.
634 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
636         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
637         Call libc_fetestexcept_aarch64.
639 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
641         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
642         Call libc_fesetround_aarch64.
644 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
646         [BZ #17733]
647         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
648         (__bind): Do not define as weak alias.
649         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
650         define.
651         (__getsockname): Do not define as weak alias.
653 2014-12-22  Will Newton  <will.newton@linaro.org>
655         * manual/install.texi: Document that we require bison 2.7
656         or above.
657         * INSTALL: Regenerate.
658         * configure.ac: Use AC_CHECK_PROG_VER instead of
659         AC_PATH_PROG when checking for bison and check for
660         version 2.7 or above.
661         * configure: Regenerate.
663 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
665         [BZ #17745]
666         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
667         * sysdeps/tile/ffsll.c (ffsll): To here.
669         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
671 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
673         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
674         if not defined.
675         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
676         definition.
677         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
678         hidden ___tls_get_addr.
679         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
680         hidden __tls_get_addr.
681         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
682         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
683         Likewise.
685 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
687         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
688         _dl_init call.
690 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
692         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
693         from "call _dl_init@PLT".
694         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
696 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
698         * manual/search.texi: (Array Sort Function): Clarify stable sorting
699         guarantees.
701 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
703         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
705 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
707         [BZ #17744]
708         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
709         strnlen.
711 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
713         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
714         of multu on MIPSr6.
715         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
716         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
717         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
718         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
719         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
721 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
723         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
724         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
725         (PTR_SUBU): Use subu for mips32r6/mips64r6.
726         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
727         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
728         mips32r6/mips64r6.
729         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
731 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
733         * string/strncat.c (STRNCAT): Simplify implementation.
735 2014-12-19  David S. Miller  <davem@davemloft.net>
737         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
738         access the quad as both a long double and as a series of 4 words.
740         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
741         link_map->l_info array access.
743 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
745         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
747         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
748         * math/atest-exp2.c (TIMEOUT): Likewise.
749         * math/atest-sincos.c (TIMEOUT): Likewise.
751 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
753         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
754         -Wno-error with -fno-builtin-lround.
756 2014-12-19  Torvald Riegel  <triegel@redhat.com>
758         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
759         Contains futex constants and functions moved over from ...
760         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
761         <lowlevellock-futex.h>.
762         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
763         (lll_timedwait_tid): Add comments and parentheses around macro
764         arguments.
766 2014-12-19  Torvald Riegel  <triegel@redhat.com>
768         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
769         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
770         (__lll_private_flag): Remove.
771         (lll_futex_wait): Likewise.
772         (lll_futex_timed_wait): Likewise.
773         (lll_futex_wake): Likewise.
774         (lll_futex_requeue): Likewise.
775         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
776         (__lll_timedwait_tid): Spell out argument names.
777         (lll_timedwait_tid): Add comments and parentheses around macro
778         arguments.
779         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
780         LLL_SHARED and LLL_PRIVATE usable from assembly code.
782 2014-12-19  Torvald Riegel  <triegel@redhat.com>
784         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
785         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
786         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
787         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
788         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
789         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
790         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
791         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
792         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
793         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
794         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
795         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
796         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
797         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
798         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
799         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
800         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
801         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
802         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
804 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
806         * sysdeps/x86_64/x32/Makefile: New file.
808 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
810         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
811         1L with (mp_limb_t) 1.
813 2014-12-17  Roland McGrath  <roland@hack.frob.com>
815         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
816         * nptl/libc_pthread_init.c: ... here.
817         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
818         * nptl/register-atfork.c: ... here.
820         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
821         Use pthread_sigmask rather than INTERNAL_SYSCALL.
822         Use assert_perror to check its return value.
823         (__gai_create_helper_thread): Likewise.
825         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
827         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
829 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
831         [BZ #17725]
832         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
833         __profil_counter.
834         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
835         Likewise.
836         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
837         Likewise.
838         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
839         Likewise.
840         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
841         (profil_counter): Likewise.
842         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
843         (profil_counter): Likewise.
844         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
845         Likewise.
846         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
847         Likewise.
848         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
849         (profil_counter): Likewise.
850         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
851         Likewise.
852         [!__profil_counter] (profil_counter): Define as weak alias of
853         __profil_counter.
854         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
855         (profil_counter): Rename to __profil_counter.
856         [!__profil_counter] (profil_counter): Define as weak alias of
857         __profil_counter.
858         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
859         (profil_counter): Rename to __profil_counter.
860         [!__profil_counter] (profil_counter): Define as weak alias of
861         __profil_counter.
862         * sysdeps/posix/profil.c: Update comment referring to
863         profil_counter.
864         (__profil): Use __profil_counter instead of profil_counter.
865         * sysdeps/posix/sprofil.c (profil_counter): Rename to
866         __profil_counter.  Use __profil_counter_ushort and
867         __profil_counter_uint in definitions.
868         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
869         instead of profil_counter_uint and profil_counter_ushort.
871         [BZ #17722]
872         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
873         define as weak alias of __inet_makeaddr.
874         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
875         as weak alias of __inet_addr.
876         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
877         as weak alias of __inet_pton.  Use libc_hidden_weak.
878         * include/arpa/inet.h (__inet_pton): Declare.  Use
879         libc_hidden_proto.
880         (inet_makeaddr): Don't use libc_hidden_proto.
881         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
882         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
883         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
884         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
885         Remove variable.
886         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
887         (test-xfail-POSIX/time.h/linknamespace): Likewise.
889 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
891         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
893 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
895         * stdio-common/bug-vfprintf-nargs.c (do_test):
896         Cast value to intptr_t to avoid format warning
897         for usage with PRIdPTR printing macro.
899 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
901         * libio/tst-widetext.c (do_test):
902         Use format type %td instead of %Zd for ptrdiff_t
903         in order to avoid format warning.
905 2014-12-17  Andreas Schwab  <schwab@suse.de>
907         * nscd/mem.c (gc): Add size_t cast to match printf format.
909 2014-12-16  Roland McGrath  <roland@hack.frob.com>
911         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
912         (init): Apply PTR_MANGLE to pointers before storing them.
913         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
914         before using them.
916 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
918         [BZ #17719]
919         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
920         define as weak alias of __memrchr.
921         (__memrchr): Do not define as strong alias of memrchr.
922         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
923         Remove variable.
924         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
925         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
926         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
928         [BZ #17717]
929         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
930         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
931         (if_indextoname): Rename to __if_indextoname and define as weak
932         alias of __if_indextoname.  Use libc_hidden_weak.
933         (if_freenameindex): Rename to __if_freenameindex and define as
934         weak alias of __if_freenameindex.
935         (if_nameindex): Rename to __if_nameindex and define as weak alias
936         of __if_nameindex.
937         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
938         __if_nametoindex and define as weak alias of __if_nametoindex.
939         Use libc_hidden_weak.
940         (if_freenameindex): Rename to __if_freenameindex and define as
941         weak alias of __if_freenameindex.
942         (if_nameindex): Rename to __if_nameindex and define as weak alias
943         of __if_nameindex.
944         (if_indextoname): Rename to __if_indextoname and define as weak
945         alias of __if_indextoname.  Use libc_hidden_weak.
946         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
947         __if_nametoindex and define as weak alias of __if_nametoindex.
948         Use libc_hidden_weak.
949         (if_freenameindex): Rename to __if_freenameindex and define as
950         weak alias of __if_freenameindex.  Use libc_hidden_weak.
951         (if_nameindex_netlink): Use __if_freenameindex instead of
952         if_freenameindex.
953         (if_nameindex): Rename to __if_nameindex and define as weak alias
954         of __if_nameindex.  Use libc_hidden_weak.
955         (if_indextoname): Rename to __if_indextoname and define as weak
956         alias of __if_indextoname.  Use libc_hidden_weak.
957         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
958         libc_hidden_proto.
959         [!_ISOMAC] (__if_freenameindex): Likewise.
960         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
961         if_nametoindex.
962         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
963         variable.
964         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
965         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
966         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
967         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
968         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
969         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
970         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
972         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
973         Remove variable.
974         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
975         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
977 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
979         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
980         subscript above bounds'
982         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
983         bounds.
985 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
987         * libio/tst-fopenloc.c: Use test-skeleton.c.
989         * stdlib/tst-bsearch.c: Use test-skeleton.c.
990         (entry): Rename to ITEM.
991         (do_test, comp): Adjust.
993         * stdio-common/tst-fseek.c: Use test-skeleton.c.
995 2014-12-16  Torvald Riegel  <triegel@redhat.com>
997         * string/tester.c: Include <libc-internal.h>.
998         (test_memset): Ignore -Wmemset-transposed-args.
1000 2014-12-16  Torvald Riegel  <triegel@redhat.com>
1002         * misc/tst-mntent2.c (do_test): Fix warning.
1004 2014-12-16  Torvald Riegel  <triegel@redhat.com>
1006         * elf/tst-unique4lib.cc(a): Mark as used.
1008 2014-12-16  Florian Weimer  <fweimer@redhat.com>
1010         [BZ #17630]
1011         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
1012         names.
1014 2014-12-16  Allan McRae  <allan@archlinux.org>
1016         * stdio-common/Makefile (tests): Re-add bug26.
1018 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
1020         [BZ #17657]
1021         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
1022         static array.
1024 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
1026         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
1027         (__lll_lock_wait): Likewise.
1028         (__lll_timedlock_wait): Likewise.
1029         (__lll_timedwait_tid): Likewise.
1030         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
1031         (__lll_robust_timedlock_wait): Likewise.
1032         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
1033         (lll_cond_trylock): Likewise.
1034         (__lll_lock): Likewise.
1035         (__lll_robust_lock): Likewise.
1036         (__lll_cond_lock): Likewise.
1037         (lll_robust_cond_lock): Likewise.
1038         (__lll_timedlock): Likewise.
1039         (__lll_robust_timedlock): Likewise.
1040         (__lll_unlock): Likewise.
1041         (__lll_robust_unlock): Likewise.
1042         (lll_wait_tid): Likewise.
1043         (lll_timedwait_tid): Likewise.
1045 2014-12-15  Torvald Riegel  <triegel@redhat.com>
1047         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
1049 2014-12-15  Torvald Riegel  <triegel@redhat.com>
1051         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
1053 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
1055         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
1056         * stdio-common/tst-sprintf.c: Likewise.
1058 2014-12-15  Torvald Riegel  <triegel@redhat.com>
1060         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
1062 2014-12-15  Jeff Law  <law@redhat.com>
1064         [BZ #16617]
1065         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
1066         on the heap.  (CVE-2012-3406)
1067         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
1068         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
1069         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
1071 2014-12-15  Will Newton  <will.newton@linaro.org>
1073         * manual/install.texi: Bump required version of texinfo
1074         to 4.7 from 4.5.
1075         * INSTALL: Regenerated.
1076         * configure.ac: Check for makeinfo version 4.7 and above.
1077         * configure: Regenerated.
1079 2014-12-12  Roland McGrath  <roland@hack.frob.com>
1081         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
1082         PREFIX, string constant to insert between directory and name.
1083         * sysdeps/posix/shm_open.c: Update caller.
1084         * sysdeps/posix/shm_unlink.c: Likewise.
1085         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
1086         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
1087         (SEM_SHM_PREFIX): New macro.
1088         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
1089         [$(have-thread-library) = no].
1090         * nptl/Makefile (libpthread-routines): Add shm-directory.
1091         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
1092         * sysdeps/nptl/shm-directory.h: New file.
1093         * sysdeps/posix/shm-directory.c
1094         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
1095         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
1096         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
1097         INTERNAL_SYSCALL.
1098         (__where_is_shmfs): Function removed.
1099         (mountpoint, defaultmount, defaultdir, __namedsem_once):
1100         Variables removed.
1101         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
1102         Use SHM_GET_NAME.
1103         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
1105         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
1106         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
1107         unconditional for use inside libpthread.
1108         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
1110 2014-12-12  Roland McGrath  <roland@hack.frob.com>
1112         * nptl/pthread_getaffinity.c: New file.
1113         * nptl/pthread_setaffinity.c: New file.
1114         * nptl/pthread_getname.c: New file.
1115         * nptl/pthread_setname.c: New file.
1117         * nptl/pthread_create.c (START_THREAD_DEFN)
1118         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
1120 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
1121             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1123         * resolv/res_send.c (send_vc): Disable warning resplen may
1124         be used uninitialized.
1126 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
1128         * nptl/tst-mutex6.c
1129         (ATTR_NULL): New define checks ATTR against NULL.
1130         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
1131         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
1133 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
1135         [BZ #17581]
1136         * malloc/hooks.c
1137         (mem2mem_check): Revert my previous change.
1138         (malloc_check_get_size): Revert my previous change.
1139         (mem2chunk_check): Revert my previous change.
1141 2014-12-11  Roland McGrath  <roland@hack.frob.com>
1143         * sysdeps/posix/shm-directory.c: New file.
1144         * sysdeps/posix/shm-directory.h: New file.
1145         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
1146         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
1147         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
1148         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
1149         Transmute EPERM to EACCES.
1150         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
1151         from ...
1152         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
1153         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
1155 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1157         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
1158         pointer and cast to uintptr_t.
1159         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
1160         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
1161         Add cast to avoid warning.
1162         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
1164 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
1166         * nptl/semaphore.h: Move to ...
1167         * sysdeps/pthread/semaphore.h: ... here.
1168         * Makefile (installed-headers): Change nptl/semaphore.h to
1169         sysdeps/pthread/semaphore.h.
1171 2014-12-11  Roland McGrath  <roland@hack.frob.com>
1173         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
1174         generated error format strings.
1176         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
1177         -Wformat-extra-args warnings for scanf formats.
1178         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
1179         test of zero-length format (duh).
1180         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
1181         corner-case scanf format test.
1182         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
1183         generated fprintf format string.
1184         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
1185         corner-case sprintf format tests.
1186         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
1187         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
1188         -Wformat-extra-args warnings throughout.
1189         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
1190         (CFLAGS-scanf4.c): Likewise.
1191         (CFLAGS-scanf7.c): Likewise.
1192         (CFLAGS-tst-sprintf.c): Likewise.
1193         (CFLAGS-tst-printf.c): Likewise.
1194         (CFLAGS-tst-printfsz.c): Likewise.
1196 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
1198         * include/cpio.h: New file.
1199         * include/fmtmsg.h: Likewise.
1201         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
1202         corresponding format argument to size_t.
1203         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
1204         arguments.
1205         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
1206         corresponding format argument to size_t.
1207         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
1208         arguments.
1209         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
1210         corresponding format argument to size_t.
1211         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
1212         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
1213         (CFLAGS-tst-mbswcs2.c): Likewise.
1214         (CFLAGS-tst-mbswcs3.c): Likewise.
1215         (CFLAGS-tst-mbswcs4.c): Likewise.
1216         (CFLAGS-tst-mbswcs5.c): Likewise.
1217         (CFLAGS-tst-trans.c): Likewise
1219 2014-12-11  Roland McGrath  <roland@hack.frob.com>
1221         * posix/regexbug1.c (main): Use "%s" format with regerror results,
1222         rather than assuming they won't contain any '%'s.
1224 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
1226         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
1227         inhibit_loop_to_libcall to avoid recursive calls.
1228         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
1229         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
1231 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
1233         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
1234         prototype.
1236 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
1238         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
1239         integer value instead of boolean.
1241 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
1243         * malloc/malloc.c: Fix powerof2 check.
1245 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
1247         * locale/programs/locfile.h (maybe_swap_uint32):
1248         Remove inline and add unused attribute.
1250 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
1252         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1253         Truncating assembler expression to a .long expression.
1255 2014-12-11  Andreas Schwab  <schwab@suse.de>
1257         * elf/rtld.c (struct map_args): Constify str member.
1258         (do_preload): Constify fname argument.
1260 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1262         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
1263         constants definition.
1265 2014-12-11  Andreas Schwab  <schwab@suse.de>
1267         [BZ #16657]
1268         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
1269         FORCE_ELISION instead of DO_ELISION.
1270         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
1271         Remove.
1272         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
1273         Likewise.
1275         * iconvdata/gconv-modules: Remove duplicate entry.
1277 2014-12-11  Will Newton  <will.newton@linaro.org>
1279         Merge gettext 0.19.3 into intl/.
1281         This involves a number of cosmetic changes to comments
1282         and ANSI function definitions and prototypes throughout
1283         all the files. The gettext copyright header is used but
1284         with the date ranges taken from the glibc copy.
1286         * NEWS: Add gettext merge to 2.21.
1287         * intl/bindtextdom.c: Switch to gettext copyright.
1288         Use ANSI definitions and prototypes.
1289         Use gl_* locking primitives rather than __libc_* ones.
1290         Use __builtin_expect rather than __glibc_likely/unlikely.
1291         * intl/dcgettext.c: Switch to gettext copyright.
1292         Use ANSI definitions and prototypes.
1293         * intl/dcigettext.c: Switch to gettext copyright.
1294         Use ANSI definitions and prototypes.
1295         (INTDIV0_RAISES_SIGFPE): New define.
1296         Use gl_* locking primitives rather than __libc_* ones.
1297         Include eval-plural.h instead of plural-eval.c.
1298         Use __builtin_expect rather than __glibc_likely/unlikely.
1299         * intl/dcngettext.c: Switch to gettext copyright.
1300         Use ANSI definitions and prototypes.
1301         * intl/dgettext.c: Likewise.
1302         * intl/dngettext.c: Likewise.
1303         * intl/plural-eval.c: Renamed to...
1304         * intl/eval-plural.h: ...this.
1305         * intl/explodename.c: Switch to gettext copyright.
1306         Use ANSI definitions and prototypes.
1307         (_nl_explode_name): Use strchr instead of __rawmemchr.
1308         * intl/finddomain.c: Switch to gettext copyright.
1309         Use ANSI definitions and prototypes.
1310         Use gl_* locking primitives rather than __libc_* ones.
1311         (_nl_find_domain): Use malloc rather than alloca for
1312         allocation of temporary locale name.
1313         * intl/gettext.c: Switch to gettext copyright.
1314         Use ANSI definitions and prototypes.
1315         * intl/gettextP.h: Switch to gettext copyright.
1316         Use ANSI definitions and prototypes.
1317         Use gl_* locking primitives rather than __libc_* ones.
1318         * intl/gmo.h: Switch to gettext copyright.
1319         (struct sysdep_string): Move struct segment_pair outside of
1320         struct definition.
1321         * intl/hash-string.c: Use ANSI definitions and prototypes.
1322         * intl/hash-string.h: Switch to gettext copyright.
1323         Use ANSI definitions and prototypes.
1324         * intl/l10nflist.c: Switch to gettext copyright.
1325         Use ANSI definitions and prototypes.
1326         (_nl_normalize_codeset): Avoid integer overflow.
1327         * intl/loadinfo.h: Switch to gettext copyright.
1328         Use ANSI definitions and prototypes.
1329         (LIBINTL_DLL_EXPORTED): New define.
1330         (PATH_SEPARATOR): New define.
1331         * intl/loadmsgcat.c: Switch to gettext copyright.
1332         * intl/localealias.c: Switch to gettext copyright.
1333         Use ANSI definitions and prototypes.
1334         (_nl_expand_alias): Use PATH_SEPARATOR.
1335         * intl/ngettext.c: Switch to gettext copyright.
1336         Use ANSI definitions and prototypes.
1337         * intl/plural-exp.c: Likewise.
1338         * intl/plural-exp.h: Switch to gettext copyright.
1339         Use ANSI definitions and prototypes.
1340         (struct expression): Move definition of enum operator outside
1341         of struct definition.
1342         * intl/plural.c: Regenerate.
1343         * intl/plural.y: Switch to gettext copyright.
1344         Use ANSI definitions and prototypes.
1345         Port to bison 3.0.
1346         * intl/textdomain.c: Switch to gettext copyright.
1347         Use ANSI definitions and prototypes.
1348         Use gl_* locking primitives rather than __libc_* ones.
1350 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
1352         * debug/warning-nop.c: Add used atrribute.
1354 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
1356         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
1358         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
1359         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
1360         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
1362 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
1363             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1365         [BZ #17634]
1366         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
1367         Undefine after defining function.  Define as weak alias of
1368         __wcschr.  Use libc_hidden_weak.
1369         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
1370         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
1371         (libc_hidden_def): Also define __GI___wcschr alias.
1372         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
1373         __wcschr and define as weak alias of __wcschr.
1374         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
1375         __wcschr.
1376         [!WCSCHR] (DEFAULT_WCSCHR): Define.
1377         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
1378         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
1379         libc_hidden_weak.  Do not use libc_hidden_def.
1380         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
1381         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
1382         __GI___wcschr alias.
1383         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
1384         [IS_IN (libc)] (wcschr): Define as macro expanding to
1385         __redirect_wcschr.
1386         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
1387         [IS_IN (libc)] (__wcschr_power6): Likewise.
1388         [IS_IN (libc)] (__wcschr_power7): Likewise.
1389         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
1390         instead of wcschr.
1391         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
1392         __libc_wcschr.
1393         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
1394         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
1395         __wcschr and define as weak alias of __wcschr.  Use
1396         libc_hidden_builtin_def.
1397         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
1398         as weak alias of __wcschr.  Use libc_hidden_weak.
1399         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
1400         wcschr.
1401         * time/era.c (_nl_init_era_entries): Likewise.
1402         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
1403         variable.
1404         (test-xfail-XPG3/time.h/linknamespace): Likewise.
1405         (test-xfail-XPG4/time.h/linknamespace): Likewise.
1407 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
1409         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
1410         format for long int variable.
1412 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
1414         [BZ #10672]
1415         * manual/search.texi: (Array Sort Function): Remove claim how to make
1416         qsort stable.
1418 2014-12-10  Andreas Schwab  <schwab@suse.de>
1420         [BZ #12847]
1421         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
1422         user-controlled locks.
1424 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
1426         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
1427         register.
1429 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
1431         * configure.ac (--disable-werror): New configure option.
1432         (enable_werror): New AC_SUBST.
1433         * configure: Regenerated.
1434         * config.make.in (enable-werror): New variable.
1435         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
1436         -Wno-error=undef.
1437         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
1438         * manual/install.texi (Configuring and compiling): Document
1439         --disable-werror.
1440         * INSTALL: Regenerated.
1441         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
1442         (CFLAGS-tst-chk2.c): Likewise.
1443         (CFLAGS-tst-chk3.c): Likewise.
1444         (CFLAGS-tst-chk4.cc): Likewise.
1445         (CFLAGS-tst-chk5.cc): Likewise.
1446         (CFLAGS-tst-chk6.cc): Likewise.
1447         (CFLAGS-tst-lfschk1.c): Likewise.
1448         (CFLAGS-tst-lfschk2.c): Likewise.
1449         (CFLAGS-tst-lfschk3.c): Likewise.
1450         (CFLAGS-tst-lfschk4.cc): Likewise.
1451         (CFLAGS-tst-lfschk5.cc): Likewise.
1452         (CFLAGS-tst-lfschk6.cc): Likewise.
1454         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
1455         (main): Disable -Wdeprecated-declarations around calls to
1456         register_printf_function.
1458         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
1459         (do_test): Disable -Wdiv-by-zero around some calls to
1460         fwrite_unlocked and fread_unlocked.
1462         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
1463         (DIAG_POP_NEEDS_COMMENT): Likewise.
1464         (_DIAG_STR1): Likewise.
1465         (_DIAG_STR): Likewise.
1466         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
1467         * stdio-common/bug21.c: Include <libc-internal.h>.
1468         (do_test): Disable -Wformat around call to sscanf.
1469         * stdio-common/scanf14.c: Include <libc-internal.h>.
1470         (main): Disable -Wformat around some calls to scanf functions.
1472 2014-12-09  Torvald Riegel  <triegel@redhat.com>
1474         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
1476 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1478         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
1479         stack variable alignment.
1481 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
1483         [BZ #17682]
1484         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
1485         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
1486         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
1487         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
1488         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
1489         __getrlimit instead of getrlimit.
1490         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
1491         __gettimeofday instead of gettimeofday.
1492         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1493         Likewise.
1494         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1495         Likewise.
1496         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
1497         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
1498         Remove variable.
1499         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
1500         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
1502 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1504         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
1505         for wide-character tests.
1507 2014-12-04  Roland McGrath  <roland@hack.frob.com>
1509         * io/openat64.c: #include <libc-internal.h>
1510         (__openat64): Prototypify.  Use ignore_value on MODE.
1511         * io/openat.c: Likewise.
1512         * misc/reboot.c: #include <libc-internal.h>
1513         (reboot): Prototypify.  Use ignore_value on HOWTO.
1514         * misc/ptrace.c: #include <libc-internal.h>
1515         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
1517 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
1519         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
1520         XPG4, UNIX98 and XOPEN2K.
1521         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
1522         Remove variable.
1523         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
1525 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1527         * libio/fileops.c: Use ISO C style for function definitions.
1528         * libio/iofopen.c: Likewise.
1529         * libio/wfileops.c: Likewise.
1531         [BZ #17653]
1532         * libio/fileops.c (_IO_new_file_underflow): Unset cached
1533         offset on EOF.
1534         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
1535         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
1536         (fgets_func): Function pointer to fgets and fgetws.
1537         (do_ftell_test): Add test to verify ftell value after read
1538         EOF.
1539         (do_test): Set fgets_func.
1541         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
1542         O_TRUNC flag for w and w+ modes.
1543         (do_rewind_test): Likewise.
1544         (do_ftell_test): Likewise.
1545         (do_write_test): Likewise.
1547         [BZ #17647]
1548         * libio/fileops.c (do_ftell): Seek only when there are
1549         unflushed writes.
1550         * libio/wfileops.c (do_ftell_wide): Likewise.
1551         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
1552         test case.
1553         (do_one_test): Call it.
1555 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
1557         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
1558         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
1559         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
1560         Remove variable.
1561         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
1562         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
1563         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
1565 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
1567         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
1568         Remove variable.
1569         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
1571         [BZ #17668]
1572         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
1573         as weak alias of __getifaddrs.  Use libc_hidden_weak.
1574         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1575         __freeifaddrs.  Use libc_hidden_weak.
1576         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
1577         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
1578         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1579         __freeifaddrs.  Use libc_hidden_weak.
1580         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
1581         __getifaddrs and define as weak alias of __getifaddrs.  Use
1582         libc_hidden_weak.
1583         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1584         __freeifaddrs.  Use libc_hidden_weak.
1585         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
1586         Remove variable.
1587         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
1588         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
1590 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
1592         [BZ #17601]
1593         * sysdeps/mips/start.S (__start): Use indirect jump to call
1594         __libc_start_main.
1596 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
1598         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
1600         * nptl/tst-mutex1.c: Include <stdbool.h>.
1601         [!ATTR] (ATTR_NULL): New macro.
1602         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
1603         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
1604         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
1606         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
1607         to char *.
1609         [BZ #17665]
1610         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
1611         Change conditional to [__USE_MISC].
1613         [BZ #17664]
1614         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
1615         fgets_unlocked.
1616         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
1617         __fgets_unlocked.
1618         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
1619         fgets_unlocked.
1620         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
1621         Remove variable.
1622         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
1623         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
1624         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
1625         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
1626         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
1627         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
1628         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
1629         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
1630         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
1632         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
1634 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1636         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1637         Remove strpbrk objects.
1638         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1639         (__libc_ifunc_impl_list): Remove strpbrk implementation.
1640         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
1641         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
1642         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
1643         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
1645         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1646         Remove strcspn objects.
1647         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1648         (__libc_ifunc_impl_list): Remove strcspn implementation.
1649         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
1650         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
1651         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
1652         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
1654         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1655         Remove strspn objetcs.
1656         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1657         (__libc_ifunc_impl_list): Remove strspn implementation.
1658         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
1659         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
1660         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
1661         * sysdeps/powerpc/powerpc64/strspn.S: New file.
1663 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
1665         [BZ #17581]
1666         * malloc/hooks.c
1667         (mem2mem_check): Add a terminator to the chain of checking blocks.
1668         (malloc_check_get_size): Use it here.
1669         (mem2chunk_check): Ditto.
1671 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1673         * sysdeps/powerpc/powerpc64/strtok.S: New file.
1674         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
1676 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
1678         * bits/ioctl-types.h: Indent preprocessor directives correctly.
1680         * nptl/nptl-init.c: Include libc-internal.h.
1681         (__pthread_initialize_minimal_internal): Use ROUND_UP.
1683         * elf/ldconfig.c (search_dir): Expand comment.
1685 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
1687         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
1688         variable.
1689         (linknamespace-symlist-stdlibs-tests): Likewise.
1690         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
1691         instead of $(objpfx)symlist-stdlibs.
1692         (linknamespace-libs-isoc): New variable.
1693         (linknamespace-libs): Use $(linknamespace-libs-isoc).
1694         (linknamespace-libs-ISO): New variable.
1695         (linknamespace-libs-ISO99): Likewise.
1696         (linknamespace-libs-ISO11): Likewise.
1697         (linknamespace-libs-XPG3): Likewise.
1698         (linknamespace-libs-XPG4): Likewise.
1699         (linknamespace-libs-POSIX): Likewise.
1700         (linknamespace-libs-UNIX98): Likewise.
1701         (linknamespace-libs-XOPEN2K): Likewise.
1702         (linknamespace-libs-POSIX2008): Likewise.
1703         (linknamespace-libs-XOPEN2K8): Likewise.
1704         ($(objpfx)symlist-stdlibs): Replace by
1705         $(linknamespace-symlist-stdlibs-tests).  Use
1706         $(linknamespace-libs-$*) as set of libraries.
1707         ($(linknamespace-header-tests)): Update dependencies.  Use
1708         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
1709         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
1710         * conform/linknamespace.pl: Remove comment about considering
1711         definitions of symbols from irrelevant libraries.
1713 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
1715         [BZ #13862]
1716         * elf/dl-tls.c: Include <atomic.h>.
1717         (oom): Remove #ifdef SHARED/#endif.
1718         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
1719         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
1720         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
1721         big enough.
1722         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
1723         * nptl/Makefile (tests): Add tst-stack4.
1724         (modules-names): Add tst-stack4mod.
1725         ($(objpfx)tst-stack4): New.
1726         (tst-stack4mod.sos): Likewise.
1727         ($(objpfx)tst-stack4.out): Likewise.
1728         ($(tst-stack4mod.sos)): Likewise.
1729         (clean): Likewise.
1730         * nptl/tst-stack4.c: New file.
1731         * nptl/tst-stack4mod.c: Likewise.
1733 2014-11-27  J. Brown  <jb999@gmx.de>
1735         * sysdeps/x86/bits/string.h: Add recent CPUs.
1737 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
1739         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
1740         sigblock.
1742         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
1743         feof.
1745         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
1746         variable.
1748 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
1750         * nscd/connections.c: Include libc-internal.h because of macro
1751         usage ignore_value.
1753 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
1755         * string/bits/string3.h (__warn_memset_zero_len): Don't
1756         declare for gcc newer than 5.0.
1757         (memset): Don't test for zero-length __LEN for gcc newer than
1758         5.0.
1760 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
1762         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
1763         size_t for %zu format.
1765         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
1766         difference, not %ju.
1768 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
1770         * include/libc-internal.h (ignore_value): New macro.
1771         * nscd/connections.c (restart): Wrap calls to setuid and setgid
1772         with ignore_value.
1774         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
1775         definition.
1777         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
1778         pthread_cleanup_push to void *.
1780         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
1781         Undefine.
1783         [BZ #16619]
1784         [BZ #16740]
1785         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
1786         instead of 1L << 52.
1788         * libio/bug-rewind.c (do_test): Check fwscanf return values.
1789         * libio/bug-rewind2.c (do_test): Likewise.
1791         * debug/test-stpcpy_chk-ifunc.c: Remove file.
1792         * debug/test-strcpy_chk-ifunc.c: Likewise.
1793         * wcsmbs/test-wcschr-ifunc.c: Likewise.
1794         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
1795         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
1796         * wcsmbs/test-wcslen-ifunc.c: Likewise.
1797         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
1798         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
1799         * Rules [$(multi-arch) = no] (tests): Do not filter out
1800         $(tests-ifunc).
1801         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
1802         * debug/Makefile (tests-ifunc): Remove variable.
1803         (tests): Do not add $(tests-ifunc).
1804         * wcsmbs/Makefile (tests-ifunc): Remove variable.
1805         (tests): Do not add $(tests-ifunc).
1806         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
1807         [TEST_IFUNC]: Remove conditionals.
1808         * string/test-string.h (TEST_IFUNC): Remove macro.
1809         [TEST_IFUNC]: Remove conditionals.
1811         * string/test-strchr.c [!WIDE] (L): New macro.
1812         [WIDE] (L): Likewise.
1813         (check1): Use CHAR instead of char.  Use L on string and character
1814         constants.
1816 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
1818         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
1819         tests.
1820         * sysdeps/powerpc/bits/atomic.h
1821         (__arch_atomic_exchange_and_add_32_acq): Add definition.
1822         (__arch_atomic_exchange_and_add_32_rel): Likewise.
1823         (atomic_exchange_and_add_acq): Likewise.
1824         (atomic_exchange_and_add_rel): Likewise.
1825         * sysdeps/powerpc/powerpc32/bits/atomic.h
1826         (__arch_atomic_exchange_and_add_64_acq): Add definition.
1827         (__arch_atomic_exchange_and_add_64_rel): Likewise.
1828         * sysdeps/powerpc/powerpc64/bits/atomic.h
1829         (__arch_atomic_exchange_and_add_64_acq): Add definition.
1830         (__arch_atomic_exchange_and_add_64_rel): Likewise.
1832 2014-11-26  Torvald Riegel  <triegel@redhat.com>
1834         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
1835         Change synchronization of __sched_fifo_min_prio and
1836         __sched_fifo_max_prio.
1837         * nptl/pthread_mutexattr_getprioceiling.c
1838         (pthread_mutexattr_getprioceiling): Likewise.
1839         * nptl/pthread_mutexattr_setprioceiling.c
1840         (pthread_mutexattr_setprioceiling): Likewise.
1841         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
1842         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
1843         Likewise.
1845 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
1847         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
1848         void.
1850 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
1852         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
1853         third argument const.
1855 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
1857         fnmatch: work around GCC compiler warning bug with uninit var
1858         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
1859         This works around a bug with x86-64 GCC 4.9.2 and earlier
1860         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
1861         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
1862         used uninitialized in this function [-Wmaybe-uninitialized]".
1864 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
1866         * posix/bug-regex31.c (main): Return RES not 0.
1868 2014-11-25  Anton Blanchard <anton@samba.org>
1870         * sysdeps/powerpc/bits/atomic.h
1871         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
1873 2014-11-24  Sterling Augustine  <saugustine@google.com>
1875         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
1877 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
1879         [BZ #17608]
1880         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
1882 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
1884         [BZ #17633]
1885         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
1886         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
1887         variable.
1888         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
1889         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
1891 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
1893         * string/strncpy.c (strncpy): Improve performance by using memset.
1895 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
1897         * string/strcpy.c (strcpy):
1898         Improve performance by using strlen and memcpy.
1900 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
1902         * string/strcoll_l.c (get_next_seq): __always_inline.
1903         * string/strcoll_l.c (do_compare): __always_inline.
1905 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1907         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
1908         defined.
1909         * include/mqueue.h: Likewise.
1910         * include/stdlib.h: Likewise.
1912         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
1913         (get_null_defines): Adjust.
1914         * sunrpc/Makefile: Adjust comment.
1915         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
1916         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
1917         (CFLAGS-interp.c): Likewise.
1918         (CFLAGS-ldconfig.c): Likewise.
1919         (CPPFLAGS-.os): Likewise.
1920         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1921         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
1922         * extra-modules.mk (extra-modules.mk): Likewise.
1923         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
1924         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
1925         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
1926         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
1927         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
1928         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
1929         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
1930         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
1931         * iconvdata/Makefile (CPPFLAGS): Likewise.
1932         (cpp-srcs-left): Add libof for all iconvdata routines.
1933         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
1934         * include/assert.h: Likewise.
1935         * include/ctype.h: Likewise.
1936         * include/errno.h: Likewise.
1937         * include/libc-symbols.h: Likewise.
1938         * include/math.h: Likewise.
1939         * include/netdb.h: Likewise.
1940         * include/resolv.h: Likewise.
1941         * include/stdio.h: Likewise.
1942         * include/stdlib.h: Likewise.
1943         * include/string.h: Likewise.
1944         * include/sys/stat.h: Likewise.
1945         * include/wctype.h: Likewise.
1946         * intl/l10nflist.c: Likewise.
1947         * libidn/idn-stub.c: Likewise.
1948         * libio/libioP.h: Likewise.
1949         * nptl/libc_multiple_threads.c: Likewise.
1950         * nptl/pthreadP.h: Likewise.
1951         * posix/regex_internal.h: Likewise.
1952         * resolv/res_hconf.c: Likewise.
1953         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
1954         * sysdeps/arm/memmove.S: Likewise.
1955         * sysdeps/arm/sysdep.h: Likewise.
1956         * sysdeps/generic/_itoa.h: Likewise.
1957         * sysdeps/generic/symbol-hacks.h: Likewise.
1958         * sysdeps/gnu/errlist.awk: Likewise.
1959         * sysdeps/gnu/errlist.c: Likewise.
1960         * sysdeps/i386/i586/memcpy.S: Likewise.
1961         * sysdeps/i386/i586/memset.S: Likewise.
1962         * sysdeps/i386/i686/memcpy.S: Likewise.
1963         * sysdeps/i386/i686/memmove.S: Likewise.
1964         * sysdeps/i386/i686/mempcpy.S: Likewise.
1965         * sysdeps/i386/i686/memset.S: Likewise.
1966         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
1967         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1968         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
1969         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
1970         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1971         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1972         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
1973         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1974         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
1975         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
1976         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1977         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1978         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1979         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1980         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1981         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1982         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
1983         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
1984         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
1985         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1986         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1987         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1988         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1989         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1990         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1991         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1992         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
1993         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1994         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
1995         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
1996         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1997         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1998         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1999         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2000         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2001         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
2002         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2003         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2004         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
2005         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
2006         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2007         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2008         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
2009         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
2010         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2011         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2012         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
2013         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
2014         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2015         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
2016         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2017         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
2018         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
2019         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2020         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
2021         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
2022         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2023         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
2024         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
2025         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2026         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
2027         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2028         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
2029         * sysdeps/nptl/bits/libc-lock.h: Likewise.
2030         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
2031         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
2032         * sysdeps/posix/closedir.c: Likewise.
2033         * sysdeps/posix/opendir.c: Likewise.
2034         * sysdeps/posix/readdir.c: Likewise.
2035         * sysdeps/posix/rewinddir.c: Likewise.
2036         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
2037         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
2038         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
2039         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2040         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2041         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
2042         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
2043         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
2044         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
2045         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
2046         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
2047         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
2048         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
2049         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
2050         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
2051         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
2052         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
2053         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
2054         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
2055         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
2056         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
2057         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
2058         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
2059         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
2060         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
2061         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
2062         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
2063         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
2064         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
2065         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
2066         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
2067         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
2068         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
2069         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
2070         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
2071         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
2072         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2073         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2074         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
2075         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
2076         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
2077         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
2078         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
2079         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
2080         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
2081         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
2082         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
2083         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
2084         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
2085         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
2086         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
2087         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
2088         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
2089         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
2090         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
2091         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
2092         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
2093         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
2094         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
2095         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
2096         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
2097         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
2098         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
2099         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
2100         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
2101         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
2102         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
2103         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
2104         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
2105         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
2106         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
2107         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
2108         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
2109         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
2110         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
2111         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
2112         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
2113         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
2114         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
2115         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
2116         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
2117         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
2118         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
2119         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
2120         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
2121         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
2122         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
2123         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
2124         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
2125         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2126         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
2127         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
2128         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
2129         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2130         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2131         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
2132         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2133         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2134         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
2135         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
2136         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2137         * sysdeps/unix/alpha/sysdep.S: Likewise.
2138         * sysdeps/unix/alpha/sysdep.h: Likewise.
2139         * sysdeps/unix/make-syscalls.sh: Likewise.
2140         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2141         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2142         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2143         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
2144         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2145         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
2146         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
2147         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2148         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2149         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
2150         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2151         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2152         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2153         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
2154         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2155         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
2156         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2157         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2158         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
2159         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2160         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
2161         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2162         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2163         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2164         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2165         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2166         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
2168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
2169         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
2170         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2171         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2172         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
2173         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2174         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2175         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2176         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
2177         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2178         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2179         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
2180         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2181         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2182         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2183         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2184         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2185         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2186         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2187         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2188         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2189         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2190         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2191         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2192         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2193         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2194         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2195         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2196         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2197         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2198         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
2199         * sysdeps/x86_64/memcpy.S: Likewise.
2200         * sysdeps/x86_64/memmove.c: Likewise.
2201         * sysdeps/x86_64/memset.S: Likewise.
2202         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
2203         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2204         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
2205         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
2206         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
2207         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2208         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2209         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2210         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2211         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2212         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2213         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2214         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
2215         * sysdeps/x86_64/multiarch/memset.S: Likewise.
2216         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2217         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
2218         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
2219         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2220         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
2221         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2222         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
2223         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2224         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2225         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
2226         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2227         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2228         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2229         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
2230         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
2231         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2232         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
2233         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2234         * sysdeps/x86_64/strcmp.S: Likewise.
2236         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
2238         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
2239         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
2240         * elf/rtld-Rules: Likewise.
2241         * elf/setup-vdso.h: Likewise.
2242         * include/assert.h: Likewise.
2243         * include/bits/stdlib-float.h: Likewise.
2244         * include/errno.h: Likewise.
2245         * include/sys/stat.h: Likewise.
2246         * include/unistd.h: Likewise.
2247         * sysdeps/aarch64/setjmp.S: Likewise.
2248         * sysdeps/alpha/setjmp.S: Likewise.
2249         * sysdeps/arm/__longjmp.S: Likewise.
2250         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
2251         * sysdeps/arm/setjmp.S: Likewise.
2252         * sysdeps/arm/sysdep.h: Likewise.
2253         * sysdeps/generic/_itoa.h: Likewise.
2254         * sysdeps/generic/dl-sysdep.h: Likewise.
2255         * sysdeps/generic/ldsodefs.h: Likewise.
2256         * sysdeps/i386/dl-tls.h: Likewise.
2257         * sysdeps/i386/setjmp.S: Likewise.
2258         * sysdeps/m68k/setjmp.c: Likewise.
2259         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
2260         * sysdeps/mach/hurd/opendir.c: Likewise.
2261         * sysdeps/posix/getcwd.c: Likewise.
2262         * sysdeps/posix/opendir.c: Likewise.
2263         * sysdeps/posix/profil.c: Likewise.
2264         * sysdeps/powerpc/dl-procinfo.h: Likewise.
2265         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2266         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
2267         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2268         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2269         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
2270         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2271         * sysdeps/s390/dl-tls.h: Likewise.
2272         * sysdeps/s390/s390-32/setjmp.S: Likewise.
2273         * sysdeps/s390/s390-64/setjmp.S: Likewise.
2274         * sysdeps/sh/sh3/setjmp.S: Likewise.
2275         * sysdeps/sh/sh4/setjmp.S: Likewise.
2276         * sysdeps/unix/alpha/sysdep.h: Likewise.
2277         * sysdeps/unix/arm/sysdep.S: Likewise.
2278         * sysdeps/unix/i386/sysdep.S: Likewise.
2279         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2280         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2281         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2282         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2283         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2284         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
2285         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2286         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2287         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2288         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
2289         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
2290         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2291         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2294         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2295         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2296         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2297         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2298         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2299         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2300         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2301         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2302         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2303         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2304         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2305         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2306         * sysdeps/unix/x86_64/sysdep.S: Likewise.
2307         * sysdeps/x86_64/setjmp.S: Likewise.
2309         * include/math.h: Use IS_IN instead of IS_IN_libm.
2310         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
2311         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2312         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2313         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
2314         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2315         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2316         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2317         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2318         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2319         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2320         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
2321         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
2322         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
2323         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
2324         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
2325         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
2326         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
2327         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
2328         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
2329         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
2330         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
2331         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
2332         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
2333         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
2334         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
2335         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
2336         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
2337         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
2338         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
2339         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
2340         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
2341         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
2342         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2343         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
2344         Likewise.
2345         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
2346         Likewise.
2347         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
2348         Likewise.
2349         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
2350         Likewise.
2351         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
2352         Likewise.
2353         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
2354         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
2355         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
2356         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2357         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2358         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2359         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
2360         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
2361         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
2362         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
2363         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
2364         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
2365         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
2366         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2367         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2368         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2369         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2370         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2371         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2372         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2373         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
2374         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
2375         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
2376         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
2377         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
2378         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2379         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
2381         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
2382         * nptl/pthreadP.h: Likewise.
2383         * nptl_db/structs.def: Likewise.
2384         * sysdeps/arm/sysdep.h: Likewise.
2385         * sysdeps/nptl/bits/libc-lock.h: Likewise.
2386         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
2387         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
2388         * sysdeps/unix/alpha/sysdep.h: Likewise.
2389         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2390         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2391         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2392         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2393         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2394         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2395         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2396         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2397         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2398         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2399         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2400         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2401         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2402         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
2404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
2405         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2406         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2407         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2408         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2409         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2410         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2411         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2412         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2413         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
2414         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2416         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
2417         * nptl/pthreadP.h: Likewise.
2418         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2419         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2420         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2421         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2422         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2423         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2424         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2425         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2426         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2427         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2428         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2429         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
2431         Likewise.
2432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
2433         Likewise.
2434         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2435         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2436         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2437         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2438         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2439         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2440         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2441         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2443         * dlfcn/dladdr.c: Use IS_IN.
2444         * dlfcn/dladdr1.c: Likewise.
2445         * dlfcn/dlclose.c: Likewise.
2446         * dlfcn/dlerror.c: Likewise.
2447         * dlfcn/dlinfo.c: Likewise.
2448         * dlfcn/dlmopen.c: Likewise.
2449         * dlfcn/dlopen.c: Likewise.
2450         * dlfcn/dlsym.c: Likewise.
2451         * dlfcn/dlvsym.c: Likewise.
2453         * include/ifaddrs.h: Use IS_IN.
2454         * inet/check_pf.c: Likewise.
2455         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2456         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
2458         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
2459         IS_IN_ldconfig.
2460         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
2461         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
2463         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
2464         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
2465         IS_IN (libc).
2467         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
2469         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
2470         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2471         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
2472         * include/libc-symbols.h (IS_IN_LIB): New macro.
2473         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
2474         * include/netdb.h: Likewise.
2475         * include/stap-probe.h: Remove all uses of IN_LIB.
2477         * Makeconfig (module-cppflags-real): Define MODULE_NAME
2478         instead of IN_MODULE.
2479         * include/libc-symbols.h (IN_MODULE): Define using
2480         MODULE_NAME.
2481         (PASTE_NAME, PASTE_NAME1): New macros.
2482         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
2483         of IN_LIB.
2484         (STAP_PROBE_ASM): Likewise.
2486 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2488         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
2489         __mach_init in dlopened libc.
2491 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
2493         * sysdeps/arm/preconfigure.ac: Delete EABI check.
2494         * sysdeps/arm/preconfigure: Regenerate.
2496 2014-11-21  Roland McGrath  <roland@hack.frob.com>
2498         * nptl/pthread_create.c (__pthread_create_2_1): Set
2499         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
2500         when copying values from IATTR into PD.
2502 2014-11-21  Will Newton  <will.newton@linaro.org>
2503             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
2505         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
2506         Refactor inline-asm.  Also add comment.
2508         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
2509         ElfW macro instead of hardcoded Elf64 types.
2510         (la_aarch64_gnu_pltenter): Likewise.
2511         * sysdeps/aarch64/dl-machine.h
2512         (elf_machine_runtime_setup): Use ElfW(Addr).
2514         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
2515         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
2516         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
2517         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
2518         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
2519         (R_AARCH64_TLS_DTPMOD64): Rename to ..
2520         (R_AARCH64_TLS_DTPMOD): This.
2521         (R_AARCH64_TLS_DTPREL64): Rename to ...
2522         (R_AARCH64_TLS_DTPREL): This.
2523         (R_AARCH64_TLS_TPREL64): Rename to ...
2524         (R_AARCH64_TLS_TPREL): This.
2525         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
2526         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
2527         R_AARCH64_TLS_TPREL64.
2528         (elf_machine_rela): Likewise.
2530 2014-11-21  Torvald Riegel  <triegel@redhat.com>
2532         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
2533         by setting it to 0.  64b atomics are not supported currently.
2535 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2537         [BZ #16469]
2538         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
2539         search domain names.
2541 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2543         [BZ #16469]
2544         * NEWS: Update.
2545         * resolv/res_query.c (__libc_res_nquerydomain): Retain
2546         trailing dot.
2547         * posix/tst-getaddrinfo5.c: New.
2548         * posix/Makefile (tests): Add it.
2550 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2552         [BZ #14498]
2553         * NEWS: Fixed.
2554         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
2555         after parsing line but before break_if_match.
2556         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
2557         if there is a protocol mismatch.
2559 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
2561         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
2562         because the potential race is on the user-supplied stream.
2564 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2566         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
2567         string literal if not passed a buffer.
2568         * manual/job.texi (ctermid): Update reasoning, note deviation
2569         from posix, suggest mtasurace when not passed a buffer, for
2570         future non-preliminary safety notes.
2572 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2574         * manual/users.texi (cuserid): Fix MT-Safety note for the case
2575         of not passing it a buffer.
2576         Reported by Peng Haitao.
2578 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2580         * manual/Makefile ($(objpfx)stamp-summary): Require
2581         check-safety.sh to pass.
2582         * manual/check-safety.sh: Wish for verification that every
2583         @deftypefn and @deftypefun is followed by a @safety remark.
2585 2014-11-20  Roland McGrath  <roland@hack.frob.com>
2587         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
2589         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
2590         PTHREAD_CANCEL_ASYNCHRONOUS.
2591         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
2592         send SIGCANCEL.
2594         * nptl/default-sched.h: New file.
2595         * sysdeps/unix/sysv/linux/default-sched.h: New file.
2596         * nptl/pthread_create.c: Include it.
2597         (__pthread_create_2_1): Use collect_default_sched instead of making
2598         Linux syscalls here directly.
2600 2014-11-20  Torvald Riegel  <triegel@redhat.com>
2602         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
2603         __pthread_once): Use C11 atomics.
2605 2014-11-20  Torvald Riegel  <triegel@redhat.com>
2607         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
2609 2014-11-20  Torvald Riegel  <triegel@redhat.com>
2611         * include/atomic.h (__atomic_link_error, __atomic_check_size,
2612         atomic_thread_fence_acquire, atomic_thread_fence_release,
2613         atomic_thread_fence_seq_cst, atomic_load_relaxed,
2614         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
2615         atomic_compare_exchange_weak_relaxed,
2616         atomic_compare_exchange_weak_acquire,
2617         atomic_compare_exchange_weak_release,
2618         atomic_exchange_acquire, atomic_exchange_release,
2619         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
2620         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
2621         atomic_fetch_and_acquire,
2622         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
2624 2014-11-20  Torvald Riegel  <triegel@redhat.com>
2626         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
2627         USE_ATOMIC_COMPILER_BUILTINS): Define.
2628         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
2629         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2630         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
2631         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2632         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
2633         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2634         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
2635         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2636         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
2637         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2638         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
2639         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2640         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
2641         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2642         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
2643         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2644         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
2645         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2646         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
2647         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2648         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
2649         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2650         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
2651         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2652         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
2653         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2654         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
2655         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2656         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
2657         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2658         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
2659         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2660         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
2661         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2662         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
2663         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2664         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
2665         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2666         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
2667         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2669 2014-11-19  Roland McGrath  <roland@hack.frob.com>
2671         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
2672         the sched_priority value here.  It was already checked when the user
2673         called pthread_attr_setschedparam.
2675         * nptl/tst-bad-schedattr.c: New file.
2676         * nptl/Makefile (tests): Add it.
2678 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
2679             Florian Weimer  <fweimer@redhat.com>
2680             Joseph Myers  <joseph@codesourcery.com>
2681             Adam Conrad  <adconrad@0c3.net>
2682             Andreas Schwab  <schwab@suse.de>
2683             Brooks  <bmoses@google.com>
2685         [BZ #17625]
2686         * wordexp-test.c (__dso_handle): Add prototype.
2687         (__register_atfork): Likewise.
2688         (__app_register_atfork): New function.
2689         (registered_forks): New global.
2690         (register_fork): New function.
2691         (test_case): Add 3 new tests for WRDE_CMDSUB.
2692         (main): Call __app_register_atfork.
2693         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
2694         fork count is non-zero fail the test.
2695         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
2696         is set.
2697         (parse_dollars): Remove check for WRDE_NOCMD.
2698         (parse_dquote): Likewise.
2700 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2702         * Makeconfig (built-modules): List non-library modules to be
2703         built.
2704         (module-cppflags): Include libc-modules.h for
2705         everything except shlib-versions.v.i.
2706         (CPPFLAGS): Use it.
2707         (before-compile): Add libc-modules.h.
2708         ($(common-objpfx)libc-modules.h,
2709         $(common-objpfx)libc-modules.stmp): New targets.
2710         (common-generated): Add libc-modules.h and libc-modules.stmp.
2711         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
2712         * include/libc-symbols.h: Don't include libc-modules.h.
2713         * include/libc-modules.h: Remove file.
2714         * scripts/gen-libc-modules.awk: New script to generate
2715         libc-modules.h.
2716         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
2717         Depend on libc-modules.stmp.
2719         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
2721         * Makeconfig (in-module): Get value of libof set for the
2722         translation unit.
2723         (CPPFLAGS): Use $(in-module).
2724         * Makerules: Don't suffix routine names for nonlib.
2725         * include/libc-modules.h: New file.
2726         * include/libc-symbols.h: Include libc-modules.h
2727         (IS_IN): New macro to replace IS_IN_* macros.
2728         * elf/Makefile: Set libof-* for each routine.
2729         * elf/rtld-Rules: Likewise.
2730         * extra-modules.mk: Likewise.
2731         * iconv/Makefile: Likewise.
2732         * iconvdata/Makefile: Likewise.
2733         * locale/Makefile: Likewise.
2734         * malloc/Makefile: Likewise.
2735         * nss/Makefile: Likewise.
2736         * sysdeps/gnu/Makefile: Likewise.
2737         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
2738         * sysdeps/unix/sysv/linux/Makefile: Likewise.
2739         * sysdeps/s390/s390-64/Makefile: Likewise.
2740         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
2741         CPPFLAGS for nscd instead of nonlib.
2743 2014-11-18  Roland McGrath  <roland@hack.frob.com>
2745         * nptl/createthread.c: New file.
2747         * nptl/createthread.c: Moved ...
2748         * sysdeps/unix/sysv/linux/createthread.c: ... here.
2750         * nptl/createthread.c: Add proper top-line comment.
2751         (do_clone): Folded into ...
2752         (create_thread): ... here.  Take new arguments STOPPED_START and
2753         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
2754         increment __nptl_threads, do event-reporting logic, do
2755         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
2756         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
2757         resource cleanup if sched_setaffinity or sched_setscheduler fails,
2758         just send SIGCANCEL.
2759         * nptl/pthread_create.c: Forward-declare create_thread before
2760         including createthread.c.
2761         (start_thread): Use new macro START_THREAD_DEFN to replace defining
2762         declaration, and new macro START_THREAD_SELF to replace argument.
2763         Remove return statement.
2764         (report_thread_creation): New function.
2765         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
2766         synchronization logic, and __nptl_nthreads increment here, around
2767         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
2768         PD->parent_cancelhandling here, before create_thread.  When
2769         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
2770         __deallocate_stack, and ENOMEM translation here.
2772 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
2774         [BZ #17616]
2775         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
2776         (mptwo): Rename to __mptwo.
2777         (__inv): Use __mptwo instead of mptwo.
2778         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
2779         (mptwo): Rename to __mptwo.
2780         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
2781         of mpone and __mptwo instead of mptwo.
2782         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
2783         instead of mpone.
2784         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2785         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
2786         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
2787         of mpone and __mptwo instead of mptwo.
2788         (__mpranred): Use __mpone instead of mpone.
2789         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
2790         variable.
2791         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
2792         (test-xfail-ISO99/math.h/linknamespace): Likewise.
2793         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
2794         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
2795         (test-xfail-ISO11/math.h/linknamespace): Likewise.
2796         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
2797         (test-xfail-XPG3/math.h/linknamespace): Likewise.
2798         (test-xfail-XPG4/math.h/linknamespace): Likewise.
2799         (test-xfail-POSIX/math.h/linknamespace): Likewise.
2800         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
2801         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
2802         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
2803         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
2804         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
2805         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
2806         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
2807         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
2808         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
2809         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
2811 2014-11-18  Tom de Vries  <tom@codesoucery.com>
2813         * manual/signal.texi (Primitives Interrupted by Signals): In section,
2814         replace BSD Handler xref with BSD Signal Handling.
2816 2014-11-17  Richard Henderson  <rth@redhat.com>
2818         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
2819         (_FP_PACK_RAW_2): Remove.
2820         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
2821         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
2822         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
2823         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
2824         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
2825         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
2826         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
2827         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
2828         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
2829         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
2830         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
2831         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
2832         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
2833         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
2834         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
2835         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
2837 2014-11-14  Roland McGrath  <roland@hack.frob.com>
2839         * signal/signal.h [__USE_MISC]
2840         (struct sigvec): Remove type.
2841         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
2842         (sigvec): Remove declaration.
2843         * sysdeps/posix/sigvec.c: Moved ...
2844         * signal/sigvec.c: ... here, replacing old file.
2845         (struct sigvec): New type, copied from old signal.h definition.
2846         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
2847         (__sigvec): Convert definition to prototype.
2848         (sigvec): Replace weak_alias with compat_symbol.
2849         * signal/Versions (libc: GLIBC_2.21): New version set.
2850         * include/signal.h: Remove __sigvec declaration.
2851         * sysdeps/unix/bsd/sigvec.c: Remove file.
2852         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
2853         * manual/signal.texi (BSD Handler): Remove subsection.
2854         Move siginterrupt up to ...
2855         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
2856         (Blocking in BSD): Fold subsection into its parent.
2857         * NEWS: Mention sigvec removal.
2859 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
2861         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
2862         (DLA_FMS): Make definition conditional only on [__FMA4__].
2863         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
2864         definition.
2866         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
2867         Make definition conditional only on [PROF].
2868         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
2869         definition.
2870         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
2871         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
2873         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
2874         !__GNUC__].
2875         * include/signal.h (__sigpause): Move declaration above call to
2876         libc_hidden_proto.
2877         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
2878         variable.
2879         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
2880         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
2882 2014-11-14  David S. Miller  <davem@davemloft.net>
2884         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
2885         Define before including <string/memcpy.c> and <string/mempcpy.c>.
2887 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
2889         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
2890         * configure: Regenerated.
2891         * manual/install.texi (Tools for Compilation): Document a
2892         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
2893         compiler verified to work.
2894         * INSTALL: Regenerated.
2896         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
2897         redeclare with asm name.
2898         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
2899         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
2900         including <string.h>.
2901         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2902         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
2903         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2904         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
2905         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2906         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2907         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2909 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
2911         * stdlib/strtol.c (__strtol): Use prototype definition.
2913         [BZ #17594]
2914         * stdlib/strtol.c (SYM__): New macro.
2915         (SYM__1): Likewise.
2916         (__strtol): Likewise.
2917         (strtol): Rename to __strtol and define as weak alias of
2918         __strtol.  Use libc_hidden_weak.
2920 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2922         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
2923         Use numbered labels in inline assembly.
2925 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2927         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
2928         Add setjmp LIBC_PROBE.
2929         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
2930         Likewise.
2931         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
2932         Add longjmp, longjmp_target LIBC_PROBE.
2933         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
2934         Likewise.
2936 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2938         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
2939         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
2940         to get rid of unused variable warning.
2942 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2944         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
2945         Check for unwind_backtrace ==  NULL only in SHARED case.
2946         (__backchain_backtrace): Compile only in SHARED case.
2947         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
2948         Likewise.
2949         (__backchain_backtrace): Declare as static.
2951 2014-11-12  Roland McGrath  <roland@hack.frob.com>
2953         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
2954         (__libc_multiple_threads_ptr): Variable moved ...
2955         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
2957 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
2959         * conform/GlibcConform.pm: New file.
2960         * conform/conformtest.pl: Use GlibcConform module.
2961         * conform/linknamespace.pl: New file.
2962         * conform/list-header-symbols.pl: Likewise.
2963         * conform/Makefile (linknamespace-symlists-base): New variable.
2964         (linknamespace-symlists-tests): Likewise.
2965         (linknamespace-header-base): Likewise.
2966         (linknamespace-header-tests): Likewise.
2967         (tests-special): Add new tests.
2968         ($(linknamespace-symlists-tests)): New rule.
2969         (linknamespace-libs): New variable.
2970         ($(objpfx)symlist-stdlibs): New rule.
2971         ($(linknamespace-header-tests)): Likewise.
2972         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
2973         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
2974         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
2975         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
2976         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
2977         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
2978         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
2979         (test-xfail-ISO/math.h/linknamespace): Likewise.
2980         (test-xfail-ISO/signal.h/linknamespace): Likewise.
2981         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
2982         (test-xfail-ISO/time.h/linknamespace): Likewise.
2983         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
2984         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
2985         (test-xfail-ISO99/math.h/linknamespace): Likewise.
2986         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
2987         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
2988         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
2989         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
2990         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
2991         (test-xfail-ISO11/math.h/linknamespace): Likewise.
2992         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
2993         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
2994         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
2995         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
2996         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
2997         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
2998         (test-xfail-XPG3/math.h/linknamespace): Likewise.
2999         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
3000         (test-xfail-XPG3/search.h/linknamespace): Likewise.
3001         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
3002         (test-xfail-XPG3/time.h/linknamespace): Likewise.
3003         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
3004         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
3005         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
3006         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
3007         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
3008         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
3009         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
3010         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
3011         (test-xfail-XPG4/math.h/linknamespace): Likewise.
3012         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
3013         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
3014         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
3015         (test-xfail-XPG4/search.h/linknamespace): Likewise.
3016         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
3017         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
3018         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
3019         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
3020         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
3021         (test-xfail-XPG4/time.h/linknamespace): Likewise.
3022         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
3023         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
3024         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
3025         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
3026         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
3027         (test-xfail-POSIX/math.h/linknamespace): Likewise.
3028         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
3029         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
3030         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
3031         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
3032         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
3033         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
3034         (test-xfail-POSIX/time.h/linknamespace): Likewise.
3035         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
3036         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
3037         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
3038         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
3039         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
3040         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
3041         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
3042         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
3043         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
3044         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
3045         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
3046         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
3047         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
3048         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
3049         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
3050         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
3051         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
3052         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
3053         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
3054         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
3055         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
3056         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
3057         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
3058         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
3059         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
3060         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
3061         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
3062         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
3063         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
3064         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
3065         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
3066         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
3067         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
3068         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
3069         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
3070         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
3071         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
3072         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
3073         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
3074         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
3075         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
3076         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
3077         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
3078         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
3079         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
3080         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
3081         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
3082         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
3083         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
3084         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
3085         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
3086         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
3087         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
3088         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
3089         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
3090         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
3091         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
3092         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
3093         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
3094         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
3095         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
3096         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
3097         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
3098         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
3099         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
3100         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
3101         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
3102         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
3103         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
3104         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
3105         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
3106         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
3107         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
3108         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
3109         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
3110         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
3111         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
3112         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
3113         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
3114         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
3115         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
3116         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
3117         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
3118         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
3119         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
3120         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
3121         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
3122         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
3123         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
3124         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
3125         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
3126         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
3127         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
3128         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
3129         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
3130         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
3131         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
3132         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
3134         [BZ #17589]
3135         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
3136         of fgets_unlocked.
3138         [BZ #17585]
3139         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
3140         (memmem): Rename to __memmem and define as weak alias of
3141         __memmem.  Use libc_hidden_weak.
3142         (__memmem): Use libc_hidden_def.
3143         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
3144         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
3145         memmem.
3147         [BZ #17582]
3148         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
3149         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
3150         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
3151         and define as weak alias of __fgets_unlocked.  Use
3152         libc_hidden_weak.
3153         (__fgets_unlocked): Use libc_hidden_def.
3154         * include/stdio.h (__fgets_unlocked): Declare.  Use
3155         libc_hidden_proto.
3156         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
3157         __fgets_unlocked instead of fgets_unlocked.
3158         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
3159         (GET_NPROCS_CONF_PARSER): Likewise.
3160         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
3161         (GET_NPROCS_CONF_PARSER): Likewise.
3163         [BZ #17574]
3164         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
3165         weak alias of __wmemset.  Use libc_hidden_weak.
3166         (__wmemset): Use libc_hidden_def.
3167         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
3168         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
3169         of wmemset.
3171         [BZ #17573]
3172         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
3173         with asm name __mempcpy.
3174         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
3176         [BZ #17572]
3177         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
3178         and define as weak alias of __rawmemchr.
3179         (__rawmemchr): Do not define as strong alias of rawmemchr.
3181         [BZ #17571]
3182         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
3183         alias of __qsort_r.
3184         (qsort): Call __qsort_r instead of qsort_r.
3185         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
3186         (__qsort_r): Declare.  Call libc_hidden_proto.
3187         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
3188         instead of qsort_r.
3189         * nscd/gai.c (__qsort_r): Define to qsort_r.
3190         * posix/tst-rfc3484.c (__qsort_r): Likewise.
3191         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
3192         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
3194         [BZ #17570]
3195         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
3196         define as weak alias of __malloc_info.
3198         [BZ #17584]
3199         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
3200         as weak alias of __rewinddir.  Don't use libc_hidden_def.
3201         (__rewinddir): Use libc_hidden_def.
3202         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
3203         as weak alias of __rewinddir.  Don't use libc_hidden_def.
3204         (__rewinddir): Use libc_hidden_def.
3205         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
3206         weak alias of __rewinddir.  Don't use libc_hidden_def.
3207         (__rewinddir): Use libc_hidden_def.
3208         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
3209         (__rewinddir): Use libc_hidden_proto.
3210         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
3211         rewinddir.
3212         (__getcwd): Use __rewinddir instead of rewinddir.
3214         [BZ #17583]
3215         * libio/fileno.c (fileno): Rename to __fileno and define as weak
3216         alias of __fileno.  Use libc_hidden_weak.
3217         (__fileno): Use libc_hidden_def.
3218         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
3219         * libio/ftello.c (ftello): Rename to __ftello and define as weak
3220         alias of __ftello.
3221         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
3222         __ftello.
3223         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
3224         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
3225         libc_hidden_def.
3226         (fread_unlocked): Don't use libc_hidden_ver.
3227         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
3228         and define as weak alias of __fread_unlocked.  Don't use
3229         libc_hidden_def.
3230         (__fread_unlocked): Use libc_hidden_def.
3231         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
3232         (ftello): Don't use libc_hidden_proto.
3233         (__ftello): Declare.  Use libc_hidden_proto.
3234         (fread_unlocked): Don't use libc_hidden_proto.
3235         (__fread_unlocked): Declare.  Use libc_hidden_proto.
3236         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
3237         and __ftello instead of fileno, fread_unlocked and ftello.
3239 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
3241         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
3242         GOT12.
3243         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
3244         Likewise.
3245         (_dl_start_user): Likewise.
3246         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
3248 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
3249             Siddhesh Poyarekar  <siddhesh@redhat.com>
3251         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
3252         Move argv and envp down instead of moving argc up.
3253         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
3255 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
3257         [BZ #17506]
3258         * test-skeleton.c (main): Return successful if one of
3259         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
3260         * string/tst-strcoll-overflow.c: Define expected status.
3262 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
3264         [BZ #17475]
3265         * locale/iso-639.def: Define Bhili and Tulu language codes.
3267 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
3269         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
3271 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
3273         [BZ #17555]
3274         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
3276 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
3278         * configure.ac: Updated check of minimal required version to
3279         2.22.
3280         * manual/install.texi (Tools for Compilation): Updated version
3281         number.
3282         * configure: Regenerated.
3283         * INSTALL: Likewise.
3285 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
3287         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
3288         __tls_get_addr.
3290 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
3292         * include/sys/wait.h (__libc_waitpid): Remove declaration.
3293         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
3294         (__waitpid): Don't define as alias.  Use libc_hidden_def not
3295         libc_hidden_weak.
3296         (waitpid): Define as alias of __waitpid.
3297         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
3298         __waitpid.
3299         (__waitpid): Don't define as alias.  Use libc_hidden_def not
3300         libc_hidden_weak.
3301         (waitpid): Define as alias of __waitpid.
3302         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
3303         __libc_waitpid alias.
3304         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
3305         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
3306         Likewise.
3307         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
3308         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
3309         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
3310         alias.
3311         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
3312         __waitpid.
3313         (__waitpid): Don't define as alias.  Use libc_hidden_def not
3314         libc_hidden_weak.
3315         (waitpid): Define as alias of __waitpid.
3317 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
3319         * manual/llio.texi: Add comment that write safety has been
3320         fixed in Linux.
3322         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
3323         (localplt-build-dso): Add elf/ld.so.
3324         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
3325         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
3326         and free for ld.so.
3327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
3328         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
3329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
3330         Likewise.
3331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3332         Likewise.
3333         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
3334         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
3335         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
3336         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
3337         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
3338         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
3339         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
3340         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
3341         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
3342         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
3343         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
3345 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
3347         [BZ #14132]
3348         * include/libc-symbols.h (INTUSE): Remove macro.
3349         (INTDEF): Likewise.
3350         (INTVARDEF): Likewise.
3351         (_INTVARDEF): Likewise.
3352         (INTDEF2): Likewise.
3353         (INTVARDEF2): Likewise.
3354         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
3355         rtld_hidden_def instead of INTVARDEF.
3356         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
3357         (_dl_starting_up_internal): Remove declaration.
3358         (_dl_starting_up): Use rtld_hidden_proto.
3359         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
3360         declaration.
3361         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
3362         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
3363         _dl_starting_up.
3364         * elf/dl-writev.h (_dl_writev): Likewise.
3365         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
3366         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
3367         _dl_starting_up_internal.
3369 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3371         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
3372         test-skeleton.c.
3374 2014-11-05  Will Newton  <will.newton@linaro.org>
3376         * benchtests/Makefile: (bench-malloc): Add malloc thread
3377         scalability benchmark.
3378         * benchtests/bench-malloc-threads.c: New file.
3380 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
3382         * sysdeps/aarch64/strchrnul.S: New file.
3384 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3386         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
3387         definition.
3388         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
3389         Likwise.
3390         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
3391         Likewise.
3392         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
3393         Likewise.
3394         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
3395         Likewise.
3396         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
3397         Likewise.
3399 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
3401         * catgets/test-gencat.c: Use test-skeleton.c.
3402         * catgets/tst-catgets.c: Likewise.
3403         * csu/tst-empty.c: Likewise.
3404         * elf/tst-audit2.c: Likewise.
3405         * elf/tst-global1.c: Likewise.
3406         * elf/tst-pathopt.c: Likewise.
3407         * elf/tst-piemod1.c: Likewise.
3408         * elf/tst-tls10.c: Likewise.
3409         * elf/tst-tls11.c: Likewise.
3410         * elf/tst-tls12.c: Likewise.
3411         * gnulib/tst-gcc.c: Likewise.
3412         * iconvdata/tst-e2big.c: Likewise.
3413         * iconvdata/tst-loading.c: Likewise.
3414         * iconv/tst-iconv1.c: Likewise.
3415         * iconv/tst-iconv2.c: Likewise.
3416         * inet/test-inet6_opt.c: Likewise.
3417         * inet/tst-gethnm.c: Likewise.
3418         * inet/tst-network.c: Likewise.
3419         * inet/tst-ntoa.c: Likewise.
3420         * intl/tst-codeset.c: Likewise.
3421         * intl/tst-gettext2.c: Likewise.
3422         * intl/tst-gettext3.c: Likewise.
3423         * intl/tst-ngettext.c: Likewise.
3424         * intl/tst-translit.c: Likewise.
3425         * io/test-stat.c: Likewise.
3426         * libio/test-fmemopen.c: Likewise.
3427         * libio/tst-freopen.c: Likewise.
3428         * libio/tst-sscanf.c: Likewise.
3429         * libio/tst-ungetwc1.c: Likewise.
3430         * libio/tst-ungetwc2.c: Likewise.
3431         * libio/tst-widetext.c: Likewise.
3432         * localedata/tst-ctype.c: Likewise.
3433         * localedata/tst-digits.c: Likewise.
3434         * localedata/tst-leaks.c: Likewise.
3435         * localedata/tst-mbswcs1.c: Likewise.
3436         * localedata/tst-mbswcs2.c: Likewise.
3437         * localedata/tst-mbswcs3.c: Likewise.
3438         * localedata/tst-mbswcs4.c: Likewise.
3439         * localedata/tst-mbswcs5.c: Likewise.
3440         * localedata/tst-setlocale.c: Likewise.
3441         * localedata/tst-trans.c: Likewise.
3442         * localedata/tst-wctype.c: Likewise.
3443         * localedata/tst-xlocale1.c: Likewise.
3444         * login/tst-grantpt.c: Likewise.
3445         * malloc/tst-calloc.c: Likewise.
3446         * malloc/tst-malloc.c: Likewise.
3447         * malloc/tst-mallocstate.c: Likewise.
3448         * malloc/tst-mcheck.c: Likewise.
3449         * malloc/tst-mtrace.c: Likewise.
3450         * malloc/tst-obstack.c: Likewise.
3451         * math/atest-exp2.c: Likewise.
3452         * math/atest-exp.c: Likewise.
3453         * math/atest-sincos.c: Likewise.
3454         * math/test-matherr.c: Likewise.
3455         * math/test-misc.c: Likewise.
3456         * math/test-powl.c: Likewise.
3457         * math/tst-definitions.c: Likewise.
3458         * misc/tst-dirname.c: Likewise.
3459         * misc/tst-efgcvt.c: Likewise.
3460         * misc/tst-fdset.c: Likewise.
3461         * misc/tst-hsearch.c: Likewise.
3462         * misc/tst-mntent2.c: Likewise.
3463         * nptl/tst-sem7.c: Likewise.
3464         * nptl/tst-sem8.c: Likewise.
3465         * nptl/tst-sem9.c: Likewise.
3466         * nss/test-netdb.c: Likewise.
3467         * posix/tst-fnmatch.c: Likewise.
3468         * posix/tst-getlogin.c: Likewise.
3469         * posix/tst-gnuglob.c: Likewise.
3470         * posix/tst-mmap.c: Likewise.
3471         * pwd/tst-getpw.c: Likewise.
3472         * resolv/tst-inet_ntop.c: Likewise.
3473         * rt/tst-timer.c: Likewise.
3474         * stdio-common/test-fseek.c: Likewise.
3475         * stdio-common/test-popen.c: Likewise.
3476         * stdio-common/test-vfprintf.c: Likewise.
3477         * stdio-common/tst-cookie.c: Likewise.
3478         * stdio-common/tst-fileno.c: Likewise.
3479         * stdio-common/tst-gets.c: Likewise.
3480         * stdio-common/tst-obprintf.c: Likewise.
3481         * stdio-common/tst-perror.c: Likewise.
3482         * stdio-common/tst-sprintf2.c: Likewise.
3483         * stdio-common/tst-sprintf3.c: Likewise.
3484         * stdio-common/tst-sprintf.c: Likewise.
3485         * stdio-common/tst-swprintf.c: Likewise.
3486         * stdio-common/tst-tmpnam.c: Likewise.
3487         * stdio-common/tst-unbputc.c: Likewise.
3488         * stdio-common/tst-wc-printf.c: Likewise.
3489         * stdlib/tst-environ.c: Likewise.
3490         * stdlib/tst-fmtmsg.c: Likewise.
3491         * stdlib/tst-limits.c: Likewise.
3492         * stdlib/tst-rand48-2.c: Likewise.
3493         * stdlib/tst-rand48.c: Likewise.
3494         * stdlib/tst-random2.c: Likewise.
3495         * stdlib/tst-random.c: Likewise.
3496         * stdlib/tst-strtol.c: Likewise.
3497         * stdlib/tst-strtoll.c: Likewise.
3498         * stdlib/tst-tls-atexit.c: Likewise.
3499         * stdlib/tst-xpg-basename.c: Likewise.
3500         * string/test-ffs.c: Likewise.
3501         * string/tst-bswap.c: Likewise.
3502         * string/tst-inlcall.c: Likewise.
3503         * string/tst-strtok.c: Likewise.
3504         * string/tst-strxfrm.c: Likewise.
3505         * sysdeps/x86_64/tst-audit10.c: Likewise.
3506         * sysdeps/x86_64/tst-audit3.c: Likewise.
3507         * sysdeps/x86_64/tst-audit4.c: Likewise.
3508         * sysdeps/x86_64/tst-audit5.c: Likewise.
3509         * time/tst-ftime_l.c: Likewise.
3510         * time/tst-getdate.c: Likewise.
3511         * time/tst-mktime3.c: Likewise.
3512         * time/tst-mktime.c: Likewise.
3513         * time/tst-posixtz.c: Likewise.
3514         * time/tst-strptime2.c: Likewise.
3515         * time/tst-strptime3.c: Likewise.
3516         * wcsmbs/tst-btowc.c: Likewise.
3517         * wcsmbs/tst-mbrtowc.c: Likewise.
3518         * wcsmbs/tst-mbsrtowcs.c: Likewise.
3519         * wcsmbs/tst-wchar-h.c: Likewise.
3520         * wcsmbs/tst-wcpncpy.c: Likewise.
3521         * wcsmbs/tst-wcrtomb.c: Likewise.
3522         * wcsmbs/tst-wcsnlen.c: Likewise.
3523         * wcsmbs/tst-wcstof.c: Likewise.
3525 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
3527         [BZ #14132]
3528         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
3529         INTDEF.
3530         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
3531         declaration.
3532         (_dl_mcount): Use rtld_hidden_proto.
3533         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
3534         _dl_mcount.
3535         * elf/rtld.c (_rtld_global_ro): Likewise.
3537         [BZ #14132]
3538         * elf/dl-init.c (_dl_init): Don't use INTDEF.
3539         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
3540         of _dl_init_internal.
3541         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
3542         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
3543         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
3544         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
3545         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
3546         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
3547         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
3548         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
3549         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
3550         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
3551         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
3552         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
3553         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3554         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3555         * sysdeps/tile/dl-start.S (_start): Likewise.
3556         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
3557         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
3559         [BZ #14132]
3560         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
3561         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
3562         (rtld_progname): Make macro definition unconditional.
3563         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
3564         INTDEF.
3565         (dlmopen_doit): Do not use INTUSE with _dl_argv.
3566         (dl_main): Likewise.
3567         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
3568         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
3569         instead of _dl_argv_internal.
3570         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3571         __GI__dl_argv instead of INTUSE(_dl_argv).
3572         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
3573         __GI__dl_argv instead of _dl_argv_internal.
3575         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
3576         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
3577         macro.
3578         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
3579         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
3580         New macro.
3581         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
3582         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
3583         macro.
3584         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
3585         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
3587 2014-11-04  Andreas Schwab  <schwab@suse.de>
3589         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
3591 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3593         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
3594         mtvsrd instruction in binary form.
3596 2014-11-03  Andreas Schwab  <schwab@suse.de>
3598         [BZ #17522]
3599         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
3600         for less than MB_LEN_MAX use a local buffer of that size.
3601         * libio/tst-fputws.c: New file.
3602         * libio/Makefile (tests): Add tst-fputws.
3604 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
3606         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
3607         the size of the fpu_fr.fpu_dregs[] array.
3609 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
3611         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
3612         (__nanosleep): Do not define as alias.
3613         (nanosleep): Define as alias of __nanosleep.
3614         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
3615         __libc_nanosleep name.
3617 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
3619         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
3620         install.texi in comment.
3622 2014-10-31  Torvald Riegel  <triegel@redhat.com>
3624         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
3625         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
3626         ... add here and use lwsync or sync ...
3627         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
3628         ... and add here using lwsync.
3630 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
3632         * elf/dl-machine-reject-phdr.h: New file.
3633         * elf/dl-load.c: #include that.
3634         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
3635         if that returned true.
3637 2014-10-31  Roland McGrath  <roland@hack.frob.com>
3639         [BZ #17496]
3640         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
3641         gen-as-const-headers chunk.  Add a big scare comment after the last
3642         safe place to touch before-compile.
3644 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
3646         * manual/install.texi (Tools for Compilation): Update autoconf
3647         version requirements.
3648         * INSTALL: Regenerated.
3650         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
3651         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
3652         (__libc_pselect): Likewise.
3654         [BZ #14138]
3655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
3656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3660 2014-10-31  Torvald Riegel  <triegel@redhat.com>
3662         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
3663         correct barrier instruction.
3664         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
3665         Likewise.
3666         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
3667         Likewise.
3669 2014-10-30  Roland McGrath  <roland@hack.frob.com>
3671         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
3672         after defining inlines.  Instead, just use parens to defeat macro
3673         expansion of __isctype in its declaration.
3675 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
3677         * include/sys/uio.h (__libc_readv): Remove declaration.
3678         (__libc_writev): Likewise.
3679         * misc/readv.c (__libc_readv): Rename to __readv.
3680         (__readv): Do not define as alias.
3681         (readv): Define as alias of __readv.
3682         * misc/writev.c (__libc_writev): Rename to __writev.
3683         (__writev): Do not define as alias.
3684         (writev): Define as alias of __writev.
3685         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
3686         (__readv): Do not define as alias.
3687         (readv): Define unconditionally as alias of __readv.
3688         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
3689         (__writev): Do not define as alias.
3690         (writev): Define unconditionally as alias of __writev.
3691         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
3692         name.
3693         (writev): Do not define __libc_writev name.
3695 2014-10-30  Roland McGrath  <roland@hack.frob.com>
3697         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
3698         (convert_charseq): New function, broken out of ...
3699         (use_from_charmap): ... here.  Call it.
3700         (use_to_charmap): Use convert_charseq and free instead of duplicating
3701         its code with a variable-length stack struct.
3703 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
3705         * include/fcntl.h (__libc_creat): Remove declaration.
3706         * io/creat.c (__libc_creat): Rename to creat.
3707         (creat): Do not define as alias.
3708         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
3709         of creat instead of __libc_creat.
3710         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
3711         to creat.
3712         (creat): Do not define as alias.
3713         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
3714         __libc_creat.
3715         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
3716         __libc_creat name.
3717         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
3718         Likewise.
3720 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
3722         * manual/llio.texi: Add comments discussing why write() may be
3723         considered MT-unsafe on Linux.
3725 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
3727         * dl-load.c (local_strdup): Remove.
3728         (expand_dynamic_string_token): Use __strdup.
3729         (decompose_rpath): Likewise.
3730         (_dl_map_object): Likewise.
3732 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
3734         [BZ #14132]
3735         * sysdeps/generic/unwind-dw2-fde.c
3736         (__register_frame_info_bases_internal): Do not declare.
3737         (__register_frame_info_table_bases_internal): Likewise.
3738         (__deregister_frame_info_bases_internal): Likewise.
3739         (__register_frame_info_bases): Declare and use hidden_proto before
3740         definition.  Use hidden_def instead of INTDEF.
3741         (__register_frame_info_table_bases): Likewise.
3742         (__deregister_frame_info_bases): Likewise.
3743         (__register_frame_info): Do not use INTUSE.
3744         (__register_frame): Likewise.
3745         (__register_frame_info_table): Likewise.
3746         (__register_frame_table): Likewise.
3747         (__deregister_frame_info): Likewise.
3748         (__deregister_frame): Likewise.
3750 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
3752         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3753         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
3754         not undefine.
3755         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
3756         Likewise.
3757         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
3758         Likewise.
3760 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
3762         [BZ #14138]
3763         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
3764         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
3765         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
3766         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
3767         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
3768         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
3769         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
3770         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
3771         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
3772         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
3773         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
3774         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
3775         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
3776         syscall.
3777         (setfsuid): Likewise.
3778         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
3779         (setfsuid): Likewise.
3780         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
3781         (setfsuid): Likewise.
3782         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
3783         Likewise.
3784         (setfsuid): Likewise.
3785         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
3786         (setfsuid): Likewise.
3787         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
3788         Likewise.
3789         (setfsuid): Likewise.
3791 2014-10-27  Andreas Schwab  <schwab@suse.de>
3793         [BZ #17501]
3794         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
3795         check for Slow_SSE4_2 feature bit.
3796         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
3797         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
3798         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
3799         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
3801 2014-10-24  Roland McGrath  <roland@hack.frob.com>
3803         * configure.ac: Validate compiler version with a empirical test of
3804         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
3805         $CC -v output.
3806         * configure: Regenerated.
3808         * inet/htons.c (htons): Prototypify.
3809         * inet/htonl.c (htonl): Likewise.
3811 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3813         * string/strncat.c (strncat): Improve performance by using strlen.
3815 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3817         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
3819 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3821         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
3822         Call libc_fetestexcept_aarch64.
3824 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3826         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
3827         Call libc_feholdexcept_aarch64.
3829 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3831         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
3832         Call get_rounding_mode.
3834 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3836         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3837         Simplify logic.
3839 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3841         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
3842         Simplify logic.
3844 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
3846         [BZ #14138]
3847         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
3848         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
3849         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
3850         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
3851         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
3852         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
3853         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
3854         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
3855         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
3856         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
3857         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3858         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
3859         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
3860         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
3861         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
3862         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
3863         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
3864         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
3865         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
3866         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
3867         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
3868         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
3869         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
3870         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
3871         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
3872         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
3873         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
3874         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
3875         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
3876         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
3877         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
3878         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
3879         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
3880         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
3881         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
3882         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
3883         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
3884         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
3885         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
3886         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
3887         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
3888         syscall.
3889         (geteuid): Likewise.
3890         (getgid): Likewise.
3891         (getuid): Likewise.
3892         (getresgid): Likewise.
3893         (getresuid): Likewise.
3894         (getgroups): Likewise.
3895         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
3896         (geteuid): Likewise.
3897         (getgid): Likewise.
3898         (getuid): Likewise.
3899         (getresgid): Likewise.
3900         (getresuid): Likewise.
3901         (getgroups): Likewise.
3902         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
3903         (geteuid): Likewise.
3904         (getgid): Likewise.
3905         (getuid): Likewise.
3906         (getresgid): Likewise.
3907         (getresuid): Likewise.
3908         (getgroups): Likewise.
3909         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
3910         Likewise.
3911         (geteuid): Likewise.
3912         (getgid): Likewise.
3913         (getuid): Likewise.
3914         (getresgid): Likewise.
3915         (getresuid): Likewise.
3916         (getgroups): Likewise.
3917         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
3918         (geteuid): Likewise.
3919         (getgid): Likewise.
3920         (getuid): Likewise.
3921         (getresgid): Likewise.
3922         (getresuid): Likewise.
3923         (getgroups): Likewise.
3924         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
3925         Likewise.
3926         (geteuid): Likewise.
3927         (getgid): Likewise.
3928         (getuid): Likewise.
3929         (getgroups): Likewise.
3931         [BZ #14138]
3932         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
3933         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
3934         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
3935         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
3936         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
3937         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
3938         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
3939         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
3940         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
3941         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
3942         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
3943         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
3944         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
3945         __chown.
3946         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
3947         (lchown): Likewise.
3948         (fchown): Likewise.
3949         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
3950         Likewise.
3951         (lchown): Likewise.
3952         (fchown): Likewise.
3953         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
3954         (lchown): Likewise.
3955         (fchown): Likewise.
3956         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
3957         Likewise.
3958         (lchown): Likewise.
3959         (fchown): Likewise.
3961 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
3963         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
3964         Simplify logic.
3966 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
3968         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
3969         Cleanup logic.
3971 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
3973         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
3974         Remove unused include.
3976 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
3978         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
3979         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
3980         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
3981         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
3983 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
3984             Helge Deller <deller@gmx.de>
3986         [BZ #17508]
3987         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
3988         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
3989         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
3991 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
3993         [BZ #14132]
3994         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
3995         Remove macro definition.
3996         (__ashrdi3_v_glibc20): Likewise.
3997         (__lshrdi3_v_glibc20): Likewise.
3998         (__cmpdi2_v_glibc20): Likewise.
3999         (__ucmpdi2_v_glibc20): Likewise.
4000         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
4001         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
4002         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
4003         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
4004         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
4005         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
4007 2014-10-22  Roland McGrath  <roland@hack.frob.com>
4009         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
4010         old GNU extension [0] syntax.
4011         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
4012         alloca rather than an array member with variable length.
4013         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
4014         * nscd/nscd.c (invalidate_db): New function, broken out of ...
4015         (parse_opt): ... here.  Likewise use alloca there.
4016         Validate the -i argument before checking for rootness.
4017         (send_shutdown): New function, broken out of ...
4018         (parse_opt): ... here.
4020 2014-10-22  Roland McGrath  <roland@hack.frob.com>
4022         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
4023         macro to get at the _rt_local_ro field.
4024         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
4025         ([PIC] case) or _dl_hwcap ([!PIC] case).
4026         * sysdeps/arm/setjmp.S: Likewise.
4028         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
4029         * sysdeps/arm/configure.ac: New check to define it.
4030         * sysdeps/arm/configure: Regenerated.
4031         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
4032         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
4033         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
4034         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
4035         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
4036         Use move/movt pair instead of a load.
4037         (LDST_GLOBAL): Macro removed.
4038         (LDR_GLOBAL): New macro replaces it.
4039         (LDR_HIDDEN): New macro.
4040         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
4041         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
4043         * setjmp/tst-setjmp-static.c: New file.
4044         * setjmp/Makefile (tests): Add it.
4045         (tests-static): New variable.
4047 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
4049         [BZ #17485]
4050         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
4052 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
4054         [BZ #14132]
4055         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
4057 2014-10-21  Roland McGrath  <roland@hack.frob.com>
4059         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
4061 2014-10-20  Roland McGrath  <roland@hack.frob.com>
4063         * io/fts.c (dirent_not_directory): New function.
4064         (fts_build): Call it.
4066 2014-10-20  Roland McGrath  <roland@hack.frob.com>
4068         * nptl/version.c (__nptl_main): Use normal __write rather than
4069         INTERNAL_SYSCALL.
4070         (banner): Update copyright years.
4072         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
4073         gettimeofday.
4074         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
4075         * nptl/pthread_cond_timedwait.c: Likewise.
4076         * nptl/pthread_mutex_timedlock.c: Likewise.
4077         * nptl/sem_timedwait.c: Likewise.
4079         * sysdeps/nptl/bits/libc-lock.h
4080         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
4081         (__libc_lock_init_recursive): Return void, not 0.
4082         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
4083         (__libc_rwlock_init): Likewise.
4084         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
4086 2014-10-20  Torvald Riegel  <triegel@redhat.com>
4088         [BZ #15215]
4089         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
4090         (__pthread_once_slow): ... here.
4091         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
4092         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
4094 2014-10-20  Torvald Riegel  <triegel@redhat.com>
4096         [BZ #15215]
4097         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
4098         __PTHREAD_ONCE_FORK_GEN_INCR): New.
4099         * sysdeps/nptl/fork.c (__libc_fork): Use them.
4100         * nptl/pthread_once.c (__pthread_once): Likewise.
4101         Update comments.
4103 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
4105         [BZ #14138]
4106         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
4107         name.
4108         (writev): Use __libc_writev as strong name.
4109         * sysdeps/unix/sysv/linux/readv.c: Remove file.
4110         * sysdeps/unix/sysv/linux/writev.c: Likewise.
4112 2014-10-17  Roland McGrath  <roland@hack.frob.com>
4114         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
4116         * sysdeps/i386/nptl/tls.h
4117         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
4118         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
4119         New macros.
4120         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
4121         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
4122         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
4123         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
4124         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
4125         Call CHECK_THREAD_SYSINFO instead of doing an assert.
4127         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
4128         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
4129         on [__NR_futex].
4130         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
4131         broken out of ...
4132         (__pthread_mutex_init): ... here.  Call it.
4133         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
4134         Conditionalize PI cases on [__NR_futex].
4135         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
4136         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
4137         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4139         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
4140         conditional on [SIGSETXID].
4141         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
4142         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
4143         is defined.  Likewise for SIGSETXID.
4144         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
4145         Conditionalize definitions on [SIGSETXID].
4146         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
4147         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
4148         unblocking on [SIGCANCEL].
4150         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
4151         [__NR_set_robust_list].
4153 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
4155         * string/strcoll_l.c (get_next_seq): Fix up formatting.
4156         (do_compare): Likewise.
4158 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
4160         [BZ #15884]
4161         * string/strcoll_l.c: Don't include stdio.h.
4162         (coll_seq): Remove members idxarr and rulearr.
4163         (get_next_seq_cached): Remove function.
4164         (get_next_seq): Likewise.
4165         (get_next_seq_nocache): Rename to get_next_seq.
4166         (do_compare): Remove function.
4167         (do_compare_nocache): Rename to do_compare.
4168         (STRCOLL): Remove weight and rules cache.
4170 2014-10-16  Roland McGrath  <roland@hack.frob.com>
4172         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
4173         * sysdeps/arm/sfp-machine.h: ... to here.
4174         * sysdeps/arm/Implies: Remove arm/soft-fp.
4176 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
4178         * conform/data/sys/utsname.h-data (*_t): Allow.
4179         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
4180         [POSIX] (WEXITED): Do not expect constant.
4181         [POSIX] (WSTOPPED): Likewise.
4182         [POSIX] (WNOHANG): Likewise.
4183         [POSIX] (WNOWAIT): Likewise.
4184         [POSIX] (siginfo_t): Do not expect type or elements.
4185         [POSIX] (pid_t): Do not expect type.
4186         [POSIX] (signal.h): Do not allow header.
4187         [POSIX] (sys/resource.h): Likewise.
4188         [POSIX] (si_*): Do not allow pattern.
4189         [POSIX] (W*): Likewise.
4190         [POSIX] (P_*): Likewise.
4191         [POSIX] (BUS_*): Likewise.
4192         [POSIX] (CLD_*): Likewise.
4193         [POSIX] (FPE_*): Likewise.
4194         [POSIX] (ILL_*): Likewise.
4195         [POSIX] (POLL_*): Likewise.
4196         [POSIX] (SEGV_*): Likewise.
4197         [POSIX] (SI_*): Likewise.
4198         [POSIX] (TRAP_*): Likewise.
4199         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
4200         variable.
4202 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
4204         [BZ #12926]
4205         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
4206         infinite loop when __recvmsg returns 0.
4208 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
4210         * CANCEL-FCT-WAIVE: Remove file.
4211         * CANCEL-FILE-WAIVE: Likewise.
4213         [BZ #14132]
4214         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
4215         instead of INTVARDEF.
4216         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
4217         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
4218         rtld_hidden_data_def instead of INTVARDEF.
4219         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
4220         * elf/dl-deps.c (expand_dst): Likewise.
4221         * elf/dl-load.c (_dl_dst_count): Likewise.
4222         (_dl_dst_substitute): Likewise.
4223         (decompose_rpath): Likewise.
4224         (_dl_init_paths): Likewise.
4225         (open_path): Likewise.
4226         (_dl_map_object): Likewise.
4227         * elf/rtld.c (dl_main): Likewise.
4228         (process_dl_audit): Likewise.
4229         (process_envvars): Likewise.
4230         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
4231         Remove declaration.
4232         (__libc_enable_secure): Use rtld_hidden_proto.
4234 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4236         * elf/dl-load.c
4237         (add_path): New function broken out of _dl_rtld_di_serinfo.
4238         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
4240 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
4242         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
4243         parentheses around macro arguments.
4244         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
4245         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
4246         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
4247         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
4248         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
4249         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
4250         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
4251         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
4252         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
4253         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
4254         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
4255         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
4256         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
4257         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
4258         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
4259         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
4260         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
4261         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
4262         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
4263         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
4264         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
4265         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
4266         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
4267         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
4268         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
4269         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
4270         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
4271         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
4272         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
4273         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
4274         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
4275         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
4276         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
4277         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
4278         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
4279         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
4280         Likewise.
4281         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
4282         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
4283         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
4284         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
4285         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
4286         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
4287         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
4288         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
4289         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
4290         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
4291         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
4292         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
4293         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
4294         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
4295         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
4296         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
4297         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
4298         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
4299         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
4300         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
4301         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
4302         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
4303         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
4304         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
4305         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
4306         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
4307         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
4308         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
4309         (_FP_FRAC_SRS_1): Likewise.
4310         (_FP_FRAC_CLZ_1): Likewise.
4311         (_FP_MUL_MEAT_1_imm): Likewise.
4312         (_FP_MUL_MEAT_1_wide): Likewise.
4313         (_FP_MUL_MEAT_1_hard): Likewise.
4314         (_FP_SQRT_MEAT_1): Likewise.
4315         (_FP_FRAC_ASSEMBLE_1): Likewise.
4316         (_FP_FRAC_DISASSEMBLE_1): Likewise.
4317         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
4318         (__FP_CLZ_2): Likewise.
4319         (_FP_MUL_MEAT_2_wide): Likewise.
4320         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
4321         (_FP_MUL_MEAT_2_gmp): Likewise.
4322         (_FP_MUL_MEAT_2_120_240_double): Likewise.
4323         (_FP_SQRT_MEAT_2): Likewise.
4324         (_FP_FRAC_ASSEMBLE_2): Likewise.
4325         (_FP_FRAC_DISASSEMBLE_2): Likewise.
4326         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
4327         (_FP_FRAC_CLZ_4): Likewise.
4328         (_FP_MUL_MEAT_4_wide): Likewise.
4329         (_FP_MUL_MEAT_4_gmp): Likewise.
4330         (_FP_SQRT_MEAT_4): Likewise.
4331         (_FP_FRAC_ASSEMBLE_4): Likewise.
4332         (_FP_FRAC_DISASSEMBLE_4): Likewise.
4333         * soft-fp/op-common.h (_FP_CMP): Likewise.
4334         (_FP_CMP_EQ): Likewise.
4335         (_FP_CMP_UNORD): Likewise.
4336         (_FP_TO_INT): Likewise.
4337         (_FP_FROM_INT): Likewise.
4338         [!__FP_CLZ] (__FP_CLZ): Likewise.
4339         (_FP_DIV_HELP_imm): Likewise.
4340         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
4341         Likewise.
4342         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
4343         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
4344         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
4345         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
4346         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
4347         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
4348         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
4349         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
4350         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
4351         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
4352         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
4353         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
4354         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
4355         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
4356         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
4357         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
4358         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
4359         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
4360         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
4361         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
4362         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
4363         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
4364         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
4365         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
4366         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
4367         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
4368         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
4369         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
4370         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
4371         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
4372         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
4373         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
4374         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
4375         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
4376         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
4377         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
4378         (FP_UNPACK_RAW_SP): Likewise.
4379         (FP_PACK_RAW_S): Likewise.
4380         (FP_PACK_RAW_SP): Likewise.
4381         (FP_UNPACK_S): Likewise.
4382         (FP_UNPACK_SP): Likewise.
4383         (FP_UNPACK_SEMIRAW_S): Likewise.
4384         (FP_UNPACK_SEMIRAW_SP): Likewise.
4385         (FP_PACK_S): Likewise.
4386         (FP_PACK_SP): Likewise.
4387         (FP_PACK_SEMIRAW_S): Likewise.
4388         (FP_PACK_SEMIRAW_SP): Likewise.
4389         (_FP_SQRT_MEAT_S): Likewise.
4390         (FP_CMP_S): Likewise.
4391         (FP_CMP_EQ_S): Likewise.
4392         (FP_CMP_UNORD_S): Likewise.
4393         (FP_TO_INT_S): Likewise.
4394         (FP_FROM_INT_S): Likewise.
4396         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
4398         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
4399         (FP_EX_INVALID_IMZ): Likewise.
4400         (FP_EX_INVALID_IMZ_FMA): Likewise.
4401         (FP_EX_INVALID_ISI): Likewise.
4402         (FP_EX_INVALID_ZDZ): Likewise.
4403         (FP_EX_INVALID_IDI): Likewise.
4404         (FP_EX_INVALID_SQRT): Likewise.
4405         (FP_EX_INVALID_CVI): Likewise.
4406         (FP_EX_INVALID_VC): Likewise.
4407         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
4408         "invalid" exceptions.
4409         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
4410         (_FP_ADD_INTERNAL): Likewise.
4411         (_FP_MUL): Likewise.
4412         (_FP_FMA): Likewise.
4413         (_FP_DIV): Likewise.
4414         (_FP_CMP_CHECK_NAN): Likewise.
4415         (_FP_SQRT): Likewise.
4416         (_FP_TO_INT): Likewise.
4417         (FP_EXTEND): Likewise.
4419 2014-10-09  Allan McRae  <allan@archlinux.org>
4421         * po/fr.po: Update French translation from translation project.
4423 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
4425         [BZ #14132]
4426         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
4427         of INTDEF.
4428         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
4429         (__cxa_atexit): Use libc_hidden_proto.
4430         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
4432         [BZ #14132]
4433         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
4434         declaration.
4435         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
4436         [!_ISOMAC] (__iswspace_l_internal): Likewise.
4437         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
4438         [!_ISOMAC] (__iswctype_internal): Likewise.
4439         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
4440         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
4441         alias.
4442         (fcntl): Remove __fcntl_internal alias.
4443         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
4444         __connect_internal alias.
4445         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
4446         Likewise.
4448         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
4449         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
4450         FP_DENORM_ZERO.
4451         (_FP_CHECK_FLUSH_ZERO): New macro.
4452         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
4453         (_FP_CMP): Likewise.
4454         (_FP_CMP_EQ): Likewise.
4455         (_FP_TO_INT): Do not set inexact for subnormal arguments if
4456         FP_DENORM_ZERO.
4457         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
4458         (FP_TRUNC): Likewise.
4460         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
4461         treated as invalid conversion, not as normal exponent.
4463         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
4464         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
4465         (_FP_CMP_EQ): Likewise.
4466         (_FP_CMP_UNORD): Likewise.
4467         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
4468         (FP_CMP_EQ_D): Likewise.
4469         (FP_CMP_UNORD_D): Likewise.
4470         * soft-fp/extended.h (FP_CMP_E): Likewise.
4471         (FP_CMP_EQ_E): Likewise.
4472         (FP_CMP_UNORD_E): Likewise.
4473         * soft-fp/quad.h (FP_CMP_Q): Likewise.
4474         (FP_CMP_EQ_Q): Likewise.
4475         (FP_CMP_UNORD_Q): Likewise.
4476         * soft-fp/single.h (FP_CMP_S): Likewise.
4477         (FP_CMP_EQ_S): Likewise.
4478         (FP_CMP_UNORD_S): Likewise.
4479         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
4480         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
4481         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
4482         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
4483         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
4484         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
4485         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
4486         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
4487         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
4488         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
4489         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
4490         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
4491         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
4492         to FP_CMP_Q.
4493         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
4494         FP_CMP_Q.
4495         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
4496         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
4497         FP_CMP_EQ_Q.
4498         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
4499         FP_CMP_Q.
4500         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
4501         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
4502         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
4503         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
4504         FP_CMP_EQ_Q.
4505         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
4506         FP_CMP_Q.
4507         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
4508         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
4509         FP_CMP_EQ_Q.
4510         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
4511         FP_CMP_Q.
4512         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
4513         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
4514         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
4515         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
4516         FP_CMP_EQ_Q.
4518         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
4519         a subnormal result, set the underflow exception if trapping on
4520         underflow is enabled.
4521         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
4522         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
4523         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
4524         redefine to 0.
4525         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
4526         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
4527         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
4528         * soft-fp/extendxftf2.c (__extendxftf2): Use
4529         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
4531         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
4532         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
4533         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4534         FP_HANDLE_EXCEPTIONS.
4535         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
4536         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4537         FP_HANDLE_EXCEPTIONS.
4538         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
4539         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4540         FP_HANDLE_EXCEPTIONS.
4541         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
4542         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4543         FP_HANDLE_EXCEPTIONS.
4545 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
4547         [BZ #14132]
4548         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
4549         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
4550         use INTUSE.
4551         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
4552         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
4553         Remove alias.
4554         (__adjtimex): Define using libc_hidden_ver.
4555         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
4556         Remove declaration.
4557         (ntp_gettime): Call __adjtimex directly.
4558         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
4559         Remove declaration.
4560         (ntp_gettimex): Call __adjtimex directly.
4561         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
4562         __adjtimex_internal alias.
4564 2014-10-08  Roland McGrath  <roland@hack.frob.com>
4566         [BZ #17460]
4567         * nscd/nscd.c (more_help): Rewrite list of tables collection
4568         using xstrdup and asprintf.
4570         * nscd/nscd_conf.c: Remove local xstrdup declaration.
4572 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4573             Roland McGrath  <roland@hack.frob.com>
4575         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
4576         (do_lookup_unique): ... local function 'enter' here; update callers.
4578 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
4580         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
4581         compat_symbol calls on [SHARED].
4582         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
4583         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
4584         Remove.
4585         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4586         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
4587         (oldsetrlimit): Remove.
4588         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
4590         (lchown): New syscall entry.
4591         (oldsetrlimit): Remove.
4592         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4593         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
4594         (oldsetrlimit): Remove.
4595         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4597         [BZ #14138]
4598         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
4599         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
4600         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
4601         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
4602         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
4603         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
4604         (fchown): Likewise.
4605         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
4606         (fchown): Likewise.
4607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
4608         Likewise.
4610 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4612         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
4613         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
4614         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
4615         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
4616         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
4617         Likewise.
4618         (__old_sem_post): Likewise.
4620 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
4622         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
4623         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
4624         HAVE_CLOCK_GETTIME_VSYSCALL macros.
4625         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
4626         Use INLINE_VSYSCALL macro.
4627         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
4628         __vdso_clock_gettime.
4629         * sysdeps/unix/sysv/linux/tile/init-first.c
4630         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
4631         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
4632         __vdso_clock_gettime.
4634         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
4635         to set up frame more cleanly.
4637         * sysdeps/tile/memcmp.c: New file.
4639         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
4641         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
4642         * sysdeps/tile/tilegx/strcasestr.c: New file.
4643         * sysdeps/tile/tilegx/strnlen.c: New file.
4644         * sysdeps/tile/tilegx/strstr.c: New file.
4646         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
4648 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
4650         * nptl/tst-setuid3.c: Write errors to stdout.
4652 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4654         * elf/dl-deps.c
4655         (preload): New functions broken out of _dl_map_object_deps.
4656         (_dl_map_object_deps):  Remove a nested function. Update call sites.
4658 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
4660         [BZ #14138]
4661         * sysdeps/unix/sysv/linux/execve.c: Remove file.
4662         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
4664 2014-10-01  Steve Ellcey  <sellcey@mips.com>
4666         * sysdeps/mips/strcmp.S: New.
4668 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
4670         [BZ #14138]
4671         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
4672         (linkat): Likewise.
4673         (mkdirat): Likewise.
4674         (readlinkat): Likewise.
4675         (renameat): Likewise.
4676         (symlinkat): Likewise.
4677         (unlinkat): Likewise.
4678         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
4679         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
4680         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
4681         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
4682         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
4683         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
4684         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
4686 2014-09-30  Will Newton  <will.newton@linaro.org>
4688         * math/math.h: Define long double math functions if
4689         _LIBC_TEST is defined.
4690         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
4692         * localedata/Makefile: Move assignment to tests-special
4693         into an ifdef testing run-built-tests.
4694         * timezone/Makefile: Likewise.
4696 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
4698         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
4699         with $(BASH) not $(SHELL).
4701 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
4702             Matthew LeGendre  <legendre1@llnl.gov>
4704         [BZ #17411]
4705         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
4706         l_reloc_result.
4708 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4710         * stdio-common/printf_fp.c
4711         (hack_digit): New function, broken out of ...
4712         (__printf_fp): ... local function here.  Update call sites.
4713         hack_digit now takes an additional parameter that is a pointer
4714         to a struct of the referenced locals.  Those locals moved inside
4715         the struct and references updated.
4717 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
4719         * aclocal.m4: Require autoconf 2.69.
4720         * configure: Regenerated.
4721         * sysdeps/aarch64/configure: Likewise.
4722         * sysdeps/alpha/configure: Likewise.
4723         * sysdeps/arm/armv7/configure: Likewise.
4724         * sysdeps/arm/configure: Likewise.
4725         * sysdeps/ia64/configure: Likewise.
4726         * sysdeps/mach/configure: Likewise.
4727         * sysdeps/mips/configure: Likewise.
4728         * sysdeps/s390/configure: Likewise.
4729         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
4730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
4732         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
4733         file.
4734         * sysdeps/ia64/configure.ac: Likewise.
4736 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
4738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
4739         specify symbol version for ld.so.  Do not include entry for
4740         libpthread.
4741         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4742         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
4743         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4745         [BZ #14171]
4746         * Makeconfig [$(build-shared) = yes]
4747         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
4748         makefiles.
4749         [$(build-shared) = yes && $(soversions.mk-done) = t]
4750         ($(common-objpfx)gnu/lib-names.h): Remove rule.
4751         [$(build-shared) = yes && $(soversions.mk-done) = t]
4752         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
4753         to Makerules.
4754         [$(build-shared) = yes && $(soversions.mk-done) = t]
4755         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
4756         here.
4757         [$(build-shared) = yes && $(soversions.mk-done) = t]
4758         (common-generated): Don't append gnu/lib-names.h and
4759         gnu/lib-names.stmp here.
4760         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
4761         (lib-names-h-abi): New variable.
4762         [$(build-shared) = yes && $(soversions.mk-done) = t]
4763         (lib-names-stmp-abi): Likewise.
4764         [$(build-shared) = yes && $(soversions.mk-done) = t &&
4765         abi-variants] (before-compile): Append
4766         $(common-objpfx)$(lib-names-h-abi).
4767         [$(build-shared) = yes && $(soversions.mk-done) = t &&
4768         abi-variants] (common-generated): Append gnu/lib-names.h.
4769         [$(build-shared) = yes && $(soversions.mk-done) = t &&
4770         abi-variants] (install-others-nosubdir): Depend on
4771         $(inst_includedir)/$(lib-names-h-abi).
4772         [$(build-shared) = yes && $(soversions.mk-done) = t &&
4773         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
4774         [$(build-shared) = yes && $(soversions.mk-done) = t]
4775         ($(common-objpfx)$(lib-names-h-abi)): New rule.
4776         [$(build-shared) = yes && $(soversions.mk-done) = t]
4777         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
4778         [$(build-shared) = yes && $(soversions.mk-done) = t]
4779         (common-generated): Append $(lib-names-h-abi) and
4780         $(lib-names-stmp-abi).
4781         * scripts/lib-names.awk: Do not handle multi being set.
4782         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
4783         Remove variable.
4784         (abi-lp64_be-ld-soname): Likewise.
4785         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
4786         Likewise.
4787         (abi-hard-ld-soname): Likewise.
4788         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
4789         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
4790         Remove variable.
4791         (abi-o32_hard-ld-soname): Likewise.
4792         (abi-o32_soft_2008-ld-soname): Likewise.
4793         (abi-o32_hard_2008-ld-soname): Likewise.
4794         (abi-n32_soft-ld-soname): Likewise.
4795         (abi-n32_hard-ld-soname): Likewise.
4796         (abi-n32_soft_2008-ld-soname): Likewise.
4797         (abi-n32_hard_2008-ld-soname): Likewise.
4798         (abi-n64_soft-ld-soname): Likewise.
4799         (abi-n64_hard-ld-soname): Likewise.
4800         (abi-n64_soft_2008-ld-soname): Likewise.
4801         (abi-n64_hard_2008-ld-soname): Likewise.
4802         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
4803         Likewise.
4804         (abi-64-v2-ld-soname): Likewise.
4805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
4806         ld.so entries.
4807         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
4808         variable.
4809         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
4810         entry.
4811         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
4812         variable.
4813         (abi-64-ld-soname): Likewise.
4814         (abi-x32-ld-soname): Likewise.
4815         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
4816         entry.
4817         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4819 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
4821         [BZ #14138]
4822         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
4823         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
4824         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
4825         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
4826         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
4827         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
4828         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
4829         syscall entry for GLIBC_2.2 symbol version.
4830         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
4831         Likewise.
4832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
4833         (setrlimit): Likewise.
4834         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
4835         Likewise.
4837 2014-09-23  Will Newton  <will.newton@linaro.org>
4839         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
4840         _LINUX_ARM_SYSDEP_H include guard too.
4841         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
4842         define.
4844 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
4846         * sysdeps/unix/sysv/linux/eventfd.c:
4847         Make first argument unsigned.
4848         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
4849         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
4851 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
4853         * socket/recvmmsg.c (recvmmsg): Drop const argument.
4854         * socket/sys/socket.h: Likewise
4855         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
4857 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4859         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
4861 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
4863         * time/tst-ftime.c: New test.
4864         * time/Makefile (tests): Add tst-ftime.
4866 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
4868         * soft-fp/extended.h: Fix comment formatting.
4869         * soft-fp/op-1.h: Likewise.
4870         * soft-fp/op-2.h: Likewise.
4871         * soft-fp/op-4.h: Likewise.
4872         * soft-fp/op-8.h: Likewise.
4873         * soft-fp/op-common.h: Likewise.
4874         * soft-fp/soft-fp.h: Likewise.
4876         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
4878 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
4880         [BZ #6652]
4881         * Makeconfig (soversions-default-setname): Remove variable.
4882         ($(common-objpfx)soversions.i): Don't pass default_setname to
4883         soversions.awk.
4884         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
4885         oldest_abi to abi-versions.awk.
4886         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
4887         * config.make.in (oldest-abi): Remove variable.
4888         * configure.ac (--enable-oldest-abi): Remove configure option.
4889         * configure: Regenerated.
4890         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
4891         text.
4892         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
4893         * scripts/soversions.awk: Do not handle default_setname variable.
4894         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
4895         variable.
4896         * sysdeps/mach/hurd/configure: Regenerated.
4897         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
4898         variable.
4899         * sysdeps/unix/sysv/linux/configure: Regenerated.
4901 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4903         * elf/Makefile (CFLAGS-interp.c): Remove.
4904         ($(elf-objpfx)runtime-linker.h): Generate header with linker
4905         path string.
4906         * elf/interp.c: Include generated runtime-linker.h
4908         * Makerules (lib%.so): Don't include $(+interp) in
4909         prerequisites.
4910         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
4911         * dlfcn/eval.c: Remove file.
4913         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
4914         macros.
4916         [BZ #17266]
4917         * misc/sys/cdefs.h: Define __extern_always_inline for clang
4918         4.2 and newer.
4920         [BZ #17370]
4921         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
4923 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4924             Jakub Jelinek  <jakub@redhat.com>
4926         [BZ #17266]
4927         * libio/stdio.h: Check definition of __fortify_function
4928         instead of __extern_always_inline to include bits/stdio2.h.
4929         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
4930         check if __extern_always_inline is defined.
4931         [__USE_MISC || __USE_XOPEN]: Likewise.
4932         [__USE_ISOC99] Likewise.
4933         * misc/sys/cdefs.h (__fortify_function): Define only if
4934         __extern_always_inline is defined.
4935         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
4936         __extern_always_inline and __extern_inline only for g++-4.3
4937         and newer or a compatible gcc.
4939 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
4941         [BZ #17371]
4942         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4943         last change to handle zero prefix length.
4945 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4947         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
4948         _SC_REGEX_VERSION.
4950         * posix/getconf.c (vars): Add _POSIX_IPV6 and
4951         _POSIX_RAW_SOCKETS.
4953 2014-09-13  Allan McRae  <allan@archlinux.org>
4955         * po/ru.po: Update Russian translation from translation project.
4957 2014-09-12  Roland McGrath  <roland@hack.frob.com>
4959         * locale/programs/locale.c (show_locale_vars): Inline local function
4960         into its sole call site.  Clean up some style nits.
4961         (print_item): New function, broken out of ...
4962         (show_info): ... local function here.  Clean up style nits.
4964         * locale/programs/ld-ctype.c (set_one_default): New function, broken
4965         out of ...
4966         (set_class_defaults): ... local function set_default here.
4967         Define set_default as a macro locally to pass constant parameters.
4968         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
4969         rather than a shared local.
4971         * stdlib/rpmatch.c (try): New function, broken out of ...
4972         (rpmatch): ... local function here.  Also, prototypify definition.
4974 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
4976         * scripts/soversions.awk: Do not handle configuration names.
4977         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
4978         vendor and os variables to soversions.awk.
4979         * configure.ac: Do not modify gnu-* host_os.
4980         * configure: Regenerated
4981         * shlib-versions: Remove first column with configuration names.
4982         * nptl/shlib-versions: Likewise.
4983         * nptl_db/shlib-versions: Likewise.
4984         * sysdeps/hppa/shlib-versions: Likewise.
4985         * sysdeps/m68k/shlib-versions: Likewise.
4986         * sysdeps/mach/hurd/shlib-versions: Likewise.
4987         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
4988         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
4989         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
4990         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
4991         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
4992         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
4993         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
4994         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
4995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
4996         Likewise.
4997         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4998         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
4999         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
5000         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
5001         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
5002         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
5003         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
5004         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5007         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
5008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
5009         Regenerated.
5010         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
5011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
5012         Condition symbol version definitions on [HAVE_ELFV2_ABI].
5014         * shlib-versions: Remove OS-specific entries.  Moved to files in
5015         sysdeps.
5016         * sysdeps/mach/hurd/shlib-versions: New file.
5017         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
5019         * nptl/shlib-versions: Remove architecture-specific entries.
5020         Moved to files in sysdeps.
5021         * shlib-versions: Likewise.
5022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
5023         file.
5024         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5025         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
5026         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
5027         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
5029         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
5030         (UDP_NO_CHECK6_RX): Likewise.
5032 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
5034         * sysdeps/posix/sysconf.c (__sysconf): Spell
5035         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
5037 2014-08-12  Florian Weimer  <fweimer@redhat.com>
5039         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
5040         loading.
5041         * iconv/Versions (__gconv_transliterate): Export for use from
5042         gconv modules.
5043         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
5044         (struct __gconv_trans_data, __gconv_trans_fct,
5045         __gconv_trans_context_fct, __gconv_trans_query_fct,
5046         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
5047         definitions.
5048         (struct __gconv_step_data): Remove __trans member.
5049         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
5050         longer hidden.  Remove unused trans_data argument.
5051         * iconv/gconv_int.h (struct trans_struct): Remove definition.
5052         (__gconv_translit_find): Remove declaration.
5053         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
5054         prototype.
5055         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
5056         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
5057         trans_data argument.  Add hidden definition.
5058         (__gconv_translit_find): Remove.
5059         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
5060         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
5061         * iconv/skeleton.c: Remove transliteration initialization.
5062         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
5063         __gconv_step_data initialization.
5064         * libio/iofwide.c (__libio_translit_): Remove.
5065         (_IO_fwide): Adjust struct __gconv_step_data initialization.
5066         * wcsmbs/btowc.c (__btowc): Likewise.
5067         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5068         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
5069         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
5070         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
5071         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
5072         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
5073         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
5074         * wcsmbs/wctob.c (wctob): Likewise.
5076 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
5078         [BZ #16194]
5079         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
5080         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
5081         register usage.
5082         * sysdeps/x86/Makefile: Adjust.
5084 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5085             Roland McGrath  <roland@hack.frob.com>
5087         * locale/weight.h: Add include guard.
5088         (findidx): Make static rather than auto; take new parameters
5089         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
5090         * locale/weightwc.h: Likewise.
5091         * posix/fnmatch_loop.c
5092         (FCT): Change type of EXTRA from int32_t to wint_t.
5093         Don't include either header inside the function.
5094         Call FINDIDX rather than findidx, and pass new arguments.
5095         #undef FINDIDX at the end of the file.
5096         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
5097         FINDIDX before including fnmatch_loop.c for the non-wide version.
5098         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
5099         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
5100         for the wide version.
5101         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
5102         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
5103         Pass new arguments to findidx.
5104         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
5105         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
5106         Don't #include it inside the function.  Pass new arguments to findidx.
5107         * posix/regex_internal.h
5108         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
5109         (re_string_elem_size_at): Don't #include it inside the function.
5110         Pass new arguments to findidx.
5111         * string/strcoll_l.c: #include WEIGHT_H at top level.
5112         (get_next_seq): Don't #include it inside the function.
5113         Pass new arguments to findidx.
5114         (get_next_seq_nocache): Likewise.
5115         * string/strxfrm_l.c: #include WEIGHT_H at top level.
5116         (STRXFRM): Don't #include it inside the function.
5117         Pass new arguments to findidx.
5119 2014-09-11  Florian Weimer  <fweimer@redhat.com>
5121         [BZ #17344]
5122         * malloc/malloc.c (unlink): Turn asserts into a call to
5123         malloc_printerr.
5125 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
5127         [BZ #17370]
5128         * libio/wfileops (do_ftell_wide): Free OUT.
5130 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
5132         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
5134 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
5136         [BZ #17363]
5137         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
5138         group if the current group is empty.
5140 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5142         * benchtests/bench-memset.c (test_main): Add more test from size
5143         from 32 to 512 bytes.
5144         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5145         Add POWER8 memset object.
5146         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5147         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
5148         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
5149         implementation.
5150         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
5151         Likewise.
5152         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
5153         multiarch POWER8 memset optimization.
5154         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
5155         POWER8 memset optimization.
5157         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5158         Remove bzero multiarch objects.
5159         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
5160         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
5161         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
5162         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
5163         Remove define.
5164         [__bzero]: Redefine to specific name.
5165         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
5166         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
5167         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
5168         define.
5169         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5170         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
5172 2014-09-10  Florian Weimer  <fweimer@redhat.com>
5174         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
5175         warnings into errors.
5177         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
5178         __cxa_thread_atexit_impl prototype.
5180 2014-09-09  Steve Ellcey  <sellcey@mips.com>
5182         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
5183         Fix capitalization of error message.
5185 2014-09-09  Steve Ellcey  <sellcey@mips.com>
5187         * sysdeps/mips/preconfigure: Modify ABI tests.
5189 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
5191         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
5193 2014-09-07  Roland McGrath  <roland@hack.frob.com>
5194             Carlos O'Donell  <carlos@systemhalted.org>
5196         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
5197         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
5198         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
5199         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
5200         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
5201         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
5202         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
5203         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
5204         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
5205         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
5206         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
5207         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
5208         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
5209         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
5210         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
5211         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
5212         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
5213         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
5214         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
5215         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
5216         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
5217         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
5218         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
5219         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
5220         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
5221         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
5222         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
5223         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
5224         Deconditionalize the code that was previously under [RESET_PID].
5225         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
5226         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
5227         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
5228         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
5229         include sysdep.h.
5231 2014-09-08  Allan McRae  <allan@archlinux.org>
5233         * version.h (RELEASE): Set to "development".
5234         (VERSION): Set to "2.20.90"
5236 2014-09-07  Allan McRae  <allan@archlinux.org
5238         * version.h (RELEASE): Set to "stable".
5239         (VERSION): Set to "2.20"
5240         * include/features.h (__GLIBC_MINOR__): Set to 20.
5242         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
5243         Liebler.
5245         * po/ko.po: Update Korean translation from translation project.
5247 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
5249         [BZ #17354]
5250         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
5251         macro for handling signed relocations.
5253 2014-09-03  Florian Weimer  <fweimer@redhat.com>
5255         [BZ #17325]
5256         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
5257         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
5258         assert.
5259         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
5260         * iconvdata/ibm935.c (BODY): Likewise.
5261         * iconvdata/ibm937.c (BODY): Likewise.
5262         * iconvdata/ibm939.c (BODY): Likewise.
5263         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
5264         assert.
5265         * iconvdata/Makefile (iconv-test.out): Pass module list to test
5266         script.
5267         * iconvdata/run-iconv-test.sh: New test loop for checking for
5268         decoder crashers.
5270 2014-09-02  Khem Raj  <raj.khem@gmail.com>
5272         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
5273         libm_hidden_ver.
5275 2014-09-01  Allan McRae  <allan@archlinux.org>
5277         * po/eo.po: Update Esperanto translation from translation project.
5279         * po/ca.po: Update Catalan translation from translation project.
5281 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5283         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
5284         __proc_dostop call.
5286 2014-08-27  Mark Wielaard  <mjw@redhat.com>
5288         [BZ #17319]
5289         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
5290         to call set_thread_area instead of hand written asm.
5291         (__NR_set_thread_area): Removed define.
5292         (TLS_FLAG_WRITABLE): Likewise.
5293         (__ASSUME_SET_THREAD_AREA): Remove check.
5294         (TLS_EBX_ARG): Remove define.
5295         (TLS_LOAD_EBX): Likewise.
5297 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5299         Simplify atomicity of socket creation in bind.
5301         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
5302         looking up the name after linking the file.
5304 2014-08-27  Allan McRae  <allan@archlinux.org>
5306         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5308 2014-08-26  Florian Weimer  <fweimer@redhat.com>
5310         [BZ #17187]
5311         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
5312         trans_compare, open_translit, __gconv_translit_find):
5313         Remove module loading code.
5315 2014-08-26  Allan McRae  <allan@archlinux.org>
5317         * po/vi.po: Update Vietnamese translation from translation project.
5319         * po/uk.po: Update Ukrainian translation from translation project.
5321         * po/fr.po: Update French translation from translation project.
5323         * po/ru.po: Update Russian translation from translation project.
5325         * po/pl.po: Update Polish translation from translation project.
5327         * po/cs.po: Update Czech translation from translation project.
5329         * po/de.po: Update German translation from translation project.
5331         * po/bg.po: Update Bulgarian translation from translation project.
5333         * po/sv.po: Update Sweedish translation from translation project.
5335         * po/nl.po: Update Dutch translation from translation project.
5337         * po/es.po: Update Spanish translation from translation project.
5339 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5341         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
5343         * catgets/Makefile (CPPFLAGS-gencat): Remove.
5344         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
5345         (CPPFLAGS-iconvconfig): Likewise.
5346         * timezone/Makefile (CPPFLAGS-zic): Likewise.
5348         * include/libc-symbols.h: Remove unnecessary check for
5349         NOT_IN_libc.
5350         * nptl/pthreadP.h: Likewise.
5351         * sysdeps/aarch64/setjmp.S: Likewise.
5352         * sysdeps/alpha/setjmp.S: Likewise.
5353         * sysdeps/arm/sysdep.h: Likewise.
5354         * sysdeps/i386/setjmp.S: Likewise.
5355         * sysdeps/m68k/setjmp.c: Likewise.
5356         * sysdeps/posix/getcwd.c: Likewise.
5357         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5358         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
5359         * sysdeps/s390/s390-32/setjmp.S: Likewise.
5360         * sysdeps/s390/s390-64/setjmp.S: Likewise.
5361         * sysdeps/sh/sh3/setjmp.S: Likewise.
5362         * sysdeps/sh/sh4/setjmp.S: Likewise.
5363         * sysdeps/unix/alpha/sysdep.h: Likewise.
5364         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5365         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5366         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
5367         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5370         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5371         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5372         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5373         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5374         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5375         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5376         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5377         * sysdeps/x86_64/setjmp.S: Likewise.
5379 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
5381         [BZ #17263]
5382         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
5383         <stdint.h>.
5384         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
5385         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
5387 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
5389         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
5391         [BZ #17262]
5392         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
5393         and __x86_64__ when disabling x87 inline functions.
5395 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
5397         [BZ #17259]
5398         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
5399         asm statement with __cpuid_count.
5401 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
5403         * configure.ac: Change __ehdr_start code to dereference the struct.
5404         Run readelf on the output to look for relocations.
5405         * configure: Regenerated.
5407 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
5409         [BZ #17261]
5410         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
5411         value to 0.
5412         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
5414 2014-08-12  Roland McGrath  <roland@hack.frob.com>
5416         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
5418 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
5420         [BZ #16892]
5421         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
5422         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
5424 2014-08-12  Sean Anderson  <seanga2@gmail.com>
5426         * malloc/malloc.c: Fix typo in comment.
5428 2014-08-09  Allan McRae  <allan@archlinux.org>
5430         * Regenerate libc.po.
5432 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
5434         * intl/tst-gettext2.sh: Check every lang file for creation.
5436 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
5438         * sysdeps/aarch64/fpu/math_private.h
5439         (libc_feholdsetround_noex_aarch64_ctx): New function.
5441 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
5443         * sysdeps/arm/armv6/strcpy.S (strcpy):
5444         Fix performance issue in misaligned cases.
5446 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5448         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
5449         Move definition from termios.h.
5450         (struct termio): Likewise.
5451         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5452         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
5453         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
5454         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
5455         Likewise.
5456         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
5457         Move definition to ioctl-types.h
5458         (struct termio): Likewise.
5459         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5460         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
5461         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
5462         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
5463         Likewise.
5465 2014-08-05  Richard Henderson  <rth@redhat.com>
5467         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
5468         exceptions.
5469         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
5470         Add fraiseexcpt.
5471         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5472         Use __feraiseexcept.
5473         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
5474         Protect libm symbols with IS_IN_libm.
5476         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
5478 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
5480         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
5482 2014-08-04  Will Newton  <will.newton@linaro.org>
5484         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
5485         file.
5487 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
5489         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
5490         variants for each function.
5492 2014-08-04  Roland McGrath  <roland@hack.frob.com>
5494         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
5495         appended ...
5496         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
5497         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
5498         appended ...
5499         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
5500         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
5501         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
5502         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
5503         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
5504         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
5505         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
5506         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
5507         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
5508         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
5509         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
5510         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
5511         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
5512         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
5513         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
5514         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
5515         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
5516         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
5517         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
5518         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
5519         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
5520         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
5521         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
5522         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
5523         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
5524         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
5525         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
5526         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
5527         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
5528         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
5529         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
5530         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
5531         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
5532         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
5533         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
5534         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
5535         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
5536         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
5537         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
5538         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
5539         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
5540         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
5541         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
5542         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
5543         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
5544         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
5545         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
5546         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
5547         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
5548         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
5549         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
5550         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
5551         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
5552         Update #include.
5553         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
5554         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
5556 2014-08-04  Roland McGrath  <roland@hack.frob.com>
5558         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
5559         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
5560         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
5561         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
5562         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
5563         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
5565 2014-08-04  Roland McGrath  <roland@hack.frob.com>
5567         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
5568         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
5569         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5570         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
5572 2014-08-04  Roland McGrath  <roland@hack.frob.com>
5574         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
5575         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
5576         (__libc_vfork): Define function under this name.
5577         (__vfork): Define as an alias.
5578         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
5579         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
5581 2014-08-04  Roland McGrath  <roland@hack.frob.com>
5583         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
5584         that was previously under [RESET_PID].
5585         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
5587 2014-08-04  Andreas Schwab  <schwab@suse.de>
5589         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
5591 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
5593         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
5594         (main): Likewise.
5596 2014-08-01  Roland McGrath  <roland@hack.frob.com>
5598         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
5600 2014-08-01  Richard Henderon  <rth@redhat.com>
5602         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
5603         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
5604         typo in exact zero test.
5605         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5606         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5607         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5609 2014-08-01  Roland McGrath  <roland@hack.frob.com>
5611         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
5612         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
5613         * sysdeps/arm/sysdep.h: ... here.
5614         [!__ASSEMBLER__]: Include <stdint.h>.
5616 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
5618         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
5619         (HAVE_WCTYPE_H): Likewise.
5620         (HAVE_ISWCTYPE): Likewise.
5621         (ENABLE_NLS): Likewise.
5622         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
5623         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
5625         * posix/regex_internal.c: Check if DEBUG is defined and is
5626         set.
5628         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
5629         (HAVE_MBSRTOWCS): Likewise.
5630         * posix/fnmatch.c: Include string.h unconditionally.
5632 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
5634         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
5635         reversal.
5637 2014-07-31  Roland McGrath  <roland@hack.frob.com>
5639         * sysdeps/generic/safe-fatal.h: New file.
5640         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
5641         * nptl/forward.c: Include it.
5642         (__pthread_unwind): Use __safe_fatal as default action, rather
5643         than a bogus use of INTERNAL_SYSCALL that could never work.
5645         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
5646         * configure.ac (libc_cv_builtin_trap): New test.
5647         * configure: Regenerated.
5648         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
5649         (ABORT_INSTRUCTION): Define using __builtin_trap.
5651         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
5652         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
5653         * sysdeps/nptl/nptl-signals.h: New file.
5654         * nptl/pthreadP.h: Include <nptl-signals.h>.
5656 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
5658         * sysdeps/s390/s390-64/utf16-utf32-z9.c
5659         (ONE_DIRECTION): Define.
5660         * sysdeps/s390/s390-64/utf8-utf16-z9.c
5661         (ONE_DIRECTION): Define.
5662         * sysdeps/s390/s390-64/utf8-utf32-z9.c
5663         (ONE_DIRECTION): Define.
5665 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
5667         * sysdeps/s390/Makefile: Delete file.
5668         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
5669         * sysdeps/s390/__longjmp.c: Delete file.
5670         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
5671         Remove fields __flags and __reserved.
5672         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
5673         and add versioning.
5674         * sysdeps/s390/rtld-__longjmp.c: Delete file.
5675         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
5676         * sysdeps/s390/rtld-setjmp.S: Likewise.
5677         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
5678         * sysdeps/s390/s390-32/__longjmp.c: ... here.
5679         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
5680         * sysdeps/s390/s390-32/setjmp.S: ... here.
5681         Add versioning.
5682         (__sigsetjmp): Remove setting __flags field.
5683         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
5684         * sysdeps/s390/s390-64/__longjmp.c: ... here.
5685         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
5686         * sysdeps/s390/s390-64/setjmp.S: ... here.
5687         Add versioning.
5688         (__sigsetjmp): Remove setting __flags field.
5689         * sysdeps/s390/setjmp.S: Delete file.
5690         * sysdeps/s390/sigjmp.c: Likewise.
5691         * sysdeps/s390/v1-longjmp.c: Likewise.
5692         * sysdeps/s390/v1-setjmp.h: Likewise.
5693         * sysdeps/s390/v1-sigjmp.c: Likewise.
5694         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
5695         Remove v1-longjmp_chk.
5696         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
5697         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
5698         Include debug/longjmp_chk.c and add versioning.
5699         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
5700         Include nptl/pt-longjmp.c and add versioning.
5701         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
5702         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
5703         Include __longjmp.c.
5704         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5705         Move to ...
5706         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
5707         (__getcontext): Remove setting __flags field.
5708         Add versioning.
5709         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5710         Don't restore upper high grps.
5711         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
5712         Likewise.
5713         (__swapcontext): Remove setting uc_flags field.
5714         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
5715         Delete file.
5716         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5717         Include __longjmp.c.
5718         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5719         Move to ...
5720         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
5721         (__getcontext): Remove setting __flags field.
5722         Add versioning.
5723         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
5724         (__swapcontext): Remove setting uc_flags field.
5725         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
5726         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
5727         Remove fields uc_high_gprs and __reserved.
5728         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
5729         New file with reverted content.
5730         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
5731         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
5732         Regenerated.
5733         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
5734         Regenerated.
5736 2014-07-31  Andreas Schwab  <schwab@suse.de>
5738         * config.h.in (HAVE_IFUNC): Define to 0.
5739         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
5740         definedness.
5742 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
5744         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5745         memmove-avx-unaligned, memcpy-avx-unaligned and
5746         mempcpy-avx-unaligned.
5747         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5748         Add tests for AVX memcpy functions.
5749         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
5750         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
5751         memcpy_chk.
5752         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
5753         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
5754         memmove_chk.
5755         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
5756         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
5757         mempcpy_chk.
5758         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
5759         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
5760         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
5762 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5764         [BZ #17213]
5765         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
5766         powerpc64le.
5768 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
5770         [BZ #16839]
5771         * manual/llio.texi: Add section about open file description locks.
5772         * manual/examples/ofdlocks.c: Example of open file description
5773         lock usage.
5774         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
5775         F_OFD_SETLK, and F_OFD_SETLKW.
5777 2014-07-23  Allan McRae  <allan@archlinux.org>
5779         * po/es.po: Update Spanish translation from translation project.
5781 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
5783         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
5785 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
5787         [BZ #17078]
5788         * sysdeps/arm/dl-machine.h (elf_machine_rela)
5789         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
5790         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
5792 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
5794         [BZ #17088]
5795         * math/fesetenv.c (__fesetenv)
5796         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
5797         * math/feupdateenv.c (__feupdateenv)
5798         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
5800         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
5801         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5802         (__ASSUME_SOCKETCALL): Do not define.
5804         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
5805         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
5806         (__ASSUME_SOCKETCALL): Do not define.
5807         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
5808         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
5809         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5810         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
5811         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5812         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
5813         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5814         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5816         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
5817         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
5818         (__ASSUME_SOCKETCALL): Do not define.
5819         (__ASSUME_IPC64): Define unconditionally.
5820         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
5821         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5822         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
5823         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5824         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
5825         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5826         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
5827         Likewise.
5829         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
5830         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
5831         (__ASSUME_SOCKETCALL): Do not define.
5832         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
5833         (__ASSUME_FUTEX_LOCK_PI): Likewise.
5834         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5835         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5836         (__ASSUME_REQUEUE_PI): Define unconditionally.
5837         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
5838         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
5839         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5840         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
5841         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5842         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5844         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
5845         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
5846         (__ASSUME_SOCKETCALL): Do not define.
5847         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
5848         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5849         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5850         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
5851         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5852         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5854         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
5855         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
5856         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5857         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
5858         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5859         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
5860         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5861         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
5862         (__ASSUME_GETCPU_SYSCALL): Likewise.
5864         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
5865         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
5866         cases for individual architectures.
5867         * sysdeps/gnu/configure: Regenerated.
5868         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
5869         LIBC_SLIBDIR_RTLDDIR.
5870         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
5871         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
5872         LIBC_SLIBDIR_RTLDDIR.
5873         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
5874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
5875         LIBC_SLIBDIR_RTLDDIR.
5876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
5877         Regenerated.
5878         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
5879         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
5880         file.
5881         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
5882         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
5883         file.
5884         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
5885         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
5886         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
5887         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
5889         * sysdeps/aarch64/shlib-versions: Move to ...
5890         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
5891         * sysdeps/alpha/shlib-versions: Move to ...
5892         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
5893         * sysdeps/arm/shlib-versions: Move to ...
5894         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
5895         * sysdeps/hppa/shlib-versions: Move all contents except for
5896         libgcc_s entry to ...
5897         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
5898         entry from ...
5899         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
5900         * sysdeps/ia64/shlib-versions: Move to ...
5901         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
5902         entry from ...
5903         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
5904         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
5905         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
5906         * sysdeps/microblaze/shlib-versions: Move to ...
5907         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
5908         * sysdeps/mips/shlib-versions: Move to ...
5909         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
5910         entry from ...
5911         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
5912         * sysdeps/tile/shlib-versions: Move to ...
5913         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
5914         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
5915         from ...
5916         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
5917         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
5918         entry from ...
5919         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
5921 2014-07-17  Will Newton  <will.newton@linaro.org>
5923         * sysdeps/arm/bits/atomic.h
5924         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
5925         (__arch_compare_and_exchange_bool_16_int): Likewise.
5926         (__arch_compare_and_exchange_bool_64_int): Likewise.
5928         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
5929         into an #else block.
5931 2014-07-16  Roland McGrath  <roland@hack.frob.com>
5933         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
5934         just Linux configurations.  Test empirically that the compiler sets
5935         __ARM_EABI__, rather than using the tuple to decide.
5936         * sysdeps/arm/preconfigure: Regenerated.
5937         * sysdeps/unix/sysv/linux/arm/configure: File removed.
5938         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
5939         contents appended ...
5940         * sysdeps/arm/configure.ac: ... here.
5941         * sysdeps/arm/configure: Regenerated.
5943 2014-07-15  Roland McGrath  <roland@hack.frob.com>
5945         * nptl/pthread_kill.c: New file.
5946         * nptl/pthread_sigmask.c: New file.
5947         * nptl/pthread_sigqueue.c: New file.
5949         * sysdeps/nptl/lowlevellock.h: New file.
5950         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
5951         * sysdeps/nptl/lowlevellock-futex.h: New file.
5953         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
5954         Remove dead declarations.
5956 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
5958         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
5959         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
5960         config-cflags-avx2.
5961         * sysdeps/x86_64/configure.ac: Likewise.
5962         * sysdeps/i386/configure: Regenerated.
5963         * sysdeps/x86_64/configure: Likewise.
5964         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5965         memset-avx2 only if config-cflags-avx2 is yes.
5966         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5967         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
5968         defined.
5969         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
5970         only if HAVE_AVX2_SUPPORT is defined.
5971         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5973 2014-07-14  Alan Modra  <amodra@gmail.com>
5975         [BZ #17153]
5976         * elf/elf.h (DT_PPC64_NUM): Correct value.
5977         * NEWS: Add to fixed bug list.
5979 2014-07-13  Jim Meyering  <meyering@fb.com>
5981         [BZ 17150]
5982         regex: don't deref NULL upon heap allocation failure
5983         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
5984         failure in one more place.
5985         To trigger the segfault, configure grep -with-included-regex,
5986         build it, and run these commands:
5987         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
5989 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
5991         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
5993 2014-07-11  Richard Henderson  <rth@redhat.com>
5995         * sysdeps/aarch64/libm-test-ulps: Update.
5997 2014-07-10  Florian Weimer  <fweimer@redhat.com>
5999         [BZ #17135]
6000         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
6001         * nptl/allocatestack.c (__nptl_setxid_error): New function.
6002         (__nptl_setxid): Initialize error member.  Call
6003         __nptl_setxid_error.
6004         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
6005         * nptl/descr.h (struct xid_command): Add error member.
6006         * nptl/tst-setuid3.c: New file.
6007         * nptl/Makefile (tests): Add it.
6009 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6011         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
6012         New define.
6013         (__lll_trylock): Use __lll_base_trylock.
6014         (__lll_cond_trylock): Likewise.
6016 2014-07-10  Roland McGrath  <roland@hack.frob.com>
6018         * nptl/pthread_create.c (start_thread): Use atomic_or and
6019         lll_futex_wake directly rather than lll_robust_dead.
6020         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
6021         (lll_robust_dead): Macro removed.
6022         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
6023         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
6024         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
6025         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6026         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6027         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
6028         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
6029         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6030         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
6031         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6032         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6033         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6034         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6035         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6036         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6038         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
6039         Use atomic_compare_and_exchange_val_acq directly rather than
6040         lll_robust_trylock.
6041         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
6042         (__lll_robust_trylock, lll_robust_trylock): Removed.
6043         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
6044         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
6045         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6046         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6047         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
6048         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
6049         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6050         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
6051         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6052         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6053         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6054         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6055         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6056         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6058 2014-07-02  Florian Weimer  <fweimer@redhat.com>
6060         * manual/locale.texi (Locale Names): New section documenting
6061         locale name syntax.  Adjust menu and node chaining accordingly.
6062         (Choosing Locale): Reference Locale Names, Locale Categories.
6063         Mention setting LC_ALL=C.  Reflect that name syntax is now
6064         documented.
6065         (Locale Categories): New section title.  Reference Locale Names.
6066         LC_ALL is an environment variable, but not a category.
6067         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
6068         description, now in Locale Name.  Reference that section.  Locale
6069         name syntax is now documented.
6071 2014-07-02  Florian Weimer  <fweimer@redhat.com>
6073         [BZ #17137]
6074         * locale/findlocale.c (name_present, valid_locale_name): New
6075         functions.
6076         (_nl_find_locale): Use the loc_name variable to store name
6077         candidates.  Call name_present and valid_locale_name to check and
6078         validate locale names.  Return an error if the locale is invalid.
6080 2014-07-02  Florian Weimer  <fweimer@redhat.com>
6082         * locale/setlocale.c (setlocale): Use strdup for allocating
6083         composite name copy.
6085 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6087         Sync up with gnulib.
6088         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
6089         [!_LIBC && ENABLE_NLS]: Include gettext.h.
6090         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
6091         and _GL_ARG_NONNULL.
6092         [USE_UNLOCKED_IO]: Include unlocked-io.h.
6093         [!_LIBC]: Include code for Windows and Cygwin.
6094         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
6095         Include prototype for int strerror_r.
6096         [!_LIBC] (is_open): New function.
6097         (flush_stdout): New function.
6098         (print_errno_message): Use it.
6099         (error): Likewise.
6100         (error_at_line): Likewise.
6101         (error_tail) Add function attribute macros.  Use
6102         __builtin_expect.
6104         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
6106         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
6108         * io/ftw.c: Include sys/param.h unconditionally.
6110         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
6112         [BZ #17125]
6113         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
6114         libc_freeres_ptr.
6115         (freecache): New function to free CACHE on exit.
6117         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
6118         initialization.
6120 2014-07-09  David S. Miller  <davem@davemloft.net>
6122         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6124         * sysdeps/sparc/nptl/internaltypes.h: Delete.
6125         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
6126         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
6127         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
6128         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
6129         * sysdeps/sparc/nptl/sem_init.c: Likewise.
6130         * sysdeps/sparc/nptl/sem_post.c: Likewise.
6131         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
6132         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
6133         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
6134         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
6135         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
6136         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
6138 2014-07-09  Andreas Schwab  <schwab@suse.de>
6140         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
6141         output.
6142         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
6143         (do_test): Likewise.
6145         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6147 2014-07-09  Will Newton  <will.newton@linaro.org>
6149         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
6150         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
6151         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
6152         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
6153         * sysdeps/hppa/start.S (_start): Likewise.
6155 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
6157         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
6159         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
6160         defined.
6162 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
6164         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
6165         after checking that it is non-NULL.
6167         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
6169 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6171         * sysdeps/powerpc/memmove.c: Remove file.
6172         * sysdeps/powerpc/powerpc32/power4/memcopy.h
6173         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
6174         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
6175         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
6176         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
6177         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
6178         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
6179         string memmove instead of removed powerpc one.
6181         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6182         [weak_alias]: Fix compiler warning due trailing data.
6183         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
6184         [weak_alias]: Likewise.
6185         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
6186         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
6188         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6189         (__libc_ifunc_impl_list): Add memmove functions.
6191 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
6193         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
6194         Remove code.
6195         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
6196         Likewise
6197         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
6198         Likewise
6199         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
6200         Likewise
6201         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
6202         Likewise
6203         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
6204         Likewise
6205         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
6206         Likewise
6207         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
6208         Likewise
6209         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
6210         Likewise
6211         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
6212         Likewise
6213         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
6214         Likewise
6215         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
6216         Likewise
6217         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
6218         Likewise
6219         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
6220         Likewise
6221         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
6222         Likewise
6223         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
6224         Likewise
6225         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
6226         Likewise
6228 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6230         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
6231         to avoid alignment traps in non-cacheable memory.
6232         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
6234         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
6235         multiarch objects.
6236         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
6237         file: multiarch power7 memmove.
6238         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
6239         multiarch default memmove.
6240         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
6241         multiarch memove for powerpc32/power4.
6243         * string/bcopy.c: Use full path to include memmove.c.
6244         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
6245         multiarch objects.
6246         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
6247         bcopy for powerpc64.
6248         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
6249         bcopy for powerpc64.
6250         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
6251         and memmove implementations.
6252         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
6253         optimized multiarch memmove for POWER7/powerpc64.
6254         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
6255         default multiarch memmove for powerpc64.
6256         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
6257         multiarch for powerpc64.
6258         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
6259         for POWER7/powerpc64.
6260         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
6261         memmove for POWER7/powerpc64.
6263         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
6264         glibc default one.
6266         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
6267         __ELF_NATIVE_CLASS equal to 64.
6269 2014-07-07  Roland McGrath  <roland@hack.frob.com>
6271         * sysdeps/nptl/lowlevellock.h: File removed.
6273         * NEWS: NPTL is no longer an add-on!
6274         * nptl/internaltypes.h: Moved ...
6275         * sysdeps/nptl/internaltypes.h: ... here.
6276         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
6277         * sysdeps/nptl/fork.c: Likewise.
6278         * sysdeps/nptl/gai_misc.h: Likewise.
6279         * sysdeps/nptl/librt-cancellation.c: Likewise.
6280         * sysdeps/nptl/jmp-unwind.c: Likewise.
6281         * sysdeps/nptl/setxid.h: Likewise.
6282         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
6283         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
6284         * sysdeps/unix/sysv/linux/arm/Implies: New file.
6285         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
6286         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
6287         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
6288         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
6289         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
6290         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
6291         * sysdeps/unix/sysv/linux/mips/Implies: New file.
6292         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
6293         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
6294         * sysdeps/unix/sysv/linux/sh/Implies: New file.
6295         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
6296         * sysdeps/unix/sysv/linux/tile/Implies: New file.
6297         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
6298         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
6299         * nptl/Makeconfig: Moved ...
6300         * sysdeps/nptl/Makeconfig: ... here.
6301         * nptl/configure: File removed.
6302         * nptl/ANNOUNCE: File removed.
6303         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
6304         * sysdeps/unix/sysv/linux/configure: Regenerated.
6306         * nptl/Makefile (routines): Add libc_pthread_init,
6307         libc_multiple_threads, register-atfork and unregister-atfork.
6308         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
6309         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
6310         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
6311         pthread-pi-defines.sym, structsem.sym.
6312         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
6313         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
6314         [$(subdir) = nptl] (tests): Add tst-setgetname.
6315         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
6316         * sysdeps/unix/sysv/linux/sigaction.c: Just include
6317         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
6318         [!LIBC_SIGACTION]: Remove aliases.
6319         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
6320         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
6321         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6322         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
6323         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
6324         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
6325         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6326         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6327         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
6328         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
6329         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
6330         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
6331         __libc_allocate_rtsig_private.
6332         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
6333         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
6334         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
6335         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
6336         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
6337         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
6338         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
6339         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
6340         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
6341         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
6342         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
6343         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
6344         * nptl/internaltypes.h: ... here.
6345         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
6346         * sysdeps/nptl/jmp-unwind.c: ... here.
6347         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
6348         * nptl/libc-lowlevellock.c: ... here.
6349         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
6350         * nptl/libc_multiple_threads.c: ... here.
6351         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
6352         * nptl/libc_pthread_init.c: ... here.
6353         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
6354         * nptl/lowlevelbarrier.sym: ... here.
6355         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
6356         * nptl/lowlevelcond.sym: ... here.
6357         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
6358         * nptl/lowlevellock.c: ... here.
6359         * nptl/lowlevellock.h: Moved ...
6360         * sysdeps/nptl/lowlevellock.h: ... here.
6361         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
6362         * nptl/lowlevelrobustlock.c: ... here.
6363         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
6364         * nptl/lowlevelrobustlock.sym: ... here.
6365         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
6366         * nptl/lowlevelrwlock.sym: ... here.
6367         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
6368         * nptl/pt-fork.c: ... here.
6369         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
6370         * nptl/pthread-pi-defines.sym: ... here.
6371         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
6372         * nptl/pthread_attr_getaffinity.c: ... here.
6373         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
6374         * nptl/pthread_attr_setaffinity.c: ... here.
6375         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
6376         * nptl/pthread_mutex_cond_lock.c: ... here.
6377         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6378         Update #include.
6379         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
6380         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
6381         * nptl/pthread_once.c: ... here, replacing old file.
6382         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
6383         * nptl/pthread_yield.c: ... here.
6384         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
6385         * nptl/register-atfork.c: ... here.
6386         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
6387         * nptl/sem_post.c: ... here.
6388         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
6389         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
6390         * nptl/sem_timedwait.c: ... here.
6391         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
6392         * nptl/sem_trywait.c: ... here.
6393         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
6394         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
6395         * nptl/sem_wait.c: ... here.
6396         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
6397         * nptl/structsem.sym: ... here.
6398         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
6399         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
6400         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
6401         * nptl/unregister-atfork.c: ... here.
6402         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
6403         * nptl/unwindbuf.sym: ... here.
6404         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
6405         * sysdeps/nptl/fork.c: ... here.
6406         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
6407         * sysdeps/nptl/fork.h: ... here.
6408         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
6409         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
6410         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
6411         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
6412         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
6413         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
6414         * sysdeps/unix/sysv/linux/getpid.c: ... here.
6415         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
6416         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
6417         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
6418         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
6419         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
6420         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
6421         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
6422         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
6423         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
6424         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
6425         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
6426         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
6427         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
6428         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
6429         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
6430         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
6431         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
6432         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
6433         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
6434         * sysdeps/unix/sysv/linux/raise.c: ... here.
6435         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
6436         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
6437         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
6438         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
6439         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
6440         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
6441         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
6442         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
6443         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
6444         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
6445         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
6446         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
6447         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
6448         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
6449         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
6451 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
6453         * sysdeps/generic/memcopy.h: Add comment for
6454         MEMCPY_OK_FOR_FWD_MEMMOVE.
6456 2014-07-04  Will Newton  <will.newton@linaro.org>
6458         * string/memchr.c: Merge from gnulib.
6459         [_LIBC]: Remove conditionals.
6460         (__ptr_t): Remove define.
6461         (LONG_MAX_32_BITS): Likewise.
6462         (LONG_MAX): Likewise.
6463         (MEMCHR): Use ANSI prototype and optimize algorithm.
6465         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
6467 2014-07-03  Roland McGrath  <roland@hack.frob.com>
6469         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
6470         (lll_futex_timed_wait_bitset): Fix syscall argument count.
6472         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
6473         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
6474         in a bare environment with no <stdlib.h> installed.
6475         * sysdeps/nptl/configure: Regenerated.
6477         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
6479         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
6480         AC_EGREP_CPP for kernel header checks, so they only succeed if
6481         including <linux/version.h> actually works right.
6482         * sysdeps/unix/sysv/linux/configure: Regenerated.
6484         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
6485         value so it's not diagnosed as unused.
6487         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
6488         thing) with "ifeq ($(subdir),rt)".
6490 2014-07-03  Richard Henderson  <rth@redhat.com>
6492         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
6493         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
6494         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
6496         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
6497         (math_force_eval): New.
6499         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
6500         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
6502         * sysdeps/alpha/fpu/s_round.c: Remove file.
6503         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
6505         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
6506         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
6507         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
6508         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
6509         (_dl_start, print_statistics): Likewise.
6510         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
6511         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
6513         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6514         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6515         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6516         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6517         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6518         (HP_SMALL_TIMING_AVAIL): Define.
6519         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6520         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
6521         (HP_SMALL_TIMING_AVAIL): Define.
6522         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6523         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6525         * sysdeps/aarch64/hp-timing.h: New file.
6527         * sysdeps/generic/hp-timing.h: Remove dead comment.
6528         * sysdeps/generic/hp-timing-common.h: New file.
6529         * sysdeps/alpha/hp-timing.h: Include it.
6530         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
6531         * sysdeps/i386/i686/hp-timing.h: Likewise.
6532         * sysdeps/ia64/hp-timing.h: Likewise.
6533         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6534         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6535         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
6536         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
6537         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
6538         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
6539         (hp_timing_t): New.
6541         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
6542         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
6543         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
6544         * elf/rtld.c (_dl_start_final): Likewise.
6545         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
6546         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6547         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6548         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6549         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6550         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6551         (HP_TIMING_DIFF_INIT): Remove.
6552         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6553         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
6554         (HP_TIMING_DIFF_INIT): Remove.
6555         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6556         * sysdeps/i386/i686/hp-timing.c: Remove file.
6557         * sysdeps/x86_64/hp-timing.c: Remove file.
6558         * sysdeps/ia64/hp-timing.c: Remove file.
6559         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
6560         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
6561         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
6562         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
6564         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
6565         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
6566         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
6567         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6568         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6569         (HP_TIMING_ACCUM): Remove.
6570         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6571         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
6572         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6574         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
6575         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
6576         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
6577         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
6578         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
6579         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
6580         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
6581         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
6583         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
6585 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
6587         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
6589 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6591         Sync up with gettext.
6592         * intl/loadmsgcat.c: Define O_BINARY if not defined.
6593         [_MSC_VER]: Include malloc.h
6594         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
6595         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
6596         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
6597         TEMP_FAILURE_RETRY.  Cast return of alloca.
6598         [!_LIBC] Call gl_rwlock_init.
6599         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
6601 2014-07-02  Roland McGrath  <roland@hack.frob.com>
6603         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
6604         before checking its value.
6606 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6608         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
6610         * debug/memcpy_chk.c: Don't include pagecopy.h.
6611         * debug/mempcpy_chk.c: Likewise.
6612         * string/memcpy.c: Likewise.
6613         * string/memmove.c: Likewise.
6614         * sysdeps/powerpc/memmove.c: Likewise.
6615         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
6616         definition of PAGE_COPY_FWD_MAYBE here...
6617         * sysdeps/generic/pagecopy.h: ... from here.
6618         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
6620 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6621             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6623         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
6624         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
6625         optimizations.
6626         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6627         (__libc_ifunc_impl_list): Likewise.
6628         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
6629         multiarch strcat for PPC64.
6630         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
6631         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
6633 2014-07-02  Roland McGrath  <roland@hack.frob.com>
6635         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
6637 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6639         * intl/loadmsgcat.c: Remove declaration of
6640         get_sysdep_segment_value.
6641         (get_sysdep_segment_value): Use ISO C style.
6642         (_nl_load_domain): Use ISO C style.  Get rid of redundant
6643         semicolon.  Fix typo and formatting in comment.
6644         (_nl_unload_domain): Use ISO C style.
6646         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
6648 2014-07-02  Will Newton  <will.newton@linaro.org>
6650         * malloc/obstack.c: Merge from gnulib master.
6651         [HAVE_CONFIG_H]: Remove conditional code.
6652         [!_LIBC]: Include config.h.
6653         [!ELIDE_CODE]: Don't include inttypes.h, include
6654         stdint.h unconditionally.
6655         (print_and_abort): Mark as _Noreturn.
6656         (_obstack_allocated_p): Mark as __attribute_pure__.
6657         (obstack_free): Rename to __obstack_free.
6658         [!__attribute__]: Remove conditional code.
6659         * malloc/obstack.h: Merge from gnulib master.
6660         [__cplusplus]: Move conditional down.
6661         [!__attribute_pure__]: Define __attribute_pure__ here
6662         if it is not already defined.
6663         (_obstack_memory_used): Mark as __attribute_pure__.
6664         [!__obstack_free]: Define as obstack_free.
6665         [__GNUC__]: Remove check for ancient NeXT gcc.
6667 2014-07-02  Will Newton  <will.newton@linaro.org>
6668             Paul Eggert  <eggert@cs.ucla.edu>
6670         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
6672 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6674         * resolv/gethnamaddr.c: Add comment warning that the file is
6675         not maintained.
6677 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
6679         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
6680         entries.
6682         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
6683         entry for aio_cancel and aio_cancel64.
6684         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
6685         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
6686         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
6687         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
6688         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
6689         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
6690         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
6691         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
6692         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
6693         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
6694         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
6695         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
6696         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
6698 2014-07-01  Roland McGrath  <roland@hack.frob.com>
6700         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
6701         * nptl/pthread_mutex_lock.c: Likewise.
6702         * nptl/pthread_mutex_timedlock.c: Likewise.
6703         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
6705 2014-07-01  Richard henderson  <rth@redhat.com>
6707         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
6708         (__isnan, __isnanl): Remove.
6709         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
6711         * sysdeps/alpha/fpu/libm-test-ulps: Update.
6713 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
6715         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6717 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
6719         * resolv/nss_dns/dns-host.c (getanswer_r)
6720         [MULTI_PTRS_ARE_ALIASES]: Remove code.
6722 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
6724         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6725         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
6726         undefine.
6727         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
6728         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
6730 2014-07-01  Roland McGrath <roland@hack.frob.com>
6732         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
6733         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
6735         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
6736         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
6738         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
6739         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
6740         ... here.
6741         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
6742         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
6744         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
6745         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
6746         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
6747         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
6749         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
6750         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
6751         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
6752         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
6753         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
6754         Moved ...
6755         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
6756         ... here.
6757         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
6758         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
6759         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
6760         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
6761         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
6762         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
6763         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
6764         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
6765         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
6766         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
6767         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
6768         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
6769         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
6770         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
6771         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
6772         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
6773         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
6774         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
6775         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
6776         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
6777         ... here.
6778         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
6779         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
6780         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
6781         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
6782         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
6783         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
6784         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
6785         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
6787 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
6789         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
6790         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
6791         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
6792         Add sysdep.
6794 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6796         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6798 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
6800         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
6801         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6803         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6805         * sysdeps/arm/libm-test-ulps: Regenerated.
6807 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
6808             Roland McGrath <roland@hack.frob.com>
6810         * test-skeleton.c (signal_handler): Kill the whole process group
6811         before killing the child individually.
6812         (main): Report any failure on `setpgid'.
6814 2014-06-30  Roland McGrath  <roland@hack.frob.com>
6816         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
6817         from _TLS_H to _ARM_NPTL_TLS_H.
6818         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
6819         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
6821 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
6823         [BZ #16539]
6824         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
6825         (__expm1l): Return argument unchanged when small but not
6826         subnormal.
6828         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
6829         include macro name.
6830         (_FP_UNPACK_RAW_1_P): Likewise.
6831         (_FP_PACK_RAW_1): Likewise.
6832         (_FP_PACK_RAW_1_P): Likewise.
6833         (_FP_MUL_MEAT_1_wide): Likewise.
6834         (_FP_MUL_MEAT_DW_1_hard): Likewise.
6835         (_FP_MUL_MEAT_1_hard): Likewise.
6836         (_FP_DIV_MEAT_1_imm): Likewise.
6837         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
6838         (_FP_DIV_MEAT_1_udiv): Likewise.
6839         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
6840         (_FP_UNPACK_RAW_2): Likewise.
6841         (_FP_UNPACK_RAW_2_P): Likewise.
6842         (_FP_PACK_RAW_2): Likewise.
6843         (_FP_PACK_RAW_2_P): Likewise.
6844         (_FP_MUL_MEAT_DW_2_wide): Likewise.
6845         (_FP_MUL_MEAT_2_wide): Likewise.
6846         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
6847         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
6848         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
6849         (_FP_MUL_MEAT_2_gmp): Likewise.
6850         (_FP_DIV_MEAT_2_udiv): Likewise.
6851         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
6852         (_FP_FRAC_SRL_4): Likewise.
6853         (_FP_FRAC_SRST_4): Likewise.
6854         (_FP_FRAC_SRS_4): Likewise.
6855         (_FP_UNPACK_RAW_4): Likewise.
6856         (_FP_UNPACK_RAW_4_P): Likewise.
6857         (_FP_PACK_RAW_4): Likewise.
6858         (_FP_PACK_RAW_4_P): Likewise.
6859         (_FP_MUL_MEAT_DW_4_wide): Likewise.
6860         (_FP_MUL_MEAT_4_wide): Likewise.
6861         (_FP_MUL_MEAT_4_gmp): Likewise.
6862         (umul_ppppmnnn): Likewise.
6863         (_FP_DIV_MEAT_4_udiv): Likewise.
6864         (__FP_FRAC_ADD_4): Likewise.
6865         (__FP_FRAC_SUB_3): Likewise.
6866         (__FP_FRAC_SUB_4): Likewise.
6867         (__FP_FRAC_DEC_3): Likewise.
6868         (__FP_FRAC_DEC_4): Likewise.
6869         (__FP_FRAC_ADDI_4): Likewise.
6870         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
6871         (_FP_FRAC_SRL_8): Likewise.
6872         (_FP_FRAC_SRS_8): Likewise.
6874         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
6875         include macro name.
6876         (FP_UNPACK_RAW_EP): Likewise.
6877         (FP_PACK_RAW_E): Likewise.
6878         (FP_PACK_RAW_EP): Likewise.
6879         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
6880         (_FP_ISSIGNAN): Likewise.
6881         (_FP_ADD_INTERNAL): Likewise.
6882         (_FP_FMA): Likewise.
6883         (_FP_CMP): Likewise.
6884         (_FP_SQRT): Likewise.
6885         (_FP_TO_INT): Likewise.
6886         (_FP_FROM_INT): Likewise.
6887         (FP_EXTEND): Likewise.
6888         (_FP_DIV_MEAT_N_loop): Likewise.
6890 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
6892         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
6893         throughout.
6895 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
6897         [BZ #17097]
6898         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
6899         result with correct sign in case of exponents that produce
6900         overflow except for X very close to 1.
6902 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
6904         mktime: merge #if/#ifdef usage from glibc
6905         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
6906         as that works with both Glibc's and Gnulib's style.
6907         See thread starting at Siddhesh Poyarekar's bug report at:
6908         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
6910 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
6912         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
6913         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
6914         * sysdeps/tile/tilegx/memmove.c: Remove file.
6916 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
6918         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
6919         abi-name definition.
6920         * scripts/soversions.awk: Do not handle or generate ABI lines.
6921         * shlib-versions: Remove ABI entries.
6922         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
6923         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
6925 2014-06-27  Roland McGrath  <roland@hack.frob.com>
6927         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
6928         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
6929         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
6930         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
6931         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
6932         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
6933         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
6934         Moved ...
6935         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
6936         ... here.
6937         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
6938         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
6939         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
6940         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
6941         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
6942         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
6943         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
6944         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
6945         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
6946         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
6947         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
6948         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
6949         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
6950         Moved ...
6951         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
6952         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
6953         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
6954         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
6955         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
6956         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
6957         Moved ...
6958         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
6959         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
6960         Moved ...
6961         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
6962         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
6963         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
6964         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
6965         Moved ...
6966         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
6967         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
6968         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
6969         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
6970         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
6971         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
6972         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
6973         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
6974         Moved ...
6975         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
6976         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
6977         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
6978         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
6979         Moved ...
6980         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
6981         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
6982         Moved ...
6983         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
6984         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
6985         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
6986         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
6987         Moved ...
6988         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
6989         ... here.
6990         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
6991         Identical file removed.
6992         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
6993         Moved ...
6994         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
6995         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
6996         Identical file removed.
6997         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
6998         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
6999         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
7000         Moved ...
7001         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
7002         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
7003         Identical file removed.
7004         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
7005         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
7006         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
7007         Identical file removed.
7008         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
7009         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
7010         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
7011         Identical file removed.
7012         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
7013         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
7014         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
7015         Identical file removed.
7016         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
7017         Moved ...
7018         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
7019         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
7020         Identical file removed.
7021         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
7022         Moved ...
7023         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
7024         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
7025         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
7026         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
7027         Identical file removed.
7028         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
7029         Moved ...
7030         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
7031         ... here.
7032         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
7033         Identical file removed.
7034         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
7035         Moved ...
7036         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
7037         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
7038         Identical file removed.
7039         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
7040         Moved ...
7041         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
7042         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
7043         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
7044         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
7045         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
7046         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
7047         Moved ...
7048         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
7049         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
7050         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
7052         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
7053         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
7054         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
7055         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
7056         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
7058 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
7060         [BZ #17092]
7061         * nscd/nscd.c (monitor_child): Return exit status of child
7062         instead of return value from wait syscall.
7064 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
7066         * configure.ac (libc_commonpagesize): Remove variable.
7067         (libc_relro_required): Likewise.
7068         (libc_cv_z_relro): Remove configure test.
7069         * configure: Regenerated.
7070         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
7071         variable.
7072         (libc_relro_required): Likewise.
7073         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
7074         (libc_relro_required): Likewise.
7075         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
7076         (libc_relro_required): Likewise.
7077         * sysdeps/arm/preconfigure: Regenerated.
7078         * sysdeps/ia64/preconfigure: Remove file.
7079         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
7080         variable.
7081         (libc_relro_required): Likewise.
7083         [BZ #16561]
7084         [BZ #16562]
7085         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
7086         (__ieee754_yn): Set FE_TONEAREST mode internally and then
7087         recompute overflowing results in original rounding mode.
7088         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
7089         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
7090         recompute overflowing results in original rounding mode.
7091         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
7092         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7093         recompute overflowing results in original rounding mode.
7094         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
7095         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7096         recompute overflowing results in original rounding mode.
7097         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
7098         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7099         recompute overflowing results in original rounding mode.
7100         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
7101         (libc_feholdsetround_ctx): New macro.
7102         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
7103         * sysdeps/i386/fpu/libm-test-ulps: Update.
7104         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
7106 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
7108         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
7109         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
7110         corresponding .cpsetup call.
7112 2014-06-26  Roland McGrath  <roland@hack.frob.com>
7114         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
7115         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
7116         * sysdeps/arm/Makefile [$(subdir) = csu]
7117         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
7118         (static-only-routines): Add aeabi_read_tp here.
7119         (shared-only-routines): Add libc-aeabi_read_tp here.
7120         (CFLAGS-libc-start.c): Add -fexceptions here.
7121         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
7122         (sysdep_routines, static-only-routines, shared-only-routines):
7123         Don't add to these here.
7124         (CFLAGS-libc-start.c): Likewise.
7126         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
7127         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
7128         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
7129         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
7130         * sysdeps/arm/Makefile [$(subdir) = rt]
7131         (librt-sysdep_routines, librt-shared-only-routines):
7132         Append rt-aeabi_unwind_cpp_pr1 here.
7133         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
7134         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
7135         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
7136         (libpthread-sysdep_routines, libpthread-shared-only-routines):
7137         Append nptl-aeabi_unwind_cpp_pr1 here.
7138         (tests): Filter out tst-cleanupx4 here.
7139         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
7140         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
7141         Don't do those here.
7143 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
7145         * scripts/list-sources.sh: Do not handle ports specially.
7147 2014-06-26  Roland McGrath  <roland@hack.frob.com>
7149         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
7150         * sysdeps/arm/feupdateenv.c: Likewise.
7152         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
7154 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
7156         * manual/texinfo.tex: Update to version 2014-05-05.10 with
7157         trailing whitespace removed.
7158         * scripts/config.guess: Update to version 2014-03-23.
7159         * scripts/config.sub: Update to version 2014-05-01
7160         * scripts/install-sh: Update to version 2013-12-25.23.
7161         * scripts/move-if-change: Update from gnulib.
7163 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7165         * debug/memmove_chk.c: Remove pagecopy.h include.
7167 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
7169         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
7170         identical to gnulib mktime.
7172 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
7174         * configure.ac: Do not test for machine being rs6000.  Do not test
7175         for powerpc*-*soft.
7176         * configure: Regenerated.
7178         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
7179         test.
7180         * configure: Regenerated.
7181         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
7182         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
7183         Remove configure test.
7184         * sysdeps/arm/configure: Regenerated.
7185         * sysdeps/nptl/configure.ac: Do not check
7186         libc_cv_asm_cfi_directives.
7187         * sysdeps/nptl/configure: Regenerated.
7188         * sysdeps/x86_64/nptl/configure.ac: Remove file.
7189         * sysdeps/x86_64/nptl/configure: Remove generated file.
7190         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
7191         unconditional.
7192         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
7194 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7196         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
7197         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
7198         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
7199         it is defined.
7201         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
7202         instead of whether it is defined.
7203         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
7204         * sysdeps/hppa/dl-machine.h: Likewise.
7205         * sysdeps/ia64/dl-machine.h: Likewise.
7206         * sysdeps/m68k/dl-machine.h: Likewise.
7207         * sysdeps/microblaze/dl-machine.h: Likewise.
7208         * sysdeps/mips/dl-machine.: Likewise.
7209         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7210         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7211         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7212         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7213         * sysdeps/sh/dl-machine.h: Likewise.
7214         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7215         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7216         * sysdeps/tile/dl-machine.h: Likewise.
7217         * sysdeps/x86_64/dl-machine.h: Likewise.
7219         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
7220         code.
7221         (verify_persistent_db): Likewise.
7223 2014-06-26  Roland McGrath  <roland@hack.frob.com>
7225         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
7226         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
7227         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
7228         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
7229         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7230         Moved ...
7231         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
7232         ... here.
7233         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
7234         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
7235         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
7236         Identical file removed.
7237         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
7238         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
7239         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
7240         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
7241         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
7242         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
7243         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
7244         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
7245         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
7246         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
7247         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7248         Moved ...
7249         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
7250         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
7251         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
7252         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
7253         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
7254         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7255         Moved ...
7256         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
7257         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
7258         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
7259         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
7260         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
7261         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
7262         Identical file removed.
7263         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
7264         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
7265         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
7266         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
7267         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7268         Moved ...
7269         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
7270         ... here.
7271         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
7272         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
7273         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
7274         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
7275         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
7276         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
7277         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
7278         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
7279         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
7280         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
7281         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7282         Moved ...
7283         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
7284         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
7285         Moved ...
7286         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
7287         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
7288         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
7289         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7290         Moved ...
7291         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
7292         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
7293         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
7295         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
7296         folded into ...
7297         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
7298         * sysdeps/unix/sysv/linux/s390/Versions
7299         (libpthread: GLIBC_2.19): New version set.
7300         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
7301         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
7302         (librt: GLIBC_2.3.3): New version set.
7303         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
7304         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
7305         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
7306         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
7307         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
7308         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
7309         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
7310         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
7311         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
7312         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
7313         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
7314         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
7315         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
7316         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
7317         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
7318         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
7319         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
7320         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
7321         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
7322         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
7323         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
7324         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
7325         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
7326         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
7327         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
7328         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
7329         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
7330         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
7331         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
7332         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
7333         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
7334         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
7335         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
7336         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
7337         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
7338         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
7339         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
7340         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
7341         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
7342         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
7343         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
7344         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
7345         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
7346         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
7347         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
7349         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
7350         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
7351         (__libc_vfork): Define the function under this name.
7352         [!NOT_IN_libc] (__vfork): Make this an alias.
7353         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
7354         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
7355         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
7356         (__libc_vfork): Define the function under this name.
7357         [!NOT_IN_libc] (__vfork): Make this an alias.
7358         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
7359         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
7360         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
7361         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
7362         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
7363         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7365         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
7366         code that was previously under [RESET_PID].
7367         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
7368         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
7369         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
7371         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
7372         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
7373         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
7374         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
7375         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
7376         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
7377         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
7378         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
7379         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
7380         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
7381         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
7382         Moved ...
7383         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
7384         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
7385         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
7386         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
7387         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
7388         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
7389         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
7390         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
7391         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
7392         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
7393         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
7394         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
7395         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
7396         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
7397         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
7398         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
7399         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
7400         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
7401         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
7402         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
7403         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
7404         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
7405         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
7406         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
7407         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
7408         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
7409         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
7410         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
7411         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
7413 2014-06-25  Roland McGrath  <roland@hack.frob.com>
7415         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
7416         that was previously under [RESET_PID].
7417         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
7419 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
7421         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
7422         not undefine and redefine.
7423         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
7424         [O_CLOEXEC]: Make code unconditional.
7425         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
7426         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
7427         <kernel-features.h>.
7428         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
7429         conditional variable definition.
7430         (shm_open) [O_CLOEXEC]: Make code unconditional.
7431         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
7432         code.
7434         * configure.ac (USE_REGPARMS): Don't define here.
7435         * configure: Regenerated.
7436         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
7437         * sysdeps/i386/configure: Regenerated.
7439         * nptl/createthread.c: Don't include kernel-features.h.
7440         * nptl/pthread_cancel.c: Likewise.
7441         * nptl/pthread_condattr_setclock.c: Likewise.
7442         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
7443         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
7444         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
7445         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
7446         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
7447         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
7448         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
7449         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
7450         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
7451         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
7452         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
7453         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
7454         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
7455         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
7456         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
7457         * nscd/gai.c: Likewise.
7458         * nss/nss_db/db-open.c: Likewise.
7459         * sysdeps/generic/ldsodefs.h: Likewise.
7460         * sysdeps/sh/nptl/tls.h: Likewise.
7461         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
7462         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
7463         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
7464         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
7465         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
7466         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
7467         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
7468         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7469         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7470         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
7471         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
7472         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7473         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
7474         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
7475         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
7476         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
7477         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
7478         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
7479         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
7480         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
7481         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
7482         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
7483         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
7484         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
7485         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
7486         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
7487         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
7488         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
7489         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
7490         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
7491         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
7492         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
7493         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
7494         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7495         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
7496         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7497         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
7498         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
7499         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
7500         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
7501         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
7502         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
7503         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
7504         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7505         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
7506         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
7507         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
7508         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
7509         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
7510         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
7511         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
7512         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
7513         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
7514         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
7515         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
7516         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
7517         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7518         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
7519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
7521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
7522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
7523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
7524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
7525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
7526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
7527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
7530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
7531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
7532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
7533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
7534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
7535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
7539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
7540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
7541         * sysdeps/unix/sysv/linux/pread.c: Likewise.
7542         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
7543         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
7544         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
7545         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
7546         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
7547         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
7548         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
7549         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
7550         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
7551         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
7552         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
7553         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
7554         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
7555         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
7556         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
7557         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7558         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
7559         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
7560         * sysdeps/unix/sysv/linux/system.c: Likewise.
7561         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
7562         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
7563         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7564         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7565         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7566         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7567         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
7569         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
7570         * configure: Regenerated.
7571         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
7573         * configure.ac (base_machine): Do not set specially for particular
7574         machines here.
7575         * configure: Regenerated.
7576         * sysdeps/powerpc/preconfigure: Move machine and base_machine
7577         settings from configure.ac.
7578         * sysdeps/i386/preconfigure: New file.
7579         * sysdeps/s390/preconfigure: Likewise.
7580         * sysdeps/sh/preconfigure: Likewise.
7581         * sysdeps/sparc/preconfigure: Likewise.
7583 2014-06-25  Roland McGrath  <roland@hack.frob.com>
7585         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
7586         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
7587         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
7588         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
7589         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
7590         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
7591         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
7592         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
7593         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
7594         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
7595         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
7596         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
7597         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
7598         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
7599         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
7600         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
7601         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
7602         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
7603         * sysdeps/sparc/sparc64/Makefile: ... appended here.
7605         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
7606         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
7607         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
7608         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
7609         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
7610         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
7611         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
7612         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
7613         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
7614         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
7615         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
7616         * sysdeps/sparc/sparc32/sem_post.c: ... here.
7617         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
7618         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
7619         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
7620         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
7621         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
7622         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
7623         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
7624         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
7625         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
7626         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
7627         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
7628         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
7629         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
7630         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
7631         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
7632         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
7633         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
7634         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
7635         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
7636         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
7637         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
7638         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
7639         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
7640         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
7641         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
7642         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
7644         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
7645         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
7646         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
7647         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
7648         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7649         Moved ...
7650         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
7651         ... here.
7652         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
7653         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
7654         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
7655         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
7656         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
7657         Moved ...
7658         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
7659         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
7660         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
7661         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
7662         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
7663         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
7664         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
7665         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7666         Moved ...
7667         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
7668         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7669         Moved ...
7670         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
7671         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
7672         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
7673         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7674         Moved ...
7675         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
7676         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
7677         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
7678         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
7679         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
7680         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
7681         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
7682         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
7683         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
7684         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7685         Moved ...
7686         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
7687         ... here.
7688         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
7689         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
7690         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
7691         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
7692         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
7693         Moved ...
7694         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
7695         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
7696         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
7697         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
7698         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
7699         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
7700         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
7701         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7702         Moved ...
7703         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
7704         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7705         Moved ...
7706         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
7707         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
7708         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
7709         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7710         Moved ...
7711         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
7712         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
7713         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
7714         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
7715         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
7717 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
7719         * timezone/checktab.awk: Update from tzcode 2014e.
7720         * timezone/private.h: Likewise.
7721         * timezone/tzfile.h: Likewise.
7722         * timezone/zdump.c: Likewise.
7723         * timezone/zic.c: Likewise.
7725         * sysdeps/unix/sysv/linux/kernel-features.h
7726         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
7727         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
7728         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
7729         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
7730         Remove conditional code.
7732 2014-06-25  Will Newton  <will.newton@linaro.org>
7734         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
7735         (_dl_arm_cap_flags): Add HWCAP2 values.
7736         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
7737         (_DL_HWCAP_COUNT): Increase to 37.
7738         (_DL_HWCAP_LAST): New define.
7739         (_DL_HWCAP2_LAST): New define.
7740         (_dl_procinfo): Add support for printing
7741         AT_HWCAP2 entries.
7742         (_dl_string_hwcap): Use _dl_hwcap_string.
7744 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7746         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7748 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
7750         * README: Do not mention ports directory.
7752         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
7753         Remove macro.
7754         * sysdeps/unix/sysv/linux/futimes.c: Do not include
7755         <kernel-features.h>.
7756         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
7757         conditional variable definition.
7758         (__futimes): Update comment.
7759         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
7760         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
7762         [BZ #16560]
7763         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
7764         arguments close to 0.
7765         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
7766         Likewise.
7767         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
7768         Likewise.
7769         * math/auto-libm-test-in: Add more tests of exp10.
7770         * math/auto-libm-test-out: Regenerated.
7771         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7773         * sysdeps/unix/sysv/linux/kernel-features.h
7774         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
7775         * sysdeps/unix/sysv/linux/readv.c: Do not include
7776         <kernel-features.h>.
7777         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
7778         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
7779         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
7780         unconditional.
7781         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
7782         conditional code.
7783         * sysdeps/unix/sysv/linux/writev.c: Do not include
7784         <kernel-features.h>.
7785         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
7786         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
7787         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
7788         unconditional.
7789         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
7790         conditional code.
7792 2014-06-25  Will Newton  <will.newton@linaro.org>
7794         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
7795         comment changes throughout the file.  Remove checks
7796         for HAVE_*_H definitions that are not required.
7797         (__gen_tempname): Call abort if an unknown kind value is
7798         passed.
7800 2014-06-25  Andreas Schwab  <schwab@suse.de>
7802         [BZ #17086]
7803         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
7804         scalbln, scalblnf, scalblnl in libc.
7806 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
7808         [BZ #17086]
7809         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
7810         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
7811         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
7813 2014-06-24  Roland McGrath  <roland@hack.frob.com>
7815         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
7816         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
7817         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
7818         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
7819         Update #include.
7820         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
7821         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
7822         Update #include.
7823         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
7824         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
7825         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
7826         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
7827         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
7828         * sysdeps/x86/bits/pthreadtypes.h: ... here.
7829         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
7830         * sysdeps/x86/bits/semaphore.h: ... here.
7831         * sysdeps/x86/nptl/elide.h: Moved ...
7832         * sysdeps/x86/elide.h: ... here.
7833         * sysdeps/x86_64/nptl/Implies: File removed.
7834         * sysdeps/i386/nptl/Implies: File removed.
7836 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
7838         [BZ #16539]
7839         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
7840         return the argument for normal arguments with exponent below -64.
7841         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7842         Likewise.
7843         * math/auto-libm-test-in: Add another test of expm1.
7844         * math/auto-libm-test-out: Regenerated.
7846         [BZ #16287]
7847         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
7848         calling __erfcl for arguments at least 16.
7849         * math/auto-libm-test-in: Add more tests of erf.
7850         * math/auto-libm-test-out: Regenerated.
7852         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
7853         individual architectures.
7854         * sysdeps/unix/sysv/linux/configure: Regenerated.
7855         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
7856         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
7857         * sysdeps/unix/sysv/linux/powerpc/configure.ac
7858         (ldd_rewrite_script): Define variable.
7859         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
7861         file.
7862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
7863         generated file.
7864         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
7865         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
7866         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
7867         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
7868         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
7869         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
7870         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
7871         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
7873 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7875         [BZ #17084]
7876         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
7877         Rename member __data.d to __data.__elision_data.
7879 2014-06-24  Wilco  <wdijkstr@arm.com>
7881         * NEWS: Add 16918 to fixed bug list.
7883 2014-06-24  Wilco  <wdijkstr@arm.com>
7885         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
7887 2014-06-24  Wilco  <wdijkstr@arm.com>
7889         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
7890         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
7891         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
7892         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
7893         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
7894         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
7895         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
7896         Use _FPU_MASK_RM.
7898 2014-06-24  Wilco  <wdijkstr@arm.com>
7900         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
7902 2014-06-24  Wilco  <wdijkstr@arm.com>
7904         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
7905         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
7906         * sysdeps/arm/fesetround.c (fesetround): Remove space.
7907         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
7909 2014-06-24  Wilco  <wdijkstr@arm.com>
7911         [BZ #16918]
7912         * sysdeps/arm/feupdateenv.c (feupdateenv):
7913         Rewrite to reduce FPSCR accesses and fix return value.
7915 2014-06-24  Wilco  <wdijkstr@arm.com>
7917         * sysdeps/arm/fclrexcpt.c (feclearexcept):
7918         Optimize to avoid unnecessary FPSCR writes.
7919         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
7920         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
7921         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
7922         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
7924 2014-06-24  Wilco  <wdijkstr@arm.com>
7926         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
7927         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
7928         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
7929         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
7930         Call libc_fetestexcept_vfp.
7931         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
7932         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
7933         __SOFTFP__ ifdef so that they can be built for softfp.
7935 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7937         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
7938         argument type signed char.
7940         * Makerules (check-abi): Dump diff of symlist if the test
7941         fails.
7943 2014-06-23  Roland McGrath  <roland@hack.frob.com>
7945         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
7946         using abort.
7948         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
7949         Remove unused variable ST.
7951 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
7953         [BZ #16354]
7954         [BZ #17061]
7955         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
7956         small arguments before calling __expm1.
7957         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
7958         small arguments before calling __expm1f.
7959         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
7960         small arguments before calling __expm1l.
7961         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
7962         Likewise.
7963         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
7964         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
7965         spurious underflow for some cosh tests.
7966         * math/auto-libm-test-out: Regenerated.
7967         * sysdeps/i386/fpu/libm-test-ulps: Update.
7969         [BZ #17050]
7970         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
7971         (__ieee754_y1): Set errno if return value overflows.
7972         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
7973         (__ieee754_y1f): Set errno if return value overflows.
7974         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
7975         (__ieee754_y1l): Set errno if return value overflows.
7976         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
7977         (__ieee754_y1l): Set errno if return value overflows.
7978         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
7979         * math/auto-libm-test-out: Regenerated.
7981         * math/gen-auto-libm-tests.c: Document use of
7982         ignore-zero-inf-sign.
7983         (input_flag_type): Add value flag_ignore_zero_inf_sign.
7984         (input_flags): Add ignore-zero-inf-sign.
7985         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
7986         * math/gen-libm-test.pl (generate_testfile): Handle
7987         ignore-zero-inf-sign.
7988         * math/auto-libm-test-in: Mark some cpow tests with
7989         ignore-zero-inf-sign and some with xfail-rounding.
7990         * math/auto-libm-test-out: Regenerated.
7991         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
7992         * sysdeps/i386/fpu/libm-test-ulps: Update.
7993         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7995         [BZ #16315]
7996         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
7997         overflowing or underflowing operations take place with sign of
7998         result.
7999         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8000         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8001         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
8002         (__ieee754_pow): Recompute overflowing and underflowing results in
8003         original rounding mode.
8004         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
8005         (__powl_helper): Allow negative argument X and scale negated value
8006         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
8007         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
8008         overflowing or underflowing operations take place with sign of
8009         result.
8010         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
8011         Include <math.h>.
8012         * math/auto-libm-test-in: Add more tests of pow.
8013         * math/auto-libm-test-out: Regenerated.
8014         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
8015         (pow_tonearest_test_data): Remove.
8016         (pow_test_tonearest): Likewise.
8017         (pow_towardzero_test_data): Likewise.
8018         (pow_test_towardzero): Likewise.
8019         (pow_downward_test_data): Likewise.
8020         (pow_test_downward): Likewise.
8021         (pow_upward_test_data): Likewise.
8022         (pow_test_upward): Likewise.
8023         (main): Don't call removed functions.
8024         * sysdeps/i386/fpu/libm-test-ulps: Update.
8025         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8027 2014-06-23  Roland McGrath  <roland@hack.frob.com>
8029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
8030         Moved ...
8031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
8032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8033         Moved ...
8034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
8035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
8036         Moved ...
8037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
8038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
8039         Moved ...
8040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
8041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
8042         File removed.
8043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
8044         File removed.
8045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
8046         File removed.
8047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
8048         File removed.
8049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
8050         File removed.
8051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
8052         File removed.
8053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
8054         File removed.
8055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8056         File removed.
8057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
8058         File removed.
8059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
8060         File removed.
8061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
8062         File removed.
8063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
8064         File removed.
8065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
8066         Moved ...
8067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
8068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
8069         Moved ...
8070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
8071         ... here.
8072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
8073         Moved ...
8074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
8075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
8076         Moved ...
8077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
8078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
8079         Moved ...
8080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
8081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
8082         Moved ...
8083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
8084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
8085         Moved ...
8086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
8087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
8088         Moved ...
8089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
8090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
8091         Moved ...
8092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
8093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
8094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
8095         ... here.
8096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
8097         Moved ...
8098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
8099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
8100         Moved ...
8101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8102         ... here.
8103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
8104         Moved ...
8105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8106         ... here.
8107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8108         Moved ...
8109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
8110         ... here.
8111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
8112         Moved ...
8113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
8114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8115         Moved ...
8116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
8117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
8118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
8119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8120         Moved ...
8121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
8122         ... here.
8123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
8124         Moved ...
8125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
8126         ... here.
8127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8128         Moved ...
8129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
8130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
8131         Moved ...
8132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
8133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8134         Moved ...
8135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
8136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8137         Moved ...
8138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
8139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
8140         Moved ...
8141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
8142         ... here.
8143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
8144         Moved ...
8145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
8146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
8147         Moved ...
8148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
8149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
8150         Moved ...
8151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
8152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
8153         Moved ...
8154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
8155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
8156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
8157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
8158         Moved ...
8159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
8160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
8161         Moved ...
8162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
8163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
8164         Moved ...
8165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
8166         ... here.
8167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8168         Moved ...
8169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
8170         ... here.
8171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
8172         Moved ...
8173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
8174         ... here.
8175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
8176         Moved ...
8177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
8178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
8179         Moved ...
8180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
8181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
8182         Moved ...
8183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
8184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
8185         Moved ...
8186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
8187         ... here.
8188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
8189         Moved ...
8190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
8191         ... here.
8192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
8193         Moved ...
8194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
8195         ... here.
8196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
8197         Moved ...
8198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
8199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
8200         Moved ...
8201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
8203 2014-06-23  Will Newton  <will.newton@linaro.org>
8204             Wilco  <wdijkstr@arm.com>
8206         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
8207         implementation.  Include get-rounding-mode.h.
8208         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
8209         [!libc_feholdsetround_noex_ctx]: Define
8210         libc_feholdsetround_noex_ctx.
8211         [!libc_feholdsetround_noexf_ctx]: Define
8212         libc_feholdsetround_noexf_ctx.
8213         [!libc_feholdsetround_noexl_ctx]: Define
8214         libc_feholdsetround_noexl_ctx.
8215         (libc_feholdsetround_ctx): New function.
8216         (libc_feresetround_ctx): New function.
8217         (libc_feholdsetround_noex_ctx): New function.
8218         (libc_feresetround_noex_ctx): New function.
8220 2014-06-23  Roland McGrath  <roland@hack.frob.com>
8222         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
8223         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
8224         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
8225         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
8226         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
8227         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
8229         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
8230         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
8231         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
8232         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
8233         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
8234         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
8235         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
8236         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
8237         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
8238         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
8239         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
8240         Moved ...
8241         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
8242         ... here.
8243         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
8244         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
8245         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
8246         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
8247         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
8248         Moved ...
8249         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
8250         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
8251         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
8252         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
8253         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
8254         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
8255         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
8256         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
8257         Moved ...
8258         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
8259         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
8260         Moved ...
8261         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
8262         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
8263         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
8264         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
8265         Moved ...
8266         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
8267         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
8268         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
8269         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
8270         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
8271         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
8272         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
8273         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
8274         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
8275         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
8276         Moved ...
8277         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
8278         ... here.
8279         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
8280         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
8281         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
8282         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
8283         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
8284         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
8285         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
8286         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
8287         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
8288         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
8289         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
8290         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
8291         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
8292         Moved ...
8293         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
8294         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
8295         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
8296         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
8297         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
8298         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
8299         Moved ...
8300         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
8301         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
8302         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
8303         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
8304         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
8306         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
8307         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
8308         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
8309         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
8310         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
8311         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
8312         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
8313         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
8314         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
8315         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
8316         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
8317         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
8318         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
8319         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
8320         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
8321         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
8322         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
8323         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
8324         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
8325         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
8326         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
8327         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
8328         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
8329         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
8330         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
8331         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
8332         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
8333         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
8335 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
8337         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
8338         (FALLOC_FL_COLLAPSE_RANGE): New macro.
8339         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
8340         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
8341         (IPV6_PMTUDISC_INTERFACE): Likewise.
8342         (IPV6_PMTUDISC_OMIT): Likewise.
8344 2014-06-23  Andreas Schwab  <schwab@suse.de>
8346         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
8347         Remove unused errout label.
8349 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8351         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
8352         macro: hardware supports Vector Crypto instructions.
8354 2014-06-23  Will Newton  <will.newton@linaro.org>
8356         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
8357         rather than __builtin_expect.
8359         * elf/dl-lookup.c (undefined_msg): Remove variable.
8360         (_dl_lookup_symbol_x): Replace undefined_msg with string
8361         literal.
8363         * elf/dl-lookup.c (do_lookup_unique): New function.
8364         (do_lookup_x): Move STB_GNU_UNIQUE handling code
8365         to a separate function.
8367 2014-06-23  Andreas Schwab  <schwab@suse.de>
8369         [BZ #17079]
8370         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
8371         before reading the next line.
8373 2014-06-23  Will Newton  <will.newton@linaro.org>
8375         * test-skeleton.c (signal_handler): Use printf and %m
8376         rather than perror.  Use printf rather than fprintf to
8377         stderr.  Use puts rather than fputs to stderr.
8378         (main): Likewise.
8380 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
8382         * nscd/nscd.c (thread_info_t): Remove typedef.
8383         (thread_info): Remove variable.
8385 2014-06-21  Allan McRae  <allan@archlinux.org>
8387         * NEWS: Mention CVE-2014-4043.
8389 2014-06-20  Roland McGrath  <roland@hack.frob.com>
8391         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
8392         * nptl/smp.h: ... here.
8394         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
8396         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
8397         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
8398         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
8399         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
8401         * nptl/allocatestack.c: Include <stack-aliasing.h>.
8402         * nptl/stack-aliasing.h: New file.
8403         * sysdeps/i386/i686/stack-aliasing.h: New file.
8404         * sysdeps/i386/i686/nptl/Makefile: File removed.
8405         * sysdeps/x86_64/stack-aliasing.h: New file.
8406         * sysdeps/x86_64/nptl/Makefile
8407         (CFLAGS-pthread_create.c): Variable removed.
8409         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
8410         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
8411         old file.
8412         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
8413         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
8414         old file.
8416 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
8418         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8419         (__ASSUME_SIGFRAME_V2): Remove macro.
8420         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
8421         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
8422         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
8423         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
8424         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
8425         Declare as function.  Remove conditional macro definitions.
8426         (__default_rt_sa_restorer): Likewise.
8427         (__default_sa_restorer_v1): Remove declaration.
8428         (__default_sa_restorer_v2): Likewise.
8429         (__default_rt_sa_restorer_v1): Likewise.
8430         (__default_rt_sa_restorer_v2): Likewise.
8431         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
8432         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
8433         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
8435 2014-06-20  Roland McGrath  <roland@hack.frob.com>
8437         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
8438         (libpthread-routines): Add sysdep.
8439         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
8440         * sysdeps/unix/sysv/linux/sparc/Versions
8441         (libpthread: GLIBC_2.3.3): New version set.
8442         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
8443         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
8444         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
8445         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
8446         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
8447         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
8448         Moved ...
8449         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
8450         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
8451         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
8452         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
8453         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
8454         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
8455         * sysdeps/sparc/nptl/sem_init.c: ... here.
8456         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
8457         * sysdeps/sparc/nptl/sem_post.c: ... here.
8458         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
8459         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
8460         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
8461         * sysdeps/sparc/nptl/sem_wait.c: ... here.
8462         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
8463         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
8464         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
8465         (libpthread-routines): Add cpu_relax.
8466         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
8467         File removed.
8468         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
8469         (librt: GLIBC_2.3.3): New version set.
8470         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
8471         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
8472         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
8473         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
8474         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
8475         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
8476         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
8477         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
8478         Moved ...
8479         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
8480         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
8481         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
8482         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
8483         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
8484         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
8485         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
8486         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
8487         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
8488         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
8489         Moved ...
8490         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
8491         Update #include.
8492         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
8493         Moved ...
8494         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
8495         Update #include.
8496         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
8497         Moved ...
8498         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
8499         Update #include.
8500         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
8501         Moved ...
8502         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
8503         Update #include.
8504         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
8505         Moved ...
8506         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
8507         Update #include.
8508         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
8509         Moved ...
8510         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
8511         Update #include.
8512         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
8513         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
8514         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
8515         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
8516         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
8517         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
8518         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
8519         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
8520         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
8521         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
8522         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
8523         Moved ...
8524         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
8525         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
8526         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
8527         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
8528         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
8530 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
8532         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
8533         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
8534         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
8535         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
8536         * nscd/nscd.c: Likewise.
8537         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
8538         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
8539         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
8540         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
8542         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
8543         <kernel-features.h>.
8544         (init_mq_netlink): Remove conditional have_sock_cloexec
8545         definitions.  Remove code conditional on have_sock_cloexec < 0.
8546         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
8547         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
8548         * sysdeps/unix/sysv/linux/opensock.c: Do not include
8549         <kernel-features.h>.
8550         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
8551         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
8553 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
8555         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8556         Add tests for memset_chk and memset.
8558         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
8559         with AVX2_Usable.
8561 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
8563         [BZ #16046]
8564         * elf/tst-dl-iter-static.c: New file.
8565         * elf/Makefile (tests-static): Add tst-dl-iter-static.
8567         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
8568         error.
8570 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
8572         * sysdeps/unix/sysv/linux/kernel-features.h
8573         (__ASSUME_F_GETOWN_EX): Remove macro.
8574         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
8575         <kernel-features.h>.
8576         (miss_F_GETOWN_EX): Remove variable or macro.
8577         (do_fcntl): Do not check miss_F_GETOWN_EX.
8578         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
8580         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
8581         Remove macro.
8582         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
8583         [!__ASSUME_AT_RANDOM]: Remove conditional code.
8584         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
8586         * sysdeps/unix/sysv/linux/kernel-features.h
8587         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
8588         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
8589         [ADJ_OFFSET_SS_READ]: Make code unconditional.
8590         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
8592 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
8594         [BZ #17075]
8595         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
8596         Fix calculation of the symbol's value.
8597         * sysdeps/arm/tst-armtlsdescloc.c: New file.
8598         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
8599         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
8600         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
8601         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
8602         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
8603         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
8604         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
8605         (modules-names): Add `tst-armtlsdescmod',
8606         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
8607         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
8608         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
8609         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
8610         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
8611         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
8612         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
8613         ($(objpfx)tst-armtlsdescloc): New dependency.
8614         ($(objpfx)tst-armtlsdescextnow): Likewise.
8615         ($(objpfx)tst-armtlsdescextlazy): Likewise.
8616         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
8617         TLS scheme support.
8618         * sysdeps/arm/configure: Regenerate.
8620 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
8622         * include/fcntl.h (__atfct_seterrno): Remove prototype.
8623         (__atfct_seterrno_2): Likewise.
8624         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
8625         <kernel-features.h>.
8626         (__ASSUME_ATFCTS): Do not undefine and redefine.
8627         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
8628         (__have_atfcts): Remove conditional definition.
8629         (__fxstatat([__NR_fstatat64]: Make code unconditional.
8630         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
8631         unreachable if [__ASSUME_ATFCTS].
8632         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
8633         not undefine and redefine.
8634         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
8635         <kernel-features.h>.
8636         (faccessat) [__NR_faccessat]: Make code unconditional.
8637         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
8638         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
8639         <kernel-features.h>.
8640         (fchmodat) [__NR_fchmodat]: Make code unconditional.
8641         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
8642         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
8643         <kernel-features.h>.
8644         (fchownat) [__NR_fchownat]: Make code unconditional.
8645         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
8646         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
8647         <kernel-features.h>.
8648         (futimesat) [__NR_futimesat]: Make code unconditional.
8649         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
8650         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8651         <kernel-features.h>.
8652         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
8653         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8654         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8655         <kernel-features.h>.
8656         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
8657         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
8658         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
8659         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8660         <kernel-features.h>.
8661         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
8662         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8663         * sysdeps/unix/sysv/linux/linkat.c: Do not include
8664         <kernel-features.h>.
8665         (linkat) [__NR_linkat]: Make code unconditional.
8666         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8667         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
8668         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
8669         <kernel-features.h>.
8670         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
8671         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
8672         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
8673         <kernel-features.h>.
8674         (mkdirat) [__NR_mkdirat]: Make code unconditional.
8675         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
8676         * sysdeps/unix/sysv/linux/openat.c: Do not include
8677         <kernel-features.h>.
8678         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
8679         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
8680         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
8681         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
8682         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
8683         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
8684         <kernel-features.h>.
8685         (readlinkat) [__NR_readlinkat]: Make code unconditional.
8686         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
8687         result of INLINE_SYSCALL directly, not via int variable.
8688         * sysdeps/unix/sysv/linux/renameat.c: Do not include
8689         <kernel-features.h>.
8690         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
8691         (renameat) [__NR_renameat]: Make code unconditional.
8692         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
8693         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
8694         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
8695         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
8696         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
8697         (__ASSUME_ATFCTS): Do not undefine and redefine.
8698         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
8699         <kernel-features.h>.
8700         (symlinkat) [__NR_symlinkat]: Make code unconditional.
8701         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8702         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
8703         <kernel-features.h>.
8704         (unlinkat) [__NR_unlinkat]: Make code unconditional.
8705         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8706         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
8707         (__ASSUME_ATFCTS): Do not undefine and redefine.
8708         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8709         <kernel-features.h>.
8710         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
8711         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8712         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
8713         <kernel-features.h>.
8714         (__xmknodat) [__NR_mknodat]: Make code unconditional.
8715         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
8717 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
8719         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
8721 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
8723         [BZ #17069]
8724         * posix/regcomp.c (parse_reg_exp): Deallocate partially
8725         constructed tree before returning error.
8726         * posix/bug-regexp36.c: Expand test case.
8728 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
8730         [BZ #6803]
8731         * math/libm-test.inc (scalbln_test_date):
8732         Add errno expectations.
8733         * math/w_scalblnf.c: New File.
8734         Add wrapper which checks for setting errno to ERANGE.
8735         Add weak_alias for corresponding scalbln function.
8736         * math/w_scalbln.c: Likewise.
8737         * math/w_scalblnl.c: Likewise.
8738         * math/Makefile (libm-calls): Add w_scalbln.
8739         * sysdeps/ieee754/flt-32/s_scalblnf.c:
8740         Remove weak_alias for corresponding scalbln function.
8741         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8742         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
8743         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8744         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8745         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
8746         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
8747         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
8748         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
8749         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
8750         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
8751         Remove long_double_symbol for scalblnl function in libm, libc.
8752         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
8753         Add wrapper which checks for setting errno to ERANGE.
8754         Add long_double_symbol for scalblnl function in libm, libc.
8755         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
8756         Remove long_double_symbol for scalblnl in libm.
8757         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
8758         Add wrapper which checks for setting errno to ERANGE.
8759         Add long_double_symbol for scalblnl function in libm.
8760         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
8761         Do not use wrapper because of own implementation.
8763 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
8765         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
8766         3 bytes for __pad1 for x32.
8767         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
8769 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
8770             H.J. Lu  <hongjiu.lu@intel.com>
8772         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
8773         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
8774         * sysdeps/x86_64/multiarch/memset.S: Likewise.
8775         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8776         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
8778 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
8780         [BZ #17069]
8781         * posix/regcomp.c (parse_expression): Deallocate partially
8782         constructed tree before returning error.
8783         * posix/Makefile.c (tests): Add bug-regex36.
8784         (generated): Add bug-regex36.mtrace.
8785         (tests-special): Add $(objpfx)bug-regex36-mem.out
8786         (bug-regex36-ENV): New variable.
8787         ($(objpfx)bug-regex36-mem.out): New rule.
8788         * posix/bug-regex36.c: New file.
8790 2014-06-19  Will Newton  <will.newton@linaro.org>
8792         * malloc/malloc.c (systrim): If extra is zero then return
8793         early.
8795 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
8797         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
8799 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
8801         * sysdeps/aarch64/strchr.S: New file.
8803 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
8805         [BZ #17022]
8806         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
8807         from arguments -2 or below.
8808         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
8809         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
8811 2014-06-18  Andreas Schwab  <schwab@suse.de>
8813         [BZ #17062]
8814         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
8815         of a bracket expr not to run off the end of the string.
8816         * posix/Makefile (tests): Add tst-fnmatch3.
8817         * posix/tst-fnmatch3.c: New file.
8819 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
8821         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
8822         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8823         [$(cross-compiling) = no]: Likewise.
8824         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8825         [$(cross-compiling) = no]: Likewise.
8827 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8829         [BZ #17031]
8830         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
8831         double, adjusted for any remainder from the high double.
8832         * math/libm-test.inc (nearbyint): Add tests.
8833         (rint): Likewise.
8835 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8837         * nptl/sysdeps/powerpc/Makefile: Moved ...
8838         * sysdeps/powerpc/nptl/Makefile: ... here.
8839         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
8840         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
8841         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
8842         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
8843         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
8844         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
8845         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
8846         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
8847         * nptl/sysdeps/powerpc/tls.h: Moved ...
8848         * sysdeps/powerpc/nptl/tls.h: ... here.
8850 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
8852         [BZ #16681]
8853         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
8854         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
8855         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
8856         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
8857         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
8858         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
8859         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
8860         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
8861         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
8863 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
8865         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8867 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
8869         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
8870         defined operator.
8872         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
8873         $TIMEOUTFACTOR.
8875 2014-06-16  Florian Weimer  <fweimer@redhat.com>
8877         [BZ #17058]
8878         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
8879         non-executed part of the test.
8881 2014-06-16  Andreas Schwab  <schwab@suse.de>
8883         * string/bits/string2.h (strdup, strndup): Update feature guard.
8885 2014-06-14  David S. Miller  <davem@davemloft.net>
8887         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8889 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
8891         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
8892         that was previously under [RESET_PID].
8893         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
8895         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
8896         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
8897         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
8898         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8899         (__libc_vfork): New strong alias.
8900         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
8902 2014-06-14 Andi Kleen  <ak@linux.intel.com>
8904         * sysdeps/generic/elide.h: New file.
8906 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
8908         * Makefile (installed-headers): Adjust path of pthread.h header.
8910 2014-06-13  Roland McGrath  <roland@hack.frob.com>
8912         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
8913         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
8914         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
8915         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
8917         * nptl/sysdeps/s390/Makefile: Moved ...
8918         * sysdeps/s390/nptl/Makefile: ... here.
8919         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
8920         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
8921         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
8922         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
8923         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
8924         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
8925         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
8926         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
8927         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
8928         * sysdeps/s390/nptl/pthreaddef.h: ... here.
8929         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
8930         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
8931         * nptl/sysdeps/s390/tls.h: Moved ...
8932         * sysdeps/s390/nptl/tls.h: ... here.
8934         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
8935         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
8937 2014-06-13  David S. Miller  <davem@davemloft.net>
8939         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
8940         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
8941         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
8942         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
8943         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
8944         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
8945         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
8946         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
8947         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
8948         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
8949         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
8950         Remove RESET_PID cpp guards.
8951         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
8952         Remove RESET_PID cpp guards.
8953         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
8955 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
8957         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
8958         __sp to uintptr_t.
8960 2014-06-13  Andi Kleen  <ak@linux.intel.com>
8962         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
8963         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
8964         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
8965         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
8966         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
8967         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
8968         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
8969         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
8970         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
8971         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
8972         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
8973         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
8974         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
8975         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
8976         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
8977         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
8978         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
8979         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
8980         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
8981         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8983         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
8984         (pthread_rwlock_rdlock): Add elision.
8985         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
8986         (pthread_rwlock_wrlock): Add elision.
8987         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
8988         (pthread_rwlock_trywrlock): Add elision.
8989         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
8990         (pthread_rwlock_tryrdlock): Add elision.
8991         * nptl/pthread_rwlock_unlock.c: Include elide.h.
8992         (pthread_rwlock_tryrdlock): Add elision unlock.
8993         * nptl/sysdeps/pthread/pthread.h:
8994         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
8995         (PTHREAD_RWLOCK_INITIALIZER,
8996         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
8997         Handle new elision field.
8998         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
8999         * sysdeps/arm/nptl/bits/pthreadtypes.h
9000         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9001         * sysdeps/sh/nptl/bits/pthreadtypes.h
9002         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9003         * sysdeps/tile/nptl/bits/pthreadtypes.h
9004         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9005         * sysdeps/a/nptl/bits/pthreadtypes.h
9006         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9007         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
9008         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9009         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
9010         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9011         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
9012         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9013         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
9014         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9015         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
9016         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9017         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
9018         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9019         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
9020         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9021         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
9022         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9023         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
9024         (elision_init): Set try_xbegin to zero when no RTM.
9025         * sysdeps/x86/nptl/bits/pthreadtypes.h
9026         (pthread_rwlock_t): Change __pad1 to __rwelision.
9027         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9029 2014-06-13  Andi Kleen  <ak@linux.intel.com>
9031         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
9032         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
9033         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
9034         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
9036 2014-06-13  Meador Inge  <meadori@codesourcery.com>
9038         [BZ #16996]
9039         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
9040         that the cached result has been set before returning it.
9042 2014-06-12  Roland McGrath  <roland@hack.frob.com>
9044         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
9045         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
9046         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
9047         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
9048         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
9049         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
9051         * nptl/sysdeps/sparc/Makefile: Moved ...
9052         * sysdeps/sparc/nptl/Makefile: ... here.
9053         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
9054         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
9055         * nptl/sysdeps/sparc/tls.h: Moved ...
9056         * sysdeps/sparc/nptl/tls.h: ... here.
9057         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
9058         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
9059         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
9060         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
9061         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
9062         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
9063         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
9064         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
9065         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
9066         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
9067         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
9068         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
9069         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
9070         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
9071         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
9072         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
9073         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
9074         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
9075         Update #include.
9076         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
9077         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
9078         Update #include.
9079         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
9080         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
9081         Update #include.
9082         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
9083         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
9084         Update #include.
9086         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
9088         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
9089         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
9091         * sysdeps/pthread/posix-timer.h: Include <list.h>.
9092         (struct list_links): Type removed.
9093         (struct thread_node, struct timer_node): Replace struct list_links
9094         with struct list_head.
9095         (list_unlink_ip): Likewise.
9096         * sysdeps/pthread/timer_routines.c
9097         (timer_free_list, thread_free_list, thread_active_list): Likewise.
9098         (list_append, list_insbefore): Likewise.
9099         (list_init): Function removed.
9100         (thread_init, init_module): Use INIT_LIST_HEAD instead.
9101         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
9102         * sysdeps/pthread/Makefile: ... here, new file.
9104         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
9105         * sysdeps/nptl/Implies: ... here.
9106         * sysdeps/unix/sysv/linux/Implies: Add nptl.
9107         * nptl/sysdeps/pthread/list.h: Moved ...
9108         * include/list.h: ... here.
9109         * nptl/sysdeps/pthread/createthread.c: Moved ...
9110         * nptl/createthread.c: ... here.
9111         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
9112         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
9113         * nptl/pt-longjmp.c: ... here.
9114         * nptl/sysdeps/pthread/Makefile: Moved ...
9115         * sysdeps/nptl/Makefile: ... here.
9116         * nptl/sysdeps/pthread/Subdirs: Moved ...
9117         * sysdeps/nptl/Subdirs: ... here.
9118         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
9119         * sysdeps/nptl/aio_misc.h: ... here.
9120         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
9121         * sysdeps/nptl/bits/libc-lock.h: ... here.
9122         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
9123         * sysdeps/nptl/bits/libc-lockP.h: ... here.
9124         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
9125         * sysdeps/nptl/bits/stdio-lock.h: ... here.
9126         * nptl/sysdeps/pthread/configure: Moved ...
9127         * sysdeps/nptl/configure: ... here.
9128         * nptl/sysdeps/pthread/configure.ac: Moved ...
9129         * sysdeps/nptl/configure.ac: ... here.
9130         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
9131         * sysdeps/nptl/gai_misc.h: ... here.
9132         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
9133         * sysdeps/nptl/librt-cancellation.c: ... here.
9134         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
9135         * sysdeps/nptl/malloc-machine.h: ... here.
9136         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
9137         * sysdeps/nptl/pthread-functions.h: ... here.
9138         * nptl/sysdeps/pthread/pthread.h: Moved ...
9139         * sysdeps/nptl/pthread.h: ... here.
9140         * nptl/sysdeps/pthread/setxid.h: Moved ...
9141         * sysdeps/nptl/setxid.h: ... here.
9142         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
9143         * sysdeps/nptl/sigfillset.c: ... here.
9144         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
9145         * sysdeps/nptl/tcb-offsets.h: ... here.
9146         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
9147         * sysdeps/nptl/tst-mqueue8x.c: ... here.
9148         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
9149         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
9150         * nptl/sysdeps/pthread/allocalim.h: Moved ...
9151         * sysdeps/pthread/allocalim.h: ... here.
9152         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
9153         * sysdeps/pthread/bits/sigthread.h: ... here.
9154         * nptl/sysdeps/pthread/flockfile.c: Moved ...
9155         * sysdeps/pthread/flockfile.c: ... here.
9156         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
9157         * sysdeps/pthread/ftrylockfile.c: ... here.
9158         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
9159         * sysdeps/pthread/funlockfile.c: ... here.
9160         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
9161         * sysdeps/pthread/posix-timer.h: ... here.
9162         * nptl/sysdeps/pthread/timer_create.c: Moved ...
9163         * sysdeps/pthread/timer_create.c: ... here.
9164         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
9165         * sysdeps/pthread/timer_delete.c: ... here.
9166         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
9167         * sysdeps/pthread/timer_getoverr.c: ... here.
9168         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
9169         * sysdeps/pthread/timer_gettime.c: ... here.
9170         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
9171         * sysdeps/pthread/timer_routines.c: ... here.
9172         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
9173         * sysdeps/pthread/timer_settime.c: ... here.
9174         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
9175         * sysdeps/pthread/tst-timer.c: ... here.
9176         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
9177         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
9179         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
9180         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
9182         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
9183         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
9184         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
9185         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
9186         Update #include target.
9187         * nptl/sysdeps/i386/i686/Makefile: Moved ...
9188         * sysdeps/i386/i686/nptl/Makefile: ... here.
9189         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
9190         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
9191         Update #include target.
9192         * nptl/sysdeps/i386/i686/tls.h: Moved ...
9193         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
9194         * nptl/sysdeps/i386/Makefile: Moved ...
9195         * sysdeps/i386/nptl/Makefile: ... here.
9196         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
9197         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
9198         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
9199         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
9200         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
9201         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
9202         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
9203         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
9204         * sysdeps/i386/nptl/pthreaddef.h: ... here.
9205         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
9206         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
9207         * nptl/sysdeps/i386/tls.h: Moved ...
9208         * sysdeps/i386/nptl/tls.h: ... here.
9210         * sysdeps/sh/Makefile [$(subdir) = csu]
9211         (gen-as-const-headers): Add tcb-offsets.sym.
9212         * nptl/sysdeps/sh/Makefile: File removed.
9213         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
9214         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
9215         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
9216         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
9217         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
9218         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
9219         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
9220         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
9221         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
9222         * sysdeps/sh/nptl/pthreaddef.h: ... here.
9223         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
9224         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
9225         * nptl/sysdeps/sh/tls.h: Moved ...
9226         * sysdeps/sh/nptl/tls.h: ... here.
9227         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
9228         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
9229         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
9230         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
9231         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
9232         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
9233         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
9234         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
9235         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
9236         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
9237         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
9238         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
9239         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
9240         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
9241         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
9242         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
9243         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
9244         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
9245         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
9246         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
9247         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
9248         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
9249         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
9250         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
9251         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
9252         Moved ...
9253         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
9254         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
9255         Moved ...
9256         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
9257         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
9258         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
9259         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
9260         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
9261         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
9262         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
9263         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
9264         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
9265         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
9266         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
9267         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
9268         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
9269         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
9270         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
9271         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
9272         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
9273         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
9274         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
9276 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
9278         * posix/spawn_faction_addopen.c: Include string.h.
9280 2014-06-11  Roland McGrath  <roland@hack.frob.com>
9282         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
9283         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
9284         * nptl/sysdeps/x86_64/Makefile: Moved ...
9285         * sysdeps/x86_64/nptl/Makefile: ... here.
9286         * nptl/sysdeps/x86_64/configure: Moved ...
9287         * sysdeps/x86_64/nptl/configure: ... here.
9288         * nptl/sysdeps/x86_64/configure.ac: Moved ...
9289         * sysdeps/x86_64/nptl/configure.ac: ... here.
9290         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
9291         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
9292         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
9293         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
9294         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
9295         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
9296         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
9297         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
9298         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
9299         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
9300         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
9301         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
9302         * nptl/sysdeps/x86_64/tls.h: Moved ...
9303         * sysdeps/x86_64/nptl/tls.h: ... here.
9304         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
9305         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
9306         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
9307         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
9309         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
9311 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9313         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9315 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
9317         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
9318         type.
9319         [POSIX] (off_t): Likewise.
9320         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
9321         [POSIX] (S_ISBLK): Require macro.
9322         [POSIX] (S_ISCHR): Likewise.
9323         [POSIX] (S_ISDIR): Likewise.
9324         [POSIX] (S_ISFIFO): Likewise.
9325         [POSIX] (S_ISREG): Likewise.
9326         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
9327         optional-macro.
9328         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
9329         type.
9330         [POSIX] (time_t): Likewise.
9331         [POSIX] (timer_t): Likewise.
9333 2014-06-11  Florian Weimer  <fweimer@redhat.com>
9335         [BZ #17048]
9336         * posix/spawn_int.h (struct __spawn_action): Make the path string
9337         non-const to support deallocation.
9338         * posix/spawn_faction_addopen.c
9339         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
9340         * posix/spawn_faction_destroy.c
9341         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
9342         path in all spawn_do_open actions.
9343         * posix/tst-spawn.c (do_test): Exercise the copy operation in
9344         posix_spawn_file_actions_addopen.
9346 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
9348         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
9349         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
9350         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
9351         conditional code always true.
9352         (__libc_vfork): New alias.
9354 2014-06-11  Roland McGrath  <roland@hack.frob.com>
9356         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9357         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
9359         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
9361         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9362         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
9364         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
9365         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
9367         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9368         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
9370 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
9372         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
9373         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
9374         multiarch strcmp for PPC64.
9375         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
9376         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
9377         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
9378         multiarch optimizations.
9379         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9380         (__libc_ifunc_impl_list): Likewise.
9382 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
9384         * benchtests/scripts/validate_benchout.py: New script.
9385         * benchtests/Makefile (bench-func): Call it.
9386         * benchtests/scripts/benchout.schema.json: New file.
9388 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
9390         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
9391         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
9392         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
9393         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
9394         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
9395         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
9396         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
9397         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
9398         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
9399         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
9400         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
9401         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
9402         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
9403         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
9404         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
9405         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
9406         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
9407         Moved ...
9408         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
9409         ... here.
9410         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
9411         Moved ...
9412         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
9413         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
9414         Moved ...
9415         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
9416         ... here.
9417         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
9418         Moved ...
9419         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
9420         ... here.
9421         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
9422         Moved ...
9423         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
9424         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
9425         Moved ...
9426         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
9427         ... here.
9428         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
9429         Moved ...
9430         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
9431         ... here.
9432         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
9433         Moved ...
9434         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
9435         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
9436         Moved ...
9437         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
9438         ... here.
9439         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
9440         Moved ...
9441         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
9442         ... here.
9443         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
9444         Moved ...
9445         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
9446         ... here.
9447         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
9448         Moved ...
9449         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
9450         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
9451         Moved ...
9452         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
9453         ... here.
9454         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
9455         Moved ...
9456         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
9457         ... here.
9458         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
9459         Moved ...
9460         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
9461         ... here.
9462         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
9463         Moved ...
9464         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
9465         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
9466         Moved ...
9467         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
9468         ... here.
9469         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
9470         Moved ...
9471         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
9472         ... here.
9473         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
9474         Moved ...
9475         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
9476         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
9477         Moved ...
9478         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
9479         ... here.
9480         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
9481         Moved ...
9482         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
9483         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
9484         Moved ...
9485         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
9486         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
9487         Moved ...
9488         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
9489         ... here.
9490         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
9491         Moved ...
9492         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
9493         ... here.
9494         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
9495         Moved ...
9496         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
9497         ... here.
9498         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
9499         Moved ...
9500         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
9501         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
9502         Moved ...
9503         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
9504         ... here.
9505         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
9506         Moved ...
9507         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
9508         ... here.
9509         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
9510         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
9511         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
9512         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
9513         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
9514         Moved ...
9515         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
9516         ... here.
9517         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
9518         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
9519         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
9520         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
9521         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
9522         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
9523         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
9524         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
9525         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
9526         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
9527         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
9528         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
9529         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
9530         Moved ...
9531         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
9532         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
9533         Moved ...
9534         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
9535         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
9536         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
9537         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
9538         Moved ...
9539         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
9540         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
9541         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
9542         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
9543         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
9544         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
9545         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
9547 2014-06-10  Wilco  <wdijkstr@arm.com>
9549         * math/test-fenv-return.c: New file.
9550         * math/Makefile: Add new test test-fenv-return.
9552 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
9554         [BZ #17042]
9555         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
9556         when x - 1 is zero.
9557         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
9558         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
9559         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
9560         0.0L for an argument of 1.0L.
9561         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
9562         Likewise.
9563         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
9564         value when x - 1 is zero.
9565         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
9566         * sysdeps/i386/fpu/libm-test-ulps: Update.
9567         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9569 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
9571         [BZ #15119]
9572         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
9574 2014-06-09  Roland McGrath  <roland@hack.frob.com>
9576         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
9577         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
9579 2014-06-09  Roland McGrath  <roland@hack.frob.com>
9581         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9582         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
9584         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9585         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
9587         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9588         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
9590         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9591         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
9593         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
9594         if not already defined.
9595         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
9596         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
9597         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
9598         (TLS_INIT_TP): Use it.
9599         (TLS_DEFINE_INIT_TP): New macro.
9600         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
9602 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
9604         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
9605         constant.
9606         [POSIX] (IXANY): Likewise.
9607         [POSIX] (OLCUC): Likewise.
9608         [POSIX || POSIX2008] (CBAUD): Do not allow.
9609         [POSIX || POSIX2008] (DEFECHO): Likewise.
9610         [POSIX || POSIX2008] (ECHOCTL): Likewise.
9611         [POSIX || POSIX2008] (ECHOKE): Likewise.
9612         [POSIX || POSIX2008] (ECHOPRT): Likewise.
9613         [POSIX || POSIX2008] (EXTA): Likewise.
9614         [POSIX || POSIX2008] (EXTB): Likewise.
9615         [POSIX || POSIX2008] (FLUSHO): Likewise.
9616         [POSIX || POSIX2008] (LOBLK): Likewise.
9617         [POSIX || POSIX2008] (PENDIN): Likewise.
9618         [POSIX || POSIX2008] (SWTCH): Likewise.
9619         [POSIX || POSIX2008] (VDISCARD): Likewise.
9620         [POSIX || POSIX2008] (VDSUSP): Likewise.
9621         [POSIX || POSIX2008] (VLNEXT): Likewise.
9622         [POSIX || POSIX2008] (VREPRINT): Likewise.
9623         [POSIX || POSIX2008] (VSTATUS): Likewise.
9624         [POSIX || POSIX2008] (VWERASE): Likewise.
9625         (B*): Change to B[0123456789]*.
9626         * conform/data/time.h-data [POSIX || UNIX98]
9627         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
9628         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9629         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
9630         [POSIX] (tm_*): Do not allow.
9632 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
9634         * Makefile (install): Don't set LANGUAGE.
9635         * Makefile.in (install): Likewise.
9636         * assert/Makefile (test-assert-ENV): Remove variable.
9637         (test-assert-perr-ENV): Likewise.
9638         * elf/Makefile (neededtest4-ENV): Likewise.
9639         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9640         [$(cross-compiling) = no]: Don't set LANGUAGE.
9641         * io/ftwtest-sh (LANG): Remove variable.
9642         * libio/Makefile (tst-widetext-ENV): Likewise.
9643         * manual/install.texi (Running make install): Don't refer to
9644         environment settings for make install.
9645         * INSTALL: Regenerated.
9646         * nptl/tst-tls6.sh: Don't set LANG.
9647         * posix/globtest.sh (LANG): Remove variable.
9648         * string/Makefile (tester-ENV): Likewise.
9649         (inl-tester-ENV): Likewise.
9650         (noinl-tester-ENV): Likewise.
9651         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9652         [$(cross-compiling) = no]: Don't set LANGUAGE.
9653         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
9654         without explicit environment settings.
9656 2014-06-06  Roland McGrath  <roland@hack.frob.com>
9658         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
9659         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
9660         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
9661         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
9663 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
9665         * crypt/crypt-private.h [DOS]: Add some includes taken from the
9666         other files in the crypt directory.
9667         * crypt/crypt.c: Remove duplicate includes.
9668         * crypt/crypt-entry.c: Likewise.
9669         * crypt/crypt_util.c: Likewise.
9671 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
9673         * Makeconfig (run-program-env): New variable.
9674         (run-program-prefix-before-env): Likewise.
9675         (run-program-prefix-after-env): Likewise.
9676         (run-program-prefix): Define in terms of new variables.
9677         (built-program-cmd-before-env): New variable.
9678         (built-program-cmd-after-env): Likewise.
9679         (built-program-cmd): Define in terms of new variables.
9680         (test-program-prefix-before-env): New variable.
9681         (test-program-prefix-after-env): Likewise.
9682         (test-program-prefix): Define in terms of new variables.
9683         (test-program-cmd-before-env): New variable.
9684         (test-program-cmd-after-env): Likewise.
9685         (test-program-cmd): Define in terms of new variables.
9686         * Rules (make-test-out): Use $(run-program-env).
9687         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
9688         (help): Do not mention environment variables.  Mention
9689         --timeoutfactor option.
9690         (timeoutfactor): New variable.
9691         (blacklist_exports): Remove function.
9692         (exports): Remove variable.
9693         (command): Do not include ${exports}.
9694         * manual/install.texi (Configuring and compiling): Do not mention
9695         test wrappers preserving environment variables.  Mention that last
9696         assignment to a variable must take precedence.
9697         * INSTALL: Regenerated.
9698         * benchtests/Makefile (run-bench): Use $(run-program-env).
9699         * catgets/Makefile ($(objpfx)test1.cat): Use
9700         $(built-program-cmd-before-env), $(run-program-env) and
9701         $(built-program-cmd-after-env).
9702         ($(objpfx)test2.cat): Do not specify environment variables
9703         explicitly.
9704         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
9705         $(run-program-env) and $(built-program-cmd-after-env).
9706         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
9707         $(run-program-env) and $(test-program-cmd-after-env).
9708         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
9709         explicitly.
9710         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
9711         run_program_env and test_program_cmd_after_env arguments.
9712         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
9713         * elf/tst-pathopt.sh: Use run_program_env argument.
9714         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
9715         $(test-wrapper-env) and $(run-program-env).
9716         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
9717         run_program_env arguments.
9718         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
9719         * intl/Makefile ($(objpfx)tst-gettext.out): Use
9720         $(test-program-prefix-before-env), $(run-program-env) and
9721         $(test-program-prefix-after-env).
9722         ($(objpfx)tst-gettext2.out): Likewise.
9723         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
9724         run_program_env and test_program_prefix_after_env arguments.
9725         * intl/tst-gettext2.sh: Likewise.
9726         * intl/tst-gettext4.sh: Do not set environment variables
9727         explicitly.
9728         * intl/tst-gettext6.sh: Likewise.
9729         * intl/tst-translit.sh: Likewise.
9730         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
9731         $(test-program-prefix-before-env), $(run-program-env) and
9732         $(test-program-prefix-after-env).
9733         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
9734         run_program_env and test_program_prefix_after_env arguments.
9735         * math/Makefile (run-regen-ulps): Use $(run-program-env).
9736         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
9737         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
9738         explicitly with each use of ${test_wrapper_env}.
9739         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
9740         $(test-program-prefix-before-env), $(run-program-env) and
9741         $(test-program-prefix-after-env).
9742         * posix/tst-getconf.sh: Do not set environment variables
9743         explicitly.
9744         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
9745         run_program_env and test_program_prefix_after_env arguments.
9746         * stdio-common/tst-printf.sh: Do not set environment variables
9747         explicitly.
9748         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
9749         $(test-program-prefix-before-env), $(run-program-env) and
9750         $(test-program-prefix-after-env).
9751         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
9752         run_program_env and test_program_prefix_after_env arguments.
9753         Split $test calls into $test_pre and $test.
9754         * timezone/Makefile (build-testdata): Use
9755         $(built-program-cmd-before-env), $(run-program-env) and
9756         $(built-program-cmd-after-env).
9758 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9760         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
9761         strlen for non SHARED builds.
9763 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
9765         * nptl/allocatestack.c (check_list): Inlined function...
9766         (__reclaim_stacks): ... here.
9768 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
9770         [BZ #15698]
9771         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
9772         memory overrun.
9774 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
9776         * Rules (make-test-out): Include
9777         LOCPATH=$(common-objpfx)localedata in default environment.
9778         * debug/Makefile (tst-chk1-ENV): Remove variable.
9779         (tst-chk2-ENV): Likewise.
9780         (tst-chk3-ENV): Likewise.
9781         (tst-chk4-ENV): Likewise.
9782         (tst-chk5-ENV): Likewise.
9783         (tst-chk6-ENV): Likewise.
9784         (tst-lfschk1-ENV): Likewise.
9785         (tst-lfschk2-ENV): Likewise.
9786         (tst-lfschk3-ENV): Likewise.
9787         (tst-lfschk4-ENV): Likewise.
9788         (tst-lfschk5-ENV): Likewise.
9789         (tst-lfschk6-ENV): Likewise.
9790         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
9791         (tst-iconv7-ENV): Likewise.
9792         * intl/Makefile (LOCPATH-ENV): Likewise.
9793         (tst-codeset-ENV): Likewise.
9794         (tst-gettext3-ENV): Likewise.
9795         (tst-gettext5-ENV): Likewise.
9796         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
9797         (tst-fopenloc-ENV): Likewise.
9798         (tst-fgetws-ENV): Remove variable.
9799         (tst-ungetwc1-ENV): Likewise.
9800         (tst-ungetwc2-ENV): Likewise.
9801         (bug-ungetwc2-ENV): Likewise.
9802         (tst-swscanf-ENV): Likewise.
9803         (bug-ftell-ENV): Likewise.
9804         (tst-fgetwc-ENV): Likewise.
9805         (tst-fseek-ENV): Likewise.
9806         (tst-ftell-partial-wide-ENV): Likewise.
9807         (tst-ftell-active-handler-ENV): Likewise.
9808         (tst-ftell-append-ENV): Likewise.
9809         * posix/Makefile (tst-fnmatch-ENV): Likewise.
9810         (tst-regexloc-ENV): Likewise.
9811         (bug-regex1-ENV): Likewise.
9812         (tst-regex-ENV): Likewise.
9813         (tst-regex2-ENV): Likewise.
9814         (bug-regex5-ENV): Likewise.
9815         (bug-regex6-ENV): Likewise.
9816         (bug-regex17-ENV): Likewise.
9817         (bug-regex18-ENV): Likewise.
9818         (bug-regex19-ENV): Likewise.
9819         (bug-regex20-ENV): Likewise.
9820         (bug-regex22-ENV): Likewise.
9821         (bug-regex23-ENV): Likewise.
9822         (bug-regex25-ENV): Likewise.
9823         (bug-regex26-ENV): Likewise.
9824         (bug-regex30-ENV): Likewise.
9825         (bug-regex32-ENV): Likewise.
9826         (bug-regex33-ENV): Likewise.
9827         (bug-regex34-ENV): Likewise.
9828         (bug-regex35-ENV): Likewise.
9829         (tst-rxspencer-ENV): Likewise.
9830         (tst-rxspencer-no-utf8-ENV): Likewise.
9831         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
9832         (tst-sscanf-ENV): Likewise.
9833         (tst-swprintf-ENV): Likewise.
9834         (tst-swscanf-ENV): Likewise.
9835         (test-vfprintf-ENV): Likewise.
9836         (scanf13-ENV): Likewise.
9837         (bug14-ENV): Likewise.
9838         (tst-grouping-ENV): Likewise.
9839         * stdlib/Makefile (tst-strtod-ENV): Likewise.
9840         (tst-strtod3-ENV): Likewise.
9841         (tst-strtod4-ENV): Likewise.
9842         (tst-strtod5-ENV): Likewise.
9843         (testmb2-ENV): Likewise./
9844         * string/Makefile (tst-strxfrm-ENV): Likewise.
9845         (tst-strxfrm2-ENV): Likewise.
9846         (bug-strcoll1-ENV): Likewise.
9847         (test-strcasecmp-ENV): Likewise.
9848         (test-strncasecmp-ENV): Likewise.
9849         * time/Makefile (tst-strptime-ENV): Likewise.
9850         (tst-ftime_l-ENV): Likewise.
9851         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
9852         (tst-mbrtowc-ENV): Likewise.
9853         (tst-wcrtomb-ENV): Likewise.
9854         (tst-mbrtowc2-ENV): Likewise.
9855         (tst-c16c32-1-ENV): Likewise.
9856         (tst-mbsnrtowcs-ENV): Likewise.
9858 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
9860         * manual/resource.texi (How to get information about the memory
9861         subsystem?): Fix typo.
9862         Reported by Peon de la Parra Ivan <peon@keba.com>
9864 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
9866         [BZ #16882]
9867         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
9868         (pthread_spin_lock): Branch out of spin loop to proper location.
9869         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
9870         (pthread_spin_lock): Likewise.
9872         * nptl/tst-spin4.c: New test.
9873         * nptl/Makefile (tests): Add tst-spin4.
9875 2014-06-03  Andreas Schwab  <schwab@suse.de>
9877         [BZ #15946]
9878         * resolv/res_send.c (send_dg): Reload file descriptor after
9879         calling reopen.
9881 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
9883         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9885 2014-06-03  Richard Henderson  <rth@redhat.com>
9887         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
9888         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
9889         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
9890         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
9891         in the SAVE_PID block.
9892         (__libc_vfork): New alias.
9893         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
9895         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
9896         child in registers, not on the stack.  Remove RESET_PID conditionals.
9897         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
9899 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
9901         * sysdeps/aarch64/libm-test-ulps: Regenerate.
9903 2014-06-03  Wilco  <wdijkstr@arm.com>
9905         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
9906         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
9907         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
9908         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
9909         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
9910         Likewise.
9912 2014-06-03  Wilco  <wdijkstr@arm.com>
9914         * sysdeps/aarch64/fpu/math_private.h
9915         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
9916         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
9917         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
9918         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
9919         Fix declarations.
9921 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
9923         * crypt/crypt-private.h: Include ufc-crypt.h.
9924         (__b64_from_24bit): Declare extern.
9925         * crypt/crypt_util.c(__b64_from_24bit): New function.
9926         (b64t): New static const variable.
9927         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
9928         (b64t): Remove variable.
9929         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
9930         * crypt/sha256-crypt.c: Include crypt-private.h.
9931         (b64t): Remove variable.
9932         (__sha256_crypt_r): Remove b64_from_24bit and replace
9933         with __b64_from_24bit.
9934         * crypt/sha512-crypt.c: Likewise.
9936 2014-06-02  Roland McGrath  <roland@hack.frob.com>
9938         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
9939         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
9940         Label the code __libc_vfork rather than __vfork.
9941         [!NOT_IN_libc] (vfork): Define as weak alias.
9942         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
9943         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
9944         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
9946 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9948         * malloc/malloc.c (malloc_info): Fix format specifier for
9949         n_mmaps.
9951 2014-06-02  Wilco  <wdijkstr@arm.com>
9953         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
9954         FPCR write.
9956 2014-06-02  Wilco  <wdijkstr@arm.com>
9958         [BZ #17009]
9959         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
9960         Rewrite to reduce FPCR/FPSR accesses.
9962 2014-06-01  David S. Miller  <davem@davemloft.net>
9964         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9966 2014-05-31  David S. Miller  <davem@davemloft.net>
9968         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
9969         to occur in round to nearest mode when |x| >= 2.0
9971 2014-05-30  Richard Henderson  <rth@twiddle.net>
9973         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
9974         (PSEUDO_RET_NOERRNO): Remove.
9975         (ret): Don't redefine.
9976         (ret_NOERRNO): Define in terms of ret.
9977         (ret_ERRVAL): Likewise.
9979         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
9980         use of PSEUDO_RET; perform the error check directly.
9982 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
9984         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
9985         with __int128_t.
9987 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9989         * malloc/malloc (malloc_info): Fix formatting.
9991 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9992             Roland McGrath  <roland@hack.frob.com>
9994         * malloc/malloc (malloc_info): Also print mmapped statistics.
9996 2014-05-30  Roland McGrath  <roland@hack.frob.com>
9998         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
9999         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
10001 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
10003         * malloc/malloc.c (malloc_info): Inline mi_arena.
10005 2014-05-29  Richard Henderson  <rth@twiddle.net>
10007         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
10008         Remove comma before expanding ASM_ARGS_##nr.
10009         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
10010         Make _x0 a strict output; make _x8 a strict input; adjust expansion
10011         of ASM_ARGS_##nr.
10012         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
10013         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
10014         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
10015         (ASM_ARGS_1): Add leading comma.
10017         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
10018         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
10019         to __errno_location.
10020         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
10021         Remove the expected plt for __errno_location.
10023         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10024         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
10025         call to __read_tp.
10027         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10028         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
10029         it and break it down.
10030         (DOCARGS_0, DOCARGS_1): Do nothing.
10031         (DOCARGS_2): Update to store into the new stack frame.
10032         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
10033         (UNDOCARGS_1): Update to restore from the new stack frame.
10034         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
10035         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
10037         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10038         (SINGLE_THREAD_P): New parameter for result regno.
10039         (PSEUDO): Update to match; use cbz instead of beq.
10041         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10042         Use ENTRY to define the _nocancel entry point.  Share the syscall
10043         and syscall error check paths with the cancel path.
10044         (PSEUDO_END): New.
10046         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
10047         whitespace; tabs before and after asm mnemonics.
10049 2014-05-29  Eric Wong  <normalperson@yhbt.net>
10051         [BZ #15132]
10052         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10053         Call fstat64 or stat64 internally, depending on arguments passed.
10054         Replace stat buffer argument with file descriptor argument.
10055         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
10056         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
10057         Pass fd to __internal_statvfs instead of calling fstat64.
10058         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
10059         Pass fd to __internal_statvfs64 instead of calling fstat64.
10060         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
10061         Pass -1 to __internal_statvfs instead of calling stat64.
10062         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
10063         Pass -1 to __internal_statvfs64 instead of calling stat64.
10065 2014-05-28  Roland McGrath  <roland@hack.frob.com>
10067         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
10068         that was previously under [RESET_PID].
10069         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
10071         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
10072         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
10074 2014-05-27  Roland McGrath  <roland@hack.frob.com>
10076         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
10078         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
10079         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
10081 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
10083         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
10085 2014-05-27  Andreas Schwab  <schwab@suse.de>
10087         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
10088         TLS_INIT_TP macro.
10089         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
10090         * elf/rtld.c (init_tls, dl_main): Likewise.
10091         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
10092         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
10093         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
10094         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
10095         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
10096         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
10097         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
10098         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
10099         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
10100         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
10101         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
10102         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
10103         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
10104         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
10105         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
10106         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
10107         * sysdeps/generic/tls.h: Update description.
10109 2014-05-27  Will Newton  <will.newton@linaro.org>
10111         [BZ #16990]
10112         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
10113         and restore r2 rather than just restoring.
10115 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10117         [BZ #16724]
10118         * libio/tst-ftell-append.c: New test case.
10119         * libio/Makefile (tests): Add test case.
10120         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
10121         append mode.
10122         * libio/wfileops.c (do_ftell_wide): Likewise.
10124 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10126         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10128         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
10129         ...
10130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
10131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
10132         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
10133         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
10134         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
10135         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
10136         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
10137         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
10138         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
10139         Moved ...
10140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
10141         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
10142         Moved ...
10143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
10144         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
10145         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
10146         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
10147         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
10148         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
10149         ...
10150         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
10151         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
10152         Moved ...
10153         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
10154         here.
10155         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
10156         ...
10157         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
10158         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
10159         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
10161         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
10162         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
10163         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
10164         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
10166         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
10167         merge into ...
10168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
10169         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
10170         ...
10171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
10172         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
10173         ...
10174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
10175         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
10176         Moved ...
10177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
10178         here.
10179         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
10180         Moved ...
10181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
10182         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
10183         Moved ...
10184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
10186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
10187         conditional [RESET_PID].
10188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
10189         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
10190         removed.
10191         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
10192         removed.
10194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
10195         <tcb-offsets.h>.
10196         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10197         (__libc_vfork): New strong alias.
10198         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
10199         removed.
10200         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
10201         Removed.
10203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
10204         <tcb-offsets.h>.
10205         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
10206         (__libc_vfork): New strong alias.
10207         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
10208         removed.
10209         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
10210         removed.
10212 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
10214         * malloc/malloc.c (mi_arena): New function.
10215         (malloc_info): Remove nested function mi_arena. Call non-nosted
10216         function mi_arena.
10218 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10220         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
10221         by insrwi.
10222         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
10223         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
10224         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
10225         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
10226         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
10227         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
10228         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
10230 2014-05-26  Andreas Schwab  <schwab@suse.de>
10232         [BZ #16984]
10233         * locale/programs/repertoire.c (repertoire_read): Add slash
10234         between I18NPATH element and file name.
10235         * locale/programs/locfile.c (locfile_read): Likewise.
10237 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
10239         * nptl/pthread_mutexattr_settype.c
10240         (__pthread_mutexattr_settype):
10241         Disable lock elision for PTHREAD_MUTEX_NORMAL.
10243 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
10245         * nptl/tst-mutex5 (do_test):
10246         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
10248 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10250         * benchtests/README: Document 'init' directive.
10251         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
10252         BENCH_INIT.
10253         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
10254         (parse_file): Recognize 'init' directive.
10256 2014-05-26  Kyle McMartin  <kyle@redhat.com>
10258         [BZ #16796]
10259         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
10260         alignment of struct pthread.
10262 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10264         [BZ #16878]
10265         * nscd/netgroupcache.c (addgetnetgrentX): Look for
10266         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
10267         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
10268         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
10270 2014-05-25  Richard Henderson  <rth@twiddle.net>
10272         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10273         (SINGLE_THREAD_P_PIC): Remove.
10274         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
10275         (SINGLE_THREAD_P_PIC): Remove.
10277         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
10278         branch to syscall error ...
10279         (PSEUDO): ... here.
10280         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
10281         from __local_syscall_error to .Lsyscall_error.
10282         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
10283         (SYSCALL_ERROR): Update label name.
10285         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10286         Do not use DOARGS/UNDOARGS.
10287         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
10288         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
10289         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
10290         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
10291         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
10293         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
10294         block comment.
10296         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
10297         define if !NOT_IN_libc.
10298         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
10299         define with non-default symbol versions.
10301 2014-05-23  Richard Henderson  <rth@twiddle.net>
10303         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
10304         (vfork, __vfork): Define via compat_symbol.
10306         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
10307         [!HAVE_IFUNC] (vfork_compat): Remove.
10308         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
10310 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
10312         [BZ #16978]
10313         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
10314         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
10315         variable.
10317 2014-05-23  Richard Henderson  <rth@twiddle.net>
10319         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
10320         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
10321         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
10322         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
10324         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
10325         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
10326         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
10327         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
10328         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
10329         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
10330         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
10331         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
10332         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
10333         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
10334         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
10335         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
10336         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
10337         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
10338         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
10339         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
10340         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
10341         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
10342         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
10343         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
10344         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
10345         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
10346         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
10347         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
10348         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
10349         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
10350         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
10351         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
10352         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
10353         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
10354         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
10355         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
10356         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
10357         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
10358         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
10359         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
10360         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
10361         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
10362         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
10363         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
10364         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
10365         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
10366         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
10367         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
10368         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
10369         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
10370         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
10371         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
10372         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
10373         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
10374         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
10375         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
10376         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
10377         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
10378         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
10379         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
10381         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
10382         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
10383         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
10384         before exiting on error.
10385         (__libc_vfork): New strong alias.
10386         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
10387         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
10389         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
10390         that was previously under [RESET_PID].
10391         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
10393         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
10395 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
10397         [BZ #16977]
10398         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
10399         value when x - 1 is zero.
10400         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
10401         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
10402         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
10403         0.0L for an argument of 1.0L.
10404         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
10405         Likewise.
10406         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
10407         value when x - 1 is zero.
10408         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
10409         * sysdeps/i386/fpu/libm-test-ulps: Update.
10410         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10412 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
10414         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
10415         alphasort and versionsort.
10417 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10419         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
10420         macro.
10421         [copysignf]: Likewise.
10423 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
10425         * crypt/md5-crypt.c: Fix formatting.
10427 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
10429         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
10430         (b64_from_24bit): New function.
10432 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10434         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
10435         libc_hidden_builtin_def to ifunc.
10436         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
10437         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
10439 2014-05-21  Roland McGrath  <roland@hack.frob.com>
10441         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
10442         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
10444 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
10446         * nscd/Depend (linuxthreads): Remove.
10447         (nptl): Add.
10448         * resolv/Depend (linuxthreads): Remove.
10449         * rt/Depend (linuxthreads): Remove.
10451         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
10452         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
10453         $(common-objpfx)elf/.
10454         (link-libc-before-gnulib): Likewise.
10455         (elfobjdir): Remove variable.
10456         * Makefile (install): Use $(elf-objpfx) instead of
10457         $(common-objpfx)elf/.
10458         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
10459         $(elfobjdir)/.
10460         (link-libc-deps): Likewise.
10461         ($(common-objpfx)libc.so): Likewise.
10462         ($(common-objpfx)linkobj/libc.so): Likewise.
10463         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
10464         instead of $(common-objpfx)elf/.
10465         (symbolic-link-list): Likewise.
10466         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10467         [$(cross-compiling) = no]: Likewise.
10468         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
10469         $(elfobjdir)/.
10470         (static-gnulib-arch): Likewise.
10471         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10472         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
10473         $(common-objpfx)elf/.
10475 2014-05-21  Richard Henderson  <rth@redhat.com>
10477         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10478         (SINGLE_THREAD_P): Use the correct width load.  Fold
10479         into the ldr offset.
10481         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
10482         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
10484 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
10486         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
10487         (libgcc_s_resume): Use __attribute_used__.
10488         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
10489         Likewise.
10491 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10493         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
10494         optimization when used with float constants.
10496         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10498 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
10500         [BZ #16915]
10501         * locale/nl_langinfo_l.c: Make direct reference to every
10502         _nl_current_CATEGORY symbol.
10503         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
10504         (tests-static): Add tst-langinfo-static.
10505         (tests-special): Add tst-langinfo-static.out.
10506         ($(objpfx)tst-langinfo.out): Redirect output.
10507         ($(objpfx)tst-langinfo-static.out): New.
10508         * localedata/tst-langinfo.sh: Send output to stdout.
10509         * localedata/tst-langinfo-static.c: New file.
10511         [BZ #16965]
10512         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
10513         when the shift amount is modulo the limb size.
10515 2014-05-20  Richard Henderson  <rth@redhat.com>
10517         [BZ #16967]
10518         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
10519         Change type of sa_flags from unsigned int to int.
10521         [BZ #16966]
10522         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
10524         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
10526 2014-05-20  Will Newton  <will.newton@linaro.org>
10528         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10529         Test the return value of the system call in the nocancel case.
10531 2014-05-20  Will Newton  <will.newton@linaro.org>
10532             Yvan Roux  <yvan.roux@linaro.org>
10534         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
10535         #include of asm/ptrace.h.
10536         (PTRACE_GET_THREAD_AREA): Remove #undef.
10537         (PTRACE_GETHBPREGS): Likewise.
10538         (PTRACE_SETHBPREGS): Likewise.
10539         (struct user_regs_struct): New structure.
10540         (struct user_fpsimd_struct): New structure.
10541         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
10542         #include of asm/ptrace.h and second #include of sys/user.h.
10543         (PTRACE_GET_THREAD_AREA): Remove #undef.
10544         (PTRACE_GETHBPREGS): Likewise.
10545         (PTRACE_SETHBPREGS): Likewise.
10546         (ELF_NGREG): Use new struct user_regs_struct.
10547         (elf_fpregset_t): Use new struct user_fpsimd_struct.
10549 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10551         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
10552         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
10554 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
10556         [BZ #16958]
10557         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
10558         membar to avoid block loads/stores to overlap previous stores.
10560 2014-05-17  Richard Henderson  <rth@redhat.com>
10562         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
10563         Create the __##syscall_name##_nocancel entry point.
10564         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
10565         Remove; let the sysdep-cancel.h code create it.
10567 2014-05-17  David S. Miller  <davem@davemloft.net>
10569         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
10570         Protect with __USE_GNU.
10571         (TIOCSET_TEMPT): Likewise.
10572         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
10573         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
10574         these are already provided in bits/ioctl-types.h
10576 2014-05-16  Roland McGrath  <roland@hack.frob.com>
10578         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
10579         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
10581         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
10582         Use wait4 regardless of [__NR_waitpid].
10584 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
10586         PR libgcc/60166
10587         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
10588         (_FP_NANSIGN_Q): Set the quiet bit.
10590 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
10592         * benchtests/Makefile
10593         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
10594         not $(common-objpfx)math/libm.so.
10595         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
10596         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
10597         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
10598         $(common-objpfx)dlfcn/libdl.so.
10599         ($(objpfx)tst-audit8): Depend on $(libm), not
10600         $(common-objpfx)math/libm.so.
10601         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
10602         not $(common-objpfx)dlfcn/libdl.so.
10603         * math/Makefile
10604         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10605         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
10606         [$(build-shared) = yes].
10607         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
10608         $(common-objpfx)nptl/libpthread.so.
10609         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
10610         $(common-objpfx)math/libm.so$(libm.so-version) or
10611         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
10612         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
10613         $(common-objpfx)dlfcn/libdl.so.
10614         * setjmp/Makefile (link-libm): Remove variable.
10615         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
10616         * stdio-common/Makefile (link-libm): Remove variable.
10617         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
10618         * stdlib/Makefile (link-libm): Remove variable.
10619         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
10620         ($(objpfx)tst-strtod-round): Likewise.
10621         ($(objpfx)tst-tininess): Likewise.
10622         ($(objpfx)tst-strtod-underflow): Likewise.
10623         ($(objpfx)tst-strtod6): Likewise.
10624         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
10625         $(libdl), not $(common-objpfx)nptl/libpthread.so and
10626         $(common-objpfx)dlfcn/libdl.so.
10628 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10630         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
10631         BSD terminal modes definitions.
10633 2014-05-16  Roland McGrath  <roland@hack.frob.com>
10635         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
10636         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
10638         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
10639         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
10640         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
10641         Don't do #include_next.
10642         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
10643         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
10644         Don't do #include_next.
10645         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
10646         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
10647         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
10648         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
10650 2014-05-16  Allan McRae  <allan@archlinux.org>
10652         * po/sv.po: Update Swedish translation from translation project.
10654         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
10655         in sed expression.
10657 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
10659         [BZ #16917]
10660         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
10661         errno if the TIOCGPTN ioctl fails with an error different than
10662         EINVAL.
10663         * login/tst-ptsname.c: New file.
10664         * login/Makefile (tests): Add tst-ptsname.
10666         [BZ #16943]
10667         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
10668         and prlimit64.
10670 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10672         [BZ #16849]
10673         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
10674         herrno to return EAI_AGAIN.
10676 2014-05-14  Roland McGrath  <roland@hack.frob.com>
10678         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
10679         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
10680         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
10681         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
10682         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
10683         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
10684         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
10685         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
10686         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
10687         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
10688         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
10689         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
10690         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
10691         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
10692         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
10693         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
10694         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
10695         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
10696         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
10697         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
10698         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
10699         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
10700         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
10701         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
10702         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
10703         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
10704         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
10705         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
10706         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
10707         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
10708         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
10709         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
10710         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
10711         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
10712         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
10713         Moved ...
10714         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
10715         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
10716         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
10717         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
10718         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
10719         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
10720         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
10721         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
10722         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
10723         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
10724         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
10725         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
10726         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
10727         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
10728         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
10729         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
10730         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
10731         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
10732         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
10733         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
10734         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
10735         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
10736         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
10737         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
10738         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
10739         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
10740         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
10741         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
10742         Moved ...
10743         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
10744         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
10745         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
10746         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
10747         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
10748         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
10749         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
10750         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
10751         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
10752         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
10753         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
10754         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
10755         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
10756         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
10757         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
10758         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
10759         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
10760         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
10761         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
10762         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
10763         Moved ...
10764         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
10765         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
10766         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
10768         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
10769         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
10770         (libpthread-sysdep_routines): Add elision-related stuff here instead.
10771         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
10772         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
10773         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
10774         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
10775         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
10776         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
10777         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
10778         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
10779         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
10780         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
10781         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
10782         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
10783         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
10784         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
10785         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
10786         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
10787         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
10788         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
10789         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
10790         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
10791         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
10792         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
10793         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
10794         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
10795         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
10796         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
10797         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
10798         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
10800         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
10801         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
10803         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
10804         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
10805         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
10806         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
10807         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
10808         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
10809         Moved ...
10810         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
10811         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
10812         Moved ...
10813         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
10814         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
10815         Moved ...
10816         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
10817         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
10818         Moved ...
10819         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
10820         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
10821         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
10822         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
10823         Moved ...
10824         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
10825         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
10826         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
10827         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
10828         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
10829         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
10830         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
10831         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
10832         Moved ...
10833         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
10834         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
10835         Moved ...
10836         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
10837         ... here.
10838         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
10839         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
10840         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
10841         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
10842         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
10843         Moved ...
10844         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
10845         ... here.
10846         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
10847         Moved ...
10848         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
10849         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
10850         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
10851         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
10852         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
10853         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
10854         Moved ...
10855         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
10856         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
10857         Moved ...
10858         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
10859         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
10860         Moved ...
10861         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
10862         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
10863         Moved ...
10864         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
10865         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
10866         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
10867         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
10868         Moved ...
10869         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
10870         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
10871         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
10872         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
10873         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
10874         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
10875         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
10876         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
10877         Moved ...
10878         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
10879         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
10880         Moved ...
10881         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
10882         ... here.
10883         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
10884         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
10885         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
10886         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
10887         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
10888         Moved ...
10889         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
10890         ... here.
10891         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
10892         Moved ...
10893         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
10894         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
10895         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
10896         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
10897         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
10898         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
10899         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
10900         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
10901         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
10902         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
10903         Moved ...
10904         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
10905         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
10906         Moved ...
10907         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
10908         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
10909         Moved ...
10910         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
10911         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
10912         Moved ...
10913         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
10914         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
10915         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
10916         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
10917         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
10918         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
10919         Moved ...
10920         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
10921         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
10922         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
10923         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
10924         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
10925         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
10926         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
10927         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
10928         Moved ...
10929         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
10930         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
10931         Moved ...
10932         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
10933         ... here.
10934         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
10935         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
10936         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
10937         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
10938         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
10939         Moved ...
10940         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
10941         ... here.
10942         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
10943         Moved ...
10944         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
10945         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
10946         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
10947         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
10948         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
10949         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
10950         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
10951         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
10952         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
10953         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
10954         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
10956         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
10957         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
10959         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
10960         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
10962         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
10963         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
10964         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
10965         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
10966         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
10967         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
10968         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
10969         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
10970         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
10971         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
10972         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
10973         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
10974         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
10975         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
10976         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
10977         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
10978         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
10979         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
10980         Moved ...
10981         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
10982         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
10983         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
10984         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
10985         Moved ...
10986         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
10987         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
10988         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
10989         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
10990         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
10991         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
10992         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
10993         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
10994         Moved ...
10995         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
10996         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
10997         Moved ...
10998         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
10999         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
11000         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
11001         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
11002         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
11003         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
11004         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
11005         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
11006         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
11007         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
11008         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
11009         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
11010         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
11011         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
11012         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
11013         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
11014         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
11016         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
11017         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
11018         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
11019         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
11020         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
11022         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
11023         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
11024         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
11025         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
11026         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
11027         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
11028         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
11029         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
11030         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
11031         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
11033         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
11034         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
11036         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
11037         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
11038         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
11039         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
11040         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
11041         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
11042         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
11043         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
11044         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
11045         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
11046         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
11047         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
11048         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
11049         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
11050         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
11051         Update #include.
11052         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
11053         Likewise.
11054         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
11055         Likewise.
11056         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
11057         Likewise.
11058         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
11059         Likewise.
11060         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
11061         Likewise.
11062         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
11063         Likewise.
11064         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
11065         Likewise.
11066         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
11067         Likewise.
11068         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
11069         Likewise.
11070         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
11071         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
11072         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
11073         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
11074         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
11075         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
11076         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
11077         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
11078         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
11079         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
11080         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
11081         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
11082         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
11083         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
11084         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
11086         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
11087         that was previously under [RESET_PID].
11088         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11089         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
11090         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
11092         * sysdeps/i386/nptl/Implies: New file.
11093         * sysdeps/x86_64/nptl/Implies: New file.
11094         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
11095         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
11096         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
11097         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
11099         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
11100         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11101         (__libc_vfork): New strong alias.
11102         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
11103         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
11105         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
11106         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11107         (__libc_vfork): New strong alias.
11108         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
11109         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
11111         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
11112         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11113         (__libc_vfork): New strong alias.
11114         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
11115         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
11116         * nptl/pt-vfork.c: New file.
11117         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
11118         (libpthread: GLIBC_2.20): New version set (empty).
11120 2014-05-14  Will Newton  <will.newton@linaro.org>
11122         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
11123         rather than #if.
11125 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
11127         [BZ #16564]
11128         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
11129         arguments with exponent 65 or above.
11130         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
11131         arguments 0x1p113L or above.
11132         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
11133         to arguments 0x1p107L or above.
11134         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
11135         positive arguments with exponent 65 or above.
11136         * math/auto-libm-test-in: Add more tests of log1p.
11137         * math/auto-libm-test-out: Regenerated.
11139         [BZ #16928]
11140         * math/s_cacos.c (__cacos): Ensure zero real part of result from
11141         non-finite arguments is +0.
11142         * math/s_cacosf.c (__cacosf): Likewise.
11143         * math/s_cacosl.c (__cacosl): Likewise.
11144         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
11145         * sysdeps/i386/fpu/libm-test-ulps: Update.
11146         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11148         [BZ #16927]
11149         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
11150         value.
11151         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
11152         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
11153         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
11154         for explicit high bit of mantissa when testing for argument equal
11155         to 1.
11156         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
11157         * sysdeps/i386/fpu/libm-test-ulps: Update.
11158         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11160         [BZ #16516]
11161         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
11162         (__erf): Scale by 16 instead of 8 in potentially underflowing
11163         case.  Ensure exception if result actually underflows.
11164         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
11165         (__erff): Scale by 16 instead of 8 in potentially underflowing
11166         case.  Ensure exception if result actually underflows.
11167         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
11168         (efx8): Remove variable.
11169         (__erfl): Scale by 16 instead of 8 in potentially underflowing
11170         case.  Ensure exception if result actually underflows.
11171         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
11172         (efx8): Remove variable.
11173         (__erfl): Scale by 16 instead of 8 in potentially underflowing
11174         case.  Ensure exception if result actually underflows.
11175         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
11176         (efx8): Remove variable.
11177         (__erfl): Scale by 16 instead of 8 in potentially underflowing
11178         case.  Ensure exception if result actually underflows.
11179         * math/auto-libm-test-in: Add more tests of erf.
11180         * math/auto-libm-test-out: Regenerated.
11182 2014-05-14  Andreas Schwab  <schwab@suse.de>
11184         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
11185         Remove code conditionalized on USE___THREAD.
11187         * config.h.in (HAVE_PT_CHOWN): Define as 0.
11188         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
11189         not definedness.
11191 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
11193         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
11194         Define unconditionally.
11195         (__ASSUME_O_CLOEXEC): Likewise.
11196         (__ASSUME_SOCK_CLOEXEC): Likewise.
11197         (__ASSUME_IN_NONBLOCK): Likewise.
11198         (__ASSUME_PIPE2): Likewise.
11199         (__ASSUME_EVENTFD2): Likewise.
11200         (__ASSUME_SIGNALFD4): Likewise.
11201         (__ASSUME_DUP3): Likewise.
11202         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11203         (__ASSUME_DUP3): Do not define.
11204         (__ASSUME_EVENTFD2): Likewise.
11205         (__ASSUME_IN_NONBLOCK): Likewise.
11206         (__ASSUME_O_CLOEXEC): Likewise.
11207         (__ASSUME_PIPE2): Likewise.
11208         (__ASSUME_SIGNALFD4): Likewise.
11209         (__ASSUME_SOCK_CLOEXEC): Likewise.
11210         (__ASSUME_UTIMES): Undefine.
11211         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11212         (__ASSUME_UTIMES): Do not define.
11213         (__ASSUME_O_CLOEXEC): Likewise.
11214         (__ASSUME_SOCK_CLOEXEC): Likewise.
11215         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
11216         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
11217         0x020621].
11218         (__ASSUME_PIPE2): Likewise.
11219         (__ASSUME_EVENTFD2): Likewise.
11220         (__ASSUME_SIGNALFD4): Likewise.
11221         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
11222         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
11223         Do not define.
11224         (__ASSUME_EVENTFD2): Likewise.
11225         (__ASSUME_SIGNALFD4): Likewise.
11226         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11227         (__ASSUME_32BITUIDS): Likewise.
11228         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
11229         (__ASSUME_IPC64): Likewise.
11230         (__ASSUME_ST_INO_64_BIT): Likewise.
11231         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
11232         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
11233         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11234         (__ASSUME_UTIMES): Do not define.
11235         (__ASSUME_PSELECT): Likewise.
11236         (__ASSUME_PPOLL): Likewise.
11237         (__ASSUME_O_CLOEXEC): Likewise.
11238         (__ASSUME_SOCK_CLOEXEC): Likewise.
11239         (__ASSUME_IN_NONBLOCK): Likewise.
11240         (__ASSUME_PIPE2): Likewise.
11241         (__ASSUME_EVENTFD2): Likewise.
11242         (__ASSUME_SIGNALFD4): Likewise.
11243         (__ASSUME_DUP3): Likewise.
11244         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11245         (__ASSUME_UTIMES): Likewise.
11246         (__ASSUME_O_CLOEXEC): Likewise.
11247         (__ASSUME_SOCK_CLOEXEC): Likewise.
11248         (__ASSUME_IN_NONBLOCK): Likewise.
11249         (__ASSUME_PIPE2): Likewise.
11250         (__ASSUME_EVENTFD2): Likewise.
11251         (__ASSUME_SIGNALFD4): Likewise.
11252         (__ASSUME_DUP3): Likewise.
11253         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11254         (__ASSUME_UTIMES): Likewise.
11255         (__ASSUME_O_CLOEXEC): Likewise.
11256         (__ASSUME_SOCK_CLOEXEC): Likewise.
11257         (__ASSUME_IN_NONBLOCK): Likewise.
11258         (__ASSUME_PIPE2): Likewise.
11259         (__ASSUME_EVENTFD2): Likewise.
11260         (__ASSUME_SIGNALFD4): Likewise.
11261         (__ASSUME_DUP3): Likewise.
11262         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
11263         Likewise.
11264         (__ASSUME_UTIMES): Likewise.
11265         (__ASSUME_EVENTFD2): Likewise.
11266         (__ASSUME_SIGNALFD4): Likewise.
11267         * sysdeps/unix/sysv/linux/tile/kernel-features.h
11268         (__ASSUME_O_CLOEXEC): Likewise.
11269         (__ASSUME_SOCK_CLOEXEC): Likewise.
11270         (__ASSUME_IN_NONBLOCK): Likewise.
11271         (__ASSUME_PIPE2): Likewise.
11272         (__ASSUME_EVENTFD2): Likewise.
11273         (__ASSUME_SIGNALFD4): Likewise.
11274         (__ASSUME_DUP3): Likewise.
11275         (__ASSUME_UTIMES): Undefine.
11277         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
11278         feclearexcept.  Remove symbol versioning code.
11279         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
11280         symbol versioning code.
11281         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
11282         symbol versioning code.
11283         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
11284         feupdateenv.  Remove symbol versioning code.
11285         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
11286         fegetexceptflag.  Remove symbol versioning code.
11287         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
11288         fesetexceptflag.  Remove symbol versioning code.
11289         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
11290         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
11291         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
11292         (__posix_fadvise64_l32): Remove prototype.
11293         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
11294         code.
11296 2014-05-13  Roland McGrath  <roland@hack.frob.com>
11298         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
11299         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
11300         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
11301         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
11303 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
11305         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
11306         current working directory
11308 2014-05-13  Roland McGrath  <roland@hack.frob.com>
11310         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
11311         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
11312         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
11313         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
11314         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
11315         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
11316         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
11317         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
11318         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
11319         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
11320         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
11321         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
11322         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
11323         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
11324         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
11325         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
11326         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
11327         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
11328         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
11329         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
11330         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
11331         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
11332         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
11333         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
11334         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
11335         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
11336         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
11337         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
11338         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
11339         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
11340         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
11341         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
11342         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
11343         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
11344         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
11345         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
11346         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
11347         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
11348         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
11349         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
11350         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
11351         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
11353         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
11354         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
11356         * sysdeps/unix/sysv/linux/arm/Makefile
11357         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
11358         Add rt-aeabi_unwind_cpp_pr1.
11359         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
11360         Add nptl-aeabi_unwind_cpp_pr1.
11361         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
11362         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
11363         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
11364         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
11365         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
11366         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
11368         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
11369         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
11370         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
11371         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
11373         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
11374         Deconditionalize the code that was previously under [RESET_PID].
11375         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
11377         * sysdeps/generic/exit-thread.h: New file.
11378         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
11379         * include/unistd.h (__exit_thread): Remove declaration.
11380         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
11381         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
11382         * csu/libc-start.c: Include <exit-thread.h>.
11383         (LIBC_START_MAIN): Pass no argument to __exit_thread.
11384         * nptl/pthread_create.c: Include <exit-thread.h>.
11385         (start_thread): Call __exit_thread in place of __exit_thread_inline.
11386         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
11387         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
11388         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
11389         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
11390         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
11391         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
11392         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
11393         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
11394         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
11395         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
11396         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
11397         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
11398         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
11399         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
11400         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
11401         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
11403 2014-05-13  Andreas Schwab  <schwab@suse.de>
11405         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
11407 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
11409         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
11410         (__ASSUME_UTIMES): Do not condition on kernel version.
11411         (__ASSUME_PSELECT): Define unconditionally.
11412         (__ASSUME_PPOLL): Likewise.
11413         (__ASSUME_ATFCTS): Likewise.
11414         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
11415         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
11416         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
11417         (__ASSUME_UTIMENSAT): Define unconditionally.
11418         (__ASSUME_PRIVATE_FUTEX): Likewise.
11419         (__ASSUME_FALLOCATE): Likewise.
11420         (__ASSUME_O_CLOEXEC): Likewise.
11421         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
11422         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
11423         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
11424         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
11425         (__ASSUME_IN_NONBLOCK): Likewise.
11426         (__ASSUME_PIPE2): Likewise.
11427         (__ASSUME_EVENTFD2): Likewise.
11428         (__ASSUME_SIGNALFD4): Likewise.
11429         (__ASSUME_DUP3): Likewise.
11430         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11431         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
11432         (__ASSUME_AT_RANDOM): Likewise.
11433         (__ASSUME_PREADV): Likewise.
11434         (__ASSUME_PWRITEV): Likewise.
11435         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
11436         (__ASSUME_F_GETOWN_EX): Define unconditionally.
11437         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
11438         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
11439         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
11440         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11441         (__ASSUME_O_CLOEXEC): Define unconditionally.
11442         (__ASSUME_PSELECT): Do not undefine conditionally.
11443         (__ASSUME_PPOLL): Likewise.
11444         (__ASSUME_ATFCTS): Likewise.
11445         (__ASSUME_SET_ROBUST_LIST): Likewise.
11446         (__ASSUME_UTIMENSAT): Likewise.
11447         (__ASSUME_FDATASYNC): Define unconditionally.
11448         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11449         (__ASSUME_SIGFRAME_V2): Likewise.
11450         )__ASSUME_EVENTFD2): Likewise.
11451         (__ASSUME_SIGNALFD4): Likewise.
11452         (__ASSUME_PSELECT): Do not undefine conditionally.
11453         (__ASSUME_PPOLL): Likewise.
11454         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11455         (__ASSUME_PSELECT): Define unconditionally.
11456         (__ASSUME_PPOLL): Likewise.
11457         (__ASSUME_O_CLOEXEC): Likewise.
11458         (__ASSUME_SOCK_CLOEXEC): Likewise.
11459         (__ASSUME_IN_NONBLOCK): Likewise.
11460         (__ASSUME_PIPE2): Likewise.
11461         (__ASSUME_EVENTFD2): Likewise.
11462         (__ASSUME_SIGNALFD4): Likewise.
11463         (__ASSUME_DUP3): Likewise.
11464         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11465         (__ASSUME_O_CLOEXEC): Likewise.
11466         (__ASSUME_SOCK_CLOEXEC): Likewise.
11467         (__ASSUME_IN_NONBLOCK): Likewise.
11468         (__ASSUME_PIPE2): Likewise.
11469         (__ASSUME_EVENTFD2): Likewise.
11470         (__ASSUME_SIGNALFD4): Likewise.
11471         (__ASSUME_DUP3): Likewise.
11472         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11473         (__ASSUME_EVENTFD2): Likewise.
11474         (__ASSUME_SIGNALFD4): Likewise.
11475         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11477 2014-05-12  Andreas Schwab  <schwab@suse.de>
11479         [BZ #16932]
11480         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
11481         (_nss_nis_gethostbyname4_r): Return error if item length is larger
11482         than maximum RPC packet size.
11483         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
11484         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
11485         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
11486         (_nss_nis_getservbyport_r): Likewise.
11488 2014-05-12  Will Newton  <will.newton@linaro.org>
11490         * malloc/Makefile (tests): Add tst-mallopt.
11491         * malloc/tst-mallopt.c: New file.
11493 2014-05-09  Roland McGrath  <roland@hack.frob.com>
11495         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
11496         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
11498 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11500         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
11501         (tst-tlsmod6.so): Likewise.
11503 2014-05-09  Roland McGrath  <roland@hack.frob.com>
11505         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
11507 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
11509         [BZ #16064]
11510         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
11511         and <dl-procinfo.h>.
11512         (__fegetenv): Save SSE state in envp->__eip if supported.
11513         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
11514         envp->__eip if supported.
11515         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
11516         and <dl-procinfo.h>.
11517         (__fesetenv): Always set __eip, __cs_selector, __opcode,
11518         __data_offset and __data_selector in environment to 0.  Set SSE
11519         state if supported.
11520         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
11521         test-fenv-sse.
11522         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
11523         -mfpmath=sse.
11524         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
11526 2014-05-09  Will Newton  <will.newton@linaro.org>
11528         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
11529         and libc_relro_required for ARM.
11530         * sysdeps/arm/preconfigure: Regenerate.
11532 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
11533             Stefan Liebler  <stli@linux.vnet.ibm.com>
11535         * config.make.in (enable-lock-elision): New Makefile variable.
11536         * configure.ac: Likewise.
11537         * configure: Regenerate.
11538         * sysdeps/s390/configure.ac:
11539         Add check for gcc transactions support.
11540         * sysdeps/s390/configure: Regenerate.
11541         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
11542         Build elision files if enabled.
11543         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
11544         Add lock elision support for s390.
11545         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
11546         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
11547         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
11548         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
11549         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
11550         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
11551         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
11552         Likewise.
11553         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
11554         Likewise.
11555         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
11556         Likewise.
11557         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
11558         Likewise.
11559         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
11560         (__lll_timedlock_elision, __lll_lock_elision)
11561         (__lll_unlock_elision, __lll_trylock_elision)
11562         (lll_timedlock_elision, lll_lock_elision)
11563         (lll_unlock_elision, lll_trylock_elision): Add.
11564         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11565         (pthread_mutex_t): Add lock elision support for s390.
11567 2014-05-14  Wilco  <wdijkstr@arm.com>
11569         * sysdeps/arm/fclrexcpt.c: Cleanup.
11570         * sysdeps/arm/fedisblxcpt.c: Cleanup.
11571         * sysdeps/arm/feenablxcpt.c: Cleanup.
11572         * sysdeps/arm/fegetenv.c: Cleanup.
11573         * sysdeps/arm/fegetexcept.c: Cleanup.
11574         * sysdeps/arm/fegetround.c: Cleanup.
11575         * sysdeps/arm/feholdexcpt.c: Cleanup.
11576         * sysdeps/arm/fesetenv.c: Cleanup.
11577         * sysdeps/arm/fesetround.c: Cleanup.
11578         * sysdeps/arm/feupdateenv.c: Cleanup.
11579         * sysdeps/arm/fgetexcptflg.c: Cleanup.
11580         * sysdeps/arm/fraiseexcpt.c: Cleanup.
11581         * sysdeps/arm/fsetexcptflg.c: Cleanup.
11582         * sysdeps/arm/ftestexcept.c: Cleanup.
11583         * sysdeps/arm/get-rounding-mode.h: Cleanup.
11584         * sysdeps/arm/setfpucw.c: Cleanup.
11586 2014-05-09  Will Newton  <will.newton@linaro.org>
11588         * sysdeps/arm/armv7/strcmp.S: New file.
11589         * NEWS: Mention addition of ARMv7 optimized strcmp.
11591 2014-05-08  Roland McGrath  <roland@hack.frob.com>
11593         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
11594         look for %.ac rather than %.in.
11596         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
11597         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
11598         * sysdeps/mach/hurd/configure: Regenerated.
11599         * sysdeps/unix/sysv/linux/configure: Regenerated.
11601         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
11603 2014-05-07  Steve Ellcey  <sellcey@mips.com>
11605         [BZ# 16922]
11606         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
11607         (LONG_SUB): Ditto.
11608         (PTR_SUB): Ditto.
11610 2014-05-07  Andreas Schwab  <schwab@suse.de>
11612         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
11613         when skipping over non-matching result from nscd.
11615 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
11617         [BZ #16876]
11618         * nptl/sockperf.c (client): Check socket return value.
11620         [BZ #16877]
11621         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
11622         nscd security class.
11624 2014-05-06  Roland McGrath  <roland@hack.frob.com>
11626         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
11627         * sysdeps/arm/unwind.h: ... here.
11629 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
11631         [BZ# 16916]
11632         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
11633         Define.
11635 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
11637         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
11638         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
11639         multiarch strncpy for PPC64.
11640         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
11641         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
11642         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
11643         multiarch optimizations.
11644         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11645         (__libc_ifunc_impl_list): Likewise.
11646         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
11647         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
11648         multiarch stpncpy for PPC64.
11649         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
11650         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
11652 2014-05-06  Andreas Schwab  <schwab@suse.de>
11654         [BZ #16912]
11655         * gmon/mcount.c (_MCOUNT_DECL): Use
11656         atomic_compare_and_exchange_bool_acq instead of
11657         catomic_compare_and_exchange_bool_acq.
11659 2014-05-05  Roland McGrath  <roland@hack.frob.com>
11661         * elf/Makefile (others, install-bin): Remove pldd.
11662         (pldd-modules): Variable removed.
11663         ($(objpfx)pldd): Target removed.
11664         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
11665         (others, install-bin): Append pldd here.
11666         ($(objpfx)pldd): New target.
11668         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
11669         to 0, so the first #if test emitted later doesn't see it undefined.
11670         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
11671         * sysdeps/gnu/errlist.c: Regenerated.
11673 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11675         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
11676         [libc_hidden_builtin_def]: Define to empty value.
11677         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
11678         [libc_hidden_builtin_def]: Likewise.
11679         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
11680         [libc_hidden_builtin_def]: Likewise.
11681         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
11682         [libc_hidden_builtin_def]: Likewise.
11683         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
11684         __redirect_memcpy and define ifunc as default hidden symbol.
11685         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
11686         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
11688 2014-05-04  Adam Conrad  <adconrad@0c3.net>
11690         * locale/iso-4217.def: Reintroduce XDR currency.
11692 2014-05-04  Allan McRae  <allan@archlinux.org>
11694         * po/eo.po: Update Esperanto translation from translation project.
11696 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
11698         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
11699         and FEATURE_INDEX_MAX to 1.
11700         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
11702 2014-05-01  Steve Ellcey  <sellcey@mips.com>
11704         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
11705         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
11706         * iconvdata/big5.c (ONE_DIRECTION): Define.
11707         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
11708         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
11709         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
11710         * iconvdata/cp932.c (ONE_DIRECTION): Define.
11711         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
11712         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
11713         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
11714         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
11715         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
11716         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
11717         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
11718         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
11719         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
11720         * iconvdata/gbk.c (ONE_DIRECTION): Define.
11721         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
11722         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
11723         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
11724         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
11725         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
11726         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
11727         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
11728         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
11729         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
11730         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
11731         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
11732         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
11733         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
11734         * iconvdata/iso646.c (ONE_DIRECTION): Define.
11735         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
11736         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
11737         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
11738         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
11739         * iconvdata/johab.c (ONE_DIRECTION): Define.
11740         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
11741         * iconvdata/sjis.c (ONE_DIRECTION): Define.
11742         * iconvdata/t.61.c (ONE_DIRECTION): Define.
11743         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
11744         * iconvdata/tscii.c (ONE_DIRECTION): Define.
11745         * iconvdata/uhc.c (ONE_DIRECTION): Define.
11746         * iconvdata/unicode.c (ONE_DIRECTION): Define.
11747         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
11748         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
11749         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
11751 2014-05-01  Roland McGrath  <roland@hack.frob.com>
11753         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
11754         (_IO_JUMPS_OFFSET): Define to 0.
11756         * nptl/sysdeps/pthread/bits/libc-lock.h
11757         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
11758         (__libc_lock_define_initialized_recursive): Always define using
11759         initializer.  Modern compilers treat uninitialized (implicit zero) and
11760         explicit zero initializers the same (i.e. put the datum in bss).
11762 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
11764         * nscd/nscd-client.h: Include <string.h>.
11766 2014-05-01  David S. Miller  <davem@davemloft.net>
11768         [BZ #16885]
11769         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
11770         multiple zero bytes exist at the end of a string.
11771         Reported by Aurelien Jarno <aurelien@aurel32.net>
11773         * string/test-strcmp.c (check): Add explicit test for situations where
11774         there are multiple zero bytes after the first.
11776 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
11778         [BZ #16890]
11779         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
11780         when compiling wprintf.
11781         * stdio-common/tstdiomisc.c (t3): New function.
11782         (main): Call it.
11784 2014-05-01  Steve Ellcey  <sellcey@mips.com>
11786         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
11787         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
11788         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
11789         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
11791 2014-05-01  Steve Ellcey  <sellcey@mips.com>
11793         * stdlib/longlong.h: Updated from GCC.
11795 2014-05-01  Will Newton  <will.newton@linaro.org>
11796             Bernard Ogden  <bernie.ogden@linaro.org>
11798         * NEWS: Update fixed bug list.
11800         [BZ #15119]
11801         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
11803 2014-04-30  David S. Miller  <davem@davemloft.net>
11805         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
11806         (libc_feholdexcept_setround_sparc_ctx): New function.
11807         (libc_fesetenv_sparc_ctx): Likewise.
11808         (libc_feupdateenv_sparc_ctx): Likewise.
11809         (libc_feholdsetround_sparc_ctx): Likewise.
11810         (libc_feholdexcept_setround_ctx): Define.
11811         (libc_feholdexcept_setroundf_ctx): Likewise.
11812         (libc_feholdexcept_setroundl_ctx): Likewise.
11813         (libc_fesetenv_ctx): Likewise.
11814         (libc_fesetenvf_ctx): Likewise.
11815         (libc_fesetenvl_ctx): Likewise.
11816         (libc_feupdateenv_ctx): Likewise.
11817         (libc_feupdateenvf_ctx): Likewise.
11818         (libc_feupdateenvl_ctx): Likewise.
11819         (libc_feresetround_ctx): Likewise.
11820         (libc_feresetroundf_ctx): Likewise.
11821         (libc_feresetroundl_ctx): Likewise.
11822         (libc_feholdsetround_ctx): Likewise.
11823         (libc_feholdsetroundf_ctx): Likewise.
11824         (libc_feholdsetroundl_ctx): Likewise.
11826         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
11827         with __USE_GNU instead of XOPEN cpp guards.
11829         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
11830         0.
11832         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
11833         with XOPEN cpp guards.
11835 2014-04-30  Julian Brown  <julian@codesourcery.com>
11837         [BZ #16888]
11838         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
11839         handling.
11841 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
11843         [BZ #9894]
11844         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
11845         Change to 2.6.32.
11846         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
11847         * sysdeps/unix/sysv/linux/configure: Regenerated.
11848         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
11849         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
11850         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
11851         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
11852         * README: Update reference to required Linux kernel version.
11853         * manual/install.texi (Linux): Update reference to required Linux
11854         kernel headers version.
11855         * INSTALL: Regenerated.
11857         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
11858         header inclusion.
11859         [POSIX] (limits.h): Likewise.
11860         [POSIX] (math.h): Likewise.
11861         [POSIX] (sys/wait.h): Likewise.
11862         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
11863         function.
11864         [POSIX] (stddef.h): Do not allow header inclusion.
11866 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11868         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
11870 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
11872         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
11873         Return immediately after lll_futex_wake.
11875 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11877         [BZ #16791]
11878         * nscd/nscd-client.h (datahead_init_common): Initialize entire
11879         structure.
11880         (datahead_init_pos): Call datahead_init_common early.
11881         (datahead_init_neg): Likewise.
11883         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
11884         datahead_init_neg): New functions.
11885         * nscd/aicache.c (addhstaiX): Use them.
11886         * nscd/grpcache.c (cache_addgr): Likewise.
11887         * nscd/hstcache.c (cache_addhst): Likewise.
11888         * nscd/initgrcache.c (addinitgroupsX): Likewise.
11889         * nscd/netgroupcache.c (do_notfound): Likewise.
11890         (addgetnetgrentX): Likewise.
11891         (addinnetgrX): Likewise.
11892         * nscd/pwdcache.c (cache_addpw): Likewise.
11893         * nscd/servicescache.c (cache_addserv): Likewise.
11895 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11896             Atsushi Onoe  <atsushi@onoe.org>
11898         [BZ #14308]
11899         [BZ #12994]
11900         [BZ #13651]
11901         * resolv/res_query.c (__libc_res_nsearch): Return if at least
11902         one response is valid.
11903         * resolv/res_send.c (send_dg): Check for validity of other
11904         response if the current response is a referral.
11906 2014-04-29  Steve Ellcey  <sellcey@mips.com>
11908         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
11910 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
11912         [BZ #16823]
11913         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
11914         Always divide by positive zero when computing -Inf result.
11915         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11916         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
11918 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11920         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
11921         FPSCR if value do not change.
11922         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11923         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
11924         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
11925         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
11926         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
11927         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
11928         function.
11930 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
11932         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
11933         * sysdeps/unix/sysv/linux/hppa: Move directory from
11934         ports/systeps/unix/sysv/linux/hppa.
11935         * README: Update listing for hppa-*-linux-gnu.
11937 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
11939         [BZ #16754]
11940         * manual/stdio.texi (Hook functions): Fix types of stream hook
11941         functions.
11942         [BZ #16854]
11943         * socket/sys/socket.h: Fix typo in comment.
11945 2014-04-28  Wilco  <wdijkstr@arm.com>
11947         * sysdeps/arm/fenv_private.h: New file.
11948         * sysdeps/arm/math_private.h: New file.
11949         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
11951 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
11953         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
11954         with __int128_t.
11955         (La_x86_64_retval): Likewise.
11957 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
11959         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
11960         fpsr if value didn't change.
11961         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
11962         to fpcr if value didn't change.
11963         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
11964         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
11965         fpsr or fpcr if value didn't change.
11966         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
11967         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
11968         fpcr if value didn't change.
11969         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
11970         to fpsr if value didn't change.
11972 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
11974         * nptl/tst-sem3.c: Use test-skeleton.c
11975         (main): Rename to do_test.  Use return instead of
11976         exit.
11977         * nptl/tst-sem4.c: Use test-skeleton.c
11978         (main): Rename to do_test.
11980 2014-04-22  David S. Miller  <davem@davemloft.net>
11982         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
11983         (struct sigaction): New struct member __glibc_reserved0, change
11984         type of sa_flags to int.
11986 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
11988         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
11989         (COUNT_LEADING_ZEROS_0): Define for AArch64.
11991 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
11993         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
11994         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
11996 2014-04-22  Will Newton  <will.newton@linaro.org>
11997             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
11999         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
12000         (__longjmp): Add longjmp and longjmp_target SystemTap
12001         probes.
12002         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
12003         (__sigsetjmp): Add setjmp SystemTap probe.
12005 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
12007         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
12008         match manual order.
12010 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12012         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
12014         * sysdeps/powerpc/fpu/fenv_private.h
12015         (libc_feholdexcept_setroundl_ctx): Define to
12016         libc_feholdexcept_setround_ppc_ctx.
12017         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
12018         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
12019         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
12020         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
12022 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
12024         * sysdeps/aarch64/math-tests.h: New file.
12026 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
12028         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
12029         New.
12030         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12031         Check and set bit_AVX2_Usable.
12032         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
12033         macro.
12034         (bit_AVX2): Likewise.
12035         (index_AVX2_Usable): Likewise.
12036         (CPUID_AVX2): Likewise.
12037         (HAS_AVX2): Likewise.
12039 2014-04-17  Will Newton  <will.newton@linaro.org>
12041         * manual/setjmp.texi (System V contexts): Add note that
12042         calling setcontext on a context created by a call to a
12043         signal handler is undefined.  Update text to note that
12044         setcontext from a signal handler is possible but not
12045         recommended.
12047         [BZ #16629]
12048         * stdlib/tst-setcontext.c: Include signal.h.
12049         (main): Check that the signal stack before and
12050         after swapcontext is the same.
12052         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
12053         Re-implement to restore registers in user code and avoid
12054         rt_sigreturn system call.
12056 2014-04-17  Wilco  <wdijkstr@arm.com>
12058         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
12059         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
12060         * math/test-fenv.c: Skip exception trap tests on targets which only
12061         support non-stop mode.
12063 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
12064             Wilco Dijkstra  <wilco.dijkstra@arm.com>
12066         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
12067         (libc_feholdsetround_aarch64_ctx)
12068         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
12069         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
12070         (libc_feresetround_ctx, libc_feresetroundf_ctx)
12071         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
12072         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
12073         (libc_feresetround_noexl_ctx): Define.
12075 2014-04-16  Richard Henderson  <rth@redhat.com>
12077         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
12079         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
12080         unwind tables.
12082         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
12083         const from the non-libc, non-ldso copy.
12085         * sysdeps/alpha/libm-test-ulps: Regenerate.
12087 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
12088             Wilco Dijkstra  <wilco.dijkstra@arm.com>
12090         * sysdeps/aarch64/fpu/math_private.h: New file.
12092 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
12094         * sysdeps/aarch64/libm-test-ulps: Regenerate.
12096 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
12098         [BZ #16275]
12099         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
12100         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
12101         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
12102         Intel MPX bound registers before _dl_profile_fixup.
12103         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
12104         registers after _dl_profile_fixup.  Save and restore bound
12105         registers bnd0/bnd1 when calling _dl_call_pltexit.
12106         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
12107         (LR_BND_OFFSET): Likewise.
12108         (LRV_BND0_OFFSET): Likewise.
12109         (LRV_BND1_OFFSET): Likewise.
12111 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12113         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
12114         to...
12115         * sysdeps/mach/hurd/i386/tls.h: ... here.
12116         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
12117         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
12118         fields.
12120 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12122         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
12124 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
12126         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12128 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
12130         [BZ #14770]
12131         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
12132         * sysdeps/s390/configure: Regenerate.
12134         [BZ #16824]
12135         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
12136         Set round-to-nearest internally to reduce error accumulation.
12138 2014-04-16  Alan Modra  <amodra@gmail.com>
12140         [BZ #16740]
12141         [BZ #16619]
12142         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
12143         * math/libm-test.inc (frexp_test_data): Add tests.
12144         * NEWS: Update fixed bug list.
12146 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12148         * benchtests/Makefile: Depend on libraries in build directory.
12149         (bench-math): Separate out math tests.
12150         (bench-pthread): Separate out pthread tests.
12151         (bench): Include math and pthread tests.
12153 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
12155         [BZ #16831]
12156         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
12157         _dl_debug_initialize.
12159         * configure.ac: Remove SELinux header check.
12160         * configure: Regenerate.
12161         * nscd/selinux.c (perms): Array of const char* to permission names.
12162         (nscd_request_avc_has_perm): Call security_deny_unknown to find
12163         default policy. Call string_to_security_class and string_to_av_perm to
12164         translate strings. Enforce default policy and call avs_has_perm with
12165         results of translated strings.
12167 2014-04-13  David S. Miller  <davem@davemloft.net>
12169         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12171 2014-04-12  Allan McRae  <allan@archlinux.org>
12173         [BZ #16838]
12174         * manual/string.texi (Collation Functions): Fix qsort argument
12175         order in example.
12176         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
12178 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
12180         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
12181         Make the test a no-op if there are no exceptions defined.
12183 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
12185         * elf/Makefile (tests): make tst-dlopen-aout conditional on
12186         enable-hardcoded-path-in-tests
12188 2014-04-11  Will Newton  <will.newton@linaro.org>
12190         * benchtests/Makefile (extra-objs): Add json-lib.o.
12191         (bench-func): Tidy up JSON output.
12192         * benchtests/bench-skeleton.c: Include json-lib.h.
12193         (main): Use JSON library functions to do output of
12194         benchmark results.
12195         * benchtests/bench-timing-type.c (main): Output the
12196         timing type simply, leaving formatting to the user.
12197         * benchtests/json-lib.c: New file.
12198         * benchtests/json-lib.h: Likewise.
12200 2014-04-11  Torvald Riegel  <triegel@redhat.com>
12202         [BZ #15215]
12203         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
12204         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
12205         memory barriers.  Add comments.
12206         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
12207         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
12208         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
12209         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
12210         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
12211         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
12213 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
12215         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
12216         * sysdeps/s390/s390-64/configure.ac: ... this ...
12217         * sysdeps/s390/configure.ac: ... to here.
12218         * sysdeps/s390/s390-32/configure: Delete file.
12219         * sysdeps/s390/s390-64/configure: Delete file.
12220         * sysdeps/s390/configure: Regenerate.
12222 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
12224         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
12226 2014-04-11  Will Newton  <will.newton@linaro.org>
12228         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
12229         to zero if it is not defined elsewhere.  (mtrim): Test
12230         the value of MALLOC_DEBUG with #if rather than #ifdef.
12232 2014-04-10 Torvald Riegel  <triegel@redhat.com>
12234         * benchtests/pthread_once-inputs: New file.
12235         * benchtests/pthread_once-source.c: New file.
12236         * benchtests/README: Update documentation.
12238 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
12239             H.J. Lu  <hongjiu.lu@intel.com>
12241         [BZ #16275]
12242         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
12243         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
12244         * sysdeps/x86_64/configure: Regenerated.
12245         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
12246         macro.
12247         (REGISTER_SAVE_RAX): Likewise.
12248         (REGISTER_SAVE_RCX): Likewise.
12249         (REGISTER_SAVE_RDX): Likewise.
12250         (REGISTER_SAVE_RSI): Likewise.
12251         (REGISTER_SAVE_RDI): Likewise.
12252         (REGISTER_SAVE_R8): Likewise.
12253         (REGISTER_SAVE_R9): Likewise.
12254         (REGISTER_SAVE_BND0): Likewise.
12255         (REGISTER_SAVE_BND1): Likewise.
12256         (REGISTER_SAVE_BND2): Likewise.
12257         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
12258         bound registers when calling _dl_fixup.
12260 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12262         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
12263         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
12264         of its definition.
12265         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
12266         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
12267         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
12268         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
12269         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
12270         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
12271         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
12273 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
12275         [BZ #15514]
12276         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
12277         pathconf(_PC_NAME_MAX).
12279 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12281         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
12282         Remove macro usage.
12283         (__PTHREAD_SPINS): Move definition to ...
12284         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
12285         (__PTHREAD_SPINS): ... here.
12286         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12287         (__PTHREAD_SPIN): Likewise.
12288         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
12289         (__PTHREAD_SPIN): Likewise.
12290         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
12291         (__PTHREAD_SPIN): Likewise.
12292         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
12293         (__PTHREAD_SPIN): Likewise.
12294         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
12295         (__PTHREAD_SPIN): Likewise.
12296         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
12297         (__PTHREAD_SPIN): Likewise.
12298         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
12299         (__PTHREAD_SPIN): Likewise.
12300         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
12301         (__PTHREAD_SPIN): Likewise.
12302         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
12303         (__PTHREAD_SPIN): Likewise.
12304         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
12305         (__PTHREAD_SPIN): Likewise.
12306         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
12307         (__PTHREAD_SPIN): Likewise.
12308         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
12309         (__PTHREAD_SPIN): Likewise.
12311         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
12312         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
12313         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
12314         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
12315         imply folder.
12316         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
12317         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
12318         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
12319         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
12320         correct imply path.
12321         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
12322         strlen symbol for non multi-arch builds.
12323         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
12324         missing hidden_def and weak_alias.
12326 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
12328         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
12330 2014-04-07  Will Newton  <will.newton@linaro.org>
12332         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
12333         and contents.  [!_LIBC] Remove #ifndef and contents.
12334         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
12335         * string/memccpy.c (__memccpy): Use ANSI prototype.
12336         * string/memfrob.c (memfrob): Likewise.
12337         * string/strcoll.c (STRCOLL): Likewise.
12338         * string/strlen.c (strlen): Likewise.
12339         * string/strtok.c (STRTOK): Likewise.
12340         * string/strcat.c: Remove unused #include of memcopy.h.
12341         (strcat): Use ANSI prototype.
12342         * string/strchr.c: Remove unused #include of memcopy.h.
12343         (strchr): Use ANSI prototype.
12344         * string/strcmp.c: Remove unused #include of memcopy.h.
12345         (strcmp): Use ANSI prototype.
12346         * string/strcpy.c: Remove unused #include of memcopy.h.
12347         (strcpy): Use ANSI prototype.
12349 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12351         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
12352         * config.make.in (config-extra-cppflags): Set it from
12353         libc_extra_cppflags.
12354         * configure.ac (libc_extra_cflags): Make it accumulate over
12355         configure fragments.
12356         (libc_extra_cppflags): New flag.
12357         * configure. Regenerate.
12358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
12359         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
12360         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
12361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
12363         [BZ #16815]
12364         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
12365         result for FE_DOWNWARD rounding mode.
12366         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
12367         Likewise.
12368         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12370 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
12372         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
12373         in function argument name.
12375 2014-04-03  David Svoboda  <svoboda@cert.org>
12377         [BZ #5666]
12378         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
12379         explicitly.
12381 2014-04-03  Roland McGrath  <roland@hack.frob.com>
12383         * elf/dl-unmap-segments.h: New file.
12384         * sysdeps/generic/ldsodefs.h
12385         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
12386         * elf/dl-close.c: Include <dl-unmap-segments.h>.
12387         * elf/dl-fptr.c: Likewise.
12388         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
12389         * sysdeps/aarch64/tlsdesc.c: Likewise.
12390         * sysdeps/arm/tlsdesc.c: Likewise.
12391         * sysdeps/i386/tlsdesc.c: Likewise.
12392         * sysdeps/tile/dl-runtime.c: Likewise.
12393         * sysdeps/x86_64/tlsdesc.c: Likewise.
12394         * elf/dl-load.h: New file.
12395         * elf/dl-load.c: Include it.
12396         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
12397         Macros moved to dl-load.h.
12398         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
12399         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
12400         Use _dl_unmap_segments in place of __munmap.
12401         Break out segment-mapping loop into ...
12402         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
12404 2014-04-03  Will Newton  <will.newton@linaro.org>
12406         * elf/dl-lookup.c (do_lookup_x): Remove comment
12407         referring to nested function and move variable
12408         declarations down to before first use.
12410 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
12412         [BZ #16799]
12413         [BZ #16800]
12414         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
12415         with 0 numerator.
12416         * math/s_catanf.c (__catanf): Likewise.
12417         * math/s_catanh.c (__catanh): Likewise.
12418         * math/s_catanhf.c (__catanhf): Likewise.
12419         * math/s_catanhl.c (__catanhl): Likewise.
12420         * math/s_catanl.c (__catanl): Likewise.
12421         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
12422         by positive zero when computing -Inf result.
12423         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
12424         (catanh_test): Likewise.
12425         * sysdeps/i386/fpu/libm-test-ulps: Update.
12426         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12428         [BZ #16789]
12429         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
12430         instead of using underflowing value in computing result.
12431         * math/s_clog10.c (__clog10): Likewise.
12432         * math/s_clog10f.c (__clog10f): Likewise.
12433         * math/s_clog10l.c (__clog10l): Likewise.
12434         * math/s_clogf.c (__clogf): Likewise.
12435         * math/s_clogl.c (__clogl): Likewise.
12436         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
12437         (clog10_test): Likewise.
12438         * sysdeps/i386/fpu/libm-test-ulps: Update.
12439         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12441 2014-04-02  Alan Modra  <amodra@gmail.com>
12443         [BZ #16739]
12444         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
12445         output when value is near a power of two.  Use int64_t for lx and
12446         remove casts.  Use decimal rather than hex exponent constants.
12447         Don't use long double multiplication when double will suffice.
12448         * math/libm-test.inc (nextafter_test_data): Add tests.
12449         * NEWS: Add 16739 and 16786 to bug list.
12451         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
12453         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
12455 2014-04-01  Will Newton  <will.newton@linaro.org>
12457         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
12458         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
12460 2014-04-01  Florian Weimer  <fweimer@redhat.com>
12462         [BZ #13347]
12463         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
12464         * nptl/tst-setuid2.c: New file.
12465         * nptl/Makefile (xtests): Add tst-setuid2.
12467 2014-04-01  Alan Modra  <amodra@gmail.com>
12469         [BZ #16786]
12470         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
12472 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
12474         [BZ #6803]
12475         [BZ #6804]
12476         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
12477         set errno as appropriate.
12478         * math/w_scalbf.c (__scalbf): Likewise.
12479         * math/w_scalbl.c (__scalbl): Likewise.
12480         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
12481         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
12482         * math/libm-test.inc (scalb_test_data): Add errno expectations.
12483         Add more NaN tests.
12485         [BZ #16349]
12486         * math/w_atan2.c: Include <errno.h>.
12487         (__atan2): Set errno for result underflowing to zero.
12488         * math/w_atan2f.c: Include <errno.h>.
12489         (__atan2f): Set errno for result underflowing to zero.
12490         * math/w_atan2l.c: Include <errno.h>.
12491         (__atan2l): Set errno for result underflowing to zero.
12492         * math/auto-libm-test-in: Don't allow missing errno for some atan2
12493         tests.
12494         * math/auto-libm-test-out: Regenerated.
12496 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12498         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
12499         Encode instruction correctly in little endian.
12500         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
12501         Likewise.
12502         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
12503         Likewise.
12504         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
12505         Likewise.
12506         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
12507         Likewise.
12509 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
12511         [BZ #9894]
12512         * sysdeps/unix/sysv/linux/kernel-features.h
12513         [__sparc__ && !__arch64__ && !__sparc_v9__]
12514         (__ASSUME_SET_ROBUST_LIST): Do not define.
12515         [__sparc__ && !__arch64__ && !__sparc_v9__]
12516         (__ASSUME_FUTEX_LOCK_PI): Likewise.
12517         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
12518         Likewise.
12519         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12520         (__ASSUME_FUTEX_LOCK_PI): Undefine.
12521         (__ASSUME_REQUEUE_PI): Likewise.
12522         (__ASSUME_SET_ROBUST_LIST): Likewise.
12523         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12524         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
12525         Undefine.
12526         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12527         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
12528         Likewise.
12529         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
12530         Likewise.
12531         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
12532         Likewise.
12533         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12534         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
12535         Undefine.
12536         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
12537         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
12538         Likewise.
12540         [BZ #16648]
12541         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12542         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
12543         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
12545 2014-03-31  Will Newton  <will.newton@linaro.org>
12547         * benchtests/Makefile (bench): Add ffs and ffsll to list
12548         of tests.
12549         * benchtests/ffs-inputs: New file.
12550         * benchtests/ffsll-inputs: Likewise.
12552 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
12554         [BZ #16770]
12555         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
12556         too large before casting to int.
12557         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
12558         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
12559         * math/libm-test.inc (scalb_test_data): Add more tests.
12561 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
12563         * benchtests/Makefile (DETAILED_OPT): New make option.
12564         (bench-func): Run benchmark program with -d if DETAILED_OPT is
12565         set.
12566         * benchtests/bench-skeleton.c: Include stdbool.h.
12567         (main): Store and print timings per input.
12568         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
12569         member to each argument value.
12570         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
12571         (_print_arg_data): Initialize per-input timing to 0.
12573         * benchtests/Makefile (timing-type): New binary.
12574         (bench-clean): Also remove bench-timing-type.
12575         (bench): New target for timing-type.
12576         (bench-func): Print output in JSON format.
12577         * benchtests/bench-skeleton.c (main): Print output in JSON
12578         format.
12579         * benchtests/bench-timing-type.c: New file.
12580         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
12581         (TIMING_PRINT_STATS): Remove.
12582         * benchtests/scripts/bench.py (_print_arg_data): Store variant
12583         name separately.
12585         * benchtests/bench-modf.c: Remove.
12586         * benchtests/modf-inputs: New inputs file.
12588 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
12590         [BZ #16362]
12591         * math/s_clog10.c (M_PI_LOG10E): New macro.
12592         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
12593         imaginary parts are 0.
12594         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
12595         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
12596         imaginary parts are 0.
12597         * math/s_clog10l.c (M_PI_LOG10El): New macro.
12598         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
12599         imaginary parts are 0.
12600         * math/libm-test.inc (clog10_test_data): Update expected results
12601         for when real and imaginary parts are 0.
12603 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
12605         * elf/dl-load.c: Finish conversion of __builtin_expect into
12606         __glibc_{un}likely.
12608 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
12610         [BZ #16348]
12611         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
12612         1+x for argument with exponent below -67.
12613         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
12614         Likewise.
12615         * math/auto-libm-test-in: Add more tests of exp.
12616         * math/auto-libm-test-out: Regenerated.
12618 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12620         [BZ #16759]
12621         * inet/getnetgrent_r.c (get_nonempty_val): New function.
12622         (nscd_getnetgrent): Use it.
12624         [BZ #16760]
12625         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
12626         of stpcpy.
12628 2014-03-27  Andi Kleen  <ak@linux.intel.com>
12630         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
12631         (lll_robust_lock, lll_cond_lock, lll_timedlock)
12632         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
12633         (lll_robust_unlock): Remove out of line section. Use cfi
12634         intrinsics.
12635         (LLL_STUB_UNWIND_INFO*): Remove.
12636         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
12637         (lll_robust_lock, lll_cond_lock, lll_timedlock)
12638         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
12639         (lll_robust_unlock): Remove out of line section. Use cfi
12640         intrinsics.
12641         (LLL_STUB_UNWIND_INFO*): Remove.
12643 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12645         [BZ #16758]
12646         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
12647         blank values.
12649 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
12651         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
12653 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
12655         [BZ #16198]
12656         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
12657         fnstenv.
12658         * math/test-fenv-preserve.c: New file.
12659         * math/Makefile (tests): Add test-fenv-preserve.
12661 2014-03-26  Will Newton <will.newton@linaro.org>
12663         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
12665 2014-03-25  Roland McGrath  <roland@hack.frob.com>
12667         * scripts/versionlist.awk: Partition the version sets and emit all
12668         GLIBC_* (sorted) before all others (sorted).
12670 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
12672         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
12673         GLIBC_2.2.5 version.
12675 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12677         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
12678         calls.
12680         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
12681         previous change.
12683         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12685 2014-03-25  Andreas Schwab  <schwab@suse.de>
12687         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
12688         label to be used after in6ailist is initialized.
12690 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12692         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
12693         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
12695 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
12697         [BZ #16357]
12698         [BZ #16599]
12699         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
12700         min_plus_half.
12701         (fp_formats): Update initializers.
12702         (init_fp_formats): Initialize new field.
12703         (output_for_one_input_case): Allow underflow for results up to
12704         min_plus_half.
12705         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
12706         * math/auto-libm-test-in: Don't mark some underflows from asin and
12707         atanh as spurious.
12708         * math/auto-libm-test-out: Regenerated.
12709         * sysdeps/i386/fpu/libm-test-ulps: Update.
12710         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12712 2014-03-25  Andreas Schwab  <schwab@suse.de>
12714         * libio/Makefile (tst-ftell-partial-wide-ENV)
12715         (tst-ftell-active-handler-ENV): Define.
12717 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
12719         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
12721 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
12723         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
12725 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
12727         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
12728         * sysdeps/x86_64/fpu/multiarch/e_exp.c
12729         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12731 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
12733         [BZ #16634]
12734         * elf/dl-load.c (open_verify): Add mode parameter.
12735         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
12736         (open_path): Change from boolean 'secure' to complete flag 'mode'
12737         (_dl_map_object): Adjust.
12738         * elf/Makefile (tests): Add tst-dlopen-aout.
12739         * elf/tst-dlopen-aout.c: New test.
12741 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
12743         [BZ #16714]
12744         * sysdeps/unix/sysv/linux/s390/bits/stat.h
12745         (struct stat): Rename member pad0 to __glibc_reserved0.
12747         [BZ #16712]
12748         * sysdeps/s390/s390-32/bits/wordsize.h
12749         (__WORDSIZE32_SIZE_ULONG): New define.
12750         * sysdeps/s390/s390-64/bits/wordsize.h
12751         (__WORDSIZE32_SIZE_ULONG): Likewise.
12752         * sysdeps/generic/stdint.h (SIZE_MAX):
12753         Define as UL if __WORDSIZE32_SIZE_ULONG.
12755         [BZ #16713]
12756         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
12757         (__glibc_reserved0): New variable.
12758         (sa_flags): Change type to int.
12760         * posix/Makefile (before-compile): Use += before-compile instead
12761         of a :=.
12763         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12764         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
12766 2014-03-20  Andreas Schwab  <schwab@suse.de>
12768         [BZ #16743]
12769         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
12770         non-matching result from nscd.
12772 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12774         * scripts/bench.py: Moved to ...
12775         * benchtests/scripts/bench.py: ... here.
12776         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
12778 2014-03-24  Andreas Schwab  <schwab@suse.de>
12780         [BZ #16002]
12781         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
12782         alloca_account and account alloca use for struct in6ailist.
12784 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
12786         [BZ #16284]
12787         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
12788         rounding mode to recompute results that overflow to infinity or
12789         underflow to zero.
12790         * math/auto-libm-test-in: Don't mark tests as expected to fail for
12791         bug 16284.
12792         * math/auto-libm-test-out: Regenerated.
12793         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
12794         (ccosh_test): Likewise.
12795         (csin_test_data): Use plus_oflow.
12796         (csin_test): Use ALL_RM_TEST.
12797         (csinh_test_data): Use plus_oflow.
12798         (csinh_test): Use ALL_RM_TEST.
12799         * sysdeps/i386/fpu/libm-test-ulps: Update.
12800         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12802 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
12804         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
12805         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
12806         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
12808         [BZ #16731]
12809         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
12810         when x - 1 is zero.
12811         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
12812         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
12813         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
12814         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
12815         argument is 1.
12816         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
12817         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
12818         zero.
12819         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
12820         * sysdeps/i386/fpu/libm-test-ulps: Update.
12821         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12823 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12825         * scripts/bench.pl: Remove file.
12826         * scripts/bench.py: New benchmark script.
12827         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
12828         * benchtests/README: Mention python dependency.
12829         * scripts/pylintrc: New file.
12830         * scripts/pylint: New file.
12832         * bits/mathdef.h: Use #ifdef instead of #if.
12833         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
12834         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12835         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
12836         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12837         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
12838         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12840 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12841             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
12843         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
12844         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
12845         and strpbrk-ppc64 objects.
12846         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12847         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
12848         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
12849         multiarch strpbrk for POWER7.
12850         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
12851         multiarch strpbrk for PPC64.
12852         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
12853         ifunc selector.
12854         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
12855         strpbrk for POWER7.
12857 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
12859         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
12860         (atan_test): Likewise.
12861         (atanh_test_data): Use NO_TEST_INLINE for two tests.
12862         (atanh_test): Use ALL_RM_TEST.
12863         (atan2_test_data): Likewise.
12864         (cabs_test): Likewise.
12865         (cacosh_test): Likewise.
12866         (carg_test): Likewise.
12867         (casin_test): Likewise.
12868         (casinh_test): Likewise.
12869         (cbrt_test): Likewise.
12870         (csqrt_test): Likewise.
12871         (erf_test): Likewise.
12872         (erfc_test): Likewise.
12873         (pow10_test): Likewise.
12874         (exp2_test): Likewise.
12875         (hypot_test): Likewise.
12876         (j0_test): Likewise.
12877         (j1_test): Likewise.
12878         (lgamma_test): Likewise.
12879         (gamma_test): Likewise.
12880         (sincos_test): Likewise.
12881         (tanh_test): Likewise.
12882         (y0_test): Likewise.
12883         (y1_test): Likewise.
12884         * sysdeps/i386/fpu/libm-test-ulps: Update.
12885         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12887 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12889         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
12890         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
12891         and strcspn-ppc64 objects.
12892         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12893         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
12894         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
12895         multiarch strcspn for POWER7.
12896         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
12897         multiarch strcspn for PPC64.
12898         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
12899         ifunc selector.
12900         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
12901         strcspn for POWER7.
12903 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
12905         * math/gen-libm-test.pl (generate_testfile): Expect only function
12906         name as argument to AUTO_TESTS_* and pass results for all rounding
12907         modes to parse_args.
12908         (parse_auto_input): Separate inputs of automatic tests from
12909         outputs before storing in %auto_tests.
12910         * math/libm-test.inc (acos_test_data): Update call to
12911         AUTO_TESTS_f_f.
12912         (acos_test): Use ALL_RM_TEST.
12913         (acos_tonearest_test_data): Remove.
12914         (acos_test_tonearest): Likewise.
12915         (acos_towardzero_test_data): Likewise.
12916         (acos_test_towardzero): Likewise.
12917         (acos_downward_test_data): Likewise.
12918         (acos_test_downward): Likewise.
12919         (acos_upward_test_data): Likewise.
12920         (acos_test_upward): Likewise.
12921         (acosh_test_data): Update call to AUTO_TESTS_f_f.
12922         (asin_test_data): Likewise.
12923         (asin_test): Use ALL_RM_TEST.
12924         (asin_tonearest_test_data): Remove.
12925         (asin_test_tonearest): Likewise.
12926         (asin_towardzero_test_data): Likewise.
12927         (asin_test_towardzero): Likewise.
12928         (asin_downward_test_data): Likewise.
12929         (asin_test_downward): Likewise.
12930         (asin_upward_test_data): Likewise.
12931         (asin_test_upward): Likewise.
12932         (asinh_test_data): Update call to AUTO_TESTS_f_f.
12933         (atan_test_data): Likewise.
12934         (atanh_test_data): Likewise.
12935         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
12936         (cabs_test_data): Update call to AUTO_TESTS_c_f.
12937         (carg_test_data): Likewise.
12938         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
12939         (ccos_test_data): Update call to AUTO_TESTS_c_c.
12940         (ccosh_test_data): Likewise.
12941         (cexp_test_data): Likewise.
12942         (clog_test_data): Likewise.
12943         (clog10_test_data): Likewise.
12944         (cos_test_data): Update call to AUTO_TESTS_f_f.
12945         (cos_test): Use ALL_RM_TEST.
12946         (cos_tonearest_test_data): Remove.
12947         (cos_test_tonearest): Likewise.
12948         (cos_towardzero_test_data): Likewise.
12949         (cos_test_towardzero): Likewise.
12950         (cos_downward_test_data): Likewise.
12951         (cos_test_downward): Likewise.
12952         (cos_upward_test_data): Likewise.
12953         (cos_test_upward): Likewise.
12954         (cosh_test_data): Update call to AUTO_TESTS_f_f.
12955         (cosh_test): Use ALL_RM_TEST.
12956         (cosh_tonearest_test_data): Remove.
12957         (cosh_test_tonearest): Likewise.
12958         (cosh_towardzero_test_data): Likewise.
12959         (cosh_test_towardzero): Likewise.
12960         (cosh_downward_test_data): Likewise.
12961         (cosh_test_downward): Likewise.
12962         (cosh_upward_test_data): Likewise.
12963         (cosh_test_upward): Likewise.
12964         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
12965         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
12966         (ctan_test_data): Likewise.
12967         (ctan_test): Use ALL_RM_TEST.
12968         (ctan_tonearest_test_data): Remove.
12969         (ctan_test_tonearest): Likewise.
12970         (ctan_towardzero_test_data): Likewise.
12971         (ctan_test_towardzero): Likewise.
12972         (ctan_downward_test_data): Likewise.
12973         (ctan_test_downward): Likewise.
12974         (ctan_upward_test_data): Likewise.
12975         (ctan_test_upward): Likewise.
12976         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
12977         (ctanh_test): Use ALL_RM_TEST.
12978         (ctanh_tonearest_test_data): Remove.
12979         (ctanh_test_tonearest): Likewise.
12980         (ctanh_towardzero_test_data): Likewise.
12981         (ctanh_test_towardzero): Likewise.
12982         (ctanh_downward_test_data): Likewise.
12983         (ctanh_test_downward): Likewise.
12984         (ctanh_upward_test_data): Likewise.
12985         (ctanh_test_upward): Likewise.
12986         (erf_test_data): Update call to AUTO_TESTS_f_f.
12987         (erfc_test_data): Likewise.
12988         (exp_test_data): Likewise.
12989         (exp_test): Use ALL_RM_TEST.
12990         (exp_tonearest_test_data): Remove.
12991         (exp_test_tonearest): Likewise.
12992         (exp_towardzero_test_data): Likewise.
12993         (exp_test_towardzero): Likewise.
12994         (exp_downward_test_data): Likewise.
12995         (exp_test_downward): Likewise.
12996         (exp_upward_test_data): Likewise.
12997         (exp_test_upward): Likewise.
12998         (exp10_test_data): Update call to AUTO_TESTS_f_f.
12999         (exp10_test): Use ALL_RM_TEST.
13000         (exp10_tonearest_test_data): Remove.
13001         (exp10_test_tonearest): Likewise.
13002         (exp10_towardzero_test_data): Likewise.
13003         (exp10_test_towardzero): Likewise.
13004         (exp10_downward_test_data): Likewise.
13005         (exp10_test_downward): Likewise.
13006         (exp10_upward_test_data): Likewise.
13007         (exp10_test_upward): Likewise.
13008         (exp2_test_data): Update call to AUTO_TESTS_f_f.
13009         (expm1_test_data): Likewise.
13010         (expm1_test): Use ALL_RM_TEST.
13011         (expm1_tonearest_test_data): Remove.
13012         (expm1_test_tonearest): Likewise.
13013         (expm1_towardzero_test_data): Likewise.
13014         (expm1_test_towardzero): Likewise.
13015         (expm1_downward_test_data): Likewise.
13016         (expm1_test_downward): Likewise.
13017         (expm1_upward_test_data): Likewise.
13018         (expm1_test_upward): Likewise.
13019         (fma_test_data): Update call to AUTO_TESTS_fff_f.
13020         (fma_test): Use ALL_RM_TEST.
13021         (fma_towardzero_test_data): Remove.
13022         (fma_test_towardzero): Likewise.
13023         (fma_downward_test_data): Likewise.
13024         (fma_test_downward): Likewise.
13025         (fma_upward_test_data): Likewise.
13026         (fma_test_upward): Likewise.
13027         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
13028         (j0_test_data): Update call to AUTO_TESTS_f_f.
13029         (j1_test_data): Likewise.
13030         (jn_test_data): Update call to AUTO_TESTS_if_f.
13031         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
13032         (log_test_data): Update call to AUTO_TESTS_f_f.
13033         (log10_test_data): Likewise.
13034         (log1p_test_data): Likewise.
13035         (log2_test_data): Likewise.
13036         (pow_test_data): Update call to AUTO_TESTS_ff_f.
13037         (pow_tonearest_test_data): Likewise.
13038         (sin_test_data): Update call to AUTO_TESTS_f_f.
13039         (sin_test): Use ALL_RM_TEST.
13040         (sin_tonearest_test_data): Remove.
13041         (sin_test_tonearest): Likewise.
13042         (sin_towardzero_test_data): Likewise.
13043         (sin_test_towardzero): Likewise.
13044         (sin_downward_test_data): Likewise.
13045         (sin_test_downward): Likewise.
13046         (sin_upward_test_data): Likewise.
13047         (sin_test_upward): Likewise.
13048         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
13049         (sinh_test_data): Update call to AUTO_TESTS_f_f.
13050         (sinh_test): Use ALL_RM_TEST.
13051         (sinh_tonearest_test_data): Remove.
13052         (sinh_test_tonearest): Likewise.
13053         (sinh_towardzero_test_data): Likewise.
13054         (sinh_test_towardzero): Likewise.
13055         (sinh_downward_test_data): Likewise.
13056         (sinh_test_downward): Likewise.
13057         (sinh_upward_test_data): Likewise.
13058         (sinh_test_upward): Likewise.
13059         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
13060         (sqrt_test): Use ALL_RM_TEST.
13061         (sqrt_tonearest_test_data): Remove.
13062         (sqrt_test_tonearest): Likewise.
13063         (sqrt_towardzero_test_data): Likewise.
13064         (sqrt_test_towardzero): Likewise.
13065         (sqrt_downward_test_data): Likewise.
13066         (sqrt_test_downward): Likewise.
13067         (sqrt_upward_test_data): Likewise.
13068         (sqrt_test_upward): Likewise.
13069         (tan_test_data): Update call to AUTO_TESTS_f_f.
13070         (tan_test): Use ALL_RM_TEST.
13071         (tan_tonearest_test_data): Remove.
13072         (tan_test_tonearest): Likewise.
13073         (tan_towardzero_test_data): Likewise.
13074         (tan_test_towardzero): Likewise.
13075         (tan_downward_test_data): Likewise.
13076         (tan_test_downward): Likewise.
13077         (tan_upward_test_data): Likewise.
13078         (tan_test_upward): Likewise.
13079         (tanh_test_data): Update call to AUTO_TESTS_f_f.
13080         (tgamma_test_data): Likewise.
13081         (y0_test_data): Likewise.
13082         (y1_test_data): Likewise.
13083         (yn_test_data): Update call to AUTO_TESTS_if_f.
13084         (main): Do not call removed functions.
13086 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
13088         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
13089         (ldexp_test_data): Remove.
13090         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
13091         scalbn_test_data.
13092         (scalb_test): Use ALL_RM_TEST.
13094 2014-03-19  Andreas Schwab  <schwab@suse.de>
13096         * nscd/nscd.service: Also invalidate netgroup cache on reload.
13098 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
13100         [BZ #16649]
13101         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13102         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
13103         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
13104         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13105         (__ASSUME_PREADV): Undefine.
13106         (__ASSUME_PWRITEV): Likewise.
13108 2014-03-18  Roland McGrath  <roland@hack.frob.com>
13110         * bits/mman-linux.h: Add comment about non-Linux use.
13111         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
13112         bits/mman-linux.h resting place.
13114         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
13115         * bits/mman-linux.h: ... here.
13117 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13119         * conform/conformtest.pl: Add standard definition when calling C
13120         preprocessor on data files.
13121         (checknamespace): Remove unused variable.
13123 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
13125         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
13126         minus_oflow, plus_uflow and minus_uflow in expected results.
13127         * math/libm-test.inc (scalbn_test_data): Add more tests of
13128         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
13129         minus_uflow.
13130         (scalbn_test): Use ALL_RM_TEST.
13131         (scalbln_test_data): Add more tests of negative arguments.  Use
13132         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
13133         (scalbln_test): Use ALL_RM_TEST.
13135 2014-03-18  Roland McGrath  <roland@hack.frob.com>
13137         * scripts/abilist.awk: Ignore symbols marked with .hidden.
13139 2014-03-18  Will Newton  <will.newton@linaro.org>
13141         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
13142         inaccurate comment.
13144 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
13146         * Makerules [!subdir] (check-abi): Exit with error status if a
13147         test failed.
13149 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
13151         * math/libm-test.inc (nearbyint_test_data): Include all tests used
13152         for rint.  Include results for all rounding modes.
13153         (nearbyint_test): Use ALL_RM_TEST.
13154         (rint_test_data): Include all tests used for nearbyint.
13156 2014-03-17  Will Newton  <will.newton@linaro.org>
13158         * nptl/sysdeps/pthread/pthread.h: Revert previous
13159         change.
13161         * sysdeps/generic/ldsodefs.h: Revert previous
13162         change.
13164         * libio/genops.c: Revert previous change.
13165         * libio/libioP.h: Likewise.
13166         * stdio-common/vfprintf.c: Likewise.
13168         * sysdeps/generic/math_private.h: Revert previous
13169         change.
13171         * sysdeps/generic/math_private.h: Check whether
13172         HAVE_RM_CTX is defined with #ifdef rather
13173         than #if.
13175         * argp/argp-fmtstream.h: Check whether
13176         __STRICT_ANSI__ is defined with #ifdef rather
13177         than #if.
13178         * argp/argp.h: Likewise.
13180         * libio/genops.c: Check whether
13181         _IO_JUMPS_OFFSET is defined with #ifdef rather
13182         than #if.
13183         * libio/libioP.h: Likewise.
13184         * stdio-common/vfprintf.c: Likewise.
13186         * sysdeps/generic/ldsodefs.h: Check whether
13187         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
13188         than #if.
13190         * nptl/sysdeps/pthread/pthread.h: Check
13191         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
13192         its value.
13194 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
13196         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
13197         setting O_APPEND.
13198         * libio/tst-ftell-active-handler.c (do_append_test): Add a
13199         test case.
13201         [BZ #16680]
13202         * libio/fileops.c (_IO_file_open): Seek to end of file but
13203         don't cache the offset.
13204         (get_file_offset): Remove function.
13205         (do_ftell): Use cached offset when available.
13206         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
13207         don't cache the offset.
13208         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
13209         case.
13210         (do_one_test): Call it.
13211         (do_ftell_test): Fix up expected old offset for a+ mode.
13212         * libio/wfileops.c (do_ftell_wide): Used cached offset when
13213         available.
13215         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
13216         up test status with function return status.
13217         (do_write_test): Likewise.
13218         (do_append_test): Likewise.
13220         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
13221         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
13222         Remove.
13224 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
13226         * math/gen-libm-test.pl (parse_args): Handle results specified for
13227         each rounding mode separately.
13228         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
13229         tests and results from lrint_tonearest_test_data,
13230         lrint_towardzero_test_data, lrint_downward_test_data and
13231         lrint_upward_test_data.
13232         (lrint_test): Use ALL_RM_TEST.
13233         (lrint_tonearest_test_data): Remove.
13234         (lrint_test_tonearest): Likewise.
13235         (lrint_towardzero_test_data): Likewise.
13236         (lrint_test_towardzero): Likewise.
13237         (lrint_downward_test_data): Likewise.
13238         (lrint_test_downward): Likewise.
13239         (lrint_upward_test_data): Likewise.
13240         (lrint_test_upward): Likewise.
13241         (llrint_test_data): Merge in per-rounding-mode tests and results
13242         from llrint_tonearest_test_data, llrint_towardzero_test_data,
13243         llrint_downward_test_data and llrint_upward_test_data.
13244         (llrint_test): Use ALL_RM_TEST.
13245         (llrint_tonearest_test_data): Remove.
13246         (llrint_test_tonearest): Likewise.
13247         (llrint_towardzero_test_data): Likewise.
13248         (llrint_test_towardzero): Likewise.
13249         (llrint_downward_test_data): Likewise.
13250         (llrint_test_downward): Likewise.
13251         (llrint_upward_test_data): Likewise.
13252         (llrint_test_upward): Likewise.
13253         (rint_test_data): Merge in per-rounding-mode tests and results
13254         from rint_tonearest_test_data, rint_towardzero_test_data,
13255         rint_downward_test_data and rint_upward_test_data.  Add
13256         per-rounding-mode results for tests not in those arrays.
13257         (rint_test): Use ALL_RM_TEST.
13258         (rint_tonearest_test_data): Remove.
13259         (rint_test_tonearest): Likewise.
13260         (rint_towardzero_test_data): Likewise.
13261         (rint_test_towardzero): Likewise.
13262         (rint_downward_test_data): Likewise.
13263         (rint_test_downward): Likewise.
13264         (rint_upward_test_data): Likewise.
13265         (rint_test_upward): Likewise.
13266         (main): Don't call removed functions.
13268 2014-03-14  Roland McGrath  <roland@hack.frob.com>
13270         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
13271         "Compiled on ..." crapola.  It is anti-useful.
13273 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
13275         * scripts/evaluate-test.sh: Handle fourth argument to determine
13276         whether test run should stop on failure.
13277         * Makeconfig (stop-on-test-failure): New variable.
13278         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
13279         $(stop-on-test-failure).
13280         * Makefile (tests): Give a summary of results from testing and
13281         exit with failure status if they include an ERROR or FAIL.
13282         (xtests): Likewise.
13283         * manual/install.texi (Configuring and compiling): Mention
13284         stop-on-test-failure=y.
13285         * INSTALL: Regenerated.
13287 2014-03-14  Roland McGrath  <roland@hack.frob.com>
13289         * scripts/versionlist.awk: New file.
13290         * Makerules [$(build-shared) = yes]
13291         (postclean-generated): Add Versions.def, not Versions.def.v and
13292         Versions.def.v.i.
13293         ($(common-objpfx)Versions.def.v.i): Target removed.
13294         ($(common-objpfx)Versions.def): New target.
13295         ($(common-objpfx)Versions.all): Depend on that rather that
13296         $(common-objpfx)Versions.def.v.
13297         * Versions.def: File removed.
13299         * Makeconfig (+gccwarn): Add -Wundef.
13300         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
13301         a dl-sysdep.h breaking its contract.
13302         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
13303         * include/stackinfo.h: New file.
13304         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
13305         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
13306         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
13307         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
13308         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
13309         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
13310         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13311         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13312         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13313         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13314         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13315         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
13316         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13317         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13318         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13320 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13322         [BZ #16707]
13323         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
13324         implementation.
13325         * math/libm-test.inc (round_test_data): Add more tests.
13327         [BZ #16706]
13328         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
13329         implementation.
13330         * math/libm-test.inc (nearbyint_test_data): Add more tests.
13332         [BZ #16701]
13333         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
13334         implementation.
13335         * math/libm-test.inc (ceil_test_data): Add more tests.
13337         * math/libm-test.inc (trunc_test_data): Add more tests related to
13338         BZ#16414.
13340 2014-03-14  Roland McGrath  <roland@hack.frob.com>
13342         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
13343         with #if rather than #ifdef.
13344         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
13346 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
13348         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
13349         first.  Disable AVX-512 GCC support if assembler doesn't support
13350         it.
13351         * sysdeps/x86_64/configure: Regenerated.
13353 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
13355         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
13356         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
13357         (__old_pthread_attr_setstack): Likewise.
13358         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
13359         [!_STACK_GROWS_DOWN]: Likewise.
13361 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
13363         * config.make.in (have-bash2): Delete.
13364         * configure.ac (libc_cv_have_bash2): Delete.
13365         * configure: Regenerate.
13366         * elf/Makefile (common-ldd-rewrite): Rename to ...
13367         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
13368         (sh-ldd-rewrite): Delete.
13369         (bash-ldd-rewrite): Delete.
13370         (have-bash2): Delete checks.
13371         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
13372         ldd-rewrite.
13374         * config.make.in (have-ksh): Delete.
13375         (KSH): Delete.
13376         * configure.ac (libc_cv_have_ksh): Delete.
13377         * configure: Regenerate.
13379         * elf/Makefile: Delete $(have-ksh) check.
13380         ($(objpfx)sotruss): Change KSH to BASH.
13381         * elf/sotruss.ksh: Rename to ...
13382         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
13383         function style to match POSIX.  Drop ksh vim mode setting.
13385         * manual/time.texi (Specifying the Time Zone with TZ): Change
13386         Tuesday to Thursday.
13388         * debug/tst-longjmp_chk2.c: Update header comment.
13389         (stackoverflow_handler): Add comment.  Call assert on pass value.
13391 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
13393         [BZ #16194]
13394         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
13395         (HAVE_AVX512_ASM_SUPPORT): Likewise.
13396         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
13397         (La_x86_64_vector): Add zmm.
13398         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
13399         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
13400         ($(objpfx)tst-audit10): New target.
13401         ($(objpfx)tst-audit10.out): Likewise.
13402         (tst-audit10-ENV): New.
13403         (AVX512-CFLAGS): Likewise.
13404         (CFLAGS-tst-audit10.c): Likewise.
13405         (CFLAGS-tst-auditmod10a.c): Likewise.
13406         (CFLAGS-tst-auditmod10b.c): Likewise.
13407         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
13408         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
13409         * sysdeps/x86_64/configure: Regenerated.
13410         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
13411         AVX-512 zmm register support.
13412         (_dl_x86_64_save_sse): Likewise.
13413         (_dl_x86_64_restore_sse): Likewise.
13414         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
13415         size vector registers.
13416         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
13417         (ZMM_SIZE): Likewise.
13418         * sysdeps/x86_64/tst-audit10.c: New file.
13419         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
13420         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
13422 2014-03-13  Roland McGrath  <roland@hack.frob.com>
13424         * configure.ac (HAVE_EHDR_START): New check.
13425         * configure: Regenerated.
13426         * config.h.in (HAVE_EHDR_START): New #undef.
13427         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
13428         assuming the lowest-addressed segment maps the start of the file.
13430 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
13432         * INSTALL: Regenerated.
13434 2014-03-13  Will Newton  <will.newton@linaro.org>
13436         * manual/setjmp.texi (System V contexts): Improve
13437         clarity and grammar of documentation.
13439 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
13441         [BZ #16381]
13442         * elf/Makefile (tests): Add tst-pie2.
13443         (tests-pie): Add tst-pie2.
13444         * elf/tst-pie2.c: New file.
13445         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
13446         for ET_EXEC.
13447         * elf/rtld.c (map_doit): Load executable as lt_executable.
13448         (dl_main): Likewise.
13450 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
13452         [BZ #16642]
13453         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13454         (__ASSUME_PSELECT): Undefine.
13456 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13458         [BZ #16689]
13459         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
13460         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
13461         static build.
13462         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
13463         selector for static builds.
13465 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13467         [BZ #16695]
13468         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
13469         key in the buffer.
13471 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13473         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
13474         IFUNC selector for static builds.
13476 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
13478         * sysdeps/mips/math_private.h [__mips_hard_float]
13479         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
13480         libc_feresetround_mips_ctx.
13481         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
13482         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
13483         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
13485         [BZ #16677]
13486         * math/s_nextafter.c (__nextafter): Do not return value from
13487         overflowing computation.
13488         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
13489         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
13490         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
13491         Likewise.
13492         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
13493         Likewise.
13494         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
13495         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
13497 2014-03-11  Roland McGrath  <roland@hack.frob.com>
13499         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
13500         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
13501         Move sfi_sp use from the load-multiple (that no longer sets sp) to
13502         the new mov targetting sp.
13504 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13506         [BZ #16683]
13507         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
13508         Define it for static builds as well.
13509         (NO_BZERO_IMPL): Likewise.
13511 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
13513         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
13514         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
13515         multiarch strspn for PPC64.
13516         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
13517         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
13518         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13519         (__libc_ifunc_impl_list): Likewise.
13520         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
13521         multiarch optimizations
13522         * string/strspn.c (strspn): Using macro to redefine symbol name.
13524 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
13525             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13527         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
13528         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
13529         multiarch strncat for PPC64.
13530         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
13531         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
13532         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13533         (__libc_ifunc_impl_list): Likewise.
13534         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
13535         multiarch optimizations
13537 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13539         [BZ #16639]
13540         * nscd/nscd.service: Make service type forking.
13542 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13544         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
13545         sign in non default rounding modes.
13546         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
13548 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
13550         * math/libm-test.inc (ALL_RM_TEST): New macro.
13551         (ceil_test): Use ALL_RM_TEST.
13552         (cimag_test): Likewise.
13553         (conj_test): Likewise.
13554         (copysign_test): Likewise.
13555         (cproj_test): Likewise.
13556         (creal_test): Likewise.
13557         (fabs_test): Likewise.
13558         (floor_test): Likewise.
13559         (fmax_test): Likewise.
13560         (fmin_test): Likewise.
13561         (fmod_test): Likewise.
13562         (fpclassify_test): Likewise.
13563         (frexp_test): Likewise.
13564         (ilogb_test): Likewise.
13565         (isfinite_test): Likewise.
13566         (finite_test): Likewise.
13567         (isgreater_test): Likewise.
13568         (isgreaterequal_test): Likewise.
13569         (isinf_test): Likewise.
13570         (isless_test): Likewise.
13571         (islessequal_test): Likewise.
13572         (islessgreater_test): Likewise.
13573         (isnan_test): Likewise.
13574         (isnormal_test): Likewise.
13575         (issignaling_test): Likewise.
13576         (isunordered_test): Likewise.
13577         (logb_test): Likewise.
13578         (logb_downward_test_data): Remove.
13579         (logb_test_downward): Likewise.
13580         (lround_test): Use ALL_RM_TEST.
13581         (llround_test): Likewise.
13582         (modf_test): Likewise.
13583         (nexttoward_test): Likewise.
13584         (remainder_test): Likewise.
13585         (drem_test): Likewise.
13586         (remainder_tonearest_test_data): Likewise.
13587         (remainder_test_tonearest): Likewise.
13588         (drem_test_tonearest): Likewise.
13589         (remainder_towardzero_test_data): Likewise.
13590         (remainder_test_towardzero): Likewise.
13591         (drem_test_towardzero): Likewise.
13592         (remainder_downward_test_data): Likewise.
13593         (remainder_test_downward): Likewise.
13594         (drem_test_downward): Likewise.
13595         (remainder_upward_test_data): Likewise.
13596         (remainder_test_upward): Likewise.
13597         (drem_test_upward): Likewise.
13598         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
13599         (round_test): Use ALL_RM_TEST.
13600         (signbit_test): Likewise.
13601         (trunc_test): Likewise.
13602         (significand_test): Likewise.
13603         (main): Don't call removed functions.
13605 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
13607         [BZ #16674]
13608         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
13609         || __USE_XOPEN2K8].
13610         (ILL_ILLOPN): Likewise.
13611         (ILL_ILLADR): Likewise.
13612         (ILL_ILLTRP): Likewise.
13613         (ILL_PRVOPC): Likewise.
13614         (ILL_PRVREG): Likewise.
13615         (ILL_COPROC): Likewise.
13616         (ILL_BADSTK): Likewise.
13617         (FPE_INTDIV): Likewise.
13618         (FPE_INTOVF): Likewise.
13619         (FPE_FLTDIV): Likewise.
13620         (FPE_FLTOVF): Likewise.
13621         (FPE_FLTUND): Likewise.
13622         (FPE_FLTRES): Likewise.
13623         (FPE_FLTINV): Likewise.
13624         (FPE_FLTSUB): Likewise.
13625         (SEGV_MAPERR): Likewise.
13626         (SEGV_ACCERR): Likewise.
13627         (BUS_ADRALN): Likewise.
13628         (BUS_ADRERR): Likewise.
13629         (BUS_OBJERR): Likewise.
13630         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13631         (TRAP_TRACE): Likewise.
13632         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13633         __USE_XOPEN2K8].
13634         (CLD_KILLED): Likewise.
13635         (CLD_DUMPED): Likewise.
13636         (CLD_TRAPPED): Likewise.
13637         (CLD_STOPPED): Likewise.
13638         (CLD_CONTINUED): Likewise.
13639         (POLL_IN): Likewise.
13640         (POLL_OUT): Likewise.
13641         (POLL_MSG): Likewise.
13642         (POLL_ERR): Likewise.
13643         (POLL_PRI): Likewise.
13644         (POLL_HUP): Likewise.
13645         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
13646         Likewise.
13647         (ILL_ILLOPN): Likewise.
13648         (ILL_ILLADR): Likewise.
13649         (ILL_ILLTRP): Likewise.
13650         (ILL_PRVOPC): Likewise.
13651         (ILL_PRVREG): Likewise.
13652         (ILL_COPROC): Likewise.
13653         (ILL_BADSTK): Likewise.
13654         (FPE_INTDIV): Likewise.
13655         (FPE_INTOVF): Likewise.
13656         (FPE_FLTDIV): Likewise.
13657         (FPE_FLTOVF): Likewise.
13658         (FPE_FLTUND): Likewise.
13659         (FPE_FLTRES): Likewise.
13660         (FPE_FLTINV): Likewise.
13661         (FPE_FLTSUB): Likewise.
13662         (SEGV_MAPERR): Likewise.
13663         (SEGV_ACCERR): Likewise.
13664         (BUS_ADRALN): Likewise.
13665         (BUS_ADRERR): Likewise.
13666         (BUS_OBJERR): Likewise.
13667         (BUS_MCEERR_AR): Likewise.
13668         (BUS_MCEERR_AO): Likewise.
13669         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13670         (TRAP_TRACE): Likewise.
13671         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13672         __USE_XOPEN2K8].
13673         (CLD_KILLED): Likewise.
13674         (CLD_DUMPED): Likewise.
13675         (CLD_TRAPPED): Likewise.
13676         (CLD_STOPPED): Likewise.
13677         (CLD_CONTINUED): Likewise.
13678         (POLL_IN): Likewise.
13679         (POLL_OUT): Likewise.
13680         (POLL_MSG): Likewise.
13681         (POLL_ERR): Likewise.
13682         (POLL_PRI): Likewise.
13683         (POLL_HUP): Likewise.
13684         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
13685         (ILL_ILLOPN): Likewise.
13686         (ILL_ILLADR): Likewise.
13687         (ILL_ILLTRP): Likewise.
13688         (ILL_PRVOPC): Likewise.
13689         (ILL_PRVREG): Likewise.
13690         (ILL_COPROC): Likewise.
13691         (ILL_BADSTK): Likewise.
13692         (FPE_INTDIV): Likewise.
13693         (FPE_INTOVF): Likewise.
13694         (FPE_FLTDIV): Likewise.
13695         (FPE_FLTOVF): Likewise.
13696         (FPE_FLTUND): Likewise.
13697         (FPE_FLTRES): Likewise.
13698         (FPE_FLTINV): Likewise.
13699         (FPE_FLTSUB): Likewise.
13700         (SEGV_MAPERR): Likewise.
13701         (SEGV_ACCERR): Likewise.
13702         (BUS_ADRALN): Likewise.
13703         (BUS_ADRERR): Likewise.
13704         (BUS_OBJERR): Likewise.
13705         (BUS_MCEERR_AR): Likewise.
13706         (BUS_MCEERR_AO): Likewise.
13707         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13708         (TRAP_TRACE): Likewise.
13709         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13710         __USE_XOPEN2K8].
13711         (CLD_KILLED): Likewise.
13712         (CLD_DUMPED): Likewise.
13713         (CLD_TRAPPED): Likewise.
13714         (CLD_STOPPED): Likewise.
13715         (CLD_CONTINUED): Likewise.
13716         (POLL_IN): Likewise.
13717         (POLL_OUT): Likewise.
13718         (POLL_MSG): Likewise.
13719         (POLL_ERR): Likewise.
13720         (POLL_PRI): Likewise.
13721         (POLL_HUP): Likewise.
13722         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
13723         Likewise.
13724         (ILL_ILLOPN): Likewise.
13725         (ILL_ILLADR): Likewise.
13726         (ILL_ILLTRP): Likewise.
13727         (ILL_PRVOPC): Likewise.
13728         (ILL_PRVREG): Likewise.
13729         (ILL_COPROC): Likewise.
13730         (ILL_BADSTK): Likewise.
13731         (ILL_BADIADDR): Likewise.
13732         (ILL_BREAK): Likewise.
13733         (FPE_INTDIV): Likewise.
13734         (FPE_INTOVF): Likewise.
13735         (FPE_FLTDIV): Likewise.
13736         (FPE_FLTOVF): Likewise.
13737         (FPE_FLTUND): Likewise.
13738         (FPE_FLTRES): Likewise.
13739         (FPE_FLTINV): Likewise.
13740         (FPE_FLTSUB): Likewise.
13741         (FPE_DECOVF): Likewise.
13742         (FPE_DECDIV): Likewise.
13743         (FPE_DECERR): Likewise.
13744         (FPE_INVASC): Likewise.
13745         (FPE_INVDEC): Likewise.
13746         (SEGV_MAPERR): Likewise.
13747         (SEGV_ACCERR): Likewise.
13748         (SEGV_PSTKOVF): Likewise.
13749         (BUS_ADRALN): Likewise.
13750         (BUS_ADRERR): Likewise.
13751         (BUS_OBJERR): Likewise.
13752         (BUS_MCEERR_AR): Likewise.
13753         (BUS_MCEERR_AO): Likewise.
13754         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13755         (TRAP_TRACE): Likewise.
13756         (TRAP_BRANCH): Likewise.
13757         (TRAP_HWBKPT): Likewise.
13758         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13759         __USE_XOPEN2K8].
13760         (CLD_KILLED): Likewise.
13761         (CLD_DUMPED): Likewise.
13762         (CLD_TRAPPED): Likewise.
13763         (CLD_STOPPED): Likewise.
13764         (CLD_CONTINUED): Likewise.
13765         (POLL_IN): Likewise.
13766         (POLL_OUT): Likewise.
13767         (POLL_MSG): Likewise.
13768         (POLL_ERR): Likewise.
13769         (POLL_PRI): Likewise.
13770         (POLL_HUP): Likewise.
13771         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
13772         (ILL_ILLOPN): Likewise.
13773         (ILL_ILLADR): Likewise.
13774         (ILL_ILLTRP): Likewise.
13775         (ILL_PRVOPC): Likewise.
13776         (ILL_PRVREG): Likewise.
13777         (ILL_COPROC): Likewise.
13778         (ILL_BADSTK): Likewise.
13779         (FPE_INTDIV): Likewise.
13780         (FPE_INTOVF): Likewise.
13781         (FPE_FLTDIV): Likewise.
13782         (FPE_FLTOVF): Likewise.
13783         (FPE_FLTUND): Likewise.
13784         (FPE_FLTRES): Likewise.
13785         (FPE_FLTINV): Likewise.
13786         (FPE_FLTSUB): Likewise.
13787         (SEGV_MAPERR): Likewise.
13788         (SEGV_ACCERR): Likewise.
13789         (BUS_ADRALN): Likewise.
13790         (BUS_ADRERR): Likewise.
13791         (BUS_OBJERR): Likewise.
13792         (BUS_MCEERR_AR): Likewise.
13793         (BUS_MCEERR_AO): Likewise.
13794         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13795         (TRAP_TRACE): Likewise.
13796         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13797         __USE_XOPEN2K8].
13798         (CLD_KILLED): Likewise.
13799         (CLD_DUMPED): Likewise.
13800         (CLD_TRAPPED): Likewise.
13801         (CLD_STOPPED): Likewise.
13802         (CLD_CONTINUED): Likewise.
13803         (POLL_IN): Likewise.
13804         (POLL_OUT): Likewise.
13805         (POLL_MSG): Likewise.
13806         (POLL_ERR): Likewise.
13807         (POLL_PRI): Likewise.
13808         (POLL_HUP): Likewise.
13809         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
13810         (ILL_ILLOPN): Likewise.
13811         (ILL_ILLADR): Likewise.
13812         (ILL_ILLTRP): Likewise.
13813         (ILL_PRVOPC): Likewise.
13814         (ILL_PRVREG): Likewise.
13815         (ILL_COPROC): Likewise.
13816         (ILL_BADSTK): Likewise.
13817         (FPE_INTDIV): Likewise.
13818         (FPE_INTOVF): Likewise.
13819         (FPE_FLTDIV): Likewise.
13820         (FPE_FLTOVF): Likewise.
13821         (FPE_FLTUND): Likewise.
13822         (FPE_FLTRES): Likewise.
13823         (FPE_FLTINV): Likewise.
13824         (FPE_FLTSUB): Likewise.
13825         (SEGV_MAPERR): Likewise.
13826         (SEGV_ACCERR): Likewise.
13827         (BUS_ADRALN): Likewise.
13828         (BUS_ADRERR): Likewise.
13829         (BUS_OBJERR): Likewise.
13830         (BUS_MCEERR_AR): Likewise.
13831         (BUS_MCEERR_AO): Likewise.
13832         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13833         (TRAP_TRACE): Likewise.
13834         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13835         __USE_XOPEN2K8].
13836         (CLD_KILLED): Likewise.
13837         (CLD_DUMPED): Likewise.
13838         (CLD_TRAPPED): Likewise.
13839         (CLD_STOPPED): Likewise.
13840         (CLD_CONTINUED): Likewise.
13841         (POLL_IN): Likewise.
13842         (POLL_OUT): Likewise.
13843         (POLL_MSG): Likewise.
13844         (POLL_ERR): Likewise.
13845         (POLL_PRI): Likewise.
13846         (POLL_HUP): Likewise.
13847         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
13848         (ILL_ILLOPN): Likewise.
13849         (ILL_ILLADR): Likewise.
13850         (ILL_ILLTRP): Likewise.
13851         (ILL_PRVOPC): Likewise.
13852         (ILL_PRVREG): Likewise.
13853         (ILL_COPROC): Likewise.
13854         (ILL_BADSTK): Likewise.
13855         (FPE_INTDIV): Likewise.
13856         (FPE_INTOVF): Likewise.
13857         (FPE_FLTDIV): Likewise.
13858         (FPE_FLTOVF): Likewise.
13859         (FPE_FLTUND): Likewise.
13860         (FPE_FLTRES): Likewise.
13861         (FPE_FLTINV): Likewise.
13862         (FPE_FLTSUB): Likewise.
13863         (SEGV_MAPERR): Likewise.
13864         (SEGV_ACCERR): Likewise.
13865         (BUS_ADRALN): Likewise.
13866         (BUS_ADRERR): Likewise.
13867         (BUS_OBJERR): Likewise.
13868         (BUS_MCEERR_AR): Likewise.
13869         (BUS_MCEERR_AO): Likewise.
13870         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13871         (TRAP_TRACE): Likewise.
13872         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13873         __USE_XOPEN2K8].
13874         (CLD_KILLED): Likewise.
13875         (CLD_DUMPED): Likewise.
13876         (CLD_TRAPPED): Likewise.
13877         (CLD_STOPPED): Likewise.
13878         (CLD_CONTINUED): Likewise.
13879         (POLL_IN): Likewise.
13880         (POLL_OUT): Likewise.
13881         (POLL_MSG): Likewise.
13882         (POLL_ERR): Likewise.
13883         (POLL_PRI): Likewise.
13884         (POLL_HUP): Likewise.
13885         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
13886         (ILL_ILLOPN): Likewise.
13887         (ILL_ILLADR): Likewise.
13888         (ILL_ILLTRP): Likewise.
13889         (ILL_PRVOPC): Likewise.
13890         (ILL_PRVREG): Likewise.
13891         (ILL_COPROC): Likewise.
13892         (ILL_BADSTK): Likewise.
13893         (ILL_DBLFLT): Likewise.
13894         (ILL_HARDWALL): Likewise.
13895         (FPE_INTDIV): Likewise.
13896         (FPE_INTOVF): Likewise.
13897         (FPE_FLTDIV): Likewise.
13898         (FPE_FLTOVF): Likewise.
13899         (FPE_FLTUND): Likewise.
13900         (FPE_FLTRES): Likewise.
13901         (FPE_FLTINV): Likewise.
13902         (FPE_FLTSUB): Likewise.
13903         (SEGV_MAPERR): Likewise.
13904         (SEGV_ACCERR): Likewise.
13905         (BUS_ADRALN): Likewise.
13906         (BUS_ADRERR): Likewise.
13907         (BUS_OBJERR): Likewise.
13908         (BUS_MCEERR_AR): Likewise.
13909         (BUS_MCEERR_AO): Likewise.
13910         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13911         (TRAP_TRACE): Likewise.
13912         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13913         __USE_XOPEN2K8].
13914         (CLD_KILLED): Likewise.
13915         (CLD_DUMPED): Likewise.
13916         (CLD_TRAPPED): Likewise.
13917         (CLD_STOPPED): Likewise.
13918         (CLD_CONTINUED): Likewise.
13919         (POLL_IN): Likewise.
13920         (POLL_OUT): Likewise.
13921         (POLL_MSG): Likewise.
13922         (POLL_ERR): Likewise.
13923         (POLL_PRI): Likewise.
13924         (POLL_HUP): Likewise.
13925         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
13926         (ILL_ILLOPN): Likewise.
13927         (ILL_ILLADR): Likewise.
13928         (ILL_ILLTRP): Likewise.
13929         (ILL_PRVOPC): Likewise.
13930         (ILL_PRVREG): Likewise.
13931         (ILL_COPROC): Likewise.
13932         (ILL_BADSTK): Likewise.
13933         (FPE_INTDIV): Likewise.
13934         (FPE_INTOVF): Likewise.
13935         (FPE_FLTDIV): Likewise.
13936         (FPE_FLTOVF): Likewise.
13937         (FPE_FLTUND): Likewise.
13938         (FPE_FLTRES): Likewise.
13939         (FPE_FLTINV): Likewise.
13940         (FPE_FLTSUB): Likewise.
13941         (SEGV_MAPERR): Likewise.
13942         (SEGV_ACCERR): Likewise.
13943         (BUS_ADRALN): Likewise.
13944         (BUS_ADRERR): Likewise.
13945         (BUS_OBJERR): Likewise.
13946         (BUS_MCEERR_AR): Likewise.
13947         (BUS_MCEERR_AO): Likewise.
13948         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13949         (TRAP_TRACE): Likewise.
13950         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13951         __USE_XOPEN2K8].
13952         (CLD_KILLED): Likewise.
13953         (CLD_DUMPED): Likewise.
13954         (CLD_TRAPPED): Likewise.
13955         (CLD_STOPPED): Likewise.
13956         (CLD_CONTINUED): Likewise.
13957         (POLL_IN): Likewise.
13958         (POLL_OUT): Likewise.
13959         (POLL_MSG): Likewise.
13960         (POLL_ERR): Likewise.
13961         (POLL_PRI): Likewise.
13962         (POLL_HUP): Likewise.
13963         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
13964         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
13966         [BZ #16670]
13967         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
13968         before #include of <time.h>.
13969         [!__USE_XOPEN2K] (__need_timespec): Likewise.
13970         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
13971         (test-xfail-UNIX98/sched.h/conform): Likewise.
13973 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
13975         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
13976         error absence of trapping exception support.
13977         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
13979 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
13981         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
13982         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
13983         * timezone/Makefile (testdata): Move definition above include of
13984         Rules.
13985         (test-zones): New variable.
13986         (tests-special): Add zone files.
13987         (build-testdata): Use $(evaluate-test).
13989         * elf/Makefile (tests-special): Rename tests to end with .out.
13990         ($(objpfx)noload-mem): Likewise.
13991         ($(objpfx)tst-leaks1-mem): Likewise.
13992         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
13993         * iconv/Makefile (xtests-special): Change test-iconvconfig to
13994         $(objpfx)test-iconvconfig.out.
13995         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
13996         set -e inside subshell and redirect output to file.
13997         * iconvdata/Makefile (generated): Rename tests to end with .out.
13998         Correct type.
13999         (tests-special): Rename tests to end with .out.
14000         ($(objpfx)mtrace-tst-loading): Likewise.
14001         * intl/Makefile (generated): Likewise.
14002         (tests-special): Likewise.
14003         ($(objpfx)mtrace-tst-gettext): Likewise.
14004         * misc/Makefile (generated): Likewise.
14005         (tests-special): Likewise.
14006         ($(objpfx)tst-error1-mem): Likewise.
14007         * nptl/Makefile (tests-special): Likewise.
14008         ($(objpfx)tst-stack3-mem): Likewise.
14009         (generated): Likewise.
14010         * posix/Makefile (generated): Likewise.
14011         (tests-special): Likewise.
14012         (xtests-special): Likewise.
14013         ($(objpfx)tst-fnmatch-mem): Likewise.
14014         ($(objpfx)bug-regex2-mem): Likewise.
14015         ($(objpfx)bug-regex14-mem): Likewise.
14016         ($(objpfx)bug-regex21-mem): Likewise.
14017         ($(objpfx)bug-regex31-mem): Likewise.
14018         ($(objpfx)tst-vfork3-mem): Likewise.
14019         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
14020         ($(objpfx)tst-pcre-mem): Likewise.
14021         ($(objpfx)tst-boost-mem): Likewise.
14022         ($(objpfx)bug-ga2-mem): Likewise.
14023         ($(objpfx)bug-glob2-mem): Likewise.
14024         * resolv/Makefile (generate): Likewise.
14025         (tests-special): Likewise.
14026         (xtests-special): Likewise.
14027         (generated): Likewise.
14028         ($(objpfx)mtrace-tst-leaks): Likewise.
14029         ($(objpfx)mtrace-tst-leaks2): Likewise.
14031         * scripts/merge-test-results.sh: New file.
14032         * Makefile (tests-special-notdir): New variable.
14033         (tests): Run merge-test-results.sh.
14034         (xtests): Likewise.
14035         * Rules (tests-special-notdir): New variable.
14036         (xtests-special-notdir): Likewise.
14037         (tests): Run merge-test-results.sh
14038         (xtests): Likewise.
14040         * Makeconfig (test-xfail-name): New variable.
14041         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
14042         compute variable name for expected failures.
14043         * conform/Makefile (conformtest-headers-data): New variable.
14044         (conformtest-standards): Likewise.
14045         (conformtest-headers-ISO): Likewise.
14046         (conformtest-headers-ISO99): Likewise.
14047         (conformtest-headers-ISO11): Likewise.
14048         (conformtest-headers-POSIX): Likewise.
14049         (conformtest-headers-XPG3): Likewise.
14050         (conformtest-headers-XPG4): Likewise.
14051         (conformtest-headers-UNIX98): Likewise.
14052         (conformtest-headers-XOPEN2K): Likewise.
14053         (conformtest-headers-POSIX2008): Likewise.
14054         (conformtest-headers-XOPEN2K8): Likewise.
14055         (conformtest-header-list-base): Likewise.
14056         (conformtest-header-list-tests): Likewise.
14057         (conformtest-header-base): Likewise.
14058         (conformtest-header-tests): Likewise.
14059         (tests-special): Add $(conformtest-header-list-tests).  If
14060         [$(fast-check) && !$(cross-compiling)], add
14061         $(conformtest-header-tests) instead of
14062         $(objpfx)run-conformtest.out.
14063         (generated): Add $(conformtest-header-list-base).  If
14064         [$(fast-check) && !$(cross-compiling)], add
14065         $(conformtest-header-base).  Remove previous setting.
14066         ($(conformtest-header-list-tests)): New target.
14067         (test-xfail-run-conformtest): Remove variable.
14068         ($(objpfx)run-conformtest.out): Remove target.
14069         (test-xfail-ISO11/complex.h/conform): New variable.
14070         (test-xfail-ISO11/stdalign.h/conform): Likewise.
14071         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
14072         (test-xfail-XPG3/varargs.h/conform): Likewise.
14073         (test-xfail-XPG4/varargs.h/conform): Likewise.
14074         (test-xfail-UNIX98/varargs.h/conform): Likewise.
14075         (test-xfail-XPG4/ndbm.h/conform): Likewise.
14076         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
14077         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
14078         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
14079         (test-xfail-XPG3/fcntl.h/conform): Likewise.
14080         (test-xfail-XPG3/ftw.h/conform): Likewise.
14081         (test-xfail-XPG3/grp.h/conform): Likewise.
14082         (test-xfail-XPG3/langinfo.h/conform): Likewise.
14083         (test-xfail-XPG3/limits.h/conform): Likewise.
14084         (test-xfail-XPG3/pwd.h/conform): Likewise.
14085         (test-xfail-XPG3/search.h/conform): Likewise.
14086         (test-xfail-XPG3/signal.h/conform): Likewise.
14087         (test-xfail-XPG3/stdio.h/conform): Likewise.
14088         (test-xfail-XPG3/stdlib.h/conform): Likewise.
14089         (test-xfail-XPG3/string.h/conform): Likewise.
14090         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
14091         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
14092         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
14093         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
14094         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
14095         (test-xfail-XPG3/sys/types.h/conform): Likewise.
14096         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
14097         (test-xfail-XPG3/termios.h/conform): Likewise.
14098         (test-xfail-XPG3/time.h/conform): Likewise.
14099         (test-xfail-XPG3/unistd.h/conform): Likewise.
14100         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
14101         (test-xfail-XPG4/fcntl.h/conform): Likewise.
14102         (test-xfail-XPG4/langinfo.h/conform): Likewise.
14103         (test-xfail-XPG4/netdb.h/conform): Likewise.
14104         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
14105         (test-xfail-XPG4/signal.h/conform): Likewise.
14106         (test-xfail-XPG4/stdio.h/conform): Likewise.
14107         (test-xfail-XPG4/stdlib.h/conform): Likewise.
14108         (test-xfail-XPG4/stropts.h/conform): Likewise.
14109         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
14110         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
14111         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
14112         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
14113         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
14114         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
14115         (test-xfail-XPG4/sys/time.h/conform): Likewise.
14116         (test-xfail-XPG4/sys/types.h/conform): Likewise.
14117         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
14118         (test-xfail-XPG4/termios.h/conform): Likewise.
14119         (test-xfail-XPG4/ucontext.h/conform): Likewise.
14120         (test-xfail-XPG4/unistd.h/conform): Likewise.
14121         (test-xfail-XPG4/utmpx.h/conform): Likewise.
14122         (test-xfail-POSIX/sched.h/conform): Likewise.
14123         (test-xfail-POSIX/signal.h/conform): Likewise.
14124         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
14125         (test-xfail-POSIX/tar.h/conform): Likewise.
14126         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
14127         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
14128         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
14129         (test-xfail-UNIX98/netdb.h/conform): Likewise.
14130         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
14131         (test-xfail-UNIX98/sched.h/conform): Likewise.
14132         (test-xfail-UNIX98/signal.h/conform): Likewise.
14133         (test-xfail-UNIX98/stdio.h/conform): Likewise.
14134         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
14135         (test-xfail-UNIX98/stropts.h/conform): Likewise.
14136         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
14137         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
14138         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
14139         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
14140         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
14141         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
14142         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
14143         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
14144         (test-xfail-UNIX98/unistd.h/conform): Likewise.
14145         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
14146         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
14147         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
14148         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
14149         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
14150         (test-xfail-XOPEN2K/math.h/conform): Likewise.
14151         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
14152         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
14153         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
14154         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
14155         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
14156         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
14157         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
14158         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
14159         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
14160         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
14161         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
14162         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
14163         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
14164         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
14165         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
14166         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
14167         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
14168         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
14169         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
14170         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
14171         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
14172         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
14173         (test-xfail-POSIX2008/signal.h/conform): Likewise.
14174         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
14175         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
14176         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
14177         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
14178         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
14179         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
14180         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
14181         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
14182         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
14183         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
14184         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
14185         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
14186         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
14187         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
14188         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
14189         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
14190         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
14191         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
14192         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
14193         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
14194         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
14195         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
14196         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
14197         (conformtest-cc-flags): Likewise.
14198         ($(conformtest-header-tests): New target.
14199         * conform/check-header-lists.sh: New file.
14200         * conform/run-conformtest.sh: Remove.
14202         * conform/conformtest.pl: Allow ' and \ in values given for
14203         constants.
14204         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
14205         inclusion.
14206         [POSIX] (sys/types.h): Likewise.
14207         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
14208         inclusion.
14209         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
14210         inclusion.
14211         * conform/data/signal.h-data (SIGIO): Remove expectation.
14212         [XPG3] (SIGBUS): Do not expect.
14213         [POSIX || XPG3] (SIGPOLL): Likewise.
14214         [POSIX || XPG3] (SIGPROF): Likewise.
14215         [POSIX || XPG3] (SIGSYS): Likewise.
14216         [XPG3] (SIGTRAP): Likewise.
14217         [POSIX || XPG3] (SIGURG): Likewise.
14218         [POSIX || XPG3] (SIGVTALRM): Likewise.
14219         [POSIX || XPG3] (SIGXCPU): Likewise.
14220         [POSIX || XPG3] (SIGXFSZ): Likewise.
14221         [POSIX] (SA_SIGINFO): Expect.
14222         [XPG3] (siginfo_t): Do not expect type or contents.
14223         [POSIX] (si_pid): Do not expect element.
14224         [POSIX] (si_uid): Likewise.
14225         [POSIX] (si_addr): Likewise.
14226         [POSIX] (si_status): Likewise.
14227         [POSIX] (si_band): Likewise.
14228         [XPG4] (si_value): Likewise.
14229         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
14230         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
14231         [POSIX || XPG3] (ILL_ILLADR): Likewise.
14232         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
14233         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
14234         [POSIX || XPG3] (ILL_PRVREG): Likewise.
14235         [POSIX || XPG3] (ILL_COPROC): Likewise.
14236         [POSIX || XPG3] (ILL_BADSTK): Likewise.
14237         [POSIX || XPG3] (FPE_INTDIV): Likewise.
14238         [POSIX || XPG3] (FPE_INTOVF): Likewise.
14239         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
14240         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
14241         [POSIX || XPG3] (FPE_FLTUND): Likewise.
14242         [POSIX || XPG3] (FPE_FLTRES): Likewise.
14243         [POSIX || XPG3] (FPE_FLTINV): Likewise.
14244         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
14245         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
14246         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
14247         [POSIX || XPG3] (BUS_ADRALN): Likewise.
14248         [POSIX || XPG3] (BUS_ADRERR): Likewise.
14249         [POSIX || XPG3] (BUS_OBJERR): Likewise.
14250         [POSIX || XPG3] (CLD_EXITED): Likewise.
14251         [POSIX || XPG3] (CLD_KILLED): Likewise.
14252         [POSIX || XPG3] (CLD_DUMPED): Likewise.
14253         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
14254         [POSIX || XPG3] (CLD_STOPPED): Likewise.
14255         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
14256         [POSIX || XPG3] (POLL_IN): Likewise.
14257         [POSIX || XPG3] (POLL_OUT): Likewise.
14258         [POSIX || XPG3] (POLL_MSG): Likewise.
14259         [POSIX || XPG3] (POLL_ERR): Likewise.
14260         [POSIX || XPG3] (POLL_PRI): Likewise.
14261         [POSIX || XPG3] (POLL_HUP): Likewise.
14262         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
14263         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
14264         (SIG*): Do not allow.
14265         [XPG3] (si_*): Likewise.
14266         [XPG3] (SI_*): Likewise.
14267         [XPG3 || XPG4] (sigev_*): Likewise.
14268         [XPG3 || XPG4] (SIGEV_*): Likewise.
14269         [XPG3 || XPG4] (sival_*): Likewise.
14270         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
14271         [POSIX || XPG3] (BUS_*): Likewise.
14272         [POSIX || XPG3] (CLD_*): Likewise.
14273         [POSIX || XPG3] (FPE_*): Likewise.
14274         [POSIX || XPG3] (ILL_*): Likewise.
14275         [POSIX || XPG3] (POLL_*): Likewise.
14276         [POSIX || XPG3] (SEGV_*): Likewise.
14277         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
14278         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
14279         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
14280         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
14281         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
14282         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
14283         Specify type and value.
14284         (TVERSLEN): Likewise.
14285         (REGTYPE): Likewise.
14286         (AREGTYPE): Likewise.
14287         (LNKTYPE): Likewise.
14288         (SYMTYPE): Likewise.
14289         (CHRTYPE): Likewise.
14290         (BLKTYPE): Likewise.
14291         (DIRTYPE): Likewise.
14292         (FIFOTYPE): Likewise.
14293         (CONTTYPE): Likewise.
14294         (TSUID): Likewise.
14295         (TSGID): Likewise.
14296         (TSVTX): Likewise.
14297         (TUREAD): Likewise.
14298         (TUWRITE): Likewise.
14299         (TUEXEC): Likewise.
14300         (TGREAD): Likewise.
14301         (TGWRITE): Likewise.
14302         (TGEXEC): Likewise.
14303         (TOREAD): Likewise.
14304         (TOWRITE): Likewise.
14305         (TOEXEC): Likewise.
14306         [POSIX] (TSVTX): Expect constant.
14308 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
14310         * Makefile (tests): Change dependencies to ....
14311         (tests-special): ... additions to this variable.
14312         (tests): Depend on $(tests-special).
14313         * Makerules (check-abi-list): New variable.
14314         (check-abi): Depend on $(check-abi-list).
14315         [$(subdir) = elf] (tests-special): Add
14316         $(objpfx)check-abi-libc.out.
14317         [$(build-shared) = yes && subdir] (tests-special): Add
14318         $(check-abi-list).
14319         [$(build-shared) = yes && subdir] (tests): Do not depend on
14320         check-abi.
14321         * Rules (tests): Depend on $(tests-special).
14322         (xtests): Depend on $(xtests-special).
14323         * catgets/Makefile (tests): Change dependencies to ....
14324         (tests-special): ... additions to this variable.
14325         * conform/Makefile (tests): Change dependencies to ....
14326         (tests-special): ... additions to this variable.
14327         * elf/Makefile (tests): Change dependencies to ....
14328         (tests-special): ... additions to this variable.
14329         * grp/Makefile (tests): Change dependencies to ....
14330         (tests-special): ... additions to this variable.
14331         * iconv/Makefile (xtests): Change dependencies to ....
14332         (xtests-special): ... additions to this variable.
14333         * iconvdata/Makefile (tests): Change dependencies to ....
14334         (tests-special): ... additions to this variable.
14335         * intl/Makefile (tests): Change dependencies to ....
14336         (tests-special): ... additions to this variable.  Also add
14337         $(objpfx)tst-gettext.out.
14338         * io/Makefile (tests): Change dependencies to ....
14339         (tests-special): ... additions to this variable.
14340         * libio/Makefile (tests): Change dependencies to ....
14341         (tests-special): ... additions to this variable.
14342         * malloc/Makefile (tests): Change dependencies to ....
14343         (tests-special): ... additions to this variable.
14344         * misc/Makefile (tests): Change dependencies to ....
14345         (tests-special): ... additions to this variable.
14346         * nptl/Makefile (tests): Change dependencies to ....
14347         (tests-special): ... additions to this variable.
14348         * nptl_db/Makefile (tests): Change dependencies to ....
14349         (tests-special): ... additions to this variable.
14350         * posix/Makefile (tests): Change dependencies to ....
14351         (tests-special): ... additions to this variable.
14352         (xtests): Change dependencies to ....
14353         (xtests-special): ... additions to this variable.
14354         * resolv/Makefile (tests): Change dependencies to ....
14355         (tests-special): ... additions to this variable.
14356         (xtests): Change dependencies to ....
14357         (xtests-special): ... additions to this variable.
14358         * stdio-common/Makefile (tests): Change dependencies to ....
14359         (tests-special): ... additions to this variable.
14360         (do-tst-unbputc): Remove target.
14361         (do-tst-printf): Likewise.
14362         * stdlib/Makefile (tests): Change dependencies to ....
14363         (tests-special): ... additions to this variable.
14364         * string/Makefile (tests): Change dependencies to ....
14365         (tests-special): ... additions to this variable.
14366         * sysdeps/x86/Makefile (tests): Change dependencies to ....
14367         (tests-special): ... additions to this variable.
14369         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
14370         whole file.
14371         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
14372         whole file.
14373         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
14374         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
14376         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
14377         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
14378         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
14379         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
14380         * conform/data/libgen.h-data [XPG3]: Likewise.
14381         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
14382         * conform/data/ndbm.h-data [XPG3]: Likewise.
14383         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
14384         * conform/data/netdb.h-data [XPG3]: Likewise.
14385         * conform/data/netinet/in.h-data [XPG3]: Likewise.
14386         * conform/data/poll.h-data [XPG3]: Likewise.
14387         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
14388         * conform/data/strings.h-data [XPG3]: Likewise.
14389         * conform/data/stropts.h-data [XPG3]: Likewise.
14390         * conform/data/sys/mman.h-data [XPG3]: Likewise.
14391         * conform/data/sys/resource.h-data [XPG3]: Likewise.
14392         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
14393         Likewise.
14394         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
14395         * conform/data/sys/time.h-data [XPG3]: Likewise.
14396         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
14397         * conform/data/sys/uio.h-data [XPG3]: Likewise.
14398         * conform/data/sys/un.h-data [XPG3]: Likewise.
14399         * conform/data/syslog.h-data [XPG3]: Likewise.
14400         * conform/data/ucontext.h-data [XPG3]: Likewise.
14401         * conform/data/utmpx.h-data [XPG3]: Likewise.
14402         * conform/data/varargs.h-data [UNIX98]: Enable file.
14404         * manual/Makefile (INSTALL_INFO): Remove variable setting.
14406         * math/libm-test.inc (struct test_f_f_data): Move expected results
14407         into structure for each rounding mode.
14408         (struct test_ff_f_data): Likewise.
14409         (struct test_ff_f_data_nexttoward): Likewise.
14410         (struct test_fi_f_data): Likewise.
14411         (struct test_fl_f_data): Likewise.
14412         (struct test_if_f_data): Likewise.
14413         (struct test_fff_f_data): Likewise.
14414         (struct test_c_f_data): Likewise.
14415         (struct test_f_f1_data): Likewise.
14416         (struct test_fF_f1_data): Likewise.
14417         (struct test_ffI_f1_data): Likewise.
14418         (struct test_c_c_data): Likewise.
14419         (struct test_cc_c_data): Likewise.
14420         (struct test_f_i_data): Likewise.
14421         (struct test_ff_i_data): Likewise.
14422         (struct test_f_l_data): Likewise.
14423         (struct test_f_L_data): Likewise.
14424         (struct test_fFF_11_data): Likewise.
14425         (RM_): New macro.
14426         (RM_FE_DOWNWARD): Likewise.
14427         (RM_FE_TONEAREST): Likewise.
14428         (RM_FE_TOWARDZERO): Likewise.
14429         (RM_FE_UPWARD): Likewise.
14430         (RUN_TEST_LOOP_f_f): Update references to expected results.
14431         (RUN_TEST_LOOP_2_f): Likewise.
14432         (RUN_TEST_LOOP_fff_f): Likewise.
14433         (RUN_TEST_LOOP_c_f): Likewise.
14434         (RUN_TEST_LOOP_f_f1): Likewise.
14435         (RUN_TEST_LOOP_fF_f1): Likewise.
14436         (RUN_TEST_LOOP_fI_f1): Likewise.
14437         (RUN_TEST_LOOP_ffI_f1): Likewise.
14438         (RUN_TEST_LOOP_c_c): Likewise.
14439         (RUN_TEST_LOOP_cc_c): Likewise.
14440         (RUN_TEST_LOOP_f_i): Likewise.
14441         (RUN_TEST_LOOP_f_i_tg): Likewise.
14442         (RUN_TEST_LOOP_ff_i_tg): Likewise.
14443         (RUN_TEST_LOOP_f_b): Likewise.
14444         (RUN_TEST_LOOP_f_b_tg): Likewise.
14445         (RUN_TEST_LOOP_f_l): Likewise.
14446         (RUN_TEST_LOOP_f_L): Likewise.
14447         (RUN_TEST_LOOP_fFF_11): Likewise.
14448         * math/gen-libm-test.pl (parse_args): Output four copies of
14449         expected results for each test.
14451         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14452         (__ASSUME_UTIMES): Remove.
14453         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14454         (__ASSUME_UTIMES): Likewise.
14456         * math/gen-auto-libm-tests.c: Update comment on output format.
14457         (output_for_one_input_case): Generate before-rounding and
14458         after-rounding information as conditions on output flags not
14459         floating-point format.
14460         * math/auto-libm-test-out: Regenerated.
14461         * math/gen-libm-test.pl (cond_value): New function.
14462         (or_cond_value): Use cond_value.
14463         (generate_testfile): Handle conditional exceptions.
14465 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
14467         * math/libm-test.inc (max_valid_error): New variable.
14468         (init_max_error): Take new argument specifying whether function
14469         results are exactly determined.  Set max_valid_error and bound
14470         other variables for errors based on this argument.
14471         (set_max_error): Do not record results above max_valid_error.
14472         (check_float_internal): Only accept errors of up to 0.5ulps if
14473         also at most max_valid_error.
14474         (START): Take new argument EXACT and pass it to init_max_error.
14475         (acos_test): Update call to START.
14476         (acos_test_tonearest): Likewise.
14477         (acos_test_towardzero): Likewise.
14478         (acos_test_downward): Likewise.
14479         (acos_test_upward): Likewise.
14480         (acosh_test): Likewise.
14481         (asin_test): Likewise.
14482         (asin_test_tonearest): Likewise.
14483         (asin_test_towardzero): Likewise.
14484         (asin_test_downward): Likewise.
14485         (asin_test_upward): Likewise.
14486         (asinh_test): Likewise.
14487         (atan_test): Likewise.
14488         (atanh_test): Likewise.
14489         (atan2_test): Likewise.
14490         (cabs_test): Likewise.
14491         (cacos_test): Likewise.
14492         (cacosh_test): Likewise.
14493         (carg_test): Likewise.
14494         (casin_test): Likewise.
14495         (casinh_test): Likewise.
14496         (catan_test): Likewise.
14497         (catanh_test): Likewise.
14498         (cbrt_test): Likewise.
14499         (ccos_test): Likewise.
14500         (ccosh_test): Likewise.
14501         (ceil_test): Likewise.
14502         (cexp_test): Likewise.
14503         (cimag_test): Likewise.
14504         (clog_test): Likewise.
14505         (clog10_test): Likewise.
14506         (conj_test): Likewise.
14507         (copysign_test): Likewise.
14508         (cos_test): Likewise.
14509         (cos_test_tonearest): Likewise.
14510         (cos_test_towardzero): Likewise.
14511         (cos_test_downward): Likewise.
14512         (cos_test_upward): Likewise.
14513         (cosh_test): Likewise.
14514         (cosh_test_tonearest): Likewise.
14515         (cosh_test_towardzero): Likewise.
14516         (cosh_test_downward): Likewise.
14517         (cosh_test_upward): Likewise.
14518         (cpow_test): Likewise.
14519         (cproj_test): Likewise.
14520         (creal_test): Likewise.
14521         (csin_test): Likewise.
14522         (csinh_test): Likewise.
14523         (csqrt_test): Likewise.
14524         (ctan_test): Likewise.
14525         (ctan_test_tonearest): Likewise.
14526         (ctan_test_towardzero): Likewise.
14527         (ctan_test_downward): Likewise.
14528         (ctan_test_upward): Likewise.
14529         (ctanh_test): Likewise.
14530         (ctanh_test_tonearest): Likewise.
14531         (ctanh_test_towardzero): Likewise.
14532         (ctanh_test_downward): Likewise.
14533         (ctanh_test_upward): Likewise.
14534         (erf_test): Likewise.
14535         (erfc_test): Likewise.
14536         (exp_test): Likewise.
14537         (exp_test_tonearest): Likewise.
14538         (exp_test_towardzero): Likewise.
14539         (exp_test_downward): Likewise.
14540         (exp_test_upward): Likewise.
14541         (exp10_test): Likewise.
14542         (exp10_test_tonearest): Likewise.
14543         (exp10_test_towardzero): Likewise.
14544         (exp10_test_downward): Likewise.
14545         (exp10_test_upward): Likewise.
14546         (pow10_test): Likewise.
14547         (exp2_test): Likewise.
14548         (expm1_test): Likewise.
14549         (expm1_test_tonearest): Likewise.
14550         (expm1_test_towardzero): Likewise.
14551         (expm1_test_downward): Likewise.
14552         (expm1_test_upward): Likewise.
14553         (fabs_test): Likewise.
14554         (fdim_test): Likewise.
14555         (floor_test): Likewise.
14556         (fma_test): Likewise.
14557         (fma_test_towardzero): Likewise.
14558         (fma_test_downward): Likewise.
14559         (fma_test_upward): Likewise.
14560         (fmax_test): Likewise.
14561         (fmin_test): Likewise.
14562         (fmod_test): Likewise.
14563         (fpclassify_test): Likewise.
14564         (frexp_test): Likewise.
14565         (hypot_test): Likewise.
14566         (ilogb_test): Likewise.
14567         (isfinite_test): Likewise.
14568         (finite_test): Likewise.
14569         (isgreater_test): Likewise.
14570         (isgreaterequal_test): Likewise.
14571         (isinf_test): Likewise.
14572         (isless_test): Likewise.
14573         (islessequal_test): Likewise.
14574         (islessgreater_test): Likewise.
14575         (isnan_test): Likewise.
14576         (isnormal_test): Likewise.
14577         (issignaling_test): Likewise.
14578         (isunordered_test): Likewise.
14579         (j0_test): Likewise.
14580         (j1_test): Likewise.
14581         (jn_test): Likewise.
14582         (ldexp_test): Likewise.
14583         (lgamma_test): Likewise.
14584         (gamma_test): Likewise.
14585         (lrint_test): Likewise.
14586         (lrint_test_tonearest): Likewise.
14587         (lrint_test_towardzero): Likewise.
14588         (lrint_test_downward): Likewise.
14589         (lrint_test_upward): Likewise.
14590         (llrint_test): Likewise.
14591         (llrint_test_tonearest): Likewise.
14592         (llrint_test_towardzero): Likewise.
14593         (llrint_test_downward): Likewise.
14594         (llrint_test_upward): Likewise.
14595         (log_test): Likewise.
14596         (log10_test): Likewise.
14597         (log1p_test): Likewise.
14598         (log2_test): Likewise.
14599         (logb_test): Likewise.
14600         (logb_test_downward): Likewise.
14601         (lround_test): Likewise.
14602         (llround_test): Likewise.
14603         (modf_test): Likewise.
14604         (nearbyint_test): Likewise.
14605         (nextafter_test): Likewise.
14606         (nexttoward_test): Likewise.
14607         (pow_test): Likewise.
14608         (pow_test_tonearest): Likewise.
14609         (pow_test_towardzero): Likewise.
14610         (pow_test_downward): Likewise.
14611         (pow_test_upward): Likewise.
14612         (remainder_test): Likewise.
14613         (drem_test): Likewise.
14614         (remainder_test_tonearest): Likewise.
14615         (drem_test_tonearest): Likewise.
14616         (remainder_test_towardzero): Likewise.
14617         (drem_test_towardzero): Likewise.
14618         (remainder_test_downward): Likewise.
14619         (drem_test_downward): Likewise.
14620         (remainder_test_upward): Likewise.
14621         (drem_test_upward): Likewise.
14622         (remquo_test): Likewise.
14623         (rint_test): Likewise.
14624         (rint_test_tonearest): Likewise.
14625         (rint_test_towardzero): Likewise.
14626         (rint_test_downward): Likewise.
14627         (rint_test_upward): Likewise.
14628         (round_test): Likewise.
14629         (scalb_test): Likewise.
14630         (scalbn_test): Likewise.
14631         (scalbln_test): Likewise.
14632         (signbit_test): Likewise.
14633         (sin_test): Likewise.
14634         (sin_test_tonearest): Likewise.
14635         (sin_test_towardzero): Likewise.
14636         (sin_test_downward): Likewise.
14637         (sin_test_upward): Likewise.
14638         (sincos_test): Likewise.
14639         (sinh_test): Likewise.
14640         (sinh_test_tonearest): Likewise.
14641         (sinh_test_towardzero): Likewise.
14642         (sinh_test_downward): Likewise.
14643         (sinh_test_upward): Likewise.
14644         (sqrt_test): Likewise.
14645         (sqrt_test_tonearest): Likewise.
14646         (sqrt_test_towardzero): Likewise.
14647         (sqrt_test_downward): Likewise.
14648         (sqrt_test_upward): Likewise.
14649         (tan_test): Likewise.
14650         (tan_test_tonearest): Likewise.
14651         (tan_test_towardzero): Likewise.
14652         (tan_test_downward): Likewise.
14653         (tan_test_upward): Likewise.
14654         (tanh_test): Likewise.
14655         (tgamma_test): Likewise.
14656         (trunc_test): Likewise.
14657         (y0_test): Likewise.
14658         (y1_test): Likewise.
14659         (yn_test): Likewise.
14660         (significand_test): Likewise.
14662         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
14663         individual tests in comment.
14664         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
14665         (prev_max_error): New variable.
14666         (prev_real_max_error): Likewise.
14667         (prev_imag_max_error): Likewise.
14668         (compare_ulp_data): Don't refer to test names in comment.
14669         (find_test_ulps): Remove function.
14670         (find_function_ulps): Likewise.
14671         (find_complex_function_ulps): Likewise.
14672         (init_max_error): Take function name as argument.  Look up ulps
14673         for that function.
14674         (print_ulps): Remove function.
14675         (print_max_error): Use prev_max_error instead of calling
14676         find_function_ulps.
14677         (print_complex_max_error): Use prev_real_max_error and
14678         prev_imag_max_error instead of calling find_complex_function_ulps.
14679         (check_float_internal): Take max_ulp parameter instead of calling
14680         find_test_ulps.  Don't call print_ulps.
14681         (check_float): Update call to check_float_internal.
14682         (check_complex): Update calls to check_float_internal.
14683         (START): Pass argument to init_max_error.
14684         * math/gen-libm-test.pl (%results): Don't include "kind"
14685         information.
14686         (parse_ulps): Don't handle ulps of individual tests.
14687         (print_ulps_file): Likewise.
14688         (output_ulps): Likewise.
14689         * math/README.libm-test: Update.
14690         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
14691         individual tests.
14692         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
14693         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
14694         * sysdeps/arm/libm-test-ulps: Likewise.
14695         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
14696         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
14697         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
14698         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
14699         * sysdeps/microblaze/libm-test-ulps: Likewise.
14700         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
14701         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14702         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14703         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
14704         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14705         * sysdeps/sh/libm-test-ulps: Likewise.
14706         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14707         * sysdeps/tile/libm-test-ulps: Likewise.
14708         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14710 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
14712         * math/libm-test.inc (print_complex_max_error): Check separately
14713         whether real and imaginary errors are within allowed range and
14714         pass 0 to print_complex_function_ulps instead of value within
14715         allowed range.
14717 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14719         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
14720         formatting.
14721         (get_handles_fopen): Likewise.
14722         (do_write_test): Likewise.
14724         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
14726         * libio/fileops.c (do_ftell): Use cached offset when
14727         available.
14728         * libio/iofwide.c (do_ftell_wide): Likewise.
14729         * libio/iofdopen.c (_IO_new_fdopen): Don't use
14730         _IO_file_attach.
14731         * libio/wfileops.c (_IO_fwide): Don't cache offset.
14733         [BZ #16532]
14734         * libio/libioP.h (get_file_offset): New function.
14735         * libio/fileops.c (get_file_offset): Likewise.
14736         (do_ftell): Likewise.
14737         (_IO_new_file_seekoff): Split out ftell logic.
14738         * libio/wfileops.c (do_ftell_wide): Likewise.
14739         (_IO_wfile_seekoff): Split out ftell logic.
14740         * libio/tst-ftell-active-handler.c: New test case.
14741         * libio/Makefile (tests): Add it.
14743 2014-03-03  Roland McGrath  <roland@hack.frob.com>
14745         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
14746         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
14748 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
14750         [BZ #16639]
14751         * nscd/connections.c (nscd_init): Call do_exit.
14752         (start_threads): Call do_exit and notify_parent.
14753         (begin_drop_privileges): Call do_exit.
14754         (finish_drop_privileges): Likewise.
14755         * nscd/selinux.c (preserve_capabilities): Likewise.
14756         (install_real_capabilities): Likewise.
14757         (nscd_selinux_enabled): Likewise.
14758         (avc_create_thread): Likewise.
14759         (avc_alloc_lock): Likewise.
14760         (nscd_avc_init): Likewise.
14761         * nscd/nscd.c (parent_fd): New static variable.
14762         (main): Create a pipe between parent and child processes.
14763         Skip closing parent_fd.
14764         (monitor_child): New function.
14765         (do_exit): Likewise.
14766         (notify_parent): Likewise.
14767         * nscd/nscd.h (notify_parent): Likewise.
14768         (do_exit): Likewise.
14770 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
14772         * malloc/malloc.c (__libc_calloc): Revert last change.
14774 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14776         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14778 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14780         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
14781         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
14782         implementation.
14783         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14784         (__libc_ifunc_impl_list): Likewise.
14785         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
14786         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
14787         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
14788         * string/strrchr.c: Define STRRCHR.
14790 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
14792         * benchtest/bench-strtok.c (simple_strtok): Delete.
14793         (strtok_string): Use as benchmark.
14794         * string/strtok (STRTOK): New macro.
14796 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
14798         * manual/threads.texi: Add header and standard comments to all
14799         functions.
14801         * elf/dl-lookup.c (check_match): New function.
14802         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
14803         (do_lookup_x): Remove nested function check_match. Use non-nested
14804         function check_match.
14806 2014-02-28  Roland McGrath  <roland@hack.frob.com>
14808         * csu/Makefile (generated, before-compile): Use += rather than =.
14809         * catgets/Makefile (generated, generated-dirs): Likewise.
14810         * debug/Makefile (generated): Likewise.
14811         * dlfcn/Makefile (generated): Likewise.
14812         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
14813         * iconvdata/Makefile (before-compile, generated): Likewise.
14814         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
14815         * libio/Makefile (generated): Likewise.
14816         * malloc/Makefile (generated): Likewise.
14817         * manual/Makefile (generated, generated-dirs): Likewise.
14818         * misc/Makefile (generated): Likewise.
14819         * posix/Makefile (generated): Likewise.
14820         * resolv/Makefile (generated): Likewise.
14821         * sunrpc/Makefile (generated, generated-dirs): Likewise.
14822         * timezone/Makefile (generated, generated-dirs): Likewise.
14824         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
14826 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14828         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
14829         power8 implementation.
14830         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
14831         file: POWER8 llround ifunc implementation.
14832         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
14833         (__lllround): Add POWER8 implementation.
14834         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
14835         POWER8 llround implementation.
14837         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
14838         power8 implementation.
14839         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
14840         file: POWER8 llrint ifunc implementation.
14841         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
14842         Add POWER8 implementation.
14843         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
14844         POWER8 llrint implementation.
14846         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
14847         power8 implementation.
14848         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
14849         file: POWER8 finite ifunc implementation.
14850         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
14851         Add POWER8 implementation.
14852         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
14853         Likewise.
14854         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
14855         POWER8 finite implementation.
14856         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
14858         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
14859         power8 implementation.
14860         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
14861         file: POWER8 isinf ifunc implementation.
14862         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
14863         POWER8 implementation.
14864         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
14865         Likewise.
14866         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
14867         isinf implementation.
14868         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
14870         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
14871         (INIT_ARCH): Add hwcap2 initialization.
14872         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
14873         power8 implementation.
14874         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
14875         file: POWER8 isnan ifunc implementation.
14876         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
14877         POWER8 implementation.
14878         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
14879         Likewise.
14880         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
14881         isnan implementation.
14882         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
14884 2014-02-27  Joey Ye  <joey.ye@arm.com>
14886         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
14887         (_FP_NANFRAC_Q): Set to zero.
14889 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14891         [BZ #16623]
14892         * math/auto-libm-test-in: New test inputs.
14893         * math/auto-libm-test-out: Regenerate.
14894         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
14895         and DA.
14896         (__cos): Likewise.
14897         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
14899 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
14901         * scripts/evaluate-test.sh: Take new argument indicating whether
14902         failure is expected.
14903         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
14904         indicating whether failure is expected.
14905         * conform/Makefile (test-xfail-run-conformtest): New variable.
14906         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
14907         level.
14908         * posix/Makefile (test-xfail-annexc): New variable.
14909         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
14911 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
14913         * argp/Makefile: Include Makeconfig immediately after defining
14914         subdir.
14915         * assert/Makefile: Likewise.
14916         * benchtests/Makefile: Likewise.
14917         * catgets/Makefile: Likewise.
14918         * conform/Makefile: Likewise.
14919         * crypt/Makefile: Likewise.
14920         * csu/Makefile: Likewise.
14921         (all): Remove target.
14922         * ctype/Makefile: Include Makeconfig immediately after defining
14923         subdir.
14924         * debug/Makefile: Likewise.
14925         * dirent/Makefile: Likewise.
14926         * dlfcn/Makefile: Likewise.
14927         * gmon/Makefile: Likewise.
14928         * gnulib/Makefile: Likewise.
14929         * grp/Makefile: Likewise.
14930         * gshadow/Makefile: Likewise.
14931         * hesiod/Makefile: Likewise.
14932         * hurd/Makefile: Likewise.
14933         (all): Remove target.
14934         * iconvdata/Makefile: Include Makeconfig immediately after
14935         defining subdir.
14936         * inet/Makefile: Likewise.
14937         * intl/Makefile: Likewise.
14938         * io/Makefile: Likewise.
14939         * libio/Makefile: Likewise.
14940         (all): Remove target.
14941         * locale/Makefile: Include Makeconfig immediately after defining
14942         subdir.
14943         * login/Makefile: Likewise.
14944         * mach/Makefile: Likewise.
14945         (all): Remove target.
14946         * malloc/Makefile: Include Makeconfig immediately after defining
14947         subdir.
14948         (all): Remove target.
14949         * manual/Makefile: Include Makeconfig immediately after defining
14950         subdir.
14951         * math/Makefile: Likewise.
14952         * misc/Makefile: Likewise.
14953         * nis/Makefile: Likewise.
14954         * nss/Makefile: Likewise.
14955         * po/Makefile: Likewise.
14956         (all): Remove target.
14957         * posix/Makefile: Include Makeconfig immediately after defining
14958         subdir.
14959         * pwd/Makefile: Likewise.
14960         * resolv/Makefile: Likewise.
14961         * resource/Makefile: Likewise.
14962         * rt/Makefile: Likewise.
14963         * setjmp/Makefile: Likewise.
14964         * shadow/Makefile: Likewise.
14965         * signal/Makefile: Likewise.
14966         * socket/Makefile: Likewise.
14967         * soft-fp/Makefile: Likewise.
14968         * stdio-common/Makefile: Likewise.
14969         * stdlib/Makefile: Likewise.
14970         * streams/Makefile: Likewise.
14971         * string/Makefile: Likewise.
14972         * sunrpc/Makefile: Likewise.
14973         (all): Remove target.
14974         * sysvipc/Makefile: Include Makeconfig immediately after defining
14975         subdir.
14976         * termios/Makefile: Likewise.
14977         * time/Makefile: Likewise.
14978         * timezone/Makefile: Likewise.
14979         (all): Remove target.
14980         * wcsmbs/Makefile: Include Makeconfig immediately after defining
14981         subdir.
14982         * wctype/Makefile: Likewise.
14984 2014-02-26  Steve Ellcey  <sellcey@mips.com>
14986         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
14987         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
14988         (libc_feholdexcept_setround_mips): Ditto.
14989         (libc_feholdsetround): New.
14990         (libc_feholdsetroundf): New.
14991         (libc_feholdsetroundl): New.
14992         (libc_feupdateenv_test_mips): New.
14993         (libc_feupdateenv_test): New.
14994         (libc_feupdateenv_testf): New.
14995         (libc_feupdateenv_testl): New.
14996         (libc_feresetround): New.
14997         (libc_feresetroundf): New.
14998         (libc_feresetroundl): New.
14999         (libc_fetestexcept_mips): New.
15000         (libc_fetestexcept): New.
15001         (libc_fetestexceptf): New.
15002         (libc_fetestexceptl): New.
15003         (HAVE_RM_CTX): New.
15004         (libc_feholdexcept_setround_mips_ctx): New.
15005         (libc_feholdexcept_setround_ctx): New.
15006         (libc_feholdexcept_setroundf_ctx): New.
15007         (libc_feholdexcept_setroundl_ctx): New.
15008         (libc_fesetenv_mips_ctx): New.
15009         (libc_fesetenv_ctx): New.
15010         (libc_fesetenv_ctxf): New.
15011         (libc_fesetenv_ctxl): New.
15012         (libc_feupdateenv_mips_ctx): New.
15013         (libc_feupdateenv_ctx): New.
15014         (libc_feupdateenvf_ctx): New.
15015         (libc_feupdateenvl_ctx): New.
15016         (libc_feholdsetround_mips_ctx): New.
15017         (libc_feholdsetround_ctx): New.
15018         (libc_feholdsetroundf_ctx): New.
15019         (libc_feholdsetroundl_ctx): New.
15020         (libc_feresetround_mips_ctx): New.
15021         (libc_feresetround_ctx): New.
15022         (libc_feresetroundf_ctx): New.
15023         (libc_feresetroundl_ctx): New.
15025 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
15027         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
15029         * manual/ipc.texi: New file.
15030         * manual/Makefile (chapters): Add ipc.
15031         * manual/job.texi: Add "Inter-Process Communication" to next.
15032         * manual/process.texi: Add "Inter-Process Communication" to prev.
15034 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15036         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15038 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
15040         * malloc/malloc.c (__libc_calloc): Simplify implementation.
15042         * manual/arith.texi: Fix spaces after sentences.
15043         * manual/charset.texi: Likewise.
15044         * manual/errno.texi: Likewise.
15045         * manual/install.texi: Likewise.
15046         * manual/llio.texi: Likewise.
15047         * manual/locale.texi: Likewise.
15048         * manual/maint.texi: Likewise.
15049         * manual/math.texi: Likewise.
15050         * manual/memory.texi: Likewise.
15051         * manual/message.texi: Likewise.
15052         * manual/probes.texi: Likewise.
15053         * manual/resource.texi: Likewise.
15054         * manual/signal.texi: Likewise.
15055         * manual/socket.texi: Likewise.
15056         * manual/stdio.texi: Likewise.
15057         * manual/string.texi: Likewise.
15058         * manual/time.texi: Likewise.
15059         * manual/users.texi: Likewise.
15061 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
15063         [BZ #16632]
15064         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
15065         _DEFAULT_SOURCE is defined.
15067 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
15068             Carlos O'Donell  <carlos@redhat.com>
15070         [BZ #16613]
15071         * elf/dl-tls.c (_dl_count_modids): New function.
15072         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
15073         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
15074         audit library and increment generation counter.
15075         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
15076         * elf/tst-audit9.c: New file.
15077         * elf/tst-auditmod9a.c: New file.
15078         * elf/tst-auditmod9b.c: New file.
15079         * elf/Makefile: Add rules to build and run tst-audit9.
15081 2014-02-25  Florian Weimer  <fweimer@redhat.com>
15083         [BZ #15347]
15084         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
15086 2014-02-25  Will Newton  <will.newton@linaro.org>
15088         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
15089         (__longjmp): Restore sp and lr before restoring callee
15090         saved registers.  Add longjmp and longjmp_target
15091         SystemTap probe point.
15092         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
15093         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
15094         Define to zero to match jmpbuf layout.
15095         * sysdeps/arm/setjmp.S: Include stap-probe.h.
15096         (__sigsetjmp): Save sp and lr before saving callee
15097         saved registers.  Add setjmp SystemTap probe point.
15099 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
15101         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15103 2014-02-24  Andreas Schwab  <schwab@suse.de>
15105         [BZ #15804]
15106         * elf/pldd.c (wait_for_ptrace_stop): New function.
15107         (main): Call it after attaching.
15109 2014-02-22  Roland McGrath  <roland@hack.frob.com>
15111         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
15112         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
15113         Versions files is now verboten.
15114         * hurd/Versions (libc: GLIBC_2.0):
15115         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
15116         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
15117         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
15118         * mach/Versions: Likewise.
15120         * csu/Versions: Remove unused %include.
15121         * resolv/Versions: Likewise.
15123 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
15125         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
15126         ($(objpfx)check-local-headers.out): Likewise.
15127         ($(objpfx)begin-end-check.out): Likewise.
15128         * Makerules (check-abi-%.out): Likewise.
15129         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
15130         ($(objpfx)test2.cat): Likewise.
15131         ($(objpfx)de/libc.cat): Likewise.
15132         ($(objpfx)test-gencat.out): Likewise.
15133         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
15134         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
15135         ($(objpfx)noload-mem): Likewise.
15136         ($(objpfx)tst-pathopt.out): Likewise.
15137         ($(objpfx)tst-rtld-load-self.out): Likewise.
15138         ($(objpfx)tst-array1-cmp.out): Likewise.
15139         ($(objpfx)tst-array1-static-cmp.out): Likewise.
15140         ($(objpfx)tst-array2-cmp.out): Likewise.
15141         ($(objpfx)tst-array3-cmp.out): Likewise.
15142         ($(objpfx)tst-array4-cmp.out): Likewise.
15143         ($(objpfx)tst-array5-cmp.out): Likewise.
15144         ($(objpfx)tst-array5-static-cmp.out): Likewise.
15145         ($(objpfx)check-textrel.out): Likewise.
15146         ($(objpfx)check-execstack.out): Likewise.
15147         ($(objpfx)check-localplt.out): Likewise.
15148         ($(objpfx)order2-cmp.out): Likewise.
15149         ($(objpfx)tst-leaks1-mem): Likewise.
15150         ($(objpfx)tst-leaks1-static-mem): Likewise.
15151         ($(objpfx)tst-initorder-cmp.out): Likewise.
15152         ($(objpfx)tst-initorder2-cmp.out): Likewise.
15153         ($(objpfx)tst-unused-dep.out): Likewise.
15154         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
15155         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
15156         * iconv/Makefile (test-iconvconfig): Likewise.
15157         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
15158         ($(objpfx)iconv-test.out): Likewise.
15159         ($(objpfx)tst-tables.out): Likewise.
15160         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
15161         ($(objpfx)tst-gettext.out): Likewise.
15162         ($(objpfx)tst-translit.out): Likewise.
15163         ($(objpfx)tst-gettext2.out): Likewise.
15164         ($(objpfx)tst-gettext4.out): Likewise.
15165         ($(objpfx)tst-gettext6.out): Likewise.
15166         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
15167         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
15168         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
15169         ($(objpfx)tst-fopenloc-mem.out): Likewise.
15170         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
15171         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
15172         * posix/Makefile ($(objpfx)globtest.out): Likewise.
15173         ($(objpfx)wordexp-tst.out): Likewise.
15174         ($(objpfx)annexc.out): Likewise.
15175         ($(objpfx)tst-fnmatch-mem): Likewise.
15176         ($(objpfx)bug-regex2-mem): Likewise.
15177         ($(objpfx)bug-regex14-mem): Likewise.
15178         ($(objpfx)bug-regex21-mem): Likewise.
15179         ($(objpfx)bug-regex31-mem): Likewise.
15180         ($(objpfx)tst-vfork3-mem): Likewise.
15181         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
15182         ($(objpfx)tst-pcre-mem): Likewise.
15183         ($(objpfx)tst-boost-mem): Likewise.
15184         ($(objpfx)tst-getconf.out): Likewise.
15185         ($(objpfx)bug-ga2-mem): Likewise.
15186         ($(objpfx)bug-glob2-mem): Likewise.
15187         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
15188         ($(objpfx)mtrace-tst-leaks2): Likewise.
15189         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
15190         ($(objpfx)tst-printf.out): Likewise.
15191         ($(objpfx)tst-setvbuf1.out): Likewise.
15192         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
15193         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
15194         ($(objpfx)tst-fmtmsg.out): Likewise.
15195         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
15196         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
15198         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
15199         * bits/sigaction.h [__USE_MISC]: Likewise.
15200         * bits/waitstatus.h: Update #endif comments.
15201         * ctype/ctype.h: Likewise.
15202         * dirent/dirent.h: Likewise.
15203         [__USE_MISC]: Remove redundant conditionals.
15204         * grp/grp.h: Update #endif comments.
15205         [__USE_GNU]: Remove redundant conditionals.
15206         [__USE_MISC]: Likewise.
15207         * inet/netinet/in.h [__USE_GNU]: Likewise.
15208         * io/sys/stat.h [__USE_MISC]: Likewise.
15209         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
15210         * libio/bits/stdio.h: Update #endif comments.
15211         [__USE_MISC]: Remove redundant conditionals.
15212         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
15213         * libio/stdio.h: Update #endif comments.
15214         [__USE_MISC]: Remove redundant conditionals.
15215         * math/bits/math-finite.h [__USE_MISC]: Likewise.
15216         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
15217         * math/math.h: Update #else and #endif comments.
15218         [__USE_MISC]: Remove redundant conditionals.
15219         * misc/sys/uio.h: Update #endif comments.
15220         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
15221         * posix/glob.h [__USE_MISC]: Likewise.
15222         * posix/sys/types.h: Update #endif comments.
15223         [__USE_MISC]: Remove redundant conditionals.
15224         * posix/sys/wait.h: Update #endif comments.
15225         [__USE_MISC]: Remove redundant conditionals.
15226         * posix/unistd.h: Update #endif comments.
15227         [__USE_MISC]: Remove redundant conditionals.
15228         * pwd/pwd.h [__USE_GNU]: Likewise.
15229         [__USE_MISC]: Likewise.
15230         * resolv/netdb.h [__USE_GNU]: Likewise.
15231         * signal/signal.h: Update #endif comments.
15232         [__USE_MISC]: Remove redundant conditionals.
15233         * stdlib/stdlib.h: Update #else and #endif comments.
15234         [__USE_MISC]: Remove redundant conditionals.
15235         [__USE_GNU]: Likewise.
15236         * string/bits/string2.h [__USE_MISC]: Likewise.
15237         * string/string.h: Update #endif comments.
15238         [__USE_MISC]: Remove redundant conditionals.
15239         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
15240         Likewise.
15241         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
15242         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
15243         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
15244         Likewise.
15245         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
15246         Likewise.
15247         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
15248         comments.
15249         [__USE_MISC]: Remove redundant conditionals.
15250         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
15251         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
15252         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
15253         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
15254         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
15255         Likewise.
15256         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
15257         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
15258         Likewise.
15259         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
15260         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
15261         Likewise.
15262         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
15263         Likewise.
15264         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
15265         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
15266         Likewise.
15267         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
15268         Likewise.
15269         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
15270         * sysdeps/x86/bits/string.h: Update #endif comments.
15271         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
15272         conditionals.
15273         * time/sys/time.h: Update #endif comments.
15274         * time/time.h: Likewise.
15275         [__USE_MISC]: Remove redundant conditionals.
15277 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
15279         [BZ #16600]
15280         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
15282 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
15284         * Versions.def (librt): Add GLIBC_2.17.
15286 2014-02-21  Adam Conrad  <adconrad@0c3.net>
15288         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
15289         synonym for _SYS_AUXV_H to allow direct inclusion.
15290         * sysdeps/sparc/bits/hwcap.h: Likewise.
15291         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
15292         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
15293         * sysdeps/sparc/sysdep.h: Likewise.
15295 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15297         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
15299 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15301         * benchtests/bench-strrchr.c: Print length instead of position.
15303 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
15305         [BZ #16611]
15306         * sysdeps/unix/sysv/linux/kernel-features.h
15307         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
15308         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
15309         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
15310         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
15311         Likewise.
15312         [__i386__ || __powerpc__ || __sh__ || __sparc__]
15313         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15314         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
15315         (__ASSUME_SENDMMSG): Define instead of using previous
15316         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
15317         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15318         (__ASSUME_SENDMMSG_SYSCALL): Define.
15319         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15320         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
15321         Likewise.
15322         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15323         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15324         Likewise.
15325         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15326         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15327         Likewise.
15328         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
15329         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
15330         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
15331         [__ASSUME_SENDMMSG]: Change conditionals to
15332         [__ASSUME_SENDMMSG_SOCKETCALL].
15333         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15334         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
15335         Define.
15336         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15337         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
15338         Likewise.
15339         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
15340         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
15341         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
15342         [!__ASSUME_SENDMMSG]: Change conditional to
15343         [!__ASSUME_SENDMMSG_SOCKETCALL].
15344         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15345         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15346         Define.
15348         [BZ #16610]
15349         * sysdeps/unix/sysv/linux/kernel-features.h
15350         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
15351         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
15352         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
15353         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
15354         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15355         [__i386__ || __sparc__]
15356         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15357         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
15358         (__ASSUME_RECVMMSG): Define instead of using previous
15359         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
15360         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15361         (__ASSUME_RECVMMSG_SYSCALL): Define.
15362         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15363         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15364         Likewise.
15365         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15366         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15367         Likewise.
15368         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15369         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15370         Likewise.
15371         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
15372         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
15373         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
15374         [__ASSUME_RECVMMSG]: Change condition to
15375         [__ASSUME_RECVMMSG_SOCKETCALL].
15376         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15377         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15378         Define.
15379         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15380         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15381         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15382         Likewise.
15383         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
15384         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
15385         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
15386         [!__ASSUME_RECVMMSG]: Change condition to
15387         [!__ASSUME_RECVMMSG_SOCKETCALL].
15388         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15389         (__ASSUME_RECVMMSG_SYSCALL): Define.
15391         [BZ #16609]
15392         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
15393         __powerpc__ || __s390__ || __sh__ || __sparc__]
15394         (__ASSUME_SOCKETCALL): Define.
15395         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
15396         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
15397         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
15398         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
15399         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15400         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
15401         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
15402         (__ASSUME_ACCEPT4): Define instead of using previous
15403         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
15404         __powerpc__ || __sparc__ || __s390__)] condition.
15405         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15406         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
15407         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
15408         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
15409         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
15410         [!__ASSUME_ACCEPT4]: Change condition to
15411         [!__ASSUME_ACCEPT4_SOCKETCALL].
15412         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15413         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
15414         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
15415         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15416         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
15417         __ASSUME_ACCEPT4_SYSCALL.
15418         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
15419         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
15420         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15421         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
15422         __ASSUME_ACCEPT4_SYSCALL.
15423         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
15424         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
15425         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
15426         [__ASSUME_ACCEPT4]: Change condition to
15427         [__ASSUME_ACCEPT4_SOCKETCALL].
15428         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15429         (__ASSUME_SOCKETCALL): Define.
15430         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
15431         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15432         (__ASSUME_SOCKETCALL): Define.
15433         (__ASSUME_ACCEPT4): Remove.
15434         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
15435         Define.
15436         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15437         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
15438         Likewise.
15439         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15440         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
15442         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
15443         macro.
15444         (HWCAP_ARM_LPAE): Likewise.
15445         (HWCAP_ARM_EVTSTRM): Likewise.
15446         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
15447         Add vpfd32, lpae and evtstrm.
15448         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
15449         Increase to 22.
15451 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
15453         * math/auto-libm-test-in: Add tests of clog10.
15454         * math/auto-libm-test-out: Regenerated.
15455         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
15456         * sysdeps/i386/fpu/libm-test-ulps: Update.
15457         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15459 2014-02-18  Andreas Schwab  <schwab@suse.de>
15461         [BZ #16574]
15462         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
15463         Store non-zero if the second buffer was newly allocated.
15464         (send_dg): Likewise.
15465         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
15466         to send_vc and send_dg.
15467         (res_nsend): Pass NULL for ansp2_malloced.
15468         * resolv/res_query.c (__libc_res_nquery): Add parameter
15469         answerp2_malloced and pass it down to __libc_res_nsend.
15470         (res_nquery): Pass additional NULL to __libc_res_nquery.
15471         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
15472         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
15473         second answer buffer if answerp2_malloced was set.
15474         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
15475         (__libc_res_nquerydomain): Add parameter
15476         answerp2_malloced and pass it down to __libc_res_nquery.
15477         (res_nquerydomain): Pass additional NULL to
15478         __libc_res_nquerydomain.
15479         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
15480         additional NULL to __libc_res_nsend and __libc_res_nquery.
15481         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
15482         additional NULL to __libc_res_nsearch.
15483         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
15484         parameter of __libc_res_nsearch to check for separately allocated
15485         second buffer.
15486         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
15487         __libc_res_nquery.
15488         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
15489         additional NULL to __libc_res_nquery.
15490         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
15491         __libc_res_nsearch.
15492         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
15493         * include/resolv.h: Update prototypes of __libc_res_nquery,
15494         __libc_res_nsearch, __libc_res_nsend.
15496 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
15498         * math/auto-libm-test-in: Add tests of fma.
15499         * math/auto-libm-test-out: Regenerated.
15500         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
15501         (fma_towardzero_test_data): Likewise.
15502         (fma_downward_test_data): Likewise.
15503         (fma_upward_test_data): Likewise.
15504         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
15505         mpc_mode.
15506         (rounding_modes): Add values for new field.
15507         (func_calc_method): Add value mpfr_fff_f.
15508         (func_calc_desc): Add mpfr_fff_f union field.
15509         (test_function): Add field exact_args.
15510         (FUNC): Add macro argument EXACT_ARGS.
15511         (FUNC_mpfr_f_f): Update call to FUNC.
15512         (FUNC_mpfr_f_f): Likewise.
15513         (FUNC_mpfr_ff_f): Likewise.
15514         (FUNC_mpfr_if_f): Likewise.
15515         (FUNC_mpc_c_f): Likewise.
15516         (FUNC_mpc_c_c): Likewise.
15517         (test_functions): Add fma.  Update calls to FUNC.
15518         (handle_input_arg): Add argument exact_args.
15519         (add_test): Update call to handle_input_arg.
15520         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
15521         (output_for_one_input_case): Update call to calc_generic_results.
15522         Recalculate exact zero results in each rounding mode.
15524         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
15525         non-negative before setting low bit.
15526         * math/auto-libm-test-in: Mark one asin test possibly having
15527         spurious underflow.
15528         * math/auto-libm-test-out: Regenerated.
15529         * sysdeps/i386/fpu/libm-test-ulps: Update.
15530         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15532 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
15534         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
15535         * sysdeps/unix/sysv/linux/microblaze: Move directory from
15536         ports/sysdeps/unix/sysv/linux/microblaze.
15537         * README: Add missing listing for microblaze*-*-linux-gnu.
15539 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
15541         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
15542         duplicate code
15544 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
15546         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
15547         * sysdeps/unix/sysv/linux/ia64: Move directory from
15548         ports/sysdeps/unix/sysv/linux/ia64.
15549         * README: Update listing for ia64-*-linux-gnu.
15551 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
15552             Joseph Myers  <joseph@codesourcery.com>
15554         * Makeconfig (test-name): New variable.
15555         (evaluate-test): Likewise.
15556         * Makerules (do-test-clean): Remove .test-result files.
15557         (common-mostlyclean): Likewise.
15558         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
15559         * scripts/evaluate-test.sh: New file.
15561 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
15563         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
15564         separate $(objpfx)tst-fopenloc-cmp.out and
15565         $(objpfx)tst-fopenloc-mem.out targets.
15566         (tests): Update dependencies.
15567         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
15568         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
15569         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
15570         (tst-rxspencer-no-utf8-ARGS): New variable.
15571         (tst-rxspencer-no-utf8-ENV): Likewise.
15572         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
15573         instead of $(objpfx)tst-rxspencer-mem.
15574         ($(objpfx)tst-rxspencer-mem): Change target to
15575         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
15576         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
15577         * posix/tst-rxspencer-no-utf8.c: New file.
15579         * elf/Makefile ($(objpfx)order.out): Remove rule.
15580         [$(run-built-tests) = yes] (tests): Depend on
15581         $(objpfx)order-cmp.out.
15582         ($(objpfx)order-cmp.out): New rule.
15583         [$(run-built-tests) = yes] (tests): Depend on
15584         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
15585         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
15586         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
15587         $(objpfx)tst-array5-static-cmp.out.
15588         ($(objpfx)tst-array1.out): Remove rule.
15589         ($(objpfx)tst-array1-cmp.out): New rule.
15590         ($(objpfx)tst-array1-static.out): Remove rule.
15591         ($(objpfx)tst-array1-static-cmp.out): New rule.
15592         ($(objpfx)tst-array2.out): Remove rule.
15593         ($(objpfx)tst-array2-cmp.out): New rule.
15594         ($(objpfx)tst-array3.out): Remove rule.
15595         ($(objpfx)tst-array3-cmp.out): New rule.
15596         ($(objpfx)tst-array4.out): Remove rule.
15597         ($(objpfx)tst-array4-cmp.out): New rule.
15598         ($(objpfx)tst-array5.out): Remove rule.
15599         ($(objpfx)tst-array5-cmp.out): New rule.
15600         ($(objpfx)tst-array5-static.out): Remove rule.
15601         ($(objpfx)tst-array5-static-cmp.out): New rule.
15602         [$(run-built-tests) = yes] (tests): Depend on
15603         $(objpfx)order2-cmp.out.
15604         ($(objpfx)order2.out): Remove rule.
15605         ($(objpfx)order2-cmp.out): New rule.
15606         ($(objpfx)tst-initorder.out): Remove rule.
15607         [$(run-built-tests) = yes] (tests): Depend on
15608         $(objpfx)tst-initorder-cmp.out.
15609         ($(objpfx)tst-initorder-cmp.out): New rule.
15610         ($(objpfx)tst-initorder2.out): Remove rule.
15611         [$(run-built-tests) = yes] (tests): Depend on
15612         $(objpfx)tst-initorder2-cmp.out.
15613         ($(objpfx)tst-initorder2-cmp.out): New rule.
15614         [$(run-built-tests) = yes] (tests): Depend on
15615         $(objpfx)tst-unused-dep-cmp.out.
15616         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
15617         ($(objpfx)tst-unused-dep-cmp.out): New rule.
15618         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
15619         on $(objpfx)tst-setvbuf1-cmp.out.
15620         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
15621         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
15622         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
15623         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
15624         ($(objpfx)tst-svc.out): Remove rule.
15625         ($(objpfx)tst-svc-cmp.out): New rule.
15627 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
15629         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
15630         * ctype/ctype.h [__USE_MISC]: Likewise.
15631         * dirent/dirent.h [__USE_MISC]: Likewise.
15632         * grp/grp.h [__USE_MISC]: Likewise.
15633         * io/fcntl.h [__USE_MISC]: Likewise.
15634         * io/sys/stat.h [__USE_MISC]: Likewise.
15635         * libio/stdio.h [__USE_MISC]: Likewise.
15636         * posix/unistd.h [__USE_MISC]: Likewise.
15637         * pwd/pwd.h [__USE_MISC]: Likewise.
15638         * stdlib.h [__USE_MISC]: Likewise.
15639         * string/bits/string2.h [__USE_MISC]: Likewise.
15640         * string/string.h [__USE_MISC]: Likewise.
15641         * time/time.h [__USE_MISC]: Likewise.
15643 2014-02-13  Andreas Schwab  <schwab@suse.de>
15645         [BZ #16574]
15646         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
15647         second answer buffer if it was separately allocated.
15649 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
15651         * sysdeps/mips/math-tests.h: Include <features.h>.
15652         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
15653         (ROUNDING_TESTS_long_double): Do not define.
15654         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
15655         (EXCEPTION_TESTS_long_double): Likewise.
15656         * sysdeps/mips/mips64/libm-test-ulps: Update.
15658         * include/features.h (__USE_BSD): Remove macro definitions.
15659         (__USE_SVID): Likewise.
15660         (_BSD_SOURCE): Likewise.
15661         (_SVID_SOURCE): Likewise.
15662         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
15663         from definition of _DEFAULT_SOURCE.
15664         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
15665         [_DEFAULT_SOURCE].
15666         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
15667         * bits/mman.h [__USE_BSD]: Likewise.
15668         * bits/termios.h [__USE_BSD]: Likewise.
15669         * bits/waitstatus.h [__USE_BSD]: Likewise.
15670         * ctype/ctype.h [__USE_SVID]: Likewise.
15671         * dirent/dirent.h [__USE_BSD]: Likewise.
15672         * grp/grp.h [__USE_SVID]: Likewise.
15673         [__USE_BSD]: Likewise.
15674         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
15675         * io/fcntl.h [__USE_BSD]: Likewise.
15676         * io/ftw.h [__USE_BSD]: Likewise.
15677         * io/sys/stat.h [__USE_BSD]: Likewise.
15678         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
15679         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
15680         * libio/stdio.h [__USE_SVID]: Likewise.
15681         [__USE_BSD]: Likewise.
15682         * math/math.h [__USE_SVID]: Likewise.
15683         [__USE_BSD]: Likewise.
15684         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
15685         * misc/bits/syslog.h [__USE_BSD]: Likewise.
15686         * misc/search.h [__USE_SVID]: Likewise.
15687         * misc/sys/mman.h [__USE_BSD]: Likewise.
15688         * misc/sys/syslog.h [__USE_BSD]: Likewise.
15689         * misc/sys/uio.h [__USE_BSD]: Likewise.
15690         * posix/bits/unistd.h [__USE_BSD]: Likewise.
15691         * posix/glob.h [__USE_BSD]: Likewise.
15692         * posix/regex.h [__USE_BSD]: Likewise.
15693         * posix/sys/types.h [__USE_BSD]: Likewise.
15694         [__USE_SVID]: Likewise.
15695         * posix/sys/utsname.h [__USE_SVID]: Likewise.
15696         * posix/sys/wait.h [__USE_BSD]: Likewise.
15697         [__USE_SVID]: Likewise.
15698         * posix/unistd.h [__USE_BSD]: Likewise.
15699         [__USE_SVID]: Likewise.
15700         * pwd/pwd.h [__USE_SVID]: Likewise.
15701         * resolv/netdb.h [__USE_BSD]: Likewise.
15702         * setjmp/setjmp.h [__USE_BSD]: Likewise.
15703         * signal/signal.h [__USE_BSD]: Likewise.
15704         [__USE_SVID]: Likewise.
15705         * socket/sys/socket.h [__USE_BSD]: Likewise.
15706         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
15707         * stdlib/stdlib.h [__USE_BSD]: Likewise.
15708         [__USE_SVID]: Likewise.
15709         * string/bits/string2.h [__USE_BSD]: Likewise.
15710         [__USE_SVID]: Likewise.
15711         * string/bits/string3.h [__USE_BSD]: Likewise.
15712         * string/endian.h [__USE_BSD]: Likewise.
15713         * string/string.h [__USE_SVID]: Likewise.
15714         [__USE_BSD]: Likewise.
15715         * string/strings.h [__USE_BSD]: Likewise.
15716         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
15717         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
15718         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
15719         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
15720         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
15721         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
15722         Likewise.
15723         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
15724         Likewise.
15725         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
15726         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
15727         Likewise.
15728         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
15729         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
15730         Likewise.
15731         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
15732         Likewise.
15733         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
15734         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
15735         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
15736         Likewise.
15737         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
15738         Likewise.
15739         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
15740         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
15741         * termios/termios.h [__USE_BSD]: Likewise.
15742         * time/sys/time.h [__USE_BSD]: Likewise.
15743         * time/time.h [__USE_BSD]: Likewise.
15744         [__USE_SVID]: Likewise.
15746         * Makefile (subdir_targets): Remove subdir_lint.out.
15748         * stdio-common/Makefile (do-tst-unbputc): Remove target.
15749         (do-tst-printf): Likewise.
15750         (tests): Depend directly on $(objpfx)tst-unbputc.out and
15751         $(objpfx)tst-printf.out.
15753         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
15755         * Makerules (check-abi-%): Change target to
15756         $(objpfx)check-abi-%.out.
15757         (check-abi target): Update dependencies.
15758         (check-abi-pattern variable): Redirect output of diff to $@.
15759         (check-abi variable): Likewise.
15760         * elf/Makefile (check-abi): Update dependencies.
15762         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
15763         unused.
15764         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
15765         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
15766         subnormal range.
15767         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
15768         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
15769         value has largest subnormal exponent.
15770         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
15771         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
15772         * sysdeps/aarch64/soft-fp/sfp-machine.h
15773         (_FP_TININESS_AFTER_ROUNDING): New macro.
15774         * sysdeps/alpha/soft-fp/sfp-machine.h
15775         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15776         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15777         Likewise.
15778         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
15779         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15780         * sysdeps/mips/soft-fp/sfp-machine.h
15781         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15782         * sysdeps/powerpc/soft-fp/sfp-machine.h
15783         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15784         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15785         Likewise.
15786         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
15787         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15788         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
15789         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15790         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15791         Likewise.
15793 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
15795         [BZ #16545]
15796         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
15797         model 1.
15799 2014-02-12  Richard Henderson  <rth@redhat.com>
15801         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
15802         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
15803         * sysdeps/unix/sysv/linux/alpha: Move directory from
15804         ports/sysdeps/unix/sysv/linux/alpha.
15805         * README: Update listing for alpha-*-linux-gnu.
15807 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
15809         * include/features.h: Update comment documenting feature test
15810         macros.
15811         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
15812         _DEFAULT_SOURCE.
15813         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
15814         (_SVID_SOURCE): Likewise.
15815         (_DEFAULT_SOURCE): Update description of default features.
15816         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
15817         with _GNU_SOURCE.
15818         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
15819         (S_ISVTX): Likewise.
15820         * manual/math.texi (Mathematical Constants): Likewise.
15821         * manual/signal.texi (Interrupted Primitives): Likewise.
15822         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
15823         * math/test-matherr.c (_SVID_SOURCE): Do not define.
15824         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
15825         Don't refer to _SVID_SOURCE in warning text.
15827         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15829         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
15830         already defined.
15831         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
15832         * sysdeps/mips/dl-lookup.c: Remove.
15833         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
15835 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
15837         [BZ #16447]
15838         * math/auto-libm-test-in: Add testcase for expl.
15839         * math/auto-libm-test-out: Regenerate.
15840         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
15841         calculation of unsafe.
15842         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
15844 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
15846         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
15847         * sysdeps/unix/sysv/linux/aarch64: Move directory from
15848         ports/sysdeps/unix/sysv/linux/aarch64.
15849         * README: Update listing for aarch64*-*-linux-gnu.
15851 2014-02-11  Will Newton  <will.newton@linaro.org>
15853         * manual/probes.texi (Mathematical Function Probes): Use
15854         "triggered" instead of "hit".
15856         * manual/probes.texi (Internal Probes): Add documentation
15857         of setjmp, longjmp and longjmp_target probes.
15859         * include/stap-probe.h: Add comment about probe argument
15860         format.
15862         * malloc/mtrace.c (attribute_hidden): Remove unused macro
15863         definition.  (tr_where, tr_freehook, tr_mallochook,
15864         tr_reallochook, tr_memalignhook): Use ANSI protoype.
15866 2014-02-11  David S. Miller  <davem@davemloft.net>
15868         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
15869         processing int_tests.
15871 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
15873         * sysdeps/mips: Move directory from ports/sysdeps/mips.
15874         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
15875         * sysdeps/unix/sysv/linux/mips: Move directory from
15876         ports/sysdeps/unix/sysv/linux/mips.
15877         * README: Update listing for mips-*-linux-gnu and
15878         mips64-*-linux-gnu.
15880 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
15882         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
15883         * sysdeps/unix/sysv/linux/m68k: Move directory from
15884         ports/sysdeps/unix/sysv/linux/m68k.
15885         * README: Update listing for m68k-*-linux-gnu.
15887 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
15889         * sysdeps/tile: Move directory from ports/sysdeps/tile.
15890         * sysdeps/unix/sysv/linux/generic: Move directory from
15891         ports/sysdeps/unix/sysv/linux/generic.
15892         * sysdeps/unix/sysv/linux/tile: Move directory from
15893         ports/sysdeps/unix/sysv/linux/tile.
15894         * README: Update listing for tile*-*-linux-gnu.
15896 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
15898         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
15899         __builtin_expect.
15900         * benchtests/bench-memmem.c (simple_memmem): Likewise.
15901         * catgets/open_catalog.c (__open_catalog): Likewise.
15902         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
15903         * debug/confstr_chk.c: Likewise.
15904         * debug/fread_chk.c (__fread_chk): Likewise.
15905         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
15906         * debug/getgroups_chk.c: Likewise.
15907         * debug/mbsnrtowcs_chk.c: Likewise.
15908         * debug/mbsrtowcs_chk.c: Likewise.
15909         * debug/mbstowcs_chk.c: Likewise.
15910         * debug/memcpy_chk.c: Likewise.
15911         * debug/memmove_chk.c: Likewise.
15912         * debug/mempcpy_chk.c: Likewise.
15913         * debug/memset_chk.c: Likewise.
15914         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
15915         * debug/strcat_chk.c (__strcat_chk): Likewise.
15916         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
15917         * debug/strncat_chk.c (__strncat_chk): Likewise.
15918         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
15919         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
15920         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
15921         * debug/wcpncpy_chk.c: Likewise.
15922         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
15923         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
15924         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
15925         * debug/wcsncpy_chk.c: Likewise.
15926         * debug/wcsnrtombs_chk.c: Likewise.
15927         * debug/wcsrtombs_chk.c: Likewise.
15928         * debug/wcstombs_chk.c: Likewise.
15929         * debug/wmemcpy_chk.c: Likewise.
15930         * debug/wmemmove_chk.c: Likewise.
15931         * debug/wmempcpy_chk.c: Likewise.
15932         * debug/wmemset_chk.c: Likewise.
15933         * dirent/scandirat.c (SCANDIRAT): Likewise.
15934         * dlfcn/dladdr1.c (dladdr1): Likewise.
15935         * dlfcn/dladdr.c (dladdr): Likewise.
15936         * dlfcn/dlclose.c (dlclose_doit): Likewise.
15937         * dlfcn/dlerror.c (__dlerror): Likewise.
15938         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
15939         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
15940         * dlfcn/dlopen.c (dlopen_doit): Likewise.
15941         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
15942         * dlfcn/dlsym.c (dlsym_doit): Likewise.
15943         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
15944         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
15945         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
15946         Likewise.
15947         * elf/dl-conflict.c: Likewise.
15948         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
15949         * elf/dl-dst.h: Likewise.
15950         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
15951         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
15952         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
15953         * elf/dl-init.c (call_init, _dl_init): Likewise.
15954         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
15955         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
15956         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
15957         Likewise.
15958         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
15959         Likewise.
15960         * elf/dl-minimal.c (__libc_memalign): Likewise.
15961         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
15962         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
15963         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
15964         * elf/dl-sym.c (do_sym): Likewise.
15965         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
15966         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
15967         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
15968         * elf/dl-writev.h (_dl_writev): Likewise.
15969         * elf/ldconfig.c (search_dir): Likewise.
15970         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
15971         (dl_main): Likewise.
15972         * elf/setup-vdso.h (setup_vdso): Likewise.
15973         * grp/compat-initgroups.c (compat_call): Likewise.
15974         * grp/fgetgrent.c (fgetgrent): Likewise.
15975         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
15976         * grp/putgrent.c (putgrent): Likewise.
15977         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15978         Likewise.
15979         * hurd/hurdinit.c: Likewise.
15980         * iconvdata/8bit-gap.c (struct): Likewise.
15981         * iconvdata/ansi_x3.110.c : Likewise.
15982         * iconvdata/big5.c : Likewise.
15983         * iconvdata/big5hkscs.c : Likewise.
15984         * iconvdata/cp1255.c: Likewise.
15985         * iconvdata/cp1258.c : Likewise.
15986         * iconvdata/cp932.c : Likewise.
15987         * iconvdata/euc-cn.c: Likewise.
15988         * iconvdata/euc-jisx0213.c : Likewise.
15989         * iconvdata/euc-jp.c: Likewise.
15990         * iconvdata/euc-jp-ms.c : Likewise.
15991         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
15992         * iconvdata/gb18030.c : Likewise.
15993         * iconvdata/gbbig5.c (const): Likewise.
15994         * iconvdata/gbgbk.c: Likewise.
15995         * iconvdata/gbk.c : Likewise.
15996         * iconvdata/ibm1364.c : Likewise.
15997         * iconvdata/ibm930.c : Likewise.
15998         * iconvdata/ibm932.c: Likewise.
15999         * iconvdata/ibm933.c : Likewise.
16000         * iconvdata/ibm935.c : Likewise.
16001         * iconvdata/ibm937.c : Likewise.
16002         * iconvdata/ibm939.c : Likewise.
16003         * iconvdata/ibm943.c: Likewise.
16004         * iconvdata/iso_11548-1.c: Likewise.
16005         * iconvdata/iso-2022-cn.c : Likewise.
16006         * iconvdata/iso-2022-cn-ext.c : Likewise.
16007         * iconvdata/iso-2022-jp-3.c: Likewise.
16008         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
16009         * iconvdata/iso-2022-kr.c : Likewise.
16010         * iconvdata/iso646.c (gconv_end): Likewise.
16011         * iconvdata/iso_6937-2.c : Likewise.
16012         * iconvdata/iso_6937.c : Likewise.
16013         * iconvdata/iso8859-1.c: Likewise.
16014         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
16015         * iconvdata/shift_jisx0213.c : Likewise.
16016         * iconvdata/sjis.c : Likewise.
16017         * iconvdata/t.61.c : Likewise.
16018         * iconvdata/tcvn5712-1.c : Likewise.
16019         * iconvdata/tscii.c: Likewise.
16020         * iconvdata/uhc.c : Likewise.
16021         * iconvdata/unicode.c (gconv_end): Likewise.
16022         * iconvdata/utf-16.c (gconv_end): Likewise.
16023         * iconvdata/utf-32.c (gconv_end): Likewise.
16024         * iconvdata/utf-7.c (base64): Likewise.
16025         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
16026         * iconv/gconv_close.c (__gconv_close): Likewise.
16027         * iconv/gconv_open.c (__gconv_open): Likewise.
16028         * iconv/gconv_simple.c (internal_ucs4_loop_single)
16029         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
16030         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
16031         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
16032         (ucs4le_internal_loop_single): Likewise.
16033         * iconv/iconv.c (iconv): Likewise.
16034         * iconv/iconv_close.c: Likewise.
16035         * iconv/loop.c (SINGLE): Likewise.
16036         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
16037         * include/atomic.h: Likewise.
16038         * inet/inet6_option.c (option_alloc): Likewise.
16039         * intl/bindtextdom.c (set_binding_values): Likewise.
16040         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
16041         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
16042         * intl/localealias.c (read_alias_file): Likewise.
16043         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
16044         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
16045         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
16046         * libio/fmemopen.c (fmemopen): Likewise.
16047         * libio/iofgets.c (_IO_fgets): Likewise.
16048         * libio/iofgets_u.c (fgets_unlocked): Likewise.
16049         * libio/iofgetws.c (fgetws): Likewise.
16050         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
16051         * libio/iogetdelim.c (_IO_getdelim): Likewise.
16052         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
16053         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
16054         * locale/findlocale.c (_nl_find_locale): Likewise.
16055         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
16056         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
16057         Likewise.
16058         * locale/setlocale.c (setlocale): Likewise.
16059         * login/programs/pt_chown.c (main): Likewise.
16060         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
16061         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
16062         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
16063         (mmap, mmap64, mremap, munmap): Likewise.
16064         * math/e_exp2l.c: Likewise.
16065         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
16066         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
16067         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
16068         * math/s_catan.c (__catan): Likewise.
16069         * math/s_catanf.c (__catanf): Likewise.
16070         * math/s_catanh.c (__catanh): Likewise.
16071         * math/s_catanhf.c (__catanhf): Likewise.
16072         * math/s_catanhl.c (__catanhl): Likewise.
16073         * math/s_catanl.c (__catanl): Likewise.
16074         * math/s_ccosh.c (__ccosh): Likewise.
16075         * math/s_ccoshf.c (__ccoshf): Likewise.
16076         * math/s_ccoshl.c (__ccoshl): Likewise.
16077         * math/s_cexp.c (__cexp): Likewise.
16078         * math/s_cexpf.c (__cexpf): Likewise.
16079         * math/s_cexpl.c (__cexpl): Likewise.
16080         * math/s_clog10.c (__clog10): Likewise.
16081         * math/s_clog10f.c (__clog10f): Likewise.
16082         * math/s_clog10l.c (__clog10l): Likewise.
16083         * math/s_clog.c (__clog): Likewise.
16084         * math/s_clogf.c (__clogf): Likewise.
16085         * math/s_clogl.c (__clogl): Likewise.
16086         * math/s_csin.c (__csin): Likewise.
16087         * math/s_csinf.c (__csinf): Likewise.
16088         * math/s_csinh.c (__csinh): Likewise.
16089         * math/s_csinhf.c (__csinhf): Likewise.
16090         * math/s_csinhl.c (__csinhl): Likewise.
16091         * math/s_csinl.c (__csinl): Likewise.
16092         * math/s_csqrt.c (__csqrt): Likewise.
16093         * math/s_csqrtf.c (__csqrtf): Likewise.
16094         * math/s_csqrtl.c (__csqrtl): Likewise.
16095         * math/s_ctan.c (__ctan): Likewise.
16096         * math/s_ctanf.c (__ctanf): Likewise.
16097         * math/s_ctanh.c (__ctanh): Likewise.
16098         * math/s_ctanhf.c (__ctanhf): Likewise.
16099         * math/s_ctanhl.c (__ctanhl): Likewise.
16100         * math/s_ctanl.c (__ctanl): Likewise.
16101         * math/w_pow.c: Likewise.
16102         * math/w_powf.c: Likewise.
16103         * math/w_powl.c: Likewise.
16104         * math/w_scalb.c (sysv_scalb): Likewise.
16105         * math/w_scalbf.c (sysv_scalbf): Likewise.
16106         * math/w_scalbl.c (sysv_scalbl): Likewise.
16107         * misc/error.c (error_tail): Likewise.
16108         * misc/pselect.c (__pselect): Likewise.
16109         * nis/nis_callback.c (__nis_create_callback): Likewise.
16110         * nis/nis_call.c (__nisfind_server): Likewise.
16111         * nis/nis_creategroup.c (nis_creategroup): Likewise.
16112         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
16113         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
16114         * nis/nis_getservlist.c (nis_getservlist): Likewise.
16115         * nis/nis_lookup.c (nis_lookup): Likewise.
16116         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
16117         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
16118         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
16119         * nis/nis_xdr.c (xdr_endpoint): Likewise.
16120         * nis/nss_compat/compat-grp.c (getgrent_next_file)
16121         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
16122         * nis/nss_compat/compat-initgroups.c (add_group)
16123         (internal_getgrent_r): Likewise.
16124         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
16125         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
16126         * nis/nss_compat/compat-spwd.c (getspent_next_file)
16127         (internal_getspnam_r): Likewise.
16128         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
16129         (_nss_nis_getaliasbyname_r): Likewise.
16130         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
16131         (_nss_nis_getntohost_r): Likewise.
16132         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
16133         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
16134         (_nss_nis_getgrgid_r): Likewise.
16135         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
16136         (internal_nis_gethostent_r, internal_gethostbyname2_r)
16137         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
16138         (_nss_nis_gethostbyname4_r): Likewise.
16139         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
16140         (initgroups_netid): Likewise.
16141         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
16142         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
16143         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
16144         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
16145         (_nss_nis_getprotobynumber_r): Likewise.
16146         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
16147         (_nss_nis_getsecretkey): Likewise.
16148         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
16149         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
16150         (_nss_nis_getpwuid_r): Likewise.
16151         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
16152         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
16153         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
16154         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
16155         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
16156         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
16157         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
16158         Likewise.
16159         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
16160         (_nss_nisplus_getntohost_r): Likewise.
16161         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
16162         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
16163         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
16164         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
16165         Likewise.
16166         * nis/nss_nisplus/nisplus-initgroups.c
16167         (_nss_nisplus_initgroups_dyn): Likewise.
16168         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
16169         (_nss_nisplus_getnetbyaddr_r): Likewise.
16170         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
16171         (_nss_nisplus_getprotobynumber_r): Likewise.
16172         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
16173         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
16174         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
16175         Likewise.
16176         * nis/nss_nisplus/nisplus-service.c
16177         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
16178         (_nss_nisplus_getservbyport_r): Likewise.
16179         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
16180         (_nss_nisplus_getspnam_r): Likewise.
16181         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
16182         Likewise.
16183         * nscd/aicache.c (addhstaiX): Likewise.
16184         * nscd/cache.c (cache_search, prune_cache): Likewise.
16185         * nscd/connections.c (register_traced_file, send_ro_fd)
16186         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
16187         (main_loop_epoll): Likewise.
16188         * nscd/grpcache.c (addgrbyX): Likewise.
16189         * nscd/hstcache.c (addhstbyX): Likewise.
16190         * nscd/initgrcache.c (addinitgroupsX): Likewise.
16191         * nscd/mem.c (gc, mempool_alloc): Likewise.
16192         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
16193         (addinnetgrX): Likewise.
16194         * nscd/nscd-client.h (__nscd_acquire_maplock)
16195         (__nscd_drop_map_ref): Likewise.
16196         * nscd/nscd_getai.c (__nscd_getai): Likewise.
16197         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
16198         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
16199         Likewise.
16200         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
16201         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
16202         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
16203         (__nscd_get_map_ref): Likewise.
16204         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
16205         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
16206         Likewise.
16207         * nscd/pwdcache.c (addpwbyX): Likewise.
16208         * nscd/selinux.c (preserve_capabilities): Likewise.
16209         * nscd/servicescache.c (addservbyX): Likewise.
16210         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
16211         * posix/fnmatch.c (fnmatch): Likewise.
16212         * posix/getopt.c (_getopt_internal_r): Likewise.
16213         * posix/glob.c (glob, glob_in_dir): Likewise.
16214         * posix/wordexp.c (exec_comm_child): Likewise.
16215         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
16216         (getanswer_r, gaih_getanswer_slice): Likewise.
16217         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
16218         * resolv/res_init.c: Likewise.
16219         * resolv/res_mkquery.c (res_nmkquery): Likewise.
16220         * resolv/res_query.c (__libc_res_nquery): Likewise.
16221         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
16222         Likewise.
16223         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
16224         * stdio-common/perror.c (perror): Likewise.
16225         * stdio-common/printf_fp.c (___printf_fp): Likewise.
16226         * stdio-common/tmpnam.c (tmpnam): Likewise.
16227         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
16228         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
16229         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
16230         Likewise.
16231         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
16232         * stdlib/putenv.c (putenv): Likewise.
16233         * stdlib/setenv.c (__add_to_environ): Likewise.
16234         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16235         * stdlib/strtol_l.c (INTERNAL): Likewise.
16236         * string/memmem.c (memmem): Likewise.
16237         * string/strerror.c (strerror): Likewise.
16238         * string/strnlen.c (__strnlen): Likewise.
16239         * string/test-memmem.c (simple_memmem): Likewise.
16240         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
16241         * sunrpc/pm_getport.c (__get_socket): Likewise.
16242         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
16243         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
16244         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
16245         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
16246         Likewise.
16247         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
16248         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
16249         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
16250         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
16251         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
16252         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
16253         Likewise.
16254         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
16255         Likewise.
16256         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
16257         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
16258         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16259         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
16260         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
16261         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
16262         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
16263         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
16264         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
16265         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
16266         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
16267         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
16268         Likewise.
16269         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
16270         Likewise.
16271         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
16272         Likewise.
16273         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
16274         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16275         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
16276         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
16277         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
16278         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
16279         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16280         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
16281         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
16282         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
16283         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
16284         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16285         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
16286         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
16287         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16288         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
16289         Likewise.
16290         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
16291         Likewise.
16292         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
16293         Likewise.
16294         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
16295         Likewise.
16296         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16297         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16298         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
16299         Likewise.
16300         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
16301         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
16302         * sysdeps/posix/opendir.c (__opendirat): Likewise.
16303         * sysdeps/posix/sleep.c: Likewise.
16304         * sysdeps/posix/tempname.c: Likewise.
16305         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
16306         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16307         Likewise.
16308         * sysdeps/powerpc/powerpc32/dl-machine.h
16309         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
16310         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
16311         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16312         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
16313         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
16314         Likewise.
16315         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
16316         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
16317         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
16318         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
16319         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
16320         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
16321         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
16322         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
16323         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16324         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
16325         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
16326         (elf_machine_lazy_rel): Likewise.
16327         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
16328         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
16329         (elf_machine_lazy_rel): Likewise.
16330         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
16331         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
16332         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
16333         * sysdeps/unix/grantpt.c (grantpt): Likewise.
16334         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
16335         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
16336         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
16337         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16338         Likewise.
16339         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
16340         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
16341         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
16342         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
16343         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
16344         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
16345         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
16346         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
16347         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
16348         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
16349         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
16350         Likewise.
16351         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
16352         (__posix_fallocate64_l64): Likewise.
16353         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
16354         (posix_fallocate): Likewise.
16355         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
16356         Likewise.
16357         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16358         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
16359         (getifaddrs_internal): Likewise.
16360         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
16361         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
16362         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
16363         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
16364         * sysdeps/unix/sysv/linux/posix_fallocate64.c
16365         (__posix_fallocate64_l64): Likewise.
16366         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
16367         Likewise.
16368         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
16369         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
16370         (__get_clockfreq): Likewise.
16371         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
16372         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
16373         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
16374         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16375         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16376         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
16377         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
16378         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
16379         Likewise.
16380         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
16381         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
16382         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
16383         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
16384         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
16385         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
16386         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
16387         Likewise.
16388         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16389         (posix_fallocate): Likewise.
16390         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16391         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
16392         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
16393         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
16394         (elf_machine_rela, elf_machine_rela_relative)
16395         (elf_machine_lazy_rel): Likewise.
16396         * time/asctime.c (asctime_internal): Likewise.
16397         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
16398         * time/tzset.c (__tzset_parse_tz): Likewise.
16399         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
16400         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
16401         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
16402         * wcsmbs/wcsmbsload.h: Likewise.
16404         [BZ #15894]
16405         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
16407         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
16408         (arena_get2): Remove THREAD_STATS conditionals.
16409         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
16410         (__malloc_stats, int): Likewise.
16412 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
16414         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
16415         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
16417         * manual/setjmp.texi: Fix typos/grammar errors.
16419         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
16420         Only return early when n is <= 0.  Delete unused return statement.
16422         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
16423         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
16424         * debug/tst-longjmp_chk3.c: New file.
16426         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
16427         (test_main): Replace code with set_fortify_handler call.
16428         * debug/test-strcpy_chk.c: Likewise.
16429         * debug/tst-chk1.c: Likewise.
16430         * debug/tst-longjmp_chk.c: Likewise.
16431         * test-skeleton.c: Include fcntl.h & paths.h
16432         (set_fortify_handler): Define.
16434         * debug/tst-longjmp_chk.c: Add header comment and include
16435         ../test-skeleton.c.
16436         (do_test): Mark static.
16437         (TEST_FUNCTION): Define.
16439         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
16440         (IP_PMTUDISC_INTERFACE): Likewise.
16441         (IP_MULTICAST_IF): Likewise.
16442         (IP_MULTICAST_TTL): Likewise.
16443         (IP_MULTICAST_LOOP): Likewise.
16444         (IP_ADD_MEMBERSHIP): Likewise.
16445         (IP_DROP_MEMBERSHIP): Likewise.
16446         (IP_UNBLOCK_SOURCE): Likewise.
16447         (IP_BLOCK_SOURCE): Likewise.
16448         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
16449         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
16450         (IP_MSFILTER): Likewise.
16451         (MCAST_JOIN_GROUP): Likewise.
16452         (MCAST_BLOCK_SOURCE): Likewise.
16453         (MCAST_UNBLOCK_SOURCE): Likewise.
16454         (MCAST_LEAVE_GROUP): Likewise.
16455         (MCAST_JOIN_SOURCE_GROUP): Likewise.
16456         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
16457         (MCAST_MSFILTER): Likewise.
16458         (IP_MULTICAST_ALL): Likewise.
16459         (IP_UNICAST_IF): Likewise.
16461         * timezone/Makefile: Delete $(have-ksh) check.
16462         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
16463         * timezone/tzselect.ksh: Add +x mode bits.
16465         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
16466         (ANON_INODE_FS_MAGIC): Likewise.
16467         (BDEVFS_MAGIC): Likewise.
16468         (BINFMTFS_MAGIC): Likewise.
16469         (BTRFS_TEST_MAGIC): Likewise.
16470         (CRAMFS_MAGIC_WEND): Likewise.
16471         (DEBUGFS_MAGIC): Likewise.
16472         (ECRYPTFS_SUPER_MAGIC): Likewise.
16473         (EXT3_SUPER_MAGIC): Likewise.
16474         (EXT4_SUPER_MAGIC): Likewise.
16475         (FUTEXFS_SUPER_MAGIC): Likewise.
16476         (HOSTFS_SUPER_MAGIC): Likewise.
16477         (HUGETLBFS_MAGIC): Likewise.
16478         (MINIX3_SUPER_MAGIC): Likewise.
16479         (MTD_INODE_FS_MAGIC): Likewise.
16480         (NILFS_SUPER_MAGIC): Likewise.
16481         (OPENPROM_SUPER_MAGIC): Likewise.
16482         (PIPEFS_MAGIC): Likewise.
16483         (PSTOREFS_MAGIC): Likewise.
16484         (QNX6_SUPER_MAGIC): Likewise.
16485         (RAMFS_MAGIC): Likewise.
16486         (REISERFS_SUPER_MAGIC_STRING): Likewise.
16487         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
16488         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
16489         (SECURITYFS_MAGIC): Likewise.
16490         (SELINUX_MAGIC): Likewise.
16491         (SMACK_MAGIC): Likewise.
16492         (SOCKFS_MAGIC): Likewise.
16493         (SQUASHFS_MAGIC): Likewise.
16494         (STACK_END_MAGIC): Likewise.
16495         (TMPFS_MAGIC): Likewise.
16496         (USBDEVICE_SUPER_MAGIC): Likewise.
16497         (V9FS_MAGIC): Likewise.
16498         (XENFS_SUPER_MAGIC): Likewise.
16499         (CRAMFS_MAGIC): Fix typo in comment.
16500         (EXT2_SUPER_MAGIC): Update comment.
16501         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
16503 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
16505         * sysdeps/arm: Move directory from ports/sysdeps/arm.
16506         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
16507         * sysdeps/unix/sysv/linux/arm: Move directory from
16508         ports/sysdeps/unix/sysv/linux/arm.
16509         * README: Update listing for arm-*-linux-gnueabi.
16511         * README: Remove mention of am33.
16513 2014-02-07  Roland McGrath  <roland@hack.frob.com>
16515         * bits/sigset.h (__sigemptyset): Use a statement expression rather
16516         than the comma operator, to avoid "rhs of comma has no effect"
16517         compiler warnings.
16518         (__sigfillset, __sigandset, __sigorset): Likewise.
16519         * include/signal.h (__sigemptyset): Likewise.
16520         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
16522 2014-02-07  Allan McRae  <allan@archlinux.org>
16524         * version.h (RELEASE): Set to "development".
16525         (VERSION): Set to "2.19.90"
16526         * NEWS: Add 2.20 section.
16528 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
16530         [BZ #16529]
16531         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
16533 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
16535         * manual/contrib.texi: Update entry for Carlos O'Donell,
16536         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
16538 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
16540         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
16542         * sysdeps/unix/sysv/linux/kernel-features.h
16543         [__LINUX_KERNEL_VERSION >= 0x020621]
16544         (__ASSUME_PROC_PID_TASK_COMM): Define.
16546 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
16548         [BZ #16398]
16549         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
16550         conversion when destination buffer does not have enough space.
16551         * libio/tst-ftell-partial-wide.c: New test case.
16552         * libio/Makefile (tests): Add tst-ftell-partial-wide.
16554         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
16555         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
16556         Leonard and Allan McRae.
16558 2014-02-04  David S. Miller  <davem@davemloft.net>
16560         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
16561         32-bit.
16563 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
16566         New file
16567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
16568         New file
16569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
16570         New file.
16571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
16572         New file.
16573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
16574         New file.
16575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
16576         New file.
16577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
16578         New file.
16579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
16580         New file.
16581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
16582         New file.
16583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
16584         New file.
16585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
16586         New file.
16587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
16588         New file.
16589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
16590         New file.
16592 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16594         * nptl/shlib-versions: Change powerpc*le start to 2.17.
16595         * shlib-versions: Likewise.
16597 2014-02-04  Roland McGrath  <roland@hack.frob.com>
16598             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16600         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
16601         (abilist-pattern): New variable, set to %-le.abilist.
16603         * Makerules (abilist-pattern): New variable.
16604         (vpath): Use $(abilist-pattern) in place of %.abilist.
16605         (check-abi-% pattern rule): Likewise.
16606         (check-abi, update-abi): Likewise.
16608 2014-02-04  Eric Wong  <normalperson@yhbt.net>
16610         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16612 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
16614         * manual/startup.texi: Add next, previous, and top entries for
16615         the `Program Arguments' and `Environment Variables' nodes.
16617 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
16619         * manual/macros.texi: Add comments before MTASC-safety macros.
16621         * manual/users.texi: Document MTASC-safety properties.
16623         * manual/threads.texi (pthread_key_create, pthread_key_delete)
16624         (pthread_getspecific, pthread_setspecific): Format with
16625         @deftypefun, and add @safety note.
16626         * manual/signal.texi: Move comments that analyze the above
16627         functions to their home place.
16629 2014-02-03  Allan McRae  <allan@archlinux.org>
16631         * po/sl.po: Update Slovenian translation from translation project.
16633 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
16635         * manual/time.texi (timegm): Add missing blank after @c.
16636         Reported by Joseph Myers <joseph@codesourcery.com>.
16638 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
16640         * manual/check-safety.sh: New.
16641         * manual/Makefile ($(objpfx)stamp-summary): Run it.
16643         * manual/terminal.texi: Document MTASC-safety properties.
16645         * manual/filesys.texi: Document MTASC-safety properties.
16647         * manual/errno.texi: Document MTASC-safety properties.
16649         * manual/intro.texi: Document safety identifiers and
16650         conditionals.
16652         * manual/string.texi (wcstok): Fix prototype.
16653         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
16655         * manual/time.texi: Document MTASC-safety properties.
16657         * manual/string.texi: Document MTASC-safety properties.
16659         * manual/threads.texi: Document MTASC-safety properties.
16661         * manual/stdio.texi: Document MTASC-safety properties.
16663         * manual/syslog.texi: Document MTASC-safety properties.
16665         * manual/sysinfo.texi: Document MTASC-safety properties.
16667         * manual/startup.texi: Document MTASC-safety properties.
16669         * manual/socket.texi: Document MTASC-safety properties.
16671         * manual/signal.texi: Document MTASC-safety properties.
16673 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
16675         * manual/setjmp.texi: Document MTASC-safety properties.
16677         * manual/search.texi: Document MTASC-safety properties.
16679         * manual/resource.texi: Document MTASC-safety properties.
16681         * manual/process.texi: Document MTASC-safety properties.
16683         * manual/platform.texi: Document MTASC-safety properties.
16685         * manual/pipe.texi: Document MTASC-safety properties.
16687         * manual/pattern.texi: Document MTASC-safety properties.
16689         * manual/message.texi: Document MTASC-safety properties.
16691         [BZ #12751]
16692         * manual/memory.texi: Document MTASC-safety properties.
16694         * manual/math.texi: Document MTASC-safety properties.
16696         * manual/locale.texi: Document MTASC-safety properties.
16698         * manual/llio.texi: Document MTASC-safety properties.
16700         * manual/libdl.texi: New.
16702         * manual/lang.texi: Document MTASC-safety properties.
16704         * manual/job.texi: Document MTASC-safety properties.
16706         * manual/getopt.texi: Document MTASC-safety properties.
16708         * manual/ctype.texi: Document MTASC-safety properties.
16710 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
16712         [BZ #16046]
16713         * csu/libc-tls.c (static_map): Remove variable.
16714         (__libc_setup_tls): Use main executable's link map for TLS data.
16715         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
16716         casing for LM_ID_BASE and GL(dl_nns).
16717         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
16718         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
16719         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
16720         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
16721         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
16722         member.
16723         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
16724         l_phnum members.
16726 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
16728         * manual/debug.texi: Document MTASC-safety properties.
16730 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
16732         [BZ #16510]
16733         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
16734         of __x86_64__ when disabling x87 inline functions.
16736 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
16738         * manual/charset.texi: Document MTASC-safety properties.
16740         * manual/crypt.texi: Document MTASC-safety properties.
16742         * manual/conf.texi: Document MTASC-safety properties.
16744         * manual/arith.texi: Document MTASC-safety properties.
16746         * manual/argp.texi: Document MTASC-safety properties.
16748         * manual/macros.texi: Introduce macros to document multi
16749         thread, asynchronous signal and asynchronous cancellation
16750         safety properties.
16751         * manual/intro.texi: Introduce the properties themselves.
16753 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16755         * sysdeps/sh/sh4/Makefile: New file.
16757 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
16759         * math/gen-libm-test.pl ($srcdir): New variable.
16760         ($auto_input): Use it.
16762 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
16764         [BZ #16506]
16765         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
16766         access beyond array bounds when parsing netgroups file.
16768         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
16769         the old buffer before realloc.
16771 2014-01-27  Allan McRae  <allan@archlinux.org>
16773         * po/fr.po: Update French translation from translation project.
16775 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16777         * sysdeps/sh/libm-test-ulps: Regenerate.
16779 2014-01-24  David S. Miller  <davem@davemloft.net>
16781         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
16783 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16785         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
16786         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
16788 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16790         [BZ #16474]
16791         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
16792         string pointers after reallocation.
16794 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16796         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
16797         __SH4A__ instead of __SH_FPU_ANY__.
16799 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16801         * sysdeps/sh/fpu_control.h: New file.
16802         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
16803         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
16804         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
16805         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
16806         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
16807         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
16808         * sysdeps/sh/sys/ucontext.h: Remove.
16809         * sysdeps/sh/sys: Remove directory.
16811 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16813         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
16814         s390/sys/ucontext.h.
16815         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
16816         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
16818 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
16820         [BZ #15605]
16821         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
16823 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16825         [BZ#16431]
16826         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16827         Adjust the vDSO correctly for internal calls.
16828         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
16830 2014-01-20  Allan McRae  <allan@archlinux.org>
16832         * po/ca.po: Update Catalan translation from translation project.
16834 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
16836         * sysdeps/s390/sotruss-lib.c: New file.
16838 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16840         [BZ#16430]
16841         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
16842         (__GI___gettimeofday): Alias for a different internal symbol to avoid
16843         local calls issues by not having a PLT stub required for IFUNC calls.
16844         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
16846 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
16848         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
16849         * math/test-fpucw-static.c: Likewise.
16851 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16853         [BZ #16453]
16854         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
16856 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16858         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
16859         implementation for powerpc.
16861 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
16863         [BZ #14782]
16864         * sysdeps/posix/system.c (__libc_system): Do not enable
16865         asynchronous cancellation.
16867 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16869         [BZ #16427]
16870         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
16871         handling only for numbers special also in the IEEE case.
16873 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16875         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16877 2014-01-11  Allan McRae  <allan@archlinux.org>
16879         * po/bg.po: Update Bulgarian translation from translation project.
16881         * po/de.po: Update German translation from translation project.
16883 2014-01-10  Roland McGrath  <roland@hack.frob.com>
16885         * sysdeps/generic/gcc-compat.h: New file.
16887 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16889         * benchtests/asin-inputs: Correct slow inputs.
16890         * benchtests/acos-inputs: Likewise.
16892 2014-01-10  Allan McRae  <allan@archlinux.org>
16894         * po:sv.po: Update Swedish translation from translation project.
16896         * po/vi.po: Update Vietnamese translation from translation project.
16898         * po/eo.po: Update Esperanto translation from translation project.
16900         * po/cs.po: Update Czech translation from translation project.
16902         * po/nl.po: Update Dutch translation from translation project.
16904         * po/pl.po: Update Polish translation from translation project.
16906         * po/ru.po: Update Russian translation from translation project.
16908         * po/uk.po: Update Ukrainian translation from translation project.
16910 2014-01-08  Brooks Moses  <bmoses@google.com>
16912         * elf/dl-load.c: Fix comment typo.
16914 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
16916         * po/header.pot: Rename to...
16917         * po/pot.header: ... this.
16918         * po/Makefile: Use pot.header.
16920 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
16921             Maxim Kuvyrkov  <maxim@kugelworks.com>
16923         [BZ #16394]
16924         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
16925         SRC and DEST against LEN.
16927 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16929         [BZ #16414]
16930         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
16931         implementation.
16932         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
16934 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16936         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16938 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
16940         [BZ #16408]
16941         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
16942         for large positive arguments.
16944 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
16946         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16948         * math/auto-libm-test-in: Mark various tests with
16949         xfail-rounding:ldbl-128ibm.
16950         * math/auto-libm-test-out: Regenerated.
16952         [BZ #16407]
16953         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
16954         Increase overflow threshold.
16956 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
16958         [BZ #14286]
16959         * stdio-common/vfprintf.c: Check for integer overflow.
16961 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16963         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
16964         the first argument and return value of __tls_get_addr_internal.
16966 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16968         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
16969         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
16971 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16973         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
16974         * sysdeps/s390/rtld-global-offsets.sym: New file.
16975         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
16976         GLIBC_2.19 symbol.
16977         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
16978         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
16979         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
16980         ... this.
16981         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
16982         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
16983         ... this.
16984         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16985         Regenerate.
16986         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16987         Regenerate.
16988         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
16989         halfs of GPRs for high_gprs contexts.
16990         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
16991         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
16992         field.
16993         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
16994         uc_flags field.
16995         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
16996         64 bit versions:
16997         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
16998         for high GPRs (uc_high_gprs) and for future extensions
16999         (__reserved).
17000         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
17001         for future extensions (__reserved).
17002         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
17003         64 bit versions:
17004         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
17005         SC_HIGHGPRS offset definition.
17006         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
17007         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
17009         * Versions.def: Add GLIBC_2.19 for libpthread.
17010         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
17011         siglongjmp for libpthread with GLIBC_2.19 symver.
17012         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
17013         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
17014         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
17015         * sysdeps/s390/__longjmp.c: New file.
17016         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
17017         * sysdeps/s390/longjmp.c: New file.
17018         * sysdeps/s390/setjmp.S: New file.
17019         * sysdeps/s390/sigjmp.S: New file.
17020         * sysdeps/s390/v1-longjmp.c: New file.
17021         * sysdeps/s390/v1-setjmp.h: New file.
17022         * sysdeps/s390/v1-sigjmp.c: New file.
17023         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
17024         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
17025         GLIBC_2.19 version.
17026         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
17027         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
17028         versioned symbols for ____longjmp_chk.
17029         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
17030         Likewise.
17031         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17032         Regenerate.
17033         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17034         Regenerate.
17035         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17036         Regenerate.
17037         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17038         Regenerate.
17039         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
17040         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
17041         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
17042         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
17043         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
17044         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
17045         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
17046         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
17047         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
17048         * sysdeps/s390/rtld-__longjmp.c: New file.
17049         * sysdeps/s390/rtld-setjmp.S: New file.
17051 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
17053         [BZ #16400]
17054         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
17055         Return -__logl (x) for small positive arguments without evaluating
17056         a polynomial.
17058 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
17060         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
17061         Rename to ...
17062         (__ptrace_peeksiginfo_args): ... this.
17063         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17064         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17065         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17067 2014-01-06  Allan McRae  <allan@archlinux.org>
17069         * inet/netinet/in.h: Fix typo in comment.
17071 2014-01-05  Andreas Jaeger  <aj@suse.de>
17073         * sysdeps/i386/fpu/libm-test-ulps: Update.
17075 2014-01-05  Allan McRae  <allan@archlinux.org>
17077         * po/libc.pot: Regenerated.
17079         * malloc/memusagestat.c: Fix gettext call formatting.
17081 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
17083         * nscd/nscd.c: Improve usage() output.
17085 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
17087         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
17088         * sysdeps/unix/sysv/linux/configure: Regenerated.
17089         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
17090         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
17092 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
17094         [BZ #16390]
17095         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17096         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
17098 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17100         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
17101         extra tokens at end of #undef directive.
17102         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
17103         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
17104         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
17106 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
17108         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17110         * math/auto-libm-test-in: Mark various tests with
17111         xfail-rounding:ldbl-128ibm.
17112         * math/auto-libm-test-out: Regenerated.
17114 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
17116         [BZ #16386]
17117         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
17118         numbers with subnormal high part when calculating exponent.
17120         [BZ #16385]
17121         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
17122         fabs.
17124         [BZ #16384]
17125         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
17126         M_LN2l.
17127         (__ieee754_acoshl): Use __log1pl not __log1p.
17129 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
17131         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
17132         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
17133         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
17134         (grow_heap, heap_trim, _int_new_arena, get_free_list)
17135         (reused_arena, arena_get2): Convert to GNU style.
17136         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
17137         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
17138         (memalign_check, __malloc_set_state): Likewise.
17139         * malloc/mallocbug.c (main): Likewise.
17140         * malloc/malloc.c (__malloc_assert, malloc_init_state)
17141         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
17142         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
17143         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
17144         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
17145         (__posix_memalign, malloc_info): Likewise.
17146         * malloc/malloc.h: Likewise.
17147         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
17148         (mallochook, memalignhook, reallochook, mabort): Likewise.
17149         * malloc/mcheck.h: Likewise.
17150         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
17151         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
17152         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
17153         * malloc/morecore.c (__default_morecore): Likewise.
17154         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
17155         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
17156         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
17157         (print_and_abort): Likewise.
17158         * malloc/obstack.h: Likewise.
17159         * malloc/set-freeres.c (__libc_freeres): Likewise.
17160         * malloc/tst-mallocstate.c (main): Likewise.
17161         * malloc/tst-mtrace.c (main): Likewise.
17162         * malloc/tst-realloc.c (do_test): Likewise.
17164 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
17166         [BZ #16366]
17167         * nscd/netgroupcache.c (do_notfound): New function.
17168         (addgetnetgrentX): Use it.
17170         [BZ # 16365]
17171         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
17172         NSS_STATUS_NOTFOUND.
17174 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
17176         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17177         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17179 2014-01-01  Allan McRae  <allan@archlinux.org>
17181         * scripts/update-copyrights: Update configure input file suffix.
17183         * NEWS: Update copyright year.
17184         * catgets/gencat.c: Likewise.
17185         * csu/version.c: Likewise.
17186         * debug/catchsegv.sh: Likewise.
17187         * debug/pcprofiledump.c: Likewise.
17188         * debug/xtrace.sh: Likewise.
17189         * elf/ldconfig.c: Likewise.
17190         * elf/ldd.bash.in: Likewise.
17191         * elf/pldd.c: Likewise.
17192         * elf/sotruss.ksh: Likewise.
17193         * elf/sprof.c: Likewise.
17194         * iconv/iconv_prog.c: Likewise.
17195         * iconv/iconvconfig.c: Likewise.
17196         * locale/programs/locale.c: Likewise.
17197         * locale/programs/localedef.c: Likewise.
17198         * login/programs/pt_chown.c: Likewise.
17199         * malloc/memusage.sh: Likewise.
17200         * malloc/memusagestat.c: Likewise.
17201         * malloc/mtrace.pl: Likewise.
17202         * manual/libc.texinfo: Likewise.
17203         * nscd/nscd.c: Likewise.
17204         * nss/getent.c: Likewise.
17205         * nss/makedb.c: Likewise.
17206         * posix/getconf.c: Likewise.
17207         * scripts/test-installation.pl: Likewise.
17209         * All files with FSF copyright notices: Update copyright dates
17210         using scripts/update-copyrights.
17211         * intl/plural.c: Regenerated.
17212         * locale/programs/charmap-kw.h: Likewise.
17213         * locale/programs/locfile-kw.h: Likewise.
17215 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
17217         * sysdeps/unix/sysv/linux/configure: Regenerated.
17218         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
17219         the linux/fanotify.h header.
17220         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
17221         HAVE_LINUX_FANOTIFY_H is defined.
17223 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
17225         * benchtests/cos-inputs: New inputs.
17226         * benchtests/sin-inputs: Likewise.
17228         * benchtests/atan-inputs: New inputs. Fix name of multiple
17229         precision fallback inputs.
17231         * benchtests/atanh-inputs: New inputs.
17232         * benchtests/tanh-inputs: Likewise.
17234         * benchtests/acosh-inputs: New inputs.
17235         * benchtests/asinh-inputs: Likewise.
17237         * benchtests/cosh-inputs: New inputs.
17238         * benchtests/sinh-inputs: Likewise.
17240         * benchtests/acos-inputs: Add more inputs.
17241         * benchtests/asin-inputs: Likewise.
17243 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
17245         [BZ #16375]
17246         * manual/arith.texi: Fix spelling.
17247         * manual/charset.texi: Likewise.
17248         * manual/errno.texi: Likewise.
17249         * manual/filesys.texi: Likewise.
17250         * manual/lang.texi: Likewise.
17251         * manual/llio.texi: Likewise.
17252         * manual/locale.texi: Likewise.
17253         * manual/message.texi: Likewise.
17254         * manual/resource.texi: Likewise.
17255         * manual/search.texi: Likewise.
17256         * manual/setjmp.texi: Likewise.
17257         * manual/stdio.texi: Likewise.
17258         * manual/string.texi: Likewise.
17259         * manual/sysinfo.texi: Likewise.
17260         * manual/time.texi: Likewise.
17262 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
17264         * po/sl.po: New file.
17266 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
17268         * .gitignore: Add core/.gdbinit/.gdb_history.
17270 2013-12-27  Allan McRae  <allan@archlinux.org>
17272         [BZ #16369]
17273         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
17274         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
17276 2013-12-24  Brooks Moses  <bmoses@google.com>
17278         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
17279         all compilers that claim C++98 compliance, not just GCC.
17280         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
17281         Likewise.
17283 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
17285         * NEWS: Restore accidentally deleted bug-fix entries.
17287 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
17288             Ondřej Bílka  <neleai@seznam.cz>
17290         [BZ #15073]
17291         * malloc/malloc.c (_int_free): Perform sanity check only if we
17292         have_lock.
17294 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
17296         [BZ #12986]
17297         * manual/stdio.texi (String Input Conversions): Clarify that character
17298         classes are not supported.
17300 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17302         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17304 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
17306         [BZ #16337]
17307         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
17308         Calculate results for small negative arguments directly rather
17309         than using reflection formula with special underflow handling.
17311         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
17312         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
17313         sysdeps/unix/bsd/bsd4.4/syscalls.list.
17314         (fchflags): Likewise.
17315         (revoke): Likewise.
17316         (setlogin): Likewise.
17317         (sigaltstack): Likewise.
17318         (wait4): Likewise.
17319         (sigblock): Remove.
17320         (sigsetmask): Likewise.
17321         (wait3): Likewise.
17322         (waitpid): Likewise.
17323         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
17324         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
17325         file.
17326         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
17327         * sysdeps/unix/bsd/Makefile: ... here.
17328         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
17329         * sysdeps/unix/bsd/Versions: ... here.
17330         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
17331         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
17332         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
17333         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
17334         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
17335         * sysdeps/unix/bsd/sigblock.c: ... here.
17336         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
17337         * sysdeps/unix/bsd/sigsetmask.c: ... here.
17338         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
17339         * sysdeps/unix/bsd/sigvec.c: ... here.
17340         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
17341         * sysdeps/unix/bsd/tcdrain.c: ... here.
17342         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
17343         * sysdeps/unix/bsd/tcgetattr.c: ... here.
17344         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
17345         * sysdeps/unix/bsd/tcsetattr.c: ... here.
17346         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
17347         * sysdeps/unix/bsd/wait.c: ... here.
17348         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
17349         * sysdeps/unix/bsd/wait3.c: ... here.
17350         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
17351         * sysdeps/unix/bsd/waitpid.c: ... here.
17353 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
17355         [BZ #16356]
17356         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
17357         round-to-nearest for [!USE_AS_EXPM1L].
17358         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
17359         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
17360         more tests of exp and exp10.  Expect some exp10 tests to miss
17361         exceptions or fail in directed rounding modes.
17362         * math/auto-libm-test-out: Regenerated.
17363         * math/libm-test.inc (exp10_tonearest_test_data): New array.
17364         (exp10_test_tonearest): New function.
17365         (exp10_towardzero_test_data): New array.
17366         (exp10_test_towardzero): New function.
17367         (exp10_downward_test_data): New array.
17368         (exp10_test_downward): New function.
17369         (exp10_upward_test_data): New array.
17370         (exp10_test_upward): New function.
17371         (main): Call the new functions.
17372         * sysdeps/i386/fpu/libm-test-ulps: Update.
17373         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17375 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
17377         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
17378         asinh, atan, atan2, atanh, cbrt, cos and cosh.
17379         * math/auto-libm-test-out: Regenerated.
17380         * math/libm-test.inc (acosh_test_data): Add more tests.
17381         (atanh_test_data): Likewise.
17382         (ceil_test_data): Likewise.
17383         (copysign_test_data): Likewise.
17384         * sysdeps/i386/fpu/libm-test-ulps: Update.
17385         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17387         * timezone/checktab.awk: Update from tzcode 2013i.
17388         * timezone/private.h: Likewise.
17389         * timezone/scheck.c: Likewise.
17390         * timezone/tzfile.h: Likewise.
17391         * timezone/tzselect.ksh: Likewise.
17392         * timezone/zdump.c: Likewise.
17393         * timezone/zic.c: Likewise.
17395         * math/auto-libm-test-in: Add tests of cpow.
17396         * math/auto-libm-test-out: Regenerated.
17397         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
17398         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17399         mpc_cc_c.
17400         (func_calc_desc): Add mpc_cc_c union field.
17401         (test_functions): Add cpow.
17402         (special_fill_2pi): New function.
17403         (special_real_inputs): Add 2pi.
17404         (calc_generic_results): Handle mpc_cc_c.
17405         * sysdeps/i386/fpu/libm-test-ulps: Update.
17406         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17408         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
17409         csqrt, ctan and ctanh.
17410         * math/auto-libm-test-out: Regenerated.
17411         * math/libm-test.inc (TEST_COND_x86_64): New macro.
17412         (TEST_COND_x86): Likewise.
17413         (ccos_test_data): Use AUTO_TESTS_c_c.
17414         (ccosh_test_data): Likewise.
17415         (cexp_test_data): Likewise.
17416         (clog_test_data): Likewise.
17417         (csqrt_test_data): Likewise.
17418         (ctan_test_data): Likewise.
17419         (ctan_tonearest_test_data): Likewise.
17420         (ctan_towardzero_test_data): Likewise.
17421         (ctan_downward_test_data): Likewise.
17422         (ctan_upward_test_data): Likewise.
17423         (ctanh_test_data): Likewise.
17424         (ctanh_tonearest_test_data): Likewise.
17425         (ctanh_towardzero_test_data): Likewise.
17426         (ctanh_downward_test_data): Likewise.
17427         (ctanh_upward_test_data): Likewise.
17428         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17429         mpc_c_c.
17430         (func_calc_desc): Add mpc_c_c union field.
17431         (FUNC_mpc_c_c): New macro.
17432         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
17433         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
17434         ctanh.
17435         (special_fill_min_subnorm_p120): New function.
17436         (special_real_inputs): Add min_subnorm_p120.
17437         (calc_generic_results): Handle mpc_c_c.
17438         * sysdeps/i386/fpu/libm-test-ulps: Update.
17439         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17441 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
17443         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
17444         (do_sin_slow): New functions.
17445         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
17446         (cslow2, csloww1, csloww2): Use the new functions.
17448         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
17449         Use M to change sign of result instead of X.  Assume X is
17450         positive.
17451         (csloww1): Likewise.
17452         (__sin): Adjust.
17453         (__cos): Adjust.
17455         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
17456         arguments A and DA.
17457         (__sin): Adjust.
17458         (__cos): Likewise.
17460         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
17461         (__cos): Likewise.
17462         (sloww1): Don't adjust sign of DX.
17463         (csloww1): Likewise.
17464         (sloww2): Use X directly and don't adjust sign of DX.
17465         (csloww2): Likewise.
17467 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
17469         * math/auto-libm-test-in: Add tests of cabs and carg.
17470         * math/auto-libm-test-out: Regenerated.
17471         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
17472         (carg_test_data): Likewise.
17473         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17474         mpc_c_f.
17475         (func_calc_desc): Add mpc_c_f union field.
17476         (test_functions): Add cabs and carg.
17477         (calc_generic_results): Handle mpc_c_f.
17479         * sysdeps/powerpc/powerpc32/libgcc-compat.S
17480         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
17481         as a macro and a compat symbol.
17482         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
17483         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
17484         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
17485         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
17486         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
17487         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
17488         not use .hidden.
17489         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
17490         Likewise.
17491         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
17492         Likewise.
17493         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
17494         Likewise.
17495         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
17496         Likewise.
17497         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
17498         Likewise.
17499         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
17500         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
17501         from GLIBC_2.3.2.
17503 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17505         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17507 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
17509         * manual/texinfo.tex: Update to version 2013-11-26.10 with
17510         trailing whitespace removed.
17511         * scripts/config.guess: Update to version 2013-11-29.
17512         * scripts/config.sub: Update to version 2013-10-01.
17514         * math/auto-libm-test-in: Add tests of sincos.
17515         * math/auto-libm-test-out: Regenerated.
17516         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
17517         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17518         mpfr_f_11.
17519         (func_calc_desc): Add mpfr_f_11 union field.
17520         (test_functions): Add sincos.
17521         (calc_generic_results): Handle mpfr_f_11.
17522         * sysdeps/i386/fpu/libm-test-ulps: Update.
17523         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17525 2013-12-19  Andreas Schwab  <schwab@suse.de>
17527         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
17528         CALL_MCOUNT.
17529         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
17530         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
17531         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
17533 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
17535         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
17536         * sysdeps/i386/fpu/libm-test-ulps: Update.
17537         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17539         [BZ #16293]
17540         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
17541         round-to-nearest mode when using frndint.
17542         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
17543         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
17544         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
17545         Likewise.
17546         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
17547         sinh test to fail.
17548         * math/auto-libm-test-out: Regenerated.
17549         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
17550         (TEST_COND_x86): Likewise.
17551         (expm1_tonearest_test_data): New array.
17552         (expm1_test_tonearest): New function.
17553         (expm1_towardzero_test_data): New array.
17554         (expm1_test_towardzero): New function.
17555         (expm1_downward_test_data): New array.
17556         (expm1_test_downward): New function.
17557         (expm1_upward_test_data): New array.
17558         (expm1_test_upward): New function.
17559         (main): Run the new test functions.
17560         * sysdeps/i386/fpu/libm-test-ulps: Update.
17561         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17563         * include/features.h: Update comment documenting feature test
17564         macros.  Mention _DEFAULT_SOURCE in comment.
17565         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
17566         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
17567         _BSD_SOURCE and _SVID_SOURCE.
17568         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
17569         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
17570         !_SVID_SOURCE]: Likewise.
17571         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17572         (__USE_POSIX_IMPLICITLY): Define.
17573         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17574         (_POSIX_SOURCE): Undefine and redefine.
17575         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17576         (_POSIX_C_SOURCE): Likewise.
17577         * manual/creature.texi (_DEFAULT_SOURCE): Document.
17578         (Feature Test Macros): Update documentation of default features.
17580 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17582         * benchtests/Makefile: Add bench-strtok.
17583         * benchtests/bench-strtok.c: New file: strtok benchtest.
17585 2013-12-19  Allan McRae  <allan@archlinux.org>
17587         * manual/install.texi: Suppress menu for plain text output.
17588         * INSTALL: Regenerated.
17590 2013-12-18  Brooks Moses  <bmoses@google.com>
17592         [BZ #15846]
17593         * misc/getauxval.c: Include errno.h.
17594         (__getauxval): Set errno to ENOENT if the requested type is not
17595         found.
17596         * misc/sys/auxv.h (getauxval): Document that it may set errno;
17597         don't declare with __attribute_const__.
17598         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
17599         * manual/startup.texi: Document that getauxval sets errno.
17601 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
17603         * math/auto-libm-test-in: Add tests of jn and yn.
17604         * math/auto-libm-test-out: Regenerated.
17605         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
17606         (yn_test_data): Likewise.
17607         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17608         mpfr_if_f.
17609         (func_calc_desc): Add mpfr_if_f union field.
17610         (FUNC_mpfr_if_f): New macro.
17611         (test_functions): Add jn and yn.
17612         (calc_generic_results): Assert type of second input for
17613         mpfr_ff_f.  Handle mpfr_if_f.
17614         (output_for_one_input_case): Disable all checking for arguments
17615         fitting floating-point types in case of an integer argument.
17616         * sysdeps/i386/fpu/libm-test-ulps: Update.
17617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17620         Don't expect fegetround reference in libm.so.
17622 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17624         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
17625         $(config-cflags-nofma).
17627 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
17629         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
17630         * math/auto-libm-test-out: Regenerated.
17632         [BZ #16338]
17633         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
17634         to determine exponent and adjust argument to have exponent of -1.
17635         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
17636         log2.
17637         * math/auto-libm-test-out: Regenerated.
17638         * sysdeps/i386/fpu/libm-test-ulps: Update.
17639         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17641 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
17643         * manual/probes.texi: Remove cases when per-thread arenas are
17644         disabled.
17646 2013-12-18  Andreas Schwab  <schwab@suse.de>
17648         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
17649         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
17650         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
17651         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
17652         * sysdeps/i386/i686/multiarch/Makefile: Update.
17653         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
17655 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
17657         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
17658         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
17660 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
17662         [BZ #15968]
17663         Support TZ transition times < 00:00:00.
17664         This is needed for version-3 tz-format files; it supports time
17665         stamps past 2037 for America/Godthab (the only entry in the tz
17666         database for which this change is relevant).
17667         * manual/time.texi (TZ Variable): Document transition times
17668         from -167:59:59 through -00:00:01.
17669         * time/tzset.c (tz_rule): Time of day is now signed.
17670         (__tzset_parse_tz): Parse negative time of day.
17672         Document TZ transition times >= 25:00:00.
17673         * manual/time.texi (TZ Variable): Document transition times from
17674         25:00:00 through 167:59:59.  These are already supported, and this
17675         support will help with version-3 tz-format files.
17677         * manual/time.texi (TZ Variable): Modernize North America example
17678         to reflect current (i.e., 2007-and-later) daylight saving rules.
17680         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
17682 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
17684         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
17685         * sysdeps/unix/bsd/bits/stat.h: Likewise.
17686         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
17687         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17688         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
17689         * sysdeps/unix/bsd/bsdstat.h: Likewise.
17690         * sysdeps/unix/bsd/clock.c: Likewise.
17691         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
17692         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
17693         * sysdeps/unix/bsd/init-posix.c: Likewise.
17694         * sysdeps/unix/bsd/poll.c: Likewise.
17695         * sysdeps/unix/bsd/ptsname.c: Likewise.
17696         * sysdeps/unix/bsd/seekdir.c: Likewise.
17697         * sysdeps/unix/bsd/setegid.c: Likewise.
17698         * sysdeps/unix/bsd/seteuid.c: Likewise.
17699         * sysdeps/unix/bsd/setgid.c: Likewise.
17700         * sysdeps/unix/bsd/setrgid.c: Likewise.
17701         * sysdeps/unix/bsd/setruid.c: Likewise.
17702         * sysdeps/unix/bsd/setsid.c: Likewise.
17703         * sysdeps/unix/bsd/setuid.c: Likewise.
17704         * sysdeps/unix/bsd/sigaction.c: Likewise.
17705         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
17706         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
17707         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
17708         * sysdeps/unix/bsd/telldir.c: Likewise.
17709         * sysdeps/unix/bsd/times.c: Likewise.
17710         * sysdeps/unix/bsd/usleep.c: Likewise.
17712         * misc/Makefile (install-lib): Remove libbsd-compat.a.
17713         ($(objpfx)libbsd-compat.a): Remove rule.
17715         * include/features.h (__FAVOR_BSD): Do not define.
17716         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
17717         features conflicting with POSIX.
17718         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
17719         (_BSD_SOURCE): Remove description of not being a subset of other
17720         feature test macros.
17721         * manual/job.texi (getpgrp): Do not document BSD version.
17722         (getpgid): Do not document by reference to BSD getpgrp.
17723         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
17724         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
17725         * signal/signal.h [__FAVOR_BSD]: Likewise.
17726         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
17727         instead of making contents conditional on [__FAVOR_BSD].
17728         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
17730 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17732         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17734 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
17736         [BZ #16314]
17737         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
17738         values below 2**-450, not 2**-500.
17739         * math/auto-libm-test-in: Don't allow spurious underflow from
17740         hypot.
17741         * math/auto-libm-test-out: Regenerated.
17743         [BZ #16316]
17744         [BZ #16330]
17745         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
17746         values of ha and hb and sort them after adjusting subnormal
17747         arguments.
17748         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
17749         Likewise.
17750         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
17751         values of ea and eb and sort them after adjusting subnormal
17752         arguments.
17753         * math/auto-libm-test-in: Do not expect some hypot tests of
17754         subnormals to fail.  Add more hypot tests.
17755         * math/auto-libm-test-out: Regenerated.
17757 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17759         [BZ #13304]
17760         * sysdeps/sh/s_fma.c: New file.
17761         * sysdeps/sh/s_fmaf.c: New file.
17762         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
17763         version.
17764         * sysdeps/sh/Implies: Add sh/soft-fp.
17766 2013-12-16  Roland McGrath  <roland@hack.frob.com>
17768         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
17769         level of indirection to members `objname', `errstring', `malloced'.
17770         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
17771         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
17772         it as the __longjmp argument (just pass 1 instead).
17773         (_dl_catch_error): Initialize C with argument pointers and address of
17774         volatile local ERRCODE rather than copying values out of C at return.
17776 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
17778         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
17779         * math/auto-libm-test-out: Regenerated.
17780         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
17781         (hypot_test_data): Likewise.
17782         (pow_test_data): Likewise.
17783         (pow_tonearest_test_data): Likewise.
17784         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17785         mpfr_ff_f.
17786         (func_calc_desc): Add mpfr_ff_f union field.
17787         (FUNC_mpfr_ff_f): New macro.
17788         (test_functions): Add atan2, hypot and pow.
17789         (special_fill_min): New function.
17790         (special_fill_minus_min): Likewise.
17791         (special_fill_min_subnorm): Likewise.
17792         (special_fill_minus_min_subnorm): Likewise.
17793         (special_real_inputs): Add min, -min, min_subnorm and
17794         -min_subnorm.
17795         (calc_generic_results): Handle mpfr_ff_f.
17796         * sysdeps/i386/fpu/libm-test-ulps: Update.
17797         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17799 2013-12-16  Will Newton  <will.newton@linaro.org>
17801         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
17802         (Aligned Memory Blocks): Add documentation for aligned_alloc
17803         and suggest it as an alternative to posix_memalign.
17804         (Hooks for Malloc): Document __memalign_hook is also called
17805         for aligned_alloc.  (Summary of Malloc): Add summary for
17806         aligned alloc.  Document __memalign_hook is also called
17807         for aligned_alloc.
17809 2013-12-16  Will Newton  <will.newton@linaro.org>
17811         * manual/memory.texi (Malloc Examples): Clarify default
17812         alignment documentation.  Suggest posix_memalign rather
17813         than memalign or valloc.
17814         (Aligned Memory Blocks): Remove suggestion to use memalign
17815         or valloc.  Remove obsolete comment about BSD.
17816         Document memalign errno values and mark the function obsolete.
17817         Document posix_memalign returned error codes.  Mark valloc
17818         as obsolete.  (Hooks for Malloc): __memalign_hook is also
17819         called for posix_memalign and valloc.
17820         (Summary of Malloc): Add posix_memalign to function summary.
17821         __memalign_hook is also called for posix_memalign and valloc.
17823 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17825         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
17826         TAYLOR_SIN.
17827         (__sin): Adjust.
17828         (__cos): Likewise.
17829         (sloww): Use mynumber union.  Expand ternary operator into
17830         if-else statements.
17831         (cslow): use mynumber union.
17833 2013-12-16  Allan McRae  <allan@archlinux.org>
17835         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
17836         * configure: Regenerated.
17838         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
17840         [BZ #14120]
17841         * configure.ac: Added --enable-maintainer-mode. Check for
17842         autoconf when enabled.
17843         * configure: Regenerated.
17845         * nscd/nscd.service: New file.
17846         * nscd/nscd.tmpfiles: New file.
17848 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
17850         [BZ #12100]
17851         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
17852         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
17853         * sysdeps/x86_64/multiarch/strstr.c: ... here.
17854         (strstr): Add __strstr_sse2_unaligned ifunc.
17855         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
17856         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
17857         (strcasestr): Remove __strcasestr_sse42 ifunc.
17858         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
17859         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
17860         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
17862 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17864         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
17865         * sysdeps/sh/bits/fenv.h: ... here.
17866         * sysdeps/sh/sh4/fpu/bits: Remove directory.
17868 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17870         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
17872         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
17873         hypotf multiarch implementations.
17874         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
17875         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
17876         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
17877         multiarch hypot for PPC64.
17878         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
17879         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
17880         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
17881         multiarch hypotf for PPC64.
17883         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
17884         modff multiarch implementations.
17885         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
17886         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
17887         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
17888         multiarch modf for PPC64.
17889         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
17890         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
17891         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
17892         multiarch modff for PPC64.
17894         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
17895         and logl multiarch implementations.
17896         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
17897         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
17898         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
17899         multiarch logb for PPC64.
17900         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
17901         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
17902         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
17903         multiarch logb for PPC64.
17904         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
17905         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
17906         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
17907         multiarch logb for PPC64.
17909         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
17910         isinff multiarch implementation.
17911         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
17912         file.
17913         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
17914         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
17915         multiarch isinf for PPC64.
17916         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
17917         file.
17918         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
17919         multiarch isinff for PPC64.
17921         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
17922         finitef multiarch implementation.
17923         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
17924         file.
17925         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
17926         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
17927         multiarch finite for PPC64.
17928         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
17929         file.
17930         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
17931         multiarch finitef for PPC64.
17933         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
17934         lrint multiarch implementation.
17935         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
17936         file.
17937         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
17938         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
17939         multiarch llrint for PPC64.
17940         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
17941         multiarch lrint for PPC64.
17943         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
17944         copysignf multiarch implementation.
17945         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
17946         file.
17947         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
17948         file.
17949         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
17950         multiarch copysign for PPC64.
17951         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
17952         multiarch copysignf for PPC64.
17954         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
17955         multiarch implementation.
17956         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
17957         file.
17958         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
17959         file.
17960         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
17961         file.
17962         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
17963         file.
17964         multiarch llround for PPC64.
17965         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
17966         multiarch trunc for PPC64.
17967         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
17968         multiarch truncf for PPC64.
17970         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
17971         multiarch implementation.
17972         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
17973         file.
17974         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
17975         file.
17976         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
17977         file.
17978         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
17979         file.
17980         multiarch llround for PPC64.
17981         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
17982         multiarch round for PPC64.
17983         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
17984         multiarch roundf for PPC64.
17986         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
17987         multiarch implementation.
17988         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
17989         file.
17990         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
17991         file.
17992         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
17993         file.
17994         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
17995         file.
17996         multiarch llround for PPC64.
17997         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
17998         multiarch floor for PPC64.
17999         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
18000         multiarch floorf for PPC64.
18002         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
18003         multiarch implementation.
18004         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
18005         file.
18006         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
18007         file.
18008         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
18009         file.
18010         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
18011         file.
18012         multiarch llround for PPC64.
18013         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
18014         multiarch ceil for PPC64.
18015         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
18016         multiarch ceilf for PPC64.
18018         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
18019         multiarch implementation.
18020         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
18021         file.
18022         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
18023         file.
18024         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
18025         file.
18026         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
18027         multiarch llround for PPC64.
18028         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
18029         multiarch lround for PPC64.
18031         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
18032         multiarch implementation.
18033         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
18034         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
18035         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
18036         file.
18037         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
18038         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
18039         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
18040         multiarch isnan for PPC64.
18041         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
18042         multiarch isnanf for PPC64.
18044         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
18045         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
18046         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
18047         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
18048         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
18049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
18051         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
18052         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18053         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18054         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18056         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
18057         multiarch implementations.
18058         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18059         (__libc_ifunc_impl_list): Likewise.
18060         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
18061         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
18062         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
18063         multiarch stpcpy for PPC64.
18065         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
18066         multiarch implementations.
18067         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18068         (__libc_ifunc_impl_list): Likewise.
18069         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
18070         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
18071         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
18072         multiarch strcpy for PPC64.
18074         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
18075         redefine function name.
18076         (_wordcopy_fwd_dest_aligned): Likewise.
18077         (_wordcopy_bwd_aligned): Likewise.
18078         (_wordcopy_bwd_dest_aligned): Likewise.
18079         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
18080         multiarch implementations.
18081         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18082         (__libc_ifunc_impl_list): Likewise.
18083         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
18084         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
18085         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
18086         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
18087         multiarch wcscpy for PPC64.
18089         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
18090         multiarch implementations.
18091         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18092         (__libc_ifunc_impl_list): Likewise.
18093         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
18094         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
18095         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
18096         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
18097         multiarch wcscpy for PPC64.
18099         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
18100         multiarch implementations.
18101         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18102         (__libc_ifunc_impl_list): Likewise.
18103         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
18104         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
18105         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
18106         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
18107         multiarch wcsrchr for PPC64.
18109         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
18110         multiarch implementations.
18111         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18112         (__libc_ifunc_impl_list): Likewise.
18113         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
18114         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
18115         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
18116         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
18117         multiarch wcschr for PPC64.
18119         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
18120         multiarch implementations.
18121         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18122         (__libc_ifunc_impl_list): Likewise.
18123         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
18124         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
18125         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
18126         multiarch strchrnul for PPC64.
18128         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
18129         implementations.
18130         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18131         (__libc_ifunc_impl_list): Likewise.
18132         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
18133         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
18134         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
18135         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
18136         strchr for PPC64.
18138         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
18139         implementations.
18140         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18141         (__libc_ifunc_impl_list): Likewise.
18142         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
18143         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
18144         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
18145         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
18146         strncmp for PPC64.
18148         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
18149         multiarch implementations.
18150         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18151         (__libc_ifunc_impl_list): Likewise.
18152         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
18153         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
18154         strncasecmp for PPC64.
18155         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
18156         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
18157         multiarch strncasecmp_l for PPC64.
18159         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
18160         multiarch implementations.
18161         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18162         (__libc_ifunc_impl_list): Likewise.
18163         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
18164         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
18165         multiarch strcasecmp for PPC64.
18166         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
18167         file.
18168         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
18169         multiarch strcasecmp_l for PPC64.
18171         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
18172         implementations.
18173         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18174         (__libc_ifunc_impl_list): Likewise.
18175         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
18176         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
18177         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
18178         strnlen for PPC64.
18180         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
18181         implementations.
18182         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18183         (__libc_ifunc_impl_list): Likewise.
18184         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
18185         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
18186         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
18187         strlen for PPC64.
18189         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
18190         implementations.
18191         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18192         (__libc_ifunc_impl_list): Likewise.
18193         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
18194         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
18195         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
18196         rawmemrchr for PPC64.
18198         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
18199         implementation.
18200         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18201         (__libc_ifunc_impl_list): Likewise.
18202         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
18203         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
18204         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
18205         memrchr for PPC64.
18207         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
18208         implementation.
18209         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18210         (__libc_ifunc_impl_list): Likewise.
18211         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
18212         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
18213         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
18214         memchr for PPC64.
18216         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
18217         implementation.
18218         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18219         (__libc_ifunc_impl_list): Likewise.
18220         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
18221         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
18222         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
18223         mempcpy for PPC64.
18225         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
18226         avoid cretion of __bzero symbol.
18227         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
18228         Likewise.
18229         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
18230         Likewise.
18231         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
18232         Likewise.
18233         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
18234         multiarch implementations.
18235         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18236         (__libc_ifunc_impl_list): Likewise.
18237         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
18238         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
18239         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
18240         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
18241         bzero for PPC32.
18242         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
18243         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
18244         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
18245         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
18246         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
18247         memset for PPC64.
18248         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
18250         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
18251         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
18252         implementations.
18253         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18254         (__libc_ifunc_impl_list): Likewise.
18255         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
18256         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
18257         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
18258         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
18259         memcmp for PPC64.
18261         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
18262         multiarch for POWER/PPC64.
18263         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
18264         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
18265         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
18266         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
18267         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
18268         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
18269         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
18270         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
18271         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
18272         memcpy for PPC64.
18274         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
18275         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
18276         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
18277         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
18278         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
18279         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
18280         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
18281         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
18282         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
18283         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
18284         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
18285         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
18286         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
18287         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
18288         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
18289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
18290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
18291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
18292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
18293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
18294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
18295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
18297 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18299         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
18301 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18303         * benchtests/Makefile (bench): Add exp2 and log2.
18304         (LDLIBS-bench-exp2): Add -lm.
18305         (LDLIBS-bench-log2): Likewise.
18306         * benchtests/exp2-inputs: New inputs file.
18307         * benchtests/log2-inputs: New inputs file.
18308         * benchtests/log-inputs: Add new inputs.
18309         * benchtests/tan-inputs: Likewise.
18311 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18313         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
18314         definition...
18315         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
18316         (csloww2): ... from here.
18318         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
18319         instead of structures.
18320         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
18321         (POLYNOMIAL): Likewise.
18322         (TAYLOR_SLOW): Likewise.
18323         (__sin): Likewise.
18324         (__cos): Likewise.
18325         (slow1): Likewise.
18326         (slow2): Likewise.
18327         (sloww): Likewise.
18328         (sloww1); Likewise.
18329         (sloww2): Likewise.
18330         (bsloww1): Likewise.
18331         (bsloww2): Likewise.
18332         (cslow2): Likewise.
18333         (csloww): Likewise.
18334         (csloww1): Likewise.
18335         (csloww2): Likewise.
18337 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
18339         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
18340         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
18341         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
18342         * malloc/hooks.c (realloc_check): Likewise.
18344         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
18345         * malloc/arena.c: Remove PER_THREAD conditional.
18346         [!PER_THREAD]: Remove code.
18347         (ptmalloc_unlock_all2): Likewise.
18348         (ptmalloc_init): Likewise.
18349         (_int_new_arena): Likewise.
18350         (arena_get2): Likewise.
18351         * malloc/hooks.c (__malloc_get_state): Likewise.
18352         (__malloc_set_state): Likewise.
18353         * malloc/malloc.c: Likewise.
18354         (struct malloc_state): Likewise.
18355         (struct malloc_par): Likewise.
18356         (__libc_realloc): Likewise.
18357         (__libc_mallopt): Likewise.
18359 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18361         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
18363 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
18365         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
18366         macro to a function.  Check for zero perturb_byte.
18367         (_int_malloc, _int_free): Remove zero perturb_byte checks.
18369         * malloc/malloc.c: (force_reg): Remove.
18370         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
18371         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
18372         force_reg by atomic_forced_read.
18373         * malloc/arena.c (ptmalloc_init): Likewise.
18374         * malloc/hooks.c (top_check): Likewise.
18376 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18378         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18380 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
18382         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18384 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
18386         * math/auto-libm-test-in: Add tests of lgamma.
18387         * math/auto-libm-test-out: Regenerated.
18388         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
18389         (M_LOG_2_SQRT_PIl): Likewise.
18390         (lgamma_test_data): Use AUTO_TESTS_f_f1.
18391         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18392         mpfr_f_f1.
18393         (func_calc_desc): Add mpfr_f_f1 union field.
18394         (ARGS1): New macro.
18395         (ARGS2): Likewise.
18396         (ARGS3): Likewise.
18397         (ARGS4): Likewise.
18398         (RET1): Likewise.
18399         (RET2): Likewise.
18400         (CALC): Likewise.
18401         (FUNC): Likewise.
18402         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
18403         (test_functions): Add lgamma.
18404         (calc_generic_results): Handle mpfr_f_f1.
18405         * sysdeps/i386/fpu/libm-test-ulps: Update.
18406         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18408 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18410         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
18411         __mpn_add_n for PowerPC64/POWER7.
18412         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
18413         __mpn_sub_n for PowerPC64/POWER7.
18415         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
18416         __mpn_addmul_1 for PowerPC64.
18417         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
18418         __mpn_submul_1 for PowerPC64.
18419         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
18420         for PowerPC64.
18421         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
18422         for PowerPC64.
18424 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
18426         [BZ #15089]
18427         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
18429 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18431         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
18433         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
18434         add multiarch folders.
18435         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
18436         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
18437         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
18438         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
18439         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
18440         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
18441         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
18442         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
18443         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
18444         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
18445         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
18446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
18447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
18448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
18449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
18450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
18451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
18453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
18454         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
18455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
18456         New file.
18457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
18458         New file.
18459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
18460         multiarch __ieee754_hypot for PowerPC32.
18461         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
18462         New file.
18463         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
18464         New file.
18465         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
18466         multiarch __ieee754_hypotf for PowerPC32.
18468         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
18469         long_double_symbol only if __logbl is defined.
18470         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
18471         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
18472         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
18473         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
18474         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
18475         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
18476         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
18477         path for implementation.
18478         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
18479         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
18480         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
18481         logb, and logbl multiarch implementations for PowerPC32.
18482         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
18483         file.
18484         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
18485         file.
18486         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
18487         multiarch logb for PowerPC32.
18488         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
18489         file.
18490         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
18491         file.
18492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
18493         multiarch logbf for PowerPC32.
18494         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
18495         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
18496         file.
18497         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
18498         multiarch logbl implementation for PowerPC32.
18500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
18501         and modff multiarch implementations.
18502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
18503         New file.
18504         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
18505         New file.
18506         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
18507         multiarch modf for PowerPC32.
18508         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
18509         New file.
18510         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
18511         New file.
18512         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
18513         multiarch modff for PowerPC32.
18515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
18516         and lrintf multiarch implementations.
18517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
18518         New file.
18519         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
18520         New file.
18521         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
18522         multiarch lrint for PowerPC32.
18523         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
18524         file: multiarch lrintf for PowerPC32.
18526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
18527         and lroundf multiarch implementations.
18528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
18529         New file.
18530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
18531         New file.
18532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
18533         New file.
18534         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
18535         multiarch lround for PowerPC32.
18536         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
18537         file: multiarch lroundf for PowerPC32.
18539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
18540         copysign and copysignf multiarch implementations.
18541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
18542         New file.
18543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
18544         New file.
18545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
18546         file: multiarch copysign for PowerPC32.
18547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
18548         file: multiarch copysignf for PowerPC32.
18550         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
18551         and truncf multiarch implementations.
18552         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
18553         New file.
18554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
18555         file.
18556         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
18557         multiarch trunc for PowerPC32.
18558         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
18559         New file.
18560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
18561         New file.
18562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
18563         multiarch truncf for PowerPC32.
18565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
18566         and roundf multiarch implementations.
18567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
18568         New file.
18569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
18570         file.
18571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
18572         multiarch round for PowerPC32.
18573         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
18574         New file.
18575         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
18576         New file.
18577         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
18578         multiarch roundf for PowerPC32.
18580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
18581         and floorf multiarch implementations.
18582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
18583         New file.
18584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
18585         file.
18586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
18587         multiarch floor for PowerPC32.
18588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
18589         New file.
18590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
18591         New file.
18592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
18593         multiarch floorf for PowerPC32.
18595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
18596         and ceilf multiarch implementations.
18597         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
18598         New file.
18599         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
18600         file.
18601         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
18602         multiarch ceil for PowerPC32.
18603         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
18604         New file.
18605         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
18606         file.
18607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
18608         multiarch ceilf for PowerPC32.
18610         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
18611         is defined.
18612         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
18613         FINITEF is defined.
18614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
18615         and finitef multiarch implementations.
18616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
18617         New file.
18618         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
18619         file.
18620         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
18621         multiarch finite for PowerPC32.
18622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
18623         New file.
18624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
18625         file: multiarch finitef for PowerPC32.
18627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
18628         and isinff multiarch implementations.
18629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
18630         file.
18631         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
18632         file.
18633         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
18634         multiarch isinf for PowerPC32.
18635         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
18636         New file.
18637         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
18638         multiarch isinff for PowerPC32.
18640         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
18641         alias when __isnan is defined.
18642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
18643         and isnanf multiarch implementations.
18644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
18645         file.
18646         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
18647         file.
18648         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
18649         file.
18650         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
18651         file.
18652         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
18653         multiarch isnan for PowerPC32.
18654         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
18655         New file.
18656         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
18657         New file.
18658         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
18659         multiarch isnanf for PowerPC32.
18661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
18662         and sqrtf multiarch implementations.
18663         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
18664         file.
18665         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
18666         file.
18667         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
18668         multiarch sqrt for PowerPC32.
18669         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
18670         file.
18671         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
18672         file.
18673         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
18674         multiarch sqrtf for PowerPC32.
18676         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
18677         and llroundf multiarch implementations.
18678         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
18679         New file.
18680         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
18681         New file.
18682         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
18683         New file.
18684         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
18685         file: multiarch llround for PowerPC32.
18686         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
18687         file: multiarch llroundf for PowerPC32.
18689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
18690         multiarch PowerPC32 fpu implementations.
18691         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
18692         New file.
18693         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
18694         New file.
18695         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
18696         multiarch llrint for PowerPC32.
18697         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
18698         New file.
18699         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
18700         New file.
18701         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
18702         file.
18704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
18706         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
18707         file.
18708         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
18709         file.
18710         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
18711         file.
18712         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
18713         multiarch wordcopy for PPC32.
18714         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
18715         wordcopy objects.
18716         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18717         (__libc_ifunc_impl_list): Likewise.
18718         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
18719         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
18720         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
18721         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
18722         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
18723         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
18725         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
18726         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
18727         file.
18728         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
18729         file.
18730         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
18731         file.
18732         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
18733         multiarch wcscpy for PPC32.
18734         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
18735         multiarch objects.
18736         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18737         (__libc_ifunc_impl_list): Likewise.
18738         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
18739         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
18740         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
18741         sysdeps/powerpc/power6/wcscpy.c.
18743         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
18744         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
18745         file.
18746         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
18747         file.
18748         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
18749         file.
18750         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
18751         multiarch wcsrchr for PPC32.
18752         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
18753         multiarch objects.
18754         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18755         (__libc_ifunc_impl_list): Likewise.
18756         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
18757         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
18758         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
18759         sysdeps/powerpc/power6/wcsrchr.c.
18761         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
18762         file.
18763         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
18764         file.
18765         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
18766         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
18767         multiarch wcschr for PPc32.
18768         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
18769         multiarch objects.
18770         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18771         (__libc_ifunc_impl_list): Likewise.
18772         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
18773         * sysdeps/powerpc/power6/wcschr.c: ... to here.
18774         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
18775         sysdeps/powerpc/power6/wcschr.c.
18777         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
18778         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
18779         file.
18780         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
18781         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
18782         file: multiarch strchr for PPC32.
18783         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
18784         multiarch objects.
18785         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18786         (__libc_ifunc_impl_list): Likewise.
18788         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
18789         name.
18790         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
18791         file.
18792         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
18793         file.
18794         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
18795         multiarch strchrnul for PPC32.
18796         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
18797         multiarch objects.
18798         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18799         (__libc_ifunc_impl_list): Likewise.
18801         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
18802         file.
18803         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
18804         multiarch strncasecmp for PPC32.
18805         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
18806         file.
18807         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
18808         multiarch strncasecmp_l for PPC32.
18809         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
18810         strncasecmp multiarch objects.
18811         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18812         (__libc_ifunc_impl_list): Likewise.
18814         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
18815         file.
18816         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
18817         multiarch strncasecmp for PPC32.
18818         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
18819         New file.
18820         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
18821         multiarch strcasecmp_l for PPC32.
18822         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
18823         multiarch objects.
18824         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18825         (__libc_ifunc_impl_list): Likewise.
18827         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
18828         file.
18829         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
18830         file.
18831         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
18832         multiarch strncmp for PPC32.
18833         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
18834         multiarch objects.
18835         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18836         (__libc_ifunc_impl_list): Likewise.
18838         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
18839         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
18840         file.
18841         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
18842         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
18843         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
18844         multiarch objects.
18845         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18846         (__libc_ifunc_impl_list): Likewise.
18848         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
18849         file.
18850         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
18851         file.
18852         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
18853         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
18854         multiarch objects.
18855         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18856         (__libc_ifunc_impl_list): Likewise.
18858         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
18859         file.
18860         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
18861         file.
18862         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
18863         multiarch rawmemchr for PPC32.
18864         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
18865         multiarch objects.
18866         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18867         (__libc_ifunc_impl_list): Likewise.
18869         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
18870         file.
18871         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
18872         file.
18873         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
18874         file: memrchr multiarch for PPC32.
18875         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
18876         multiarch objects.
18877         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18878         (__libc_ifunc_impl_list): Likewise.
18880         * string/memchr.c (__memchr): Using macro to redefine symbol name.
18881         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
18882         file.
18883         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
18884         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
18885         multiarch memchr for PPC32.
18886         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
18887         multiarch objects.
18888         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18889         (__libc_ifunc_impl_list): Likewise.
18891         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
18892         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
18893         file.
18894         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
18895         file.
18896         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
18897         file: multiarch mempcpy for PPC32.
18898         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
18899         multiarch objects.
18900         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18901         (__libc_ifunc_impl_list): Likewise.
18903         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
18904         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
18905         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
18906         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
18907         multiarch bzero for PPC32.
18908         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
18909         file.
18910         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
18911         file.
18912         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
18913         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
18914         file: multiarch memset for PPC32.
18915         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
18916         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
18917         memset multiarch objects.
18918         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18919         (__libc_ifunc_impl_list): Likewise.
18921         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
18922         file.
18923         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
18924         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
18925         memcmp for PPC32.
18926         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
18927         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
18928         multiarch objects.
18929         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18930         (__libc_ifunc_impl_list): Likewise.
18932         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
18933         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
18934         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
18935         file.
18936         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
18937         file.
18938         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
18939         file.
18940         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
18941         multiarch memcpy for PPC32.
18942         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
18943         multiarch objects.
18944         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18945         (__libc_ifunc_impl_list): Likewise.
18947         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
18948         support multiarch for POWER/PPC32.
18949         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
18950         Likewise.
18951         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
18952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
18953         Implies file to make multiarch folder appers before the fpu and
18954         default folder for power4 configuration.
18956 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
18958         * scripts/bench.pl: Append volatile keyword to type.
18960 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18962         * sysdeps/sh/sotruss-lib.c: New file.
18963         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
18965 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18967         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18969 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
18971         [BZ #6810]
18972         * math/w_tgamma.c: Include <errno.h>.
18973         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
18974         * math/w_tgammaf.c: Include <errno.h>.
18975         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
18976         * math/w_tgammal.c: Include <errno.h>.
18977         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
18978         * math/auto-libm-test-in: Do not allow missing errno on tgamma
18979         underflow.  Add more tgamma tests.
18980         * math/auto-libm-test-out: Regenerated.
18981         * sysdeps/i386/fpu/libm-test-ulps: Update.
18982         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18984         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
18985         sin, sinh, tan, tanh, tgamma, y0 and y1.
18986         * math/auto-libm-test-out: Regenerated.
18987         * math/libm-test.inc (TEST_COND_x86_64): New macro.
18988         (TEST_COND_x86): Likewise.
18989         (M_E2l): Remove macro.
18990         (M_E3l): Likewise.
18991         (M_2_SQRT_PIl): Likewise.
18992         (M_SQRT_PIl): Likewise.
18993         (M_1_DIV_El): Likewise.
18994         (log_test_data): Use AUTO_TESTS_f_f.
18995         (log10_test_data): Likewise.
18996         (log1p_test_data): Likewise.
18997         (log2_test_data): Likewise.
18998         (sin_test_data): Likewise.
18999         (sin_tonearest_test_data): Likewise.
19000         (sin_towardzero_test_data): Likewise.
19001         (sin_downward_test_data): Likewise.
19002         (sin_upward_test_data): Likewise.
19003         (sinh_test_data): Likewise.
19004         (sinh_tonearest_test_data): Likewise.
19005         (sinh_towardzero_test_data): Likewise.
19006         (sinh_downward_test_data): Likewise.
19007         (sinh_upward_test_data): Likewise.
19008         (tan_test_data): Likewise.
19009         (tan_tonearest_test_data): Likewise.
19010         (tan_towardzero_test_data): Likewise.
19011         (tan_downward_test_data): Likewise.
19012         (tan_upward_test_data): Likewise.
19013         (tanh_test_data): Likewise.
19014         (tgamma_test_data): Likewise.
19015         (y0_test_data): Likewise.
19016         (y1_test_data): Likewise.
19017         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
19018         (special_real_inputs): Add pi/4.
19019         * sysdeps/i386/fpu/libm-test-ulps: Update.
19020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19022 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19024         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
19025         "longjmp_target" static probes.
19026         (__longjmp): Rename to __longjmp_symbol.
19027         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19028         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
19029         on which longjmp to generate.
19030         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
19031         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
19032         probe.
19033         (__sigsetjmp): Rename to __sigsetjmp_symbol.
19034         (__sigjmp_save): Rename to __sigjmp_save_symbol.
19035         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
19036         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
19037         and __sigjmp_save_symbol based on which sigsetjmp to generated.
19038         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
19039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
19040         __longjmp_symbol based on which __longjmp to generate.
19041         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
19042         probe.
19043         (setjmp): Rename to setjmp_symbol.
19044         (__sigsetjmp): Rename to __sigsetjmp_symbol.
19045         (_setjmp): Rename to _setjmp_symbol.
19046         (__sigsetjmp): Rename to __sigsetjmp_symbol.
19047         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
19048         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
19049         which setjmp to generate.
19050         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
19051         "longjmp_target" static probes.
19053 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19055         * benchtests/README: Add note about output arguments.
19056         * benchtests/bench-sincos.c: Remove file.
19057         * benchtests/sincos-inputs: New file.
19058         * scripts/bench.pl: Identify output arguments and define
19059         static variables for them.
19061         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
19063         [BZ #15941]
19064         * Makefile (INSTALL): Add install-plain.texi as the primary
19065         dependency.
19066         * manual/install-plain.texi: New file.
19067         * manual/install.texi: Include node directive only for
19068         non-plaintext output.
19070 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
19072         * stdlib/longlong.h: Update from GCC.
19074         [BZ #6807]
19075         [BZ #15901]
19076         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
19077         * math/w_j0f.c (y0f): Likewise.
19078         * math/w_j0l.c (__y0l): Likewise.
19079         * math/w_j1.c (y1): Likewise.
19080         * math/w_j1f.c (y1f): Likewise.
19081         * math/w_j1l.c (__y1l): Likewise
19082         * math/w_jn.c (yn): Likewise.
19083         * math/w_jnf.c (ynf): Likewise.
19084         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
19085         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
19086         value for Bessel function domain errors outside _SVID_ mode.
19087         Adjust sign of return value for yn (negative integer, 0).
19088         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
19089         by zero in return for negative x and set sign appropriately for
19090         negative n.
19091         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
19092         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
19093         * math/libm-test.inc (y0_test_data): Add more tests and adjust
19094         expectations in error cases.
19095         (y1_test_data): Likewise.
19096         (yn_test_data): Likewise.
19097         * sysdeps/i386/fpu/libm-test-ulps: Update.
19098         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19100 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19102         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
19103         "64" to "64-v1".  Add "64-v2".
19104         (abi-64-options): Rename to ...
19105         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
19106         (abi-64-condition): Rename to ...
19107         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
19108         (abi-64-ld-soname): Rename to ...
19109         (abi-64-v1-ld-soname): ... this.
19110         (abi-64-v2-options): Define.
19111         (abi-64-v2-condition): Likewise.
19112         (abi-64-v2-ld-soname): Likewise.
19113         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
19114         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
19115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
19116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
19117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
19119 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19120             Alan Modra  <amodra@gmail.com>
19122         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
19123         New versions for use with the ELFv2 ABI.
19124         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
19125         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
19126         declaration.
19127         (struct La_ppc64v2_retval): Likewise.
19128         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
19129         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
19130         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
19131         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
19132         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
19133         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
19134         Do not save or restore CR.
19135         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
19136         (_dl_profile_resolve): Do no save or restore CR.  Support extended
19137         return values for ELFv2 ABI.  Fix location of FPR return registers.
19138         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
19139         updated values for _CALL_ELF == 2.
19140         (La_regs, La_retval, int_retval): Likewise.
19142 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19144         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
19145         (FRAME_MIN_SIZE_PARM): Likewise.
19146         (FRAME_BACKCHAIN): Likewise.
19147         (FRAME_CR_SAVE): Likewise.
19148         (FRAME_LR_SAVE): Likewise.
19149         (FRAME_TOC_SAVE): Likewise.
19150         (FRAME_PARM_SAVE): Likewise.
19151         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
19152         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
19153         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
19154         (call_mcount_parm_offset): New macro.
19155         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
19156         (PROF): Use symbolic stack frame offsets.
19157         (TAIL_CALL_SYSCALL_ERROR): Likewise.
19158         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
19159         Redefine in terms of FRAME_MIN_SIZE.
19160         (_dl_runtime_resolve): Use symbolic stack frame offsets.
19161         (_dl_profile_resolve): Likewise.  Update comment.
19162         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
19163         symbols stack frame offsets.
19164         (__sigsetjmp): Likewise.
19165         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
19166         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
19167         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
19168         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
19170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
19171         (FRAME_BACKCHAIN): Remove.
19172         (FRAME_CR_SAVE): Likewise.
19173         (FRAME_LR_SAVE): Likewise.
19174         (FRAME_COMPILER_DW): Likewise.
19175         (FRAME_LINKER_DW): Likewise.
19176         (FRAME_TOC_SAVE): Likewise.
19177         (FRAME_PARM_SAVE): Likewise.
19178         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
19179         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
19180         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
19181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
19182         (CHECK_SP): Use symbolic stack frame offsets.
19183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
19184         zone" instead of caller's parameter save area for temp storage.
19185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19186         Likewise.  Also, use symbolic stack frame offsets.
19187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
19188         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
19189         our own stack frame instead of the caller's.
19190         (__socket): Use symbolic stack frame offsets.
19192 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19193             Alan Modra  <amodra@gmail.com>
19195         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
19196         Define.
19197         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
19198         (PPC64_LOCAL_ENTRY_OFFSET): Define.
19199         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
19200         New function.
19201         (elf_machine_fixup_plt): Call it.
19202         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
19203         reloc arguments.
19204         (elf_machine_rela): Update call to elf_machine_plt_conflict.
19205         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
19206         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
19207         r2 before calling target.
19209 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19210             Alan Modra  <amodra@gmail.com>
19212         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
19213         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
19214         versions of macros to support ELFv2 ABI.
19215         (LOCALENTRY): New macro.
19216         (ENTRY, EALIGN): Use it.
19217         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
19218         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
19219         fall through into ENTRY entry point.
19220         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
19221         Only define if _CALL_ELF != 2.
19223         (elf_machine_matches_host): Verify ABI version matches.
19224         (RTLD_START): Use LOCALENTRY.
19225         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
19226         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
19227         (PLT_ENTRY_WORDS): New macro.
19228         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
19229         (elf_machine_runtime_setup): Support ELFv2 ABI.
19230         (elf_machine_fixup_plt): Likewise.
19231         (elf_machine_plt_conflict): Likewise.
19232         (resolve_ifunc): Likewise.
19233         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
19234         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
19235         Likewise.
19236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
19237         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
19238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19239         (makecontext): Support ELFv2 ABI.
19240         * elf/elf.h (EF_PPC64_ABI): Define.
19242 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19244         * sysdeps/powerpc/powerpc64/sysdep.h
19245         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
19246         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
19247         (ENTRY) [ASSEMBLER]: ... but instead here ...
19248         (EALIGN) [ASSEMBLER]: ... and here.
19249         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
19250         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
19251         (ENTRY_2) [!ASSEMBLER]: Use it.
19252         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
19253         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
19254         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
19255         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
19256         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
19257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
19258         Use PPC64_LOAD_FUNCPTR.
19260         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
19262 2013-12-04  Alan Modra  <amodra@gmail.com>
19264         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
19265         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
19266         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
19267         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
19269         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
19270         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
19271         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
19272         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
19273         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
19274         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
19276 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19279         (__makecontext): Fix incorrect CFI when backtracing out of
19280         context created via makecontext.
19281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
19282         (__setcontext): Fix incorrect CFI during switch to new context.
19283         (__novec_setcontext): Likewise.
19285 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
19287         [BZ #4772]
19288         * time/strptime_l.c (__strptime_internal): Allow modifiers
19289         in strptime.
19290         * time/tst-strptime.c (day_tests): Add testcase.
19292 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
19294         * scripts/bench.pl: Skip over blank lines.
19296 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
19298         [BZ #926]
19299         * manual/time.texi (Calendar Time): Clarify what timezone functions
19300         use.
19302 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19304         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19306 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
19308         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
19309         implementation.
19310         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
19311         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
19312         * debug/memset_chk.c (__memset_chk): Likewise.
19313         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
19314         * debug/strncpy_chk.c: Likewise.
19316 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
19318         [BZ #15268]
19319         [BZ #15425]
19320         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
19321         (__ieee754_exp): For possibly underflowing results, check size of
19322         result and force underflow exception if required.
19323         * math/auto-libm-test-in: Add more tests of exp.
19324         * math/auto-libm-test-out: Regenerated.
19325         * sysdeps/i386/fpu/libm-test-ulps: Update.
19326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19328         [BZ #16283]
19329         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
19330         * math/w_exp2f.c (__exp2f): Likewise.
19331         * math/w_exp2l.c (__exp2l): Likewise.
19332         * math/auto-libm-test-in: Do not allow missing errno on exp2
19333         underflow.
19334         * math/auto-libm-test-out: Regenerated.
19336 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
19338         [BZ #16274]
19339         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
19340         handle filename validation.
19341         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
19342         (do_open): Delete.
19344 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
19346         [BZ #6786]
19347         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
19348         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
19349         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
19350         <float.h>.
19351         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
19352         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
19353         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19354         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
19355         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19356         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
19357         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19358         * math/auto-libm-test-in: Don't allow missing errno from erfc.
19359         Add more erfc tests.
19360         * math/auto-libm-test-out: Regenerated.
19361         * sysdeps/i386/fpu/libm-test-ulps: Update.
19362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19364         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
19365         exp2, expm1, j0 and j1.
19366         * math/auto-libm-test-out: Regenerated.
19367         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
19368         (erfc_test_data): Likewise.
19369         (exp_test_data): Likewise.
19370         (exp_tonearest_test_data): Likewise.
19371         (exp_towardzero_test_data): Likewise.
19372         (exp_downward_test_data): Likewise.
19373         (exp_upward_test_data): Likewise.
19374         (exp10_test_data): Likewise.
19375         (exp2_test_data): Likewise.
19376         (expm1_test_data): Likewise.
19377         (j0_test_data): Likewise.
19378         (j1_test_data): Likewise.
19379         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
19380         (input_flag_type): Add flag_xfail_rounding.
19381         (input_flags): Add xfail-rounding.
19382         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
19383         (output_for_one_input_case): Handle flag_xfail_rounding.
19384         * sysdeps/i386/fpu/libm-test-ulps: Update.
19385         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19387 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
19389         [BZ #16289]
19390         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
19391         division by 0.
19393 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
19395         [BZ #16195]
19396         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
19397         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
19398         (STAP_PROBE0): New macro.
19399         (STAP_PROBE1): Likewise.
19400         (STAP_PROBE2): Likewise.
19401         (STAP_PROBE3): Likewise.
19402         (STAP_PROBE4): Likewise.
19404 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
19406         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
19408 2013-12-02  Steve Ellcey  <sellcey@mips.com>
19410         * benchtests/Makefile (bench): Add sqrt.
19411         (LDLIBS-bench-sqrt): New.
19412         * benchtests/sqrt-input: New.
19414 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
19416         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
19417         (GAIH_EAI): Likewise.
19418         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
19419         (gaih_inet): Likewise.
19420         (getaddrinfo): Don't use GAIH_EAI.
19422         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
19423         (struct gaih): Remove definition.
19425 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
19427         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
19428         Use HERRNOP directly.
19430 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19432         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19434 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
19436         * math/gen-auto-libm-tests.c (test_functions): Add more
19437         single-argument functions.
19438         (special_fill_pi_2): New function.
19439         (special_fill_minus_pi_2): Likewise.
19440         (special_fill_pi_6): Likewise.
19441         (special_fill_minus_pi_6): Likewise.
19442         (special_fill_pi_3): Likewise.
19443         (special_fill_2pi_3): Likewise.
19444         (special_fill_e): Likewise.
19445         (special_fill_1_e): Likewise.
19446         (special_fill_e_minus_1): Likewise.
19447         (special_real_inputs): Add more special inputs.
19448         (output_for_one_input_case): Do not require ERANGE on underflow to
19449         zero if round-to-nearest result does not underflow to zero, unless
19450         exact results required.
19451         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
19452         atan, atanh, cbrt, cos and cosh.
19453         * math/auto-libm-test-out: Regenerated.
19454         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
19455         (acos_tonearest_test_data): Likewise.
19456         (acos_towardzero_test_data): Likewise.
19457         (acos_downward_test_data): Likewise.
19458         (acos_upward_test_data): Likewise.
19459         (acosh_test_data): Likewise.
19460         (asin_test_data): Likewise.
19461         (asin_tonearest_test_data): Likewise.
19462         (asin_towardzero_test_data): Likewise.
19463         (asin_upward_test_data): Likewise.
19464         (asinh_test_data): Likewise.
19465         (atan_test_data): Likewise.
19466         (atanh_test_data): Likewise.
19467         (cbrt_test_data): Likewise.
19468         (cos_test_data): Likewise.
19469         (cos_tonearest_test_data): Likewise.
19470         (cos_towardzero_test_data): Likewise.
19471         (cos_downward_test_data): Likewise.
19472         (cos_upward_test_data): Likewise.
19473         (cosh_test_data): Likewise.
19474         (cosh_tonearest_test_data): Likewise.
19475         (cosh_towardzero_test_data): Likewise.
19476         (cosh_downward_test_data): Likewise.
19477         (cosh_upward_test_data): Likewise.
19478         * sysdeps/i386/fpu/libm-test-ulps: Update.
19479         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19481 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
19483         [BZ #6787]
19484         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
19485         * math/w_exp10f.c (__exp10f): Likewise.
19486         * math/w_exp10l.c (__exp10l): Likewise.
19487         * math/libm-test.inc (exp10_test_data): Add more tests and expect
19488         errno settings in existing tests.
19490         [BZ #14032]
19491         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
19492         precision control set to double precision.
19493         * sysdeps/i386/fpu/w_sqrt.c: New file.
19494         * math/auto-libm-test-in: Add more tests.
19495         * math/auto-libm-test-out: Update.
19497         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
19498         (sqrt_test_tonearest): New function.
19499         (sqrt_towardzero_test_data): New variable.
19500         (sqrt_test_towardzero): New function.
19501         (sqrt_downward_test_data): New variable.
19502         (sqrt_test_downward): New function.
19503         (sqrt_upward_test_data): New variable.
19504         (sqrt_test_upward): New function.
19505         (main): Call the new functions.
19507         * math/gen-auto-libm-tests.c: New file.
19508         * math/auto-libm-test-in: Likewise.
19509         * math/auto-libm-test-out: New generated file.
19510         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
19511         variables.
19512         (%beautify): Add generated representations of zero.
19513         (top level): Set $auto_input and call parse_auto_input.
19514         (beautify): Remove trailing "f" from hex float constants.
19515         (parse_args): Handle XFAIL_TEST.
19516         (convert_condition): New function.
19517         (or_value): Likewise.
19518         (or_cond_value): Likewise.
19519         (generate_testfile): Handle AUTO_TESTS_* lines.
19520         (parse_auto_input): New function.
19521         * math/libm-test.inc (XFAIL_TEST): New macro.
19522         (ERRNO_UNCHANGED): Update value.
19523         (ERRNO_EDOM): Likewise.
19524         (ERRNO_ERANGE): Likewise.
19525         (IGNORE_RESULT): Likewise.
19526         (TEST_COND_flt_32): New macro.
19527         (TEST_COND_dbl_64): Likewise.
19528         (TEST_COND_ldbl_96_intel): Likewise.
19529         (TEST_COND_ldbl_96_m68k): Likewise.
19530         (TEST_COND_ldbl_128): Likewise.
19531         (TEST_COND_ldbl_128ibm): Likewise.
19532         (TEST_COND_long32): Likewise.
19533         (TEST_COND_long64): Likewise.
19534         (TEST_COND_before_rounding): Likewise.
19535         (TEST_COND_after_rounding): Likewise.
19536         (enable_test): Handle XFAIL_TEST flag.
19537         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
19538         with finite results.
19539         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
19540         auto-libm-test-out.
19542 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19543             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19545         [BZ #16214]
19546         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
19547         __tls_get_addr_internal instead of __tls_get_offset in order to
19548         avoid GOT pointer dependency.  Make rtld export
19549         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
19550         __tls_get_addr since we are a __tls_get_offset platform.
19551         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
19552         GOT pointer being set up before.
19553         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
19555 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
19557         * manual/math.texi (Errors in Math Functions): Document accuracy
19558         goals.
19560         [BZ #15004]
19561         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
19562         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
19563         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19564         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19565         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19566         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19567         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19568         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
19569         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
19570         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19571         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19572         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19573         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19574         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19575         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19576         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
19578         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
19579         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
19580         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
19581         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
19582         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
19583         Likewise.
19584         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
19585         Likewise.
19586         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
19587         Likewise.
19588         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
19589         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
19590         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
19591         atomic-feupdateenv and flt-rounds.
19592         * sysdeps/powerpc/nofpu/Versions (libc): Add
19593         __atomic_feholdexcept, __atomic_feclearexcept,
19594         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
19595         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
19596         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
19597         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
19598         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
19599         here.
19600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
19601         Update.
19603         * manual/arith.texi (FP Exceptions): Document that exceptions may
19604         not be raised when matherr is used.
19605         (Math Error Reporting): Document overflow in directed rounding
19606         modes.  Document that errno may not be set when finite values are
19607         returned on overflow.  Document intent to set errno on underflow
19608         only for underflow to zero.
19610         [BZ #16271]
19611         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
19612         round-to-nearest then adjust result for other rounding modes.
19613         * include/fenv.h (fegetround): Use libm_hidden_proto.
19614         * math/fegetround.c (fegetround): Use libm_hidden_def.
19615         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
19616         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
19617         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
19618         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
19619         Likewise.
19620         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
19621         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19622         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
19623         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
19625 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19627         [BZ #16077]
19628         * nss/Versions (libnss_files): Add
19629         _nss_files_gethostbyname3_r.
19630         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
19631         New function.
19632         (HOST_DB_LOOKUP): Remove macro.
19633         (_nss_files_gethostbyname_r): Implement function without the
19634         HOST_DB_LOOKUP macro.
19635         (_nss_files_gethostbyname2_r): Likewise.
19637 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
19639         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
19641 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
19643         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
19644         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
19645         warning.
19647 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19649         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
19650         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
19651         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
19652         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
19653         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
19654         __fe_nomask_env_priv and attribute_hidden.
19655         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
19656         (libc_feupdateenv_test_ppc): Likewise.
19657         (libc_feresetround_ppc): Likewise.
19658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19659         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
19660         compat_symbol macro.
19661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19662         (__fe_nomask_env): Likewise.
19663         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
19665 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
19667         * string/Makefile: Remove ifunc tests.
19668         * string/test-string.h: Define TEST_IFUNC.
19669         * string/test-bcopy-ifunc.c: Remove.
19670         * string/test-bzero-ifunc.c: Likewise.
19671         * string/test-memccpy-ifunc.c: Likewise.
19672         * string/test-memchr-ifunc.c: Likewise.
19673         * string/test-memcmp-ifunc.c: Likewise.
19674         * string/test-memcpy-ifunc.c: Likewise.
19675         * string/test-memmem-ifunc.c: Likewise.
19676         * string/test-memmove-ifunc.c: Likewise.
19677         * string/test-mempcpy-ifunc.c: Likewise.
19678         * string/test-memrchr-ifunc.c: Likewise.
19679         * string/test-memset-ifunc.c: Likewise.
19680         * string/test-rawmemchr-ifunc.c: Likewise.
19681         * string/test-stpcpy-ifunc.c: Likewise.
19682         * string/test-stpncpy-ifunc.c: Likewise.
19683         * string/test-strcasecmp-ifunc.c: Likewise.
19684         * string/test-strcasestr-ifunc.c: Likewise.
19685         * string/test-strcat-ifunc.c: Likewise.
19686         * string/test-strchr-ifunc.c: Likewise.
19687         * string/test-strchrnul-ifunc.c: Likewise.
19688         * string/test-strcmp-ifunc.c: Likewise.
19689         * string/test-strcpy-ifunc.c: Likewise.
19690         * string/test-strcspn-ifunc.c: Likewise.
19691         * string/test-strlen-ifunc.c: Likewise.
19692         * string/test-strncasecmp-ifunc.c: Likewise.
19693         * string/test-strncat-ifunc.c: Likewise.
19694         * string/test-strncmp-ifunc.c: Likewise.
19695         * string/test-strncpy-ifunc.c: Likewise.
19696         * string/test-strnlen-ifunc.c: Likewise.
19697         * string/test-strpbrk-ifunc.c: Likewise.
19698         * string/test-strrchr-ifunc.c: Likewise.
19699         * string/test-strspn-ifunc.c: Likewise.
19700         * string/test-strstr-ifunc.c: Likewise.
19702 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
19704         * benchtests/Makefile: Remove ifunc tests.
19705         * benchtests/bench-string.h: Define TEST_IFUNC.
19706         * benchtests/bench-bcopy-ifunc.c: Remove.
19707         * benchtests/bench-bzero-ifunc.c: Likewise.
19708         * benchtests/bench-memccpy-ifunc.c: Likewise.
19709         * benchtests/bench-memchr-ifunc.c: Likewise.
19710         * benchtests/bench-memcmp-ifunc.c: Likewise.
19711         * benchtests/bench-memcpy-ifunc.c: Likewise.
19712         * benchtests/bench-memmem-ifunc.c: Likewise.
19713         * benchtests/bench-memmove-ifunc.c: Likewise.
19714         * benchtests/bench-mempcpy-ifunc.c: Likewise.
19715         * benchtests/bench-memrchr-ifunc.c: Likewise.
19716         * benchtests/bench-memset-ifunc.c: Likewise.
19717         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
19718         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
19719         * benchtests/bench-stpcpy-ifunc.c: Likewise.
19720         * benchtests/bench-stpncpy-ifunc.c: Likewise.
19721         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
19722         * benchtests/bench-strcasestr-ifunc.c: Likewise.
19723         * benchtests/bench-strcat-ifunc.c: Likewise.
19724         * benchtests/bench-strchr-ifunc.c: Likewise.
19725         * benchtests/bench-strchrnul-ifunc.c: Likewise.
19726         * benchtests/bench-strcmp-ifunc.c: Likewise.
19727         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
19728         * benchtests/bench-strcpy-ifunc.c: Likewise.
19729         * benchtests/bench-strcspn-ifunc.c: Likewise.
19730         * benchtests/bench-strlen-ifunc.c: Likewise.
19731         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
19732         * benchtests/bench-strncat-ifunc.c: Likewise.
19733         * benchtests/bench-strncmp-ifunc.c: Likewise.
19734         * benchtests/bench-strncpy-ifunc.c: Likewise.
19735         * benchtests/bench-strnlen-ifunc.c: Likewise.
19736         * benchtests/bench-strpbrk-ifunc.c: Likewise.
19737         * benchtests/bench-strrchr-ifunc.c: Likewise.
19738         * benchtests/bench-strsep-ifunc.c: Likewise.
19739         * benchtests/bench-strspn-ifunc.c: Likewise.
19740         * benchtests/bench-strstr-ifunc.c: Likewise.
19742 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
19744         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
19746 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
19748         * resolv/netdb.h: Use __glibc_reserved instead __unused.
19749         * rt/aio.h: Likewise.
19750         * sysdeps/gnu/bits/utmp.h: Likewise.
19751         * sysdeps/gnu/bits/utmpx.h: Likewise.
19752         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19753         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
19754         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
19755         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
19756         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
19757         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
19758         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
19759         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
19760         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
19761         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
19762         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
19763         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
19764         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
19765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
19766         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19767         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
19768         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
19769         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
19770         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
19771         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
19772         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
19773         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
19774         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
19775         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
19776         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
19777         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19778         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
19779         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
19780         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
19781         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
19782         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
19783         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
19784         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
19785         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
19786         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
19787         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
19788         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
19789         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
19790         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
19791         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
19792         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
19793         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
19795 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
19797         [BZ #16245]
19798         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
19799         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
19801 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
19803         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
19804         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
19805         Likewise.
19807 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19809         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
19810         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
19811         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
19812         (__fesetround): Remove define.
19813         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
19814         rounding and exceptions handling.
19815         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
19816         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
19817         (__fe_nomask_env): Likewise.
19818         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
19819         __fegetround instead of fegetround.
19820         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
19821         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
19823 2013-11-21  Roland McGrath  <roland@hack.frob.com>
19825         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
19826         it's there.
19828         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
19830 2013-11-21  Meador Inge  <meadori@codesourcery.com>
19832         [BZ #11157]
19833         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
19834         (encrypt_r): Likewise.
19835         * malloc/obstack.h (obstack_free): Likewise.
19836         * posix/unistd.h (encrypt): Likewise.
19838 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
19840         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
19841         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
19842         DL_CALL_DT_FINI() that call the functions directly.
19843         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
19844         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
19845         * elf/dl-fini.c: Likewise.
19847 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
19849         * malloc/hooks.c (memalign_check): Add alignment rounding.
19850         * malloc/malloc.c (_mid_memalign): New function.
19851         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
19852         Implement by calling _mid_memalign.
19853         * manual/probes.texi (Memory Allocation Probes): Remove
19854         memory_valloc_retry and memory_pvalloc_retry.
19856 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
19858         * locale/programs/locarchive.c (open_archive): Add const
19859         qualifier to ARCHIVEFNAME and copy default fname to
19860         DEFAULT_FNAME.
19862         [BZ #15601]
19863         * libio/tst-widetext.input: Rename Oriya to Odia.
19864         * locale/iso-639.def: Likewise.
19866         * manual/probes.texi (Mathematical Function Probes): Add
19867         documentation for sin, cos, asin and acos probes.
19868         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
19869         (__sin32): Add slowasin probe.
19870         (__cos32): Add slowacos probe.
19871         (__mpsin): Add slowsin probe.
19872         (__mpcos): Add slowcos probe.
19874 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
19876         [BZ #15483]
19877         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
19878         thread-local __sim_exceptions_thread and global
19879         __sim_exceptions_global.
19880         (__sim_disabled_exceptions): Change to thread-local
19881         __sim_disabled_exceptions_thread and global
19882         __sim_disabled_exceptions_global.
19883         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
19884         and global __sim_round_mode_global.
19885         (__simulate_exceptions): Use thread-local floating-point state and
19886         set global state from it as needed.
19887         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
19888         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
19889         __sim_round_mode_thread.
19890         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
19891         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
19892         and global __sim_exceptions_global.
19893         (__sim_disabled_exceptions): Change to thread-local
19894         __sim_disabled_exceptions_thread and global
19895         __sim_disabled_exceptions_global.
19896         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
19897         and global __sim_round_mode_global.
19898         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
19899         (SIM_SET_GLOBAL): Likewise.
19900         * sysdeps/powerpc/soft-fp/sfp-machine.h
19901         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
19902         __sim_round_mode_thread.
19903         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
19904         __sim_disabled_exceptions_thread.
19905         (__sim_exceptions): Change to __sim_exceptions_thread.
19906         (__sim_disabled_exceptions): Change to
19907         __sim_disabled_exceptions_thread.
19908         (__sim_round_mode): Change to __sim_round_mode_thread.
19909         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
19910         thread-local floating-point state and set global state from it as
19911         needed.
19912         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
19913         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
19914         (__sim_disabled_exceptions): Remove extern declaration.
19915         (feenableexcept): Use thread-local floating-point state and set
19916         global state from it as needed.
19917         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
19918         extern declaration.
19919         (__sim_disabled_exceptions): Likewise.
19920         (__sim_round_mode): Likewise.
19921         (__fegetenv): Use thread-local floating-point state.
19922         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
19923         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
19924         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
19925         floating-point state and set global state from it as needed.
19926         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
19927         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
19928         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
19929         Likewise.
19930         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
19931         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
19932         Likewise.
19933         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
19934         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
19935         Use __sim_round_mode_thread.
19936         * math/test-fenv-tls.c: New file.
19937         * math/Makefile (tests): Add test-fenv-tls.
19938         ($(objpfx)test-fenv-tls): Depend on
19939         $(common-objpfx)nptl/libpthread.so.
19941 2013-11-19  Andreas Schwab  <schwab@suse.de>
19943         * locale/programs/locale.c (show_info): Decode wordarray elements.
19944         * locale/categories.def (LC_MONETARY): Add element for
19945         _NL_MONETARY_CRNCYSTR.
19946         * locale/C-monetary.c (conversion_rate): New variable.
19947         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
19948         element.
19950 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
19952         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
19953         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
19955 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
19957         * elf/Makefile (tst-auxv): New test.
19958         * elf/tst-auxv.c: New
19959         * elf/rtld.c (dl_main): Adjust AT_EXECFN
19961 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
19963         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
19964         (hidden_proto): Caller changed.
19965         (hidden_tls_proto): New macro.
19966         (libc_hidden_tls_proto): Likewise.
19967         (rtld_hidden_tls_proto): Likewise.
19968         (libm_hidden_tls_proto): Likewise.
19969         (libresolv_hidden_tls_proto): Likewise.
19970         (librt_hidden_tls_proto): Likewise.
19971         (libdl_hidden_tls_proto): Likewise.
19972         (libnss_files_hidden_tls_proto): Likewise.
19973         (libnsl_hidden_tls_proto): Likewise.
19974         (libnss_nisplus_hidden_tls_proto): Likewise.
19975         (libutil_hidden_tls_proto): Likewise.
19977 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
19979         [BZ #10253]
19980         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
19981         (decompose_rpath): Defer expansion to fillin_rpath.
19982         (_dl_init_paths): Pass linkmap to fillin_rpath.
19984 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19986         * benchtests/Makefile: Add strsep.
19987         * benchtests/bench-strsep.c: New file: strsep benchtest.
19988         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
19990 2013-11-18  Andreas Schwab  <schwab@suse.de>
19992         * locale/programs/locale.c (show_info) [case byte]: Check for
19993         '\377' instead of '\177'.
19994         * locale/C-monetary.c (not_available): Always use "\377".
19995         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
19996         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
19997         detect unavailable sign_posn locale elements.
19998         * locale/localeconv.c (__localeconv): For grouping and
19999         mon_grouping handle "\177" and "\377" like no grouping.
20000         (INT_ELEM): New macro.  Use it to set all numeric members.
20001         * locale/programs/ld-monetary.c (monetary_read)
20002         <tok_mon_grouping>: Normalize single -1 to the empty string.
20003         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
20004         Likewise.
20006 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
20008         [BZ #16055]
20009         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
20010         when we match (nil).
20011         * stdio-common/tst-sscanf.c (struct test): Add testcase.
20013 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
20015         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
20016         (NO_TEST_INLINE): Update value.
20017         (ERRNO_UNCHANGED): Likewise.
20018         (ERRNO_EDOM): Likewise.
20019         (ERRNO_ERANGE): Likewise.
20020         (IGNORE_RESULT): Likewise.
20021         (check_float_internal): Check signs of NaN results if
20022         TEST_NAN_SIGN used.
20023         (check_complex): Pass TEST_NAN_SIGN flag through to second
20024         check_float_internal call.
20025         (copysign_test_data): Add tests with quiet NaNs as second
20026         argument.  Use TEST_NAN_SIGN.
20027         (fabs_test_data): Add test of negative quiet NaN argument.  Use
20028         TEST_NAN_SIGN.
20029         (signbit_test_data): Add tests of quiet NaN argument.
20030         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
20032         * math/gen-libm-test.pl (show_exceptions): Take extra argument
20033         $ignore_result.
20034         (parse_args): Handle function results specified as IGNORE.
20035         * math/libm-test.inc (IGNORE_RESULT): New macro.
20036         (check_float_internal): Do not check numerical result if flag
20037         IGNORE_RESULT set.
20038         (check_complex): Pass through IGNORE_RESULT to second
20039         check_float_internal call.
20040         (check_int): Do not check numerical result if flag IGNORE_RESULT
20041         set.
20042         (check_long): Likewise.
20043         (check_bool): Likewise.
20044         (check_longlong): Likewise.
20045         (lrint_test_data): Add tests of infinite and NaN arguments.
20046         (lrint_tonearest_test_data): Likewise.
20047         (lrint_towardzero_test_data): Likewise.
20048         (lrint_downward_test_data): Likewise.
20049         (lrint_upward_test_data): Likewise.
20050         (llrint_test_data): Likewise.
20051         (llrint_tonearest_test_data): Likewise.
20052         (llrint_towardzero_test_data): Likewise.
20053         (llrint_downward_test_data): Likewise.
20054         (llrint_upward_test_data): Likewise.
20055         (lround_test_data): Likewise.
20056         (llround_test_data): Likewise.
20058         * math/libm-test.inc (NO_TEST_INLINE): New macro.
20059         (ERRNO_UNCHANGED): Update value.
20060         (ERRNO_EDOM): Likewise.
20061         (ERRNO_ERANGE): Likewise.
20062         (NO_TEST_INLINE_FLOAT): New macro.
20063         (NO_TEST_INLINE_DOUBLE): Likewise.
20064         (enable_test): New function.
20065         (RUN_TEST_f_f): Check enable_test before running test.
20066         (RUN_TEST_2_f): Likewise.
20067         (RUN_TEST_fff_f): Likewise.
20068         (RUN_TEST_c_f): Likewise.
20069         (RUN_TEST_f_f1): Likewise.
20070         (RUN_TEST_fF_f1): Likewise.
20071         (RUN_TEST_fI_f1): Likewise.
20072         (RUN_TEST_ffI_f1): Likewise.
20073         (RUN_TEST_c_c): Likewise.
20074         (RUN_TEST_cc_c): Likewise.
20075         (RUN_TEST_f_i): Likewise.
20076         (RUN_TEST_f_i_tg): Likewise.
20077         (RUN_TEST_ff_i_tg): Likewise.
20078         (RUN_TEST_f_b): Likewise.
20079         (RUN_TEST_f_b_tg): Likewise.
20080         (RUN_TEST_f_l): Likewise.
20081         (RUN_TEST_f_L): Likewise.
20082         (RUN_TEST_fFF_11): Likewise.
20083         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
20084         conditionals.
20085         (cosh_test_data): Likewise.
20086         (exp_test_data): Likewise.
20087         (expm1_test_data): Likewise.
20088         (hypot_test_data): Likewise.
20089         (pow_test_data): Likewise.
20090         (sinh_test_data): Likewise.
20091         (tanh_test_data): Likewise.
20092         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
20093         flags argument.
20095         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
20096         tests with quiet NaN input and output.
20097         (acosh_test_data): Likewise.
20098         (asin_test_data): Likewise.
20099         (asinh_test_data): Likewise.
20100         (atan_test_data): Likewise.
20101         (atanh_test_data): Likewise.
20102         (atan2_test_data): Likewise.
20103         (cbrt_test_data): Likewise.
20104         (cos_test_data): Likewise.
20105         (cosh_test_data): Likewise.
20106         (erf_test_data): Likewise.
20107         (erfc_test_data): Likewise.
20108         (exp_test_data): Likewise.
20109         (exp10_test_data): Likewise.
20110         (exp2_test_data): Likewise.
20111         (expm1_test_data): Likewise.
20112         (hypot_test_data): Likewise.
20113         (j0_test_data): Likewise.
20114         (j1_test_data): Likewise.
20115         (jn_test_data): Likewise.
20116         (lgamma_test_data): Likewise.
20117         (log_test_data): Likewise.
20118         (log10_test_data): Likewise.
20119         (log1p_test_data): Likewise.
20120         (log2_test_data): Likewise.
20121         (pow_test_data): Likewise.
20122         (scalb_test_data): Likewise.
20123         (sin_test_data): Likewise.
20124         (sincos_test_data): Likewise.
20125         (sinh_test_data): Likewise.
20126         (tan_test_data): Likewise.
20127         (tanh_test_data): Likewise.
20128         (tgamma_test_data): Likewise.
20129         (y0_test_data): Likewise.
20130         (y1_test_data): Likewise.
20131         (yn_test_data): Likewise.
20133         [BZ #16167]
20134         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
20135         argument being NaN and avoid computations with second argument in
20136         that case.
20137         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
20138         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
20139         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
20141 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
20143         * locale/iso-639.def: Add Chitwani Tharu (the).
20145 2013-11-14  Andreas Schwab  <schwab@suse.de>
20147         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
20148         word instead of empty string.
20150 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20153         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
20154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20155         (__fe_nomask_env): Likewise.
20157 2013-11-13  Steve Ellcey  <sellcey@mips.com>
20159         * benchtests/bench-timing.h: Include time.h.
20161 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
20163         [BZ #15997]
20164         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
20165         to 3.4.0 for x32.
20166         * sysdeps/unix/sysv/linux/configure: Regenerated.
20168 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
20170         [BZ #16151]
20171         * stdlib/strtod_l.c (round_and_return): Do not consider
20172         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
20173         exponent one less than half the least subnormal exponent.
20174         * stdlib/test-strtod-round-data: Add more tests.
20175         * stdlib/tst-strtod-round.c (tests): Regenerated.
20177 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20179         [BZ #14143]
20180         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
20181         (__fe_mask_env): Likewise.
20182         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
20183         libm_hidden_proto and add function prototype.
20184         (__fe_mask_env): Add function prototype.
20185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20186         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
20187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
20188         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
20189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20190         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
20192 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20194         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
20195         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
20197 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20199         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
20200         of htab_find_slot().
20202 2013-11-11  David S. Miller  <davem@davemloft.net>
20204         [BZ #16150]
20205         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
20206         symbol in the non-vis3 case in static builds.
20207         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
20208         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
20209         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
20210         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
20212 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
20214         [BZ #387]
20215         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
20216         it is empty.
20218 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20220         * benchtests/Makefile: Add bench-strtod.
20221         * benchtests/bench-strtod.c: New file: strtod benchtest
20223 2013-11-11  Andreas Schwab  <schwab@suse.de>
20225         [BZ #16153]
20226         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
20227         terminating NUL in key length.
20229 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20231         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
20232         Add artificial ODP entry for vDSO symbol for PPC64.
20233         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
20234         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
20236 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
20238         [BZ #15374]
20239         * nss/getent.c (services_keys): Recognize services starting with digit.
20241 2013-11-06  David S. Miller  <davem@davemloft.net>
20243         [BZ #15985]
20244         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
20245         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
20247 2013-11-06  Will Newton  <will.newton@linaro.org>
20249         * manual/memory.texi (Malloc Examples): Remove register
20250         keyword from examples.
20252 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
20254         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
20256 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
20258         [BZ #6981]
20259         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
20260         depending on [__GCC_IEC_559 > 0].
20261         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
20262         depending on [__GCC_IEC_559_COMPLEX > 0].
20264 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
20266         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
20267         to iso-639.def.
20269 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
20271         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
20273 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
20275         [BZ #16112]
20276         * malloc/malloc (malloc_info): Do not handle first bin as
20277         special case.
20279 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
20281         * locale/iso-639.def: Add Central Nahuatl (nhn).
20283 2013-11-01  Bruno Haible  <bruno@clisp.org>
20285         [BZ #7003]
20286         * manual/math.texi (BSD Random): Specify range upper bound as
20287         in POSIX.
20289 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
20291         * locale/iso-639.def: Add Meadow Mari (mhr).
20293 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
20295         [BZ #14752], [BZ #15763]
20296         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
20297         Validate name.
20298         * rt/tst_shm.c: Add test for escaping directory.
20300 2013-10-31  Andreas Schwab  <schwab@suse.de>
20302         [BZ #15917]
20303         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
20304         followed by 'x' as part of digit sequence.
20305         * stdio-common/tst-sscanf.c (double_tests2): New tests.
20307 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
20309         [BZ #16037]
20310         * configure.ac: allow GNU Make 4.0 and greater.
20311         * configure: Regenerated.
20313 2013-10-30  Will Newton  <will.newton@linaro.org>
20315         [BZ #16038]
20316         * malloc/hooks.c (memalign_check): Limit alignment to the
20317         maximum representable power of two.
20318         * malloc/malloc.c (__libc_memalign): Likewise.
20319         * malloc/tst-memalign.c (do_test): Add test for very
20320         large alignment values.
20321         * malloc/tst-posix_memalign.c (do_test): Likewise.
20323 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
20325         [BZ #11087]
20326         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
20327         (munmap_chunk): Likewise.
20328         (mremap_chunk): Likewise.
20330 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
20332         [BZ #15799]
20333         * stdlib/div.c (div): Remove obsolete code.
20334         * stdlib/ldiv.c (ldiv): Likewise.
20335         * stdlib/lldiv.c (lldiv): Likewise.
20337 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20339         [BZ #16071]
20340         * nss/nss_files/files-XXX.c (get_contents_ret): New
20341         enumerator.
20342         (get_contents): New function.
20343         (internal_getent): Use it.  Expand size of LINEBUFLEN.
20345 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
20347         * configure.in: Moved to ...
20348         * configure.ac: ... here. Change reference to configure.in
20349         to configure.ac.
20350         * sysdeps/arm/preconfigure.ac: ... here.
20351         configure.in to configure.ac.
20352         * sysdeps/gnu/configure.in: Moved to ...
20353         * sysdeps/gnu/configure.ac: ... here.
20354         * sysdeps/i386/configure.in: Moved to ...
20355         * sysdeps/i386/configure.ac: ... here.
20356         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
20357         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
20358         * sysdeps/mach/configure.in: Moved to ...
20359         * sysdeps/mach/configure.ac: ... here.
20360         * sysdeps/mach/hurd/configure.in: Moved to ...
20361         * sysdeps/mach/hurd/configure.ac: ... here.
20362         * sysdeps/powerpc/configure.in: Moved to ...
20363         * sysdeps/powerpc/configure.ac: ... here.
20364         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
20365         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
20366         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
20367         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
20368         * sysdeps/s390/s390-32/configure.in: Moved to ...
20369         * sysdeps/s390/s390-32/configure.ac: ... here.
20370         * sysdeps/s390/s390-64/configure.in: Moved to ...
20371         * sysdeps/s390/s390-64/configure.ac: ... here.
20372         * sysdeps/sh/configure.in: Moved to ...
20373         * sysdeps/sh/configure.ac: ... here.
20374         * sysdeps/sparc/configure.in: Moved to ...
20375         * sysdeps/sparc/configure.ac: ... here.
20376         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
20377         * sysdeps/unix/sysv/linux/configure.ac: ... here.
20378         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
20379         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
20380         * sysdeps/x86_64/configure.in: Moved to ...
20381         * sysdeps/x86_64/configure.ac: ... here.
20382         * sysdeps/x86_64/preconfigure.in: Moved to ...
20383         * sysdeps/x86_64/preconfigure.ac: ... here.
20384         * aclocal.m4: Change reference to configure.in to configure.ac.
20385         * config.h.in: Likewise.
20386         * manual/install.texi: Likewise.
20387         * manual/maint.texi: Likewise.
20388         * Makefile: Likewise.
20389         * malloc/Makefile: Likewise.
20390         * nscd/Makefile: Likewise.
20391         * Makeconfig: Change reference to configure.in and
20392         preconfigure.in to configure.ac and preconfigure.ac
20393         respectively.
20394         * INSTALL: Regenerated.
20395         * configure: Likewise.
20396         * sysdeps/gnu/configure: Likewise.
20397         * sysdeps/i386/configure: Likewise.
20398         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
20399         * sysdeps/mach/configure: Likewise.
20400         * sysdeps/mach/hurd/configure: Likewise.
20401         * sysdeps/powerpc/configure: Likewise.
20402         * sysdeps/powerpc/powerpc32/configure: Likewise.
20403         * sysdeps/powerpc/powerpc64/configure: Likewise.
20404         * sysdeps/s390/s390-32/configure: Likewise.
20405         * sysdeps/s390/s390-64/configure: Likewise.
20406         * sysdeps/sh/configure: Likewise.
20407         * sysdeps/sparc/configure: Likewise.
20408         * sysdeps/unix/sysv/linux/configure: Likewise.
20409         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
20410         * sysdeps/x86_64/configure: Likewise.
20411         * sysdeps/x86_64/preconfigure: Likewise.
20413 2013-10-29  Andreas Schwab  <schwab@suse.de>
20415         * stdio-common/Makefile (tst-swscanf-ENV): Define.
20417 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20419         * benchtests/pow-inputs: Add new inputs.
20421         * benchtests/exp-inputs: Add new inputs.
20423         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
20424         conditional check for return value.
20425         (__cos32): Likewise.
20427 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20429         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
20430         to provide a boost for large inputs with word alignment.
20431         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
20432         implementation based on optimized PPC64 strcpy.
20433         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
20434         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
20435         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
20436         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
20438 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
20440         [BZ #2801]
20441         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
20443 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
20445         [BZ #14876]
20446         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
20447         * time/tst-strptime.c (day_tests): Add testcase.
20449 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
20451         [BZ #14029]
20452         * manual/pattern.texi: Acknowledge that fnmatch can fail.
20454 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
20456         [BZ #16074]
20457         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
20458         MAP_FAILED on error.
20460 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
20462         [BZ #16072]
20463         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
20464         heap for large requests.
20466 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
20468         [BZ #9954]
20469         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
20470         result if the result has no associated interface.
20471         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
20472         interface for all 127.X.Y.Z addresses.
20474 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
20476         * locale/iso-639.def: Add Ligurian (lij)
20478 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
20480         [BZ #15825]
20481         * sunrpc/rpc_main.c: Document rpcgen -5.
20483 2013-10-19  Michael Stahl  <mstahl@redhat.com>
20485         * elf/rtld.c (do_preload): Print the reason why preloading failed.
20487 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
20489         [BZ #10278]
20490         * posix/glob.c: Match only directories when trailing slash is present.
20491         * posix/tst-gnuglob.c (my_opendir): Do not open files.
20492         (main): Add testcase.
20494 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
20496         [BZ #15670]
20497         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
20499 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
20501         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
20502         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
20503         AUTH_DES and cindex for FIPS 140-2.
20504         (DES Encryption): Add cindex FIPS 46-3.
20506         * locale/locarchive.h (struct locarhandle): Add fname.
20507         * locale/programs/localedef.c (main): Pass ARGV[remaining]
20508         if an optional argument was specified to --list-archive,
20509         otherwise NULL.
20510         * locale/programs/locarchive.c (show_archive_content): Take new
20511         argument fname and pass it via ah.fname to open_archive.
20512         * locale/programs/localedef.h: Update decl.
20513         (open_archive): If AH->fname is non-null, open that file
20514         rather than the default file name, and don't ignore ENOENT.
20515         (create_archive): Set AH.fname to NULL.
20516         (delete_locales_from_archive): Likewise.
20517         (add_locales_to_archive): Likewise.
20518         * locale/programs/locfile.c (write_all_categories): Likewise.
20520 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
20521             Aldy Hernandez  <aldyh@redhat.com>
20523         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
20524         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
20525         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
20526         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
20527         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
20528         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
20529         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
20530         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
20531         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
20532         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
20533         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
20534         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
20535         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
20536         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
20537         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
20538         Likewise.
20539         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
20540         Likewise.
20541         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
20542         Likewise.
20543         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
20544         Likewise.
20545         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
20546         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
20547         Likewise.
20548         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
20549         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
20550         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
20551         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
20552         Likewise.
20553         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
20554         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
20555         * sysdeps/powerpc/preconfigure: Likewise.
20556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
20557         Likewise.
20558         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
20559         Replace contents of file by #include of <fenv_libc.h>.
20560         * sysdeps/powerpc/soft-fp/sfp-machine.h
20561         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
20562         and <sys/prctl.h>.
20563         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
20564         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
20565         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
20566         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
20567         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
20568         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
20569         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
20570         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
20571         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
20572         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
20573         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
20574         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
20575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
20576         Allow copysignl PLT reference to be missing.
20578 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
20579             Joseph Myers  <joseph@codesourcery.com
20581         [BZ #15948]
20582         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
20583         single character.
20584         (add_to_tablewc): Assert sequence of wide characters is nonempty.
20586 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
20588         * elf/tst-tls-dlinfo.c: Don't include tls.h.
20589         * elf/tst-tls1.c: Likewise.
20590         * elf/tst-tls10.h: Likewise.
20591         * elf/tst-tls14.c: Likewise.
20592         * elf/tst-tls2.c: Likewise.
20593         * elf/tst-tls3.c: Likewise.
20594         * elf/tst-tls4.c: Likewise.
20595         * elf/tst-tls5.c: Likewise.
20596         * elf/tst-tls6.c: Likewise.
20597         * elf/tst-tls7.c: Likewise.
20598         * elf/tst-tls8.c: Likewise.
20599         * elf/tst-tls9.c: Likewise.
20600         * elf/tst-tlsmod1.c: Likewise.
20601         * elf/tst-tlsmod13.c: Likewise.
20602         * elf/tst-tlsmod13a.c: Likewise.
20603         * elf/tst-tlsmod14a.c: Likewise.
20604         * elf/tst-tlsmod16a.c: Likewise.
20605         * elf/tst-tlsmod16b.c: Likewise.
20606         * elf/tst-tlsmod2.c: Likewise.
20607         * elf/tst-tlsmod3.c: Likewise.
20608         * elf/tst-tlsmod4.c: Likewise.
20609         * elf/tst-tlsmod5.c: Likewise.
20610         * elf/tst-tlsmod6.c: Likewise.
20612 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
20614         [BZ #12486]
20615         * malloc/malloc.c: remove checks for statistics.
20617 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
20619         [BZ #15277]
20620         * inet/inet_net.c (inet_network): Detect additional invalid strings.
20621         * inet/tst-network.c: Add testcase.
20623 2013-10-17  Andreas Schwab  <schwab@suse.de>
20625         [BZ #15218]
20626         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
20627         to determine canonical name.
20629 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
20631         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
20632         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
20633         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20634         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
20635         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20636         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
20637         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20638         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
20639         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
20640         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
20641         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20642         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20643         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20644         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20645         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
20646         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
20647         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20648         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20649         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
20650         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
20651         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20652         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20653         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20654         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
20655         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
20656         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20657         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20658         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
20659         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20660         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
20661         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
20662         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20663         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
20664         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20665         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20666         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20667         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20668         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20669         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20670         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20671         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20672         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
20673         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
20674         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20675         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
20676         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20677         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20678         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
20679         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
20680         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20681         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
20682         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20683         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
20684         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
20685         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20686         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
20687         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20688         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20690 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
20692         [BZ #16041]
20693         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
20694         make result into a quiet NaN.
20696 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
20698         * soft-fp/adddf3.c: Fix horizontal whitespace.
20699         * soft-fp/addsf3.c: Likewise.
20700         * soft-fp/addtf3.c: Likewise.
20701         * soft-fp/divdf3.c: Likewise.
20702         * soft-fp/divsf3.c: Likewise.
20703         * soft-fp/divtf3.c: Likewise.
20704         * soft-fp/double.h: Likewise.
20705         * soft-fp/eqdf2.c: Likewise.
20706         * soft-fp/eqsf2.c: Likewise.
20707         * soft-fp/eqtf2.c: Likewise.
20708         * soft-fp/extenddftf2.c: Likewise.
20709         * soft-fp/extended.h: Likewise.
20710         * soft-fp/extendsfdf2.c: Likewise.
20711         * soft-fp/extendsftf2.c: Likewise.
20712         * soft-fp/extendxftf2.c: Likewise.
20713         * soft-fp/fixdfdi.c: Likewise.
20714         * soft-fp/fixdfsi.c: Likewise.
20715         * soft-fp/fixdfti.c: Likewise.
20716         * soft-fp/fixsfdi.c: Likewise.
20717         * soft-fp/fixsfsi.c: Likewise.
20718         * soft-fp/fixsfti.c: Likewise.
20719         * soft-fp/fixtfdi.c: Likewise.
20720         * soft-fp/fixtfsi.c: Likewise.
20721         * soft-fp/fixtfti.c: Likewise.
20722         * soft-fp/fixunsdfdi.c: Likewise.
20723         * soft-fp/fixunsdfsi.c: Likewise.
20724         * soft-fp/fixunsdfti.c: Likewise.
20725         * soft-fp/fixunssfdi.c: Likewise.
20726         * soft-fp/fixunssfsi.c: Likewise.
20727         * soft-fp/fixunssfti.c: Likewise.
20728         * soft-fp/fixunstfdi.c: Likewise.
20729         * soft-fp/fixunstfsi.c: Likewise.
20730         * soft-fp/fixunstfti.c: Likewise.
20731         * soft-fp/floatdidf.c: Likewise.
20732         * soft-fp/floatdisf.c: Likewise.
20733         * soft-fp/floatditf.c: Likewise.
20734         * soft-fp/floatsidf.c: Likewise.
20735         * soft-fp/floatsisf.c: Likewise.
20736         * soft-fp/floatsitf.c: Likewise.
20737         * soft-fp/floattidf.c: Likewise.
20738         * soft-fp/floattisf.c: Likewise.
20739         * soft-fp/floattitf.c: Likewise.
20740         * soft-fp/floatundidf.c: Likewise.
20741         * soft-fp/floatundisf.c: Likewise.
20742         * soft-fp/floatunditf.c: Likewise.
20743         * soft-fp/floatunsidf.c: Likewise.
20744         * soft-fp/floatunsisf.c: Likewise.
20745         * soft-fp/floatunsitf.c: Likewise.
20746         * soft-fp/floatuntidf.c: Likewise.
20747         * soft-fp/floatuntisf.c: Likewise.
20748         * soft-fp/floatuntitf.c: Likewise.
20749         * soft-fp/fmadf4.c: Likewise.
20750         * soft-fp/fmasf4.c: Likewise.
20751         * soft-fp/fmatf4.c: Likewise.
20752         * soft-fp/gedf2.c: Likewise.
20753         * soft-fp/gesf2.c: Likewise.
20754         * soft-fp/getf2.c: Likewise.
20755         * soft-fp/ledf2.c: Likewise.
20756         * soft-fp/lesf2.c: Likewise.
20757         * soft-fp/letf2.c: Likewise.
20758         * soft-fp/muldf3.c: Likewise.
20759         * soft-fp/mulsf3.c: Likewise.
20760         * soft-fp/multf3.c: Likewise.
20761         * soft-fp/negdf2.c: Likewise.
20762         * soft-fp/negsf2.c: Likewise.
20763         * soft-fp/negtf2.c: Likewise.
20764         * soft-fp/op-1.h: Likewise.
20765         * soft-fp/op-2.h: Likewise.
20766         * soft-fp/op-4.h: Likewise.
20767         * soft-fp/op-8.h: Likewise.
20768         * soft-fp/op-common.h: Likewise.
20769         * soft-fp/quad.h: Likewise.
20770         * soft-fp/single.h: Likewise.
20771         * soft-fp/soft-fp.h: Likewise.
20772         * soft-fp/sqrtdf2.c: Likewise.
20773         * soft-fp/sqrtsf2.c: Likewise.
20774         * soft-fp/sqrttf2.c: Likewise.
20775         * soft-fp/subdf3.c: Likewise.
20776         * soft-fp/subsf3.c: Likewise.
20777         * soft-fp/subtf3.c: Likewise.
20778         * soft-fp/truncdfsf2.c: Likewise.
20779         * soft-fp/trunctfdf2.c: Likewise.
20780         * soft-fp/trunctfsf2.c: Likewise.
20781         * soft-fp/trunctfxf2.c: Likewise.
20782         * soft-fp/unorddf2.c: Likewise.
20783         * soft-fp/unordsf2.c: Likewise.
20784         * soft-fp/unordtf2.c: Likewise.
20786 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
20788         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
20789         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
20791 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
20793         * elf/dl-libc.c: Clear initfini list after freeing.
20795 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
20797         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
20798         * soft-fp/addsf3.c: Likewise.
20799         * soft-fp/addtf3.c: Likewise.
20800         * soft-fp/divdf3.c: Likewise.
20801         * soft-fp/divsf3.c: Likewise.
20802         * soft-fp/divtf3.c: Likewise.
20803         * soft-fp/double.h: Likewise.
20804         * soft-fp/eqdf2.c: Likewise.
20805         * soft-fp/eqsf2.c: Likewise.
20806         * soft-fp/eqtf2.c: Likewise.
20807         * soft-fp/extenddftf2.c: Likewise.
20808         * soft-fp/extended.h: Likewise.
20809         * soft-fp/extendsfdf2.c: Likewise.
20810         * soft-fp/extendsftf2.c: Likewise.
20811         * soft-fp/extendxftf2.c: Likewise.
20812         * soft-fp/fixdfdi.c: Likewise.
20813         * soft-fp/fixdfsi.c: Likewise.
20814         * soft-fp/fixdfti.c: Likewise.
20815         * soft-fp/fixsfdi.c: Likewise.
20816         * soft-fp/fixsfsi.c: Likewise.
20817         * soft-fp/fixsfti.c: Likewise.
20818         * soft-fp/fixtfdi.c: Likewise.
20819         * soft-fp/fixtfsi.c: Likewise.
20820         * soft-fp/fixtfti.c: Likewise.
20821         * soft-fp/fixunsdfdi.c: Likewise.
20822         * soft-fp/fixunsdfsi.c: Likewise.
20823         * soft-fp/fixunsdfti.c: Likewise.
20824         * soft-fp/fixunssfdi.c: Likewise.
20825         * soft-fp/fixunssfsi.c: Likewise.
20826         * soft-fp/fixunssfti.c: Likewise.
20827         * soft-fp/fixunstfdi.c: Likewise.
20828         * soft-fp/fixunstfsi.c: Likewise.
20829         * soft-fp/fixunstfti.c: Likewise.
20830         * soft-fp/floatdidf.c: Likewise.
20831         * soft-fp/floatdisf.c: Likewise.
20832         * soft-fp/floatditf.c: Likewise.
20833         * soft-fp/floatsidf.c: Likewise.
20834         * soft-fp/floatsisf.c: Likewise.
20835         * soft-fp/floatsitf.c: Likewise.
20836         * soft-fp/floattidf.c: Likewise.
20837         * soft-fp/floattisf.c: Likewise.
20838         * soft-fp/floattitf.c: Likewise.
20839         * soft-fp/floatundidf.c: Likewise.
20840         * soft-fp/floatundisf.c: Likewise.
20841         * soft-fp/floatunsidf.c: Likewise.
20842         * soft-fp/floatunsisf.c: Likewise.
20843         * soft-fp/floatuntidf.c: Likewise.
20844         * soft-fp/floatuntisf.c: Likewise.
20845         * soft-fp/floatuntitf.c: Likewise.
20846         * soft-fp/fmadf4.c: Likewise.
20847         * soft-fp/fmasf4.c: Likewise.
20848         * soft-fp/fmatf4.c: Likewise.
20849         * soft-fp/gedf2.c: Likewise.
20850         * soft-fp/gesf2.c: Likewise.
20851         * soft-fp/getf2.c: Likewise.
20852         * soft-fp/ledf2.c: Likewise.
20853         * soft-fp/lesf2.c: Likewise.
20854         * soft-fp/letf2.c: Likewise.
20855         * soft-fp/muldf3.c: Likewise.
20856         * soft-fp/mulsf3.c: Likewise.
20857         * soft-fp/multf3.c: Likewise.
20858         * soft-fp/negdf2.c: Likewise.
20859         * soft-fp/negsf2.c: Likewise.
20860         * soft-fp/negtf2.c: Likewise.
20861         * soft-fp/op-1.h: Likewise.
20862         * soft-fp/op-2.h: Likewise.
20863         * soft-fp/op-4.h: Likewise.
20864         * soft-fp/op-8.h: Likewise.
20865         * soft-fp/op-common.h: Likewise.
20866         * soft-fp/quad.h: Likewise.
20867         * soft-fp/single.h: Likewise.
20868         * soft-fp/soft-fp.h: Likewise.
20869         * soft-fp/sqrtdf2.c: Likewise.
20870         * soft-fp/sqrtsf2.c: Likewise.
20871         * soft-fp/sqrttf2.c: Likewise.
20872         * soft-fp/subdf3.c: Likewise.
20873         * soft-fp/subsf3.c: Likewise.
20874         * soft-fp/subtf3.c: Likewise.
20875         * soft-fp/truncdfsf2.c: Likewise.
20876         * soft-fp/trunctfdf2.c: Likewise.
20877         * soft-fp/trunctfsf2.c: Likewise.
20878         * soft-fp/trunctfxf2.c: Likewise.
20879         * soft-fp/unorddf2.c: Likewise.
20880         * soft-fp/unordsf2.c: Likewise.
20881         * soft-fp/unordtf2.c: Likewise.
20883 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
20885         [BZ #15672]
20886         * misc/error.c (error_tail): Fix possible buffer overflow.
20888 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
20890         [BZ #13028]
20891         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
20892         address.
20894 2013-10-14  P. J. McDermott  <pj@pehjota.net>
20896         [BZ #832]
20897         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
20898         testing pipefail option.
20900 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
20902         * soft-fp/double.h: Indent preprocessor directives inside #if.
20903         * soft-fp/extended.h: Likewise.
20904         * soft-fp/op-2.h: Likewise.
20905         * soft-fp/op-4.h: Likewise.
20906         * soft-fp/op-common.h: Likewise.
20907         * soft-fp/quad.h: Likewise.
20908         * soft-fp/single.h: Likewise.
20909         * soft-fp/soft-fp.h: Likewise.
20911 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
20913         * iconv/iconv_prog.c: Fix typos.
20914         * stdio-common/psiginfo-data.h: Likewise.
20916 2013-10-12   Reuben Thomas <rrt@sc3d.org>
20918         [BZ #15764]
20919         * locale/setlocale.c: Fix typo.
20921 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
20923         [BZ #16036]
20924         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
20925         signaling NaN arguments.
20926         * soft-fp/unordsf2.c (__unordsf2): Likewise.
20927         * soft-fp/unordtf2.c (__unordtf2): Likewise.
20929         [BZ #14910]
20930         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
20931         unordered operands.
20932         * soft-fp/gesf2.c (__gesf2): Likewise.
20933         * soft-fp/getf2.c (__getf2): Likewise.
20934         * soft-fp/ledf2.c (__ledf2): Likewise.
20935         * soft-fp/lesf2.c (__lesf2): Likewise.
20936         * soft-fp/letf2.c (__letf2): Likewise.
20938         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
20939         * soft-fp/eqsf2.c (__eqsf2): Likewise.
20940         * soft-fp/eqtf2.c (__eqtf2): Likewise.
20941         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
20942         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
20943         * soft-fp/fixdfti.c (__fixdfti): Likewise.
20944         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
20945         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
20946         * soft-fp/fixsfti.c (__fixsfti): Likewise.
20947         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
20948         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
20949         * soft-fp/fixtfti.c (__fixtfti): Likewise.
20950         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
20951         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
20952         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
20953         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
20954         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
20955         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
20956         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
20957         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
20958         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
20959         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
20960         * soft-fp/floatdisf.c (__floatdisf): Likewise.
20961         * soft-fp/floatsisf.c (__floatsisf): Likewise.
20962         * soft-fp/floattidf.c (__floattidf): Likewise.
20963         * soft-fp/floattisf.c (__floattisf): Likewise.
20964         * soft-fp/floattitf.c (__floattitf): Likewise.
20965         * soft-fp/floatundidf.c (__floatundidf): Likewise.
20966         * soft-fp/floatundisf.c (__floatundisf): Likewise.
20967         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
20968         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
20969         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
20970         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
20971         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
20972         * soft-fp/gesf2.c (__gesf2): Likewise.
20973         * soft-fp/getf2.c (__getf2): Likewise.
20974         * soft-fp/ledf2.c (__ledf2): Likewise.
20975         * soft-fp/lesf2.c (__lesf2): Likewise.
20976         * soft-fp/letf2.c (__letf2): Likewise.
20978         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
20979         Undefine and redefine.
20980         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
20981         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
20982         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
20983         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
20984         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20985         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
20986         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20987         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
20988         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20989         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
20990         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20991         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
20992         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20993         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
20994         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20996         [BZ #16032]
20997         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
20998         without decrementing exponent if mantissa >= that for the
20999         denominator, not >.
21000         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
21001         denominator, not >.  Decrement exponent in < case instead of
21002         incrementing in >= case.
21003         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
21004         without decrementing exponent if mantissa >= that for the
21005         denominator, not >.
21007         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
21008         computing saturated result for unsigned overflow.
21010 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21011             Jeff Law  <law@redhat.com>
21013         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
21014         (atan2Mp): Add systemtap probe marker.
21015         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
21016         (__ieee754_log): Add systemtap probe marker.
21017         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
21018         (atanMp): Add systemtap probe marker.
21019         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
21020         (tanMp): Add systemtap probe marker.
21021         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
21022         (__slowexp): Add systemtap probe marker.
21023         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
21024         (__slowpow): Add systemtap probe marker.
21025         * manual/probes.texi: Document probes.
21027 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
21029         [BZ #15362]
21030         * libio/fileops.c (_IO_new_file_write): Return count of bytes
21031         written.
21032         (_IO_new_file_xsputn): Don't return EOF if nothing has been
21033         written.
21034         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
21035         written to buffer but not flushed.
21036         * libio/iofwrite_u.c:  Likewise.
21037         * libio/iopadn.c:  Return bytes returned even if EOF was
21038         encountered.
21039         * libio/iowpadn.c:  Likewise.
21040         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
21041         if _IO_padn does not write the whole buffer.
21042         [!COMPILE_WPRINTF] (PAD): Likewise.
21044 2013-10-10  David S. Miller  <davem@davemloft.net>
21046         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
21047         directory block.
21049 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
21051         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
21052         instead of FSF address.
21053         * soft-fp/fixdfti.c: Likewise.
21054         * soft-fp/fixsfti.c: Likewise.
21055         * soft-fp/fixtfti.c: Likewise.
21056         * soft-fp/fixunsdfti.c: Likewise.
21057         * soft-fp/fixunssfti.c: Likewise.
21058         * soft-fp/fixunstfti.c: Likewise.
21059         * soft-fp/floattidf.c: Likewise.
21060         * soft-fp/floattisf.c: Likewise.
21061         * soft-fp/floattitf.c: Likewise.
21062         * soft-fp/floatuntidf.c: Likewise.
21063         * soft-fp/floatuntisf.c: Likewise.
21064         * soft-fp/floatuntitf.c: Likewise.
21065         * soft-fp/trunctfxf2.c: Likewise.
21067         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
21068         * soft-fp/fixdfti.c: Likewise.
21069         * soft-fp/fixsfti.c: Likewise.
21070         * soft-fp/fixtfti.c: Likewise.
21071         * soft-fp/fixunsdfti.c: Likewise.
21072         * soft-fp/fixunssfti.c: Likewise.
21073         * soft-fp/fixunstfti.c: Likewise.
21074         * soft-fp/floattidf.c: Likewise.
21075         * soft-fp/floattisf.c: Likewise.
21076         * soft-fp/floattitf.c: Likewise.
21077         * soft-fp/floatuntidf.c: Likewise.
21078         * soft-fp/floatuntisf.c: Likewise.
21079         * soft-fp/floatuntitf.c: Likewise.
21080         * soft-fp/trunctfxf2.c: Likewise.
21082 2013-10-10  David S. Miller  <davem@davemloft.net>
21084         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21086 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
21088         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
21089         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
21090         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
21091         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
21092         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
21093         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
21094         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
21096         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
21097         for NaNs before doing comparisons on argument.
21098         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
21099         Likewise.
21101 2013-10-10  Will Newton  <will.newton@linaro.org>
21103         * malloc/hooks.c (memalign_check): Ensure the value of bytes
21104         passed to _int_memalign does not overflow.
21106 2013-10-10  Torvald Riegel  <triegel@redhat.com>
21108         * scripts/bench.pl: Add include-sources directive.
21109         * benchtests/README: Update documentation.
21111 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
21113         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
21114         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
21115         instead of FP_INIT_ROUNDMODE.
21116         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
21117         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
21119         [BZ #16034]
21120         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
21121         copy class of input value.
21122         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
21123         not handle exceptions.
21124         * soft-fp/negsf2.c (__negsf2): Likewise.
21125         * soft-fp/negtf2.c (__negtf2): Likewise.
21126         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
21128 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
21130         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
21131         semicolon.  From Linux kernel.
21133 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
21135         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
21137 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
21139         [BZ #156]
21140         * manual/socket.texi: Added statement about buffer
21141         for gethostbyname2_r.
21143 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
21145         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
21146         Use .p2align directive instead, throughout.
21147         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
21148         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
21149         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
21150         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21151         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21152         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
21153         * sysdeps/x86_64/strchr.S: Likewise.
21154         * sysdeps/x86_64/strrchr.S: Likewise.
21156 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
21158         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
21160         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
21162         * sysdeps/generic/math_private.h (__mpsin1): Remove
21163         declaration.
21164         (__mpcos1): Likewise.
21165         (__mpsin): New argument __range_reduce.
21166         (__mpcos): Likewise.
21167         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21168         (slow): Use __mpsin and __mpcos.
21169         (slow1): Likewise.
21170         (slow2): Likewise.
21171         (sloww): Likewise.
21172         (sloww1): Likewise.
21173         (sloww2): Likewise.
21174         (bsloww): Likewise.
21175         (bsloww1): Likewise.
21176         (bsloww2): Likewise.
21177         (cslow2): Likewise.
21178         (csloww): Likewise.
21179         (csloww1): Likewise.
21180         (csloww2): Likewise.
21181         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
21182         range_reduce.  Merge in __mpsin1.
21183         (__mpcos): Likewise.
21184         (__mpsin1): Remove.
21185         (__mpcos1): Likewise.
21187 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
21189         * locale/loadlocale.c (_nl_intern_locale_data): Use
21190         LOCFILE_ALIGNED_P.
21191         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
21192         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
21193         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
21194         obstack data is appropriately aligned.
21195         (obstack_int32_grow_fast): Likewise.
21196         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
21197         * locale/programs/locfile.c (add_locale_uint32): Likewise.
21198         (add_locale_uint32_array): Likewise.
21200 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
21202         * benchtests/Makefile: Remove ARGLIST and RET variables.
21203         ($(objpfx)bench-%.c): Pass only function name to the script.
21204         * benchtests/README: Update documentation.
21205         * benchtests/acos-inputs: Add new directives.
21206         * benchtests/acosh-inputs: Likewise.
21207         * benchtests/asin-inputs: Likewise.
21208         * benchtests/asinh-inputs: Likewise.
21209         * benchtests/atan-inputs: Likewise.
21210         * benchtests/atanh-inputs: Likewise.
21211         * benchtests/cos-inputs: Likewise.
21212         * benchtests/cosh-inputs: Likewise.
21213         * benchtests/exp-inputs: Likewise.
21214         * benchtests/log-inputs: Likewise.
21215         * benchtests/pow-inputs: Likewise.
21216         * benchtests/rint-inputs: Likewise.
21217         * benchtests/sin-inputs: Likewise.
21218         * benchtests/sinh-inputs: Likewise.
21219         * benchtests/tan-inputs: Likewise.
21220         * benchtests/tanh-inputs: Likewise.
21221         * scripts/bench.pl: Add support for new directives.
21223 2013-10-07  Alan Modra  <amodra@gmail.com>
21225         * README: Fix careless merge.
21227 2013-10-05  Alan Modra  <amodra@gmail.com>
21229         * NEWS: Mention powerpc64le support and bugs fixed.
21230         * README: Both big-endian and little-endian powerpc64 supported.
21232 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21234         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
21235         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
21236         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
21237         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
21239 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
21241         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
21242         match prototype.
21244 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
21246         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
21247         Move -mhard-float appending from
21248         ports/sysdeps/powerpc/powerpc32/Makefile.
21249         [$(with-fp) = yes] (ASFLAGS): Likewise.
21250         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
21251         * sysdeps/powerpc/nofpu: Move directory from
21252         ports/sysdeps/powerpc/nofpu.
21253         * sysdeps/powerpc/soft-fp: Move directory from
21254         ports/sysdeps/powerpc/soft-fp.
21255         * sysdeps/powerpc/powerpc32/405: Move directory from
21256         ports/sysdeps/powerpc/powerpc32/405.
21257         * sysdeps/powerpc/powerpc32/440: Move directory from
21258         ports/sysdeps/powerpc/powerpc32/440.
21259         * sysdeps/powerpc/powerpc32/464: Move directory from
21260         ports/sysdeps/powerpc/powerpc32/464.
21261         * sysdeps/powerpc/powerpc32/476: Move directory from
21262         ports/sysdeps/powerpc/powerpc32/476.
21263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
21264         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
21265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
21266         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
21267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
21268         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
21269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
21270         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
21271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
21272         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
21273         * README: Update for powerpc-*-linux-gnu software floating point
21274         support in libc.
21276         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
21277         case to powerpc/powerpc32*.
21278         * sysdeps/unix/sysv/linux/configure: Regenerated.
21280         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
21281         (_FPU_MASK_OM): Define as 0x04.
21282         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
21283         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
21284         0x00c10080.
21285         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
21286         0x0000003c.
21287         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
21289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
21290         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
21291         getcontext_e500.
21292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
21293         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
21294         setcontext_e500.
21295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
21296         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
21297         and setcontext_e500.
21299 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
21301         * locale/iso-3166.def: Update iso-1366.def and related occurrences
21303 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21305         * manual/threads.texi (Default Thread Attributes): Fix typo.
21307 2013-10-04  Will Newton  <will.newton@linaro.org>
21309         * malloc/Makefile: Add tst-memalign.
21310         * malloc/tst-memalign.c: New file.
21312         * malloc/tst-posix_memalign.c: Add comments.
21313         (do_test): Add comments and call free on all potentially
21314         allocated pointers. Add space after cast.
21316         * malloc/tst-pvalloc.c: Add comments.
21317         (do_test): Add comments and call free on all potentially
21318         allocated pointers. Remove duplicate check for NULL pointer.
21319         Add space after cast.
21321         * malloc/tst-valloc.c: Add comments.
21322         (do_test): Add comments and call free on all potentially
21323         allocated pointers. Remove duplicate check for NULL pointer.
21324         Add space after cast.
21326 2013-10-04  Alan Modra  <amodra@gmail.com>
21328         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21329         Use stdint types in rather than __attribute__((mode())).
21330         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21332 2013-10-04  Alan Modra  <amodra@gmail.com>
21334         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21335         Correct handling of unaligned relocs for little-endian.
21336         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21338 2013-10-04  Alan Modra  <amodra@gmail.com>
21340         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
21341         * configure: Regenerate.
21342         * nptl/shlib-versions: Powerpc*le starts at 2.18.
21343         * shlib-versions: Likewise.
21345 2013-10-04  Alan Modra  <amodra@gmail.com>
21347         * string/tester.c (test_memrchr): Increment reported test cycle.
21349 2013-10-04  Alan Modra  <amodra@gmail.com>
21351         * string/test-memcpy.c (do_one_test): When reporting errors, print
21352         string address and don't overrun end of string.
21354 2013-10-04  Alan Modra  <amodra@gmail.com>
21356         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
21357         insrdi.  Make better use of reg selection to speed exit slightly.
21358         Schedule entry path a little better.  Remove useless "are we done"
21359         checks on entry to main loop.  Handle wrapping around zero address.
21360         Correct main loop count.  Handle single left-over word from main
21361         loop inline rather than by using loop_small.  Remove extra word
21362         case in loop_small caused by wrong loop count.  Add little-endian
21363         support.
21364         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
21365         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
21366         cache hint.
21367         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
21368         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
21369         support.  Avoid rlwimi.
21370         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
21372 2013-10-04  Alan Modra  <amodra@gmail.com>
21374         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
21375         insrdi.  Formatting.
21376         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
21377         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
21378         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
21379         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21380         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
21381         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
21383 2013-10-04  Alan Modra  <amodra@gmail.com>
21385         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
21386         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21387         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
21388         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
21389         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
21390         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21391         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21392         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
21393         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
21394         use of regs.  Use power7 mtocrf.  Tidy function tails.
21396 2013-10-04  Alan Modra  <amodra@gmail.com>
21398         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
21399         Formatting.  Consistently use rXXX register defines or rN defines.
21400         Use early exit labels that avoid restoring unused non-volatile regs.
21401         Make cr field use more consistent with rWORDn compares.  Rename
21402         regs used as shift registers for unaligned loop, using rN defines
21403         for short lifetime/multiple use regs.
21404         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21405         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
21406         addi 1,1,64 to pop stack frame.  Simplify return value code.
21407         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21409 2013-10-04  Alan Modra  <amodra@gmail.com>
21411         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
21412         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
21413         rather than rlwimi.
21414         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
21415         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
21416         little-endian support.  Correct typos.
21417         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
21418         rather than rlwimi.
21419         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
21420         in loop and entry code to keep "and." results.
21421         (strchr): Add little-endian support.  Comment.  Move cntlzd
21422         earlier in tail.
21423         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
21425 2013-10-04  Alan Modra  <amodra@gmail.com>
21427         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
21428         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
21429         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
21430         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
21432 2013-10-04  Alan Modra  <amodra@gmail.com>
21434         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
21435         (rTMP): Define as r11.
21436         (strcmp): Add little-endian support.  Optimise tail.
21437         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
21438         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21439         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
21440         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21441         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
21442         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21443         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21445 2013-10-04  Alan Modra  <amodra@gmail.com>
21447         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
21448         little-endian support.  Remove unnecessary "are we done" tests.
21449         Handle "s" wrapping around zero and extremely large "size".
21450         Correct main loop count.  Handle single left-over word from main
21451         loop inline rather than by using small_loop.  Correct comments.
21452         Delete "zero" tail, use "end_max" instead.
21453         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
21455 2013-10-04  Alan Modra  <amodra@gmail.com>
21457         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
21458         support.  Don't branch over align.
21459         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
21460         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
21461         support.  Rearrange tmp reg use to suit.  Comment.
21462         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
21464 2013-10-04  Alan Modra  <amodra@gmail.com>
21466         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
21468 2013-10-04  Alan Modra  <amodra@gmail.com>
21470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
21471         conditional form of branch and link when obtaining pc.
21472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
21474 2013-10-04  Alan Modra  <amodra@gmail.com>
21476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
21477         HIWORD/LOWORD.
21478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
21479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
21481 2013-10-04  Alan Modra  <amodra@gmail.com>
21483         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
21484         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
21485         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
21486         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
21487         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21488         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
21489         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
21490         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
21491         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
21492         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
21494 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
21495             Alistair Popple <alistair@ozlabs.au.ibm.com>
21496             Alan Modra <amodra@gmail.com>
21498         [BZ #15723]
21499         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
21500         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
21501         _dl_hwcap access for little-endian.
21502         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
21503         destroy vmx regs when saving unaligned.
21504         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
21505         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
21506         destroy vmx regs when saving unaligned.
21508 2013-10-04  Alan Modra  <amodra@gmail.com>
21510         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
21511         Don't use a union to pack hi/low value.
21513 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
21515         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
21516         for little-endian.
21517         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21518         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
21519         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21520         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
21521         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
21523 2013-10-04  Alan Modra  <amodra@gmail.com>
21525         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
21526         constants to usual value for .cst8 section, and remove redundant
21527         high address load.
21528         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
21529         constant for 0x1p52.  Load little-endian words of double from
21530         correct stack offsets.
21532 2013-10-04  Alan Modra  <amodra@gmail.com>
21534         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
21535         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
21536         words of double from correct stack offsets.
21537         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
21538         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
21539         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
21540         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
21541         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
21542         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
21543         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
21544         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
21545         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
21546         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
21547         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
21548         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
21549         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21550         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21551         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21552         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
21553         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
21555 2013-10-04  Alan Modra  <amodra@gmail.com>
21557         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
21558         64-bit int/double union.
21559         (_FPU_SETCW): Likewise.
21560         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
21561         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
21563 2013-10-04  Alan Modra  <amodra@gmail.com>
21565         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
21566         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
21568 2013-10-04  Alan Modra  <amodra@gmail.com>
21570         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
21571         use vector int constants.
21572         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
21574 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
21576         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
21577         array with long long.
21578         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
21579         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
21580         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
21581         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
21582         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
21583         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
21584         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
21585         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
21586         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
21587         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
21588         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
21589         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
21590         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
21592 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
21594         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
21595         (__signbit): Likewise.  Correct for little-endian.
21596         (__signbitl): Call __signbit.
21597         (lrint): Correct for little-endian.
21598         (lrintf): Call lrint.
21600 2013-10-04  Alan Modra  <amodra@gmail.com>
21602         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
21603         union 32-bit int array member with 64-bit int array.
21604         (t515, tm256): Double rather than long double.
21605         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
21607 2013-10-04  Alan Modra  <amodra@gmail.com>
21609         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
21610         Delete.
21611         (IEEE854_LONG_DOUBLE_BIAS): Delete.
21612         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
21613         version of math_ldbl.h.
21615 2013-10-04  Alan Modra  <amodra@gmail.com>
21617         [BZ #15734], [BZ #15735]
21618         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
21619         all uses of ieee875 long double macros and unions.  Simplify test
21620         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
21621         ldbl_extract_mantissa value for ix,iy exponents.  Properly
21622         normalize after ldbl_extract_mantissa, and don't add hidden bit
21623         already handled.  Don't treat low word of ieee854 mantissa like
21624         low word of IBM long double and mask off bit when testing for
21625         zero.
21626         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
21627         all uses of ieee875 long double macros and unions.  Simplify tests
21628         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
21629         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
21630         two1022, instead use their values.  Recognise that tests for large
21631         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
21632         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
21633         Rewrite all uses of ieee875 long double macros and unions.  Simplify
21634         test for 0.0L and nan.  Correct negation.
21635         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
21636         ieee875 long double macros and unions.  Correct output for large
21637         magnitude x.  Correct absolute value calculation.
21638         (__erfcl): Likewise.
21639         * math/libm-test.inc: Add tests for errors discovered in IBM long
21640         double versions of fmodl, remainderl, erfl and erfcl.
21642 2013-10-04  Alan Modra  <amodra@gmail.com>
21644         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
21645         all uses of ieee854 long double macros and unions.  Simplify tests
21646         for long doubles that are fully specified by the high double.
21647         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
21648         Likewise.
21649         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
21650         Remove dead code too.
21651         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
21652         (__ieee754_ynl): Likewise.
21653         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
21654         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
21655         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
21656         Remove dead code too.
21657         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
21658         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
21659         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
21660         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
21661         Simplify.
21662         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
21663         Simplify.
21664         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
21665         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
21666         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
21667         Comment on variable precision.
21668         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
21669         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21670         Likewise.
21671         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
21672         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
21673         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
21674         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
21675         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
21677 2013-10-04  Alan Modra  <amodra@gmail.com>
21679         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
21680         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
21681         all uses of ieee854 long double macros and unions.
21682         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
21683         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
21684         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
21685         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
21686         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
21687         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
21688         Likewise.
21689         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
21690         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21691         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
21692         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21693         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
21694         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
21695         Simplify sign and nan test too.
21696         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
21697         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
21698         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
21699         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
21700         Likewise.
21701         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
21702         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
21703         Likewise.
21704         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21705         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
21706         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
21707         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
21708         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
21709         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
21711 2013-10-04  Alan Modra  <amodra@gmail.com>
21713         * stdio-common/printf_size.c (__printf_size): Don't use
21714         union ieee854_long_double in fpnum union.
21715         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
21716         signbit macro to retrieve sign from long double.
21717         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
21718         retrieve sign from long double.
21719         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
21720         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
21721         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
21722         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
21723         * math/test-misc.c (main): Don't use union ieee854_long_double.
21725 2013-10-04  Alan Modra  <amodra@gmail.com>
21727         [BZ #15680]
21728         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
21729         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
21730         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
21731         calculation.  Remove unnecessary test for denormal exponent.
21732         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
21733         Correct handling of denormals.  Avoid undefined shift behaviour.
21734         Correct normalisation of low mantissa when low double is denormal.
21735         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
21736         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
21737         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
21738         Correct normalisation of low mantissa.  Test for overflow of high
21739         mantissa and normalise.
21740         (ldbl_nearbyint): Use more readable constant for two52.
21741         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
21742         (__mpn_construct_long_double): Fix test for overflow of high
21743         mantissa and correct normalisation.  Avoid undefined shift.
21745 2013-10-04  Alan Modra  <amodra@gmail.com>
21747         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
21748         (union ibm_extended_long_double): Define as an array of ieee754_double.
21749         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
21750         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
21751         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
21752         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21753         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21754         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
21755         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21756         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
21757         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
21758         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
21759         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
21761 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
21763         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
21764         page size instead of calling getpagesize.
21766         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
21767         (LOCFILE_ALIGN_MASK): Likewise.
21768         (LOCFILE_ALIGN_UP): Likewise.
21769         (LOCFILE_ALIGNED_P): Likewise.
21770         * locale/programs/ld-collate.c (collate_output): Use the new
21771         macros instead of __alignof__ (int32_t).
21772         * locale/weight.h (findidx): Likewise.
21774 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
21776         [BZ #431]
21777         * manual/string.texi: Fix strncat and wcsncat.
21779 2013-10-03  Brooks Moses  <bmoses@google.com>
21781         [BZ #15915]
21782         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
21783         * Makerules: ...here, and adjust associated comments.
21785 2013-10-02  Will Newton  <will.newton@linaro.org>
21787         * malloc/Makefile: Add tst-pvalloc.
21788         * malloc/tst-pvalloc.c: New file.
21790 2013-10-02  Will Newton  <will.newton@linaro.org>
21792         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
21793         improve test coverage.
21795 2013-10-02  Will Newton  <will.newton@linaro.org>
21797         * malloc/Makefile: Add tst-posix_memalign.
21798         * malloc/tst-posix_memalign.c: New file.
21800 2013-10-01  Eric Blake  <eblake@redhat.com>
21802         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
21803         Use __THROWNL rather than __THROW on static functions.
21805 2013-09-30  Petr Machata  <pmachata@redhat.com>
21807         * elf/elf.h (R_AARCH64_ABS16): New macro.
21808         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
21809         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
21810         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
21811         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
21812         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
21813         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
21814         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
21815         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
21816         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
21817         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
21818         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
21819         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
21820         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
21821         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
21822         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
21823         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
21824         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
21825         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
21826         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
21827         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
21828         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
21829         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
21830         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
21831         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
21832         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
21833         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
21834         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
21835         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
21836         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
21837         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
21838         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
21839         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
21840         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
21841         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
21842         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
21843         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
21844         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
21845         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
21846         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
21847         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
21848         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
21849         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
21850         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
21851         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
21852         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
21853         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
21854         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
21855         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
21856         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
21857         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
21858         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
21859         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
21860         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
21861         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
21862         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
21863         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
21864         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
21865         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
21866         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
21867         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
21868         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
21869         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
21870         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
21871         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
21872         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
21873         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
21874         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
21875         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
21876         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
21877         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
21878         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
21879         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
21880         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
21881         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
21882         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
21883         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
21884         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
21885         (R_AARCH64_TLSDESC_LDR): Likewise.
21886         (R_AARCH64_TLSDESC_ADD): Likewise.
21887         (R_AARCH64_TLSDESC_CALL): Likewise.
21889 2013-09-30  Andreas Schwab  <schwab@suse.de>
21891         [BZ #15048]
21892         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
21893         the nss database lookup.
21894         * nscd/initgrcache.c (addinitgroupsX): Likewise.
21895         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
21897 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
21899         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
21901 2013-09-28  P. J. McDermott  <pj@pehjota.net>
21903         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
21904         ${Bash-specific parameter/pattern/string} parameter expansion.
21905         * sysdeps/unix/make-syscalls.sh: Likewise.
21907 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21909         * sysdeps/sh/stackguard-macros.h: New file.
21911 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
21913         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
21914         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
21915         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
21916         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
21917         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21918         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
21920 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21922         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
21923         Fix thread ID register.
21925 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
21927         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
21928         [POSIX || UNIX98]: Require rather than permitting all symbols from
21929         <time.h>.
21930         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
21931         element of struct sched_param.
21932         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
21933         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
21934         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
21935         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
21936         constant.
21938 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
21940         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
21941         argument calculation.
21943 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
21945         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
21946         Expect macro.
21947         [POSIX] (pthread_attr_t): Do not require type.
21948         [POSIX] (pthread_cond_t): Likewise.
21949         [POSIX] (pthread_condattr_t): Likewise.
21950         [POSIX] (pthread_key_t): Likewise.
21951         [POSIX] (pthread_mutex_t): Likewise.
21952         [POSIX] (pthread_mutexattr_t): Likewise.
21953         [POSIX] (pthread_once_t): Likewise.
21954         [POSIX] (pthread_t): Likewise.
21955         [POSIX-based standards] (pthread_atfork): Expect function.
21957 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
21958             Richard Sandiford  <richard@codesourcery.com>
21960         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
21961         (swap_endianness_p): New extern variable.
21962         (set_big_endian): New inline function.
21963         (maybe_swap_uint32): Likewise.
21964         (maybe_swap_uint32_array): Likewise.
21965         (maybe_swap_uint32_obstack): Likewise.
21966         * locale/programs/locfile.c: Include <stdbool.h>.
21967         (swap_endianness_p): New variable.
21968         (add_locale_uint32): Call maybe_swap_uint32.
21969         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
21970         (write_locale_data): Call maybe_swap_uint32_array.
21971         * locale/programs/ld-collate.c (obstack_int32_grow): Call
21972         maybe_swap_uint32.
21973         (obstack_int32_grow_fast): Likewise.
21974         (output_weightwc): Call maybe_swap_uint32_obstack.
21975         (collate_output): Likewise.
21976         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
21977         (OPT_LITTLE_ENDIAN): Likewise.
21978         (options): Add --little-endian and --big-endian options.
21979         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
21980         * locale/programs/locarchive.c: Include "locfile.h".
21981         (GET): New macro.
21982         (SET): Likewise.
21983         (INC): Likewise.
21984         (create_archive): Use the new macros to access fields of
21985         structures directly mapped from or written to locale archives.
21986         (oldlocrecentcmp): Likewise.
21987         (enlarge_archive): Likewise.
21988         (insert_name): Likewise.
21989         (add_alias): Likewise.
21990         (add_locale): Likewise.
21991         (delete_locales_from_archive): Likewise.
21992         (show_archive_content): Likewise.
21993         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
21994         locale data.
21996 2013-09-24  Roland McGrath  <roland@hack.frob.com>
21998         * manual/freemanuals.texi: Updated from (newly) canonical copy at
21999         http://www.gnu.org/doc/freemanuals.texi.
22000         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
22002 2013-09-24  Will Newton  <will.newton@linaro.org>
22004         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
22005         macro.
22007 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
22009         * locale/hashval.h (compute_hashval): Interpret bytes of key as
22010         unsigned char.
22012 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
22014         * manual/threads.texi (POSIX Threads): Fix a typo.
22016 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
22018         [BZ #14547]
22019         * string/tst-strcoll-overflow.c: New test case.
22020         * string/Makefile (xtests): Add tst-strcoll-overflow.
22021         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
22022         cache if string sizes may cause integer overflow.
22024         [BZ #14547]
22025         * string/strcoll_l.c (coll_seq): New members rule, idx,
22026         save_idx and back_us.
22027         (get_next_seq_nocache): New function.
22028         (do_compare_nocache): New function.
22029         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
22030         when malloc fails.
22032 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
22034         [BZ #15754]
22035         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
22036         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
22037         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
22039         [BZ #15754]
22040         * elf/Makefile (tests): Add tst-ptrguard1.
22041         (tests-static): Add tst-ptrguard1-static.
22042         (tst-ptrguard1-ARGS): Define.
22043         (tst-ptrguard1-static-ARGS): Define.
22044         * elf/tst-ptrguard1.c: New file.
22045         * elf/tst-ptrguard1-static.c: New file.
22046         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
22047         * sysdeps/i386/stackguard-macros.h: Likewise.
22048         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
22049         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
22050         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
22051         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
22052         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
22053         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
22055 2013-09-23  Hector Marco  <hecmargi@upv.es>
22056             Ismael Ripoll  <iripoll@disca.upv.es>
22057             Carlos O'Donell  <carlos@redhat.com>
22059         [BZ #15754]
22060         * sysdeps/generic/stackguard-macros.h: Define
22061         __pointer_chk_guard_local and POINTER_CHK_GUARD.
22062         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
22063         Define __pointer_chk_guard_local.
22064         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
22065         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
22067 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
22069         [BZ #15859]
22070         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
22072 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
22074         * include/string.h (__ffs): Declare as hidden.
22075         * string/ffs.c (__ffs): Define as hidden.
22076         * sysdeps/i386/ffs.c (__ffs): Likewise.
22077         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
22078         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
22079         * sysdeps/s390/ffs.c (__ffs): Likewise.
22080         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
22082 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
22084         * NEWS: Mention malloc probes.
22086         * malloc/arena.c (new_heap): New memory_heap_new probe.
22087         (grow_heap): New memory_heap_more probe.
22088         (shrink_heap): New memory_heap_less probe.
22089         (heap_trim): New memory_heap_free probe.
22090         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
22091         (systrim): New memory_sbrk_less probe.
22092         * manual/probes.texi: Document them.
22094         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
22095         * manual/probes.texi: Document it.
22097         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
22098         (__libc_realloc): Add memory_realloc_retry probe.
22099         (__libc_memalign): Add memory_memalign_retry probe.
22100         (__libc_valloc): Add memory_valloc_retry probe.
22101         (__libc_pvalloc): Add memory_pvalloc_retry probe.
22102         (__libc_calloc): Add memory_calloc_retry probe.
22103         * manual/probes.texi: Document them.
22105         * malloc/arena.c (get_free_list): Add probe
22106         memory_arena_reuse_free_list.
22107         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
22108         and memory_arena_reuse.
22109         (arena_get2) [!PER_THREAD]: Likewise.
22110         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
22111         memory_arena_reuse_realloc.
22112         * manual/probes.texi: Document them.
22114         * malloc/malloc.c (__libc_free): Add
22115         memory_mallopt_free_dyn_thresholds probe.
22116         (__libc_mallopt): Add multiple memory_mallopt probes.
22117         * manual/probes.texi: Document them.
22119         * malloc/malloc.c: Include stap-probe.h.
22120         (__libc_mallopt): Add memory_mallopt probe.
22121         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
22122         * manual/probes.texi: New.
22123         * manual/Makefile (chapters): Add probes.
22124         * manual/threads.texi: Set next node.
22126 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
22128         [BZ #15963, #13985]
22129         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
22130         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
22131         Add `Chinese' to `nan' entry name.
22133 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22135         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
22136         (POLYNOMIAL): Likewise.
22137         (TAYLOR_SINCOS): Likewise.
22138         (TAYLOR_SLOW): Likewise.
22139         (__sin): Use TAYLOR_SINCOS.
22140         (__cos): Likewise.
22141         (slow): Use TAYLOR_SLOW.
22142         (sloww): Likewise.
22143         (bsloww): Likewise.
22144         (csloww): Likewise.
22146 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22148         * stdlib/strtod_l.c: Fix buffer overrun.
22150 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22152         * benchtests/Makefile (bench): Add sincos.
22153         * benchtests/bench-sincos.c: New file.
22155         * math/libm-test.inc (cos_test_data): New test inputs.
22156         (sin_test_data): Likewise.
22158         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
22159         macro.
22160         (__sin): Use it.
22161         (__cos): Likewise.
22162         (slow1): Likewise.
22163         (slow2): Likewise.
22164         (sloww1): Likewise.
22165         (sloww2): Likewise.
22166         (bsloww1): Likewise.
22167         (bsloww2): Likewise.
22168         (cslow2): Likewise.
22169         (csloww1): Likewise.
22170         (csloww2): Likewise.
22172         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
22173         function.
22174         (__sin): Use it.
22175         (__cos): Likewise.
22177         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
22178         gotos.
22179         (__cos): Likewise.
22181 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
22183         * config.h.in (HAVE_MIPS_NAN2008): New macro.
22184         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
22185         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
22186         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
22187         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
22188         * elf/cache.c (print_entry): Handle the new cache flags.
22190 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
22191             Aldy Hernandez  <aldyh@redhat.com>
22193         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
22194         Change condition to [_SOFT_FLOAT].
22195         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
22196         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
22197         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
22198         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
22199         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
22200         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
22201         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
22202         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
22203         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
22204         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
22205         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
22206         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
22207         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
22208         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
22209         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
22210         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
22211         declaration.
22213 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
22215         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
22216         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
22217         (__longjmp): Use LOAD_GP to load saved GPRs.
22218         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
22219         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
22220         (__sigsetjmp): Use SAVE_GP to save GPRs.
22222         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
22223         Do not append -msoft-float.
22224         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
22226 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22228         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
22230 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
22232         [BZ #15966]
22233         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
22234         (_FPU_GETCW): Use initial "__" on variable and field names but not
22235         on macro parameter name.
22236         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
22237         parentheses around reference to macro parameter.
22239 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
22241         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
22242         prototype.
22243         (ctype_startup): Use uint32_t in cast and sizeof for
22244         ctype->charnames.
22246 2013-09-11  Jia Liu  <proljc@gmail.com>
22248         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
22249         __daddr_t_defined.
22250         [__FreeBSD__]: Likewise.
22252 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
22254         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
22255         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
22256         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
22257         (strchr): Remove __strchr_sse42 ifunc selection.
22258         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
22259         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
22261 2013-09-11  Will Newton  <will.newton@linaro.org>
22263         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
22264         parameter to RES. Remove hardcoded 1000 value.
22265         * benchtests/bench-skeleton.c (main): Pass RES parameter
22266         to TIMING_INIT and multiply result by 1000.
22268 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22270         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22272 2013-09-11  Andreas Schwab  <schwab@suse.de>
22274         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
22275         if not defined.
22276         (O_TMPFILE) [__USE_GNU]: Define.
22277         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
22278         Define.
22280 2013-09-11  Will Newton  <will.newton@linaro.org>
22282         [BZ #15857]
22283         * malloc/malloc.c (__libc_memalign): Check the value of bytes
22284         does not overflow.
22286 2013-09-11  Will Newton  <will.newton@linaro.org>
22288         [BZ #15856]
22289         * malloc/malloc.c (__libc_valloc): Check the value of bytes
22290         does not overflow.
22292 2013-09-11  Will Newton  <will.newton@linaro.org>
22294         [BZ #15855]
22295         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
22296         does not overflow.
22298 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
22300         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
22301         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22302         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22303         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22304         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22306 2013-09-10  Allan McRae  <allan@archlinux.org>
22308         [BZ #15748]
22309         * manual/arith.texi (Parsing of Floats): Clarify
22310         cross-reference.
22312         [BZ #15849]
22313         * manual/install.texi (Running make install): Mention
22314         --enable-pt-chown.
22315         * INSTALL: Regenerated.
22317 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
22319         * csu/init-first.c (_init): Remove the !SHARED condition around
22320         FPU control word initialization.
22321         * elf/dl-support.c (_dl_fpu_control): New variable.
22322         (_dl_aux_init) <AT_FPUCW>: Initialize it.
22323         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
22324         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
22325         * math/test-fpucw-static.c: New file.
22326         * math/test-fpucw-ieee.c: New file.
22327         * math/test-fpucw-ieee-static.c: New file.
22328         * math/Makefile (tests): Add `test-fpucw-ieee' and
22329         `$(tests-static)'.
22330         (tests-static): New variable.
22331         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
22332         dependency to...
22333         [($(build-shared),yes)]
22334         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
22335         ... this.
22336         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
22337         New dependency.
22339 2013-09-09  Allan McRae  <allan@archlinux.org>
22341         [BZ #15939]
22342         * manual/string.texi (Collation Functions): Fix typo in
22343         strcoll example.
22344         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
22346         [BZ #15893]
22347         * stdlib/isomac.c (get_null_defines): Fix memory leak.
22349         [BZ #15892]
22350         * libio/memstream.c (open_memstream): Fix memory leak.
22351         * libio/wmemstream.c (open_wmemstream): Likewise.
22353         [BZ #15895]
22354         * nscd/netgroupcache.c: Fix nesting of ifdefs.
22356 2013-09-09  Will Newton  <will.newton@linaro.org>
22358         * malloc/Makefile: Add tst-realloc to tests.
22359         * malloc/tst-realloc.c: New file.
22361 2013-09-09  Allan McRae  <allan@archlinux.org>
22363         [BZ #15844]
22364         * COPYING: Update from GNU website to fix FSF address.
22365         * COPYING.LIB: Likewise.
22367 2013-09-06  David S. Miller  <davem@davemloft.net>
22369         * po/zh_TW.po: Update Chinese (traditional) translation from
22370         translation project.
22372 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
22373             Joseph Myers  <joseph@codesourcery.com>
22375         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
22376         "localeinfo.h".
22377         (obstack_chunk_alloc): New macro.
22378         (obstack_chunk_free): Likewise.
22379         (record_offset): New function.
22380         (init_locale_data): Likewise.
22381         (align_locale_data): Likewise.
22382         (add_locale_empty): Likewise.
22383         (add_locale_raw_data): Likewise.
22384         (add_locale_raw_obstack): Likewise.
22385         (add_locale_string): Likewise.
22386         (add_locale_wstring): Likewise.
22387         (add_locale_uint32): Likewise.
22388         (add_locale_uint32_array): Likewise.
22389         (add_locale_char): Likewise.
22390         (start_locale_structure): Likewise.
22391         (end_locale_structure): Likewise.
22392         (start_locale_prelude): Likewise.
22393         (end_locale_prelude): Likewise.
22394         (write_locale_data): Take locale_file structure rather than an
22395         iovec.
22396         * locale/programs/locfile.h: Include "obstack.h".
22397         (struct locale_file): Change to store locale file contents instead
22398         of header.
22399         (init_locale_data): New prototype.
22400         (align_locale_data): Likewise.
22401         (add_locale_empty): Likewise.
22402         (add_locale_raw_data): Likewise.
22403         (add_locale_raw_obstack): Likewise.
22404         (add_locale_string): Likewise.
22405         (add_locale_wstring): Likewise.
22406         (add_locale_uint32): Likewise.
22407         (add_locale_uint32_array): Likewise.
22408         (add_locale_char): Likewise.
22409         (start_locale_structure): Likewise.
22410         (end_locale_structure): Likewise.
22411         (start_locale_prelude): Likewise.
22412         (end_locale_prelude): Likewise.
22413         (write_locale_data): Update prototype.
22414         * locale/programs/3level.h (struct TABLE): Remove result field.
22415         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
22416         Use new locale_file interface.
22417         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
22418         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
22419         * locale/programs/ld-address.c (address_output): Use new
22420         locale_file interface.
22421         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
22422         NO_ADD_LOCALE.
22423         (collate_finish): Don't call collseq_table_finalize.
22424         (collate_output): Use new locale_file interface.
22425         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
22426         in file.
22427         (NO_FINALIZE): Change to NO_ADD_LOCALE.
22428         (TABLE): Move defines earlier in file.
22429         (ELEMENT): Likewise.
22430         (DEFAULT): Likewise.
22431         (wctrans_table_add): Move macro and inline function earlier in
22432         file.
22433         (struct wctype_table): Move type earlier in file.
22434         (add_locale_wctype_table): New static prototype.
22435         (struct locale_ctype_t): Use logical types instead of struct iovec
22436         pointers for members.
22437         (ctype_output): Use new locale_file interface.
22438         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
22439         new locale_file interface.
22440         (allocate_arrays): Update for use of new locale_file interface.
22441         * locale/programs/ld-identification.c (identification_output): Use
22442         new locale_file interface.
22443         * locale/programs/ld-measurement.c (measurement_output): Likewise.
22444         * locale/programs/ld-messages.c (messages_output): Likewise.
22445         * locale/programs/ld-monetary.c (monetary_output): Likewise.
22446         * locale/programs/ld-name.c (name_output): Likewise.
22447         * locale/programs/ld-numeric.c (numeric_output): Likewise.
22448         * locale/programs/ld-paper.c (paper_output): Likewise.
22449         * locale/programs/ld-telephone.c (telephone_output): Likewise.
22450         * locale/programs/ld-time.c (time_output): Likewise.
22452 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22454         * benchtests/Makefile: Add memrchr benchmark.
22455         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
22456         benchmark as memrchr.
22457         * benchtests/bench-memrchr-ifunc.c: New file.
22458         * benchtests/bench-memrchr.c: New file.
22460 2013-09-06   Will Newton  <will.newton@linaro.org>
22462         * benchtests/Makefile (string-bench): Add memcpy.
22464 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
22465             Cong Wang  <amwang@redhat.com>
22467         [BZ #15850]
22468         * sysdeps/unix/sysv/linux/bits/in.h
22469         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
22470         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
22471         before __USE_KERNEL_IPV6_DEFS uses.
22472         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
22473         IPPROTO_BEETPH.
22474         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
22475         sockaddr_in6, or ipv6_mreq.
22477 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22479         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
22480         memory access for final bytes in some large inputs.
22481         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
22483 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22485         * string/test-memrchr.c: New file.
22486         * string/test-memrchr-ifunc.c: New file.
22487         * string/Makefile: Add new memrchr testcase.
22489 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
22491         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
22492         fanotify_init returns EPERM.
22494 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
22496         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
22497         errors.
22498         (top level): Treat second token from macro or constant entries for
22499         allowed headers as allowed.
22500         * include/complex.h: Condition internal declarations on
22501         [!_ISOMAC].
22502         * include/fenv.h: Condition include of <stdbool.h> and internal
22503         declarations on [!_ISOMAC].
22505 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
22507         [BZ #15923]
22508         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
22510 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
22512         * configure.in (--enable-versioning): Remove configure option.
22513         (libc_cv_asm_symver_directive): Remove configure test.
22514         (libc_cv_ld_version_script_option): Likewise.
22515         (VERSIONING): Remove variable and AC_SUBST.
22516         (DO_VERSIONING): Remove AC_DEFINE.
22517         * configure: Regenerated.
22518         * config.h.in (DO_VERSIONING): Remove macro.
22519         * Makerules [$(versioning) = yes]: Change conditionals to
22520         [$(build-shared) = yes].
22521         * config.make.in (versioning): Remove variable.
22522         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
22523         [$(build-shared) = yes].
22524         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
22525         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
22526         * elf/Makefile [$(versioning) = yes]: Change conditionals to
22527         [$(build-shared) = yes].
22528         * extra-lib.mk [$(versioning) = yes]: Likewise.
22529         * hurd/Makefile [$(versioning) = yes]: Likewise.
22530         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
22531         [SHARED].
22532         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
22533         [SHARED].
22534         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
22535         [SHARED && !NO_HIDDEN].
22536         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
22537         [SHARED].
22538         [SHARED && DO_VERSIONING]: Likewise..
22539         * libio/Makefile [$(versioning) = yes]: Change conditionals to
22540         [$(build-shared) = yes].
22541         * manual/install.texi (--disable-versioning): Remove
22542         documentation.
22543         * INSTALL: Regenerated.
22544         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
22545         to [SHARED].
22546         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
22547         [$(build-shared) = yes].
22548         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
22549         * sysdeps/i386/i686/multiarch/strstr-c.c
22550         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
22551         [SHARED && !NO_HIDDEN].
22552         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
22553         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
22554         * sysdeps/powerpc/powerpc32/dl-machine.c
22555         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
22556         * sysdeps/powerpc/powerpc32/sysdep.h
22557         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
22558         to [SHARED && PIC && !NO_HIDDEN].
22559         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
22560         conditional to [SHARED].
22562 2013-09-04   Will Newton  <will.newton@linaro.org>
22564         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
22565         * benchtests/bench-string.h: Include bench-timing.h instead
22566         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
22567         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
22568         call to HP_TIMING_DIFF_INIT.
22569         * benchtests/bench-memccpy.c: Use bench-timing.h macros
22570         instead of hp-timing.h macros.
22571         * benchtests/bench-memchr.c: Likewise.
22572         * benchtests/bench-memcmp.c: Likewise.
22573         * benchtests/bench-memcpy.c: Likewise.
22574         * benchtests/bench-memmem.c: Likewise.
22575         * benchtests/bench-memmove.c: Likewise.
22576         * benchtests/bench-memset.c: Likewise.
22577         * benchtests/bench-rawmemchr.c: Likewise.
22578         * benchtests/bench-strcasecmp.c: Likewise.
22579         * benchtests/bench-strcasestr.c: Likewise.
22580         * benchtests/bench-strcat.c: Likewise.
22581         * benchtests/bench-strchr.c: Likewise.
22582         * benchtests/bench-strcmp.c: Likewise.
22583         * benchtests/bench-strcpy.c: Likewise.
22584         * benchtests/bench-strcpy_chk.c: Likewise.
22585         * benchtests/bench-strlen.c: Likewise.
22586         * benchtests/bench-strncasecmp.c: Likewise.
22587         * benchtests/bench-strncat.c: Likewise.
22588         * benchtests/bench-strncmp.c: Likewise.
22589         * benchtests/bench-strncpy.c: Likewise.
22590         * benchtests/bench-strnlen.c: Likewise.
22591         * benchtests/bench-strpbrk.c: Likewise.
22592         * benchtests/bench-strrchr.c: Likewise.
22593         * benchtests/bench-strspn.c: Likewise.
22594         * benchtests/bench-strstr.c: Likewise.
22596 2013-09-04  Will Newton  <will.newton@linaro.org>
22598         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
22600 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
22602         [BZ #15427]
22603         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
22604         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
22605         * math/libm-test.inc (lgamma_test_data): Add more tests.
22606         * sysdeps/i386/fpu/libm-test-ulps: Update.
22607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22609 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
22611         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
22612         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22613         Add ifunc.
22614         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22615         Add strcmp-sse2-unaligned
22616         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
22618 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
22620         * Versions.def (libc): Add GLIBC_2.19.
22622 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
22624         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
22625         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
22627 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
22629         [BZ #14155]
22630         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
22631         intermediate calculations in recurrence.
22632         (__ieee754_ynf): Likewise.
22633         * math/libm-test.inc (jn_test_data): Do not allow spurious
22634         underflow exception.  Add more tests.
22635         (yn_test_data): Add more tests.
22636         * sysdeps/i386/fpu/libm-test-ulps: Update.
22637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22639 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
22641         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
22643 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
22645         * csu/init-first.c: Fix then/than typos.
22646         * locale/programs/ld-collate.c: Likewise.
22647         * locale/programs/linereader.h: Likewise.
22648         * manual/charset.texi: Likewise.
22649         * manual/filesys.texi: Likewise.
22650         * manual/stdio.texi: Likewise.
22651         * manual/string.texi: Likewise.
22652         * stdlib/fmtmsg.c: Likewise.
22653         * sysdeps/i386/stpncpy.S: Likewise.
22654         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22655         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22656         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22657         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22659 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
22661         * elf/dl-open.c: Fix typos.
22662         * iconvdata/gbbig5.c: Likewise.
22663         * iconvdata/iso-2022-jp.c: Likewise.
22664         * iconv/gconv_int.h: Likewise.
22665         * iconv/loop.c: Likewise.
22666         * nis/rpcsvc/nis.h: Likewise.
22667         * resolv/ns_name.c: Likewise.
22668         * stdio-common/vfscanf.c: Likewise.
22669         * streams/stropts.h: Likewise.
22670         * sunrpc/rpc_thread.c: Likewise.
22671         * sysdeps/i386/strpbrk.S: Likewise.
22672         * sysdeps/ieee754/k_standard.c: Likewise.
22673         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22674         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22675         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
22676         * sysdeps/mach/hurd/profil.c: Likewise.
22677         * sysdeps/s390/dl-procinfo.h: Likewise.
22678         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
22679         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
22680         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
22681         * sysdeps/x86_64/dl-trampoline.S: Likewise.
22682         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22684 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
22686         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
22687         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
22689 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
22691         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
22692         aix specific files.
22693         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
22694         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
22695         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
22696         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
22697         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
22698         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
22699         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
22700         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
22702 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
22703             Roland McGrath  <roland@hack.frob.com>
22705         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
22706         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
22708 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22710         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
22711         __executable_start symbol instead of _start.
22713 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
22715         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
22716         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
22717         Move macros to...
22718         * sysdeps/gnu/ldsodefs.h: ... this new file.
22720         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
22721         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
22722         instead of ELFOSABI_LINUX.
22724         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
22725         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
22726         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
22727         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
22728         Likewise.
22729         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
22730         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
22731         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
22732         Likewise.
22733         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
22734         (ibm_extended_long_double): Add ieee_nan member.
22735         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
22736         (do_test): New function.
22738         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
22739         TEST_TRUNC.
22740         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
22741         functions, renamed from truncdfsf_test, trunctfsf_test,
22742         trunctfdf_test.
22743         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
22744         functions.
22745         (do_test): Run all these.
22747 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
22749         * argp/argp-help.c: Fix typos.
22750         * argp/argp-parse.c: Likewise.
22751         * debug/backtracesyms.c: Likewise.
22752         * elf/elf.h: Likewise.
22753         * malloc/malloc.c: Likewise.
22754         * nis/nis_print.c: Likewise.
22755         * resolv/res_comp.c: Likewise.
22756         * stdlib/stdlib.h: Likewise.
22757         * sunrpc/clnt_tcp.c: Likewise.
22758         * sunrpc/clnt_udp.c: Likewise.
22759         * sunrpc/clnt_unix.c: Likewise.
22760         * sysdeps/unix/bsd/ptsname.c: Likewise.
22761         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
22762         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
22763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
22764         Likewise.
22765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
22766         Likewise.
22767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
22768         Likewise.
22769         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
22771 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22773         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
22774         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22776 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
22778         [BZ #15897]
22779         * dlfcn/Makefile (tests): Add bug-dl-leaf.
22780         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
22781         ($(objpfx)bug-dl-leaf): New rule.
22782         ($(objpfx)bug-dl-leaf.so): Likewise.
22783         ($(objpfx)bug-dl-leaf.out): Likewise.
22784         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
22785         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
22786         * dlfcn/bug-dl-leaf.c: New test.
22787         * dlfcn/bug-dl-leaf-lib.c: Likewise.
22788         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
22789         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
22790         (dlclose): Likewise.
22791         (dlmopen): Likewise.
22793 2013-08-27  Roland McGrath  <roland@hack.frob.com>
22795         * include/netdb.h [!_ISOMAC]:
22796         Don't include <tls.h>.
22797         (h_errno, __libc_h_errno): Move declaration and macros out of
22798         [_LIBC_REENTRANT].
22800         * include/resolv.h [_RESOLV_H_]:
22801         Don't include <tls.h>.
22802         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
22803         * resolv/res_libc.c: Don't include <tls.h>.
22804         (_res): Use __attribute__ ((nocommon)) in place of
22805         __attribute__ ((section (".bss"))).
22807         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
22808         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
22810         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
22812         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
22813         only under [SIOCGIFCONF && SIOCGIFNETMASK].
22815         * resolv/res_mkquery.c: Include <sys/time.h>.
22817         * inet/ifreq.c: Moved to ...
22818         * sysdeps/unix/ifreq.c: ... here.
22819         * inet/ifreq.c: New file, true stub version.
22821         * socket/sa_len.c: New file.
22822         * socket/Makefile (aux): Add it.
22823         * sysdeps/unix/sysv/linux/Makefile
22824         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
22825         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
22826         and #include <socket/sa_len.c>.
22827         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
22828         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
22830         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
22831         * bits/socket.h: ... here.
22833         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
22834         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
22835         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
22837 2013-08-27  Andreas Schwab  <schwab@suse.de>
22839         [BZ #15736]
22840         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
22841         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
22842         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
22843         * string/test-strcasecmp.c (test_main): Run tests in several
22844         locales.
22845         * string/test-strncasecmp.c (test_main): Likewise.
22847         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
22848         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
22849         to __strcasecmp_nonascii and __strncasecmp_nonascii.
22850         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
22851         (__strncasecmp_ssse3) [PIC]: Likewise.
22853 2013-08-26  Roland McGrath  <roland@hack.frob.com>
22855         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
22857         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
22858         instead of explicitly declaring xdecrypt.
22859         * nis/nss_nis/nis-publickey.c: Likewise.
22861 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22863         [BZ #15890]
22864         * nscd/aicache.c: Include res_hconf.h.
22865         (addhstaiX): Initialize res_hconf.
22867 2013-08-26  Andreas Schwab  <schwab@suse.de>
22869         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
22870         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
22872 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22874         * nscd/aicache.c (addhstaiX): Fix indentation.
22876 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
22878         * configure.ac: Quote $build_pt_chown test.
22879         * configure: Regenerated.
22881 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
22883         [BZ #15532]
22884         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
22885         * math/s_cexpf.c (__cexpf): Likewise.
22886         * math/s_cexpl.c (__cexpl): Likewise.
22887         * math/libm-test.inc (cexp_test_data): Correct expected return
22888         value for NaN + i0.  Add another test.
22890 2013-08-22  David S. Miller  <davem@davemloft.net>
22892         * po/ca.po: Update Catalan translation from translation project.
22893         * po/uk.po: Add Ukrainian translations from translation project.
22895 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
22897         [BZ #15797]
22898         * math/s_fdim.c (__fdim): Check for infinite arguments if result
22899         is infinite, not alongside NaN test.
22900         * math/s_fdimf.c (__fdimf): Likewise.
22901         * math/s_fdiml.c (__fdiml): Likewise.
22902         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
22903         errno is unchanged.
22905 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
22907         * argp/argp-help.c: Fix typos.
22908         * crypt/speeds.c: Likewise.
22909         * csu/check_fds.c: Likewise.
22910         * elf/dl-load.c: Likewise.
22911         * elf/dl-open.c: Likewise.
22912         * elf/reldep3.c: Likewise.
22913         * elf/reldep.c: Likewise.
22914         * elf/sprof.c: Likewise.
22915         * iconv/iconv_charmap.c: Likewise.
22916         * iconv/skeleton.c: Likewise.
22917         * iconv/strtab.c: Likewise.
22918         * io/lockf64.c: Likewise.
22919         * libio/libioP.h: Likewise.
22920         * resolv/gai_notify.c: Likewise.
22921         * resolv/ns_name.c: Likewise.
22922         * resolv/ns_samedomain.c: Likewise.
22923         * resolv/res_send.c: Likewise.
22924         * stdlib/random.c: Likewise.
22925         * sunrpc/rpc/xdr.h: Likewise.
22926         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
22927         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
22928         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
22929         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
22930         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
22931         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
22932         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
22933         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
22934         * sysdeps/mach/hurd/check_fds.c: Likewise.
22935         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
22936         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
22937         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22938         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
22939         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
22940         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
22941         * sysdeps/pthread/aio_notify.c: Likewise.
22942         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
22943         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
22944         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
22945         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22946         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
22948 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22950         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
22951         version if bit_Slow_SSE4_2 is set.
22952         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22953         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22955 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22957         [BZ #15867]
22958         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
22959         trampoline stack frame information.
22960         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
22961         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
22962         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
22963         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
22964         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
22965         * sysdeps/unix/sysv/linux/powerpc/init-first.c
22966         (_libc_vdso_platform_setup): Initialize the signal trampolines.
22967         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
22968         sa_flags value.
22969         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
22970         interrupting a syscall and set with option SA_SIGINFO.
22972 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
22974         [BZ #15531]
22975         * math/s_cproj.c (__cproj): Only return an infinity if one part of
22976         argument is infinite.
22977         * math/s_cprojf.c (__cprojf): Likewise.
22978         * math/s_cprojl.c (__cprojl): Likewise.
22979         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
22980         * math/libm-test.inc (cproj_test_data): Add more tests.
22982         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
22984         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
22985         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
22986         size.  Use __ffs to determine corresponding shift.
22988 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
22989             Roland McGrath  <roland@hack.frob.com>
22991         * Makefile (INSTALL): Remove trailing blank lines from output of
22992         makeinfo.
22994 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22996         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
22997         Align 32 bit compat elf_greg to 8 bytes.
22999 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
23001         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
23003 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
23005         * string/strcoll_l.c (coll_seq): New structure.
23006         (get_next_seq_cached): New function.
23007         (get_next_seq): New function.
23008         (do_compare): New function.
23009         (STRCOLL): Use GNU style definition.  Simplify implementation
23010         by using get_next_seq, get_next_seq_cached and do_compare.
23012 2013-08-16  Florian Weimer  <fweimer@redhat.com>
23014         [BZ #14699]
23015         CVE-2013-4237
23016         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
23017         member.
23018         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
23019         member.
23020         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
23021         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
23022         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
23023         conditional.
23024         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
23025         GETDENTS_64BIT_ALIGNED.
23026         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
23027         * manual/filesys.texi (Reading/Closing Directory): Document
23028         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
23029         strongly.
23030         * manual/conf.texi (Limits for Files): Add portability note to
23031         NAME_MAX, PATH_MAX.
23032         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
23034 2013-08-13  Andreas Schwab  <schwab@suse.de>
23036         [BZ #15749]
23037         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
23038         of fabs.
23039         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
23040         LDBL_MAX_EXP >= 16384]: Add tests for it.
23042 2013-08-12  David S. Miller  <davem@davemloft.net>
23044         * version.h (RELEASE): Set to "development".
23045         (VERSION): Set to "2.18.90".
23046         * NEWS: Add 2.19 section.
23048 2013-08-03  David S. Miller  <davem@davemloft.net>
23050         * po/ko.po: Update Korean translation from translation project.
23052 2013-08-01  David S. Miller  <davem@davemloft.net>
23054         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
23055         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
23056         Bilka.
23058 2013-07-30  David S. Miller  <davem@davemloft.net>
23060         * po/fr.po: Update French translation from translation project.
23062 2013-07-28  David S. Miller  <davem@davemloft.net>
23064         * po/cs.po: Update Czech translation from translation project.
23066         * po/sv.po: Update Swedish translation from translation project.
23068 2013-07-27  David S. Miller  <davem@davemloft.net>
23070         * po/eo.po: Update Esperanto translation from translation project.
23072         * po/vi.po: Update Vietnamese translation from translation project.
23074         * po/de.po: Update German translation from translation project.
23076 2013-07-26  David S. Miller  <davem@davemloft.net>
23078         * po/bg.po: Update Bulgarian translation from translation project.
23080         * po/nl.po: Update Dutch translation from translation project.
23081         * po/pl.po: Update Polish translation from translation project.
23082         * po/ru.po: Update Russian translation from translation project.
23084 2013-07-24  David S. Miller  <davem@davemloft.net>
23086         * po/libc.pot: Update.
23088 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23090         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
23091         variable page size.
23092         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
23093         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
23094         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
23096 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23098         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
23100 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23101             Andreas Schwab  <schwab@suse.de>
23102             Roland McGrath  <roland@hack.frob.com>
23103             Joseph Myers  <joseph@codesourcery.com>
23104             Carlos O'Donell  <carlos@redhat.com>
23106         [BZ #15755]
23107         * config.h.in: Define HAVE_PT_CHOWN.
23108         * config.make.in (build-pt-chown): New variable.
23109         * configure.in (--enable-pt_chown): New configure option.
23110         * configure: Regenerate.
23111         * login/Makefile: Include Makeconfig.  Build pt_chown only if
23112         build-pt-chown is enabled.
23113         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
23114         pt_chown to fix pty ownership.
23115         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
23116         CLOSE_ALL_FDS.
23117         * manual/install.texi (Configuring and compiling): Mention
23118         --enable-pt_chown. Add @findex for grantpt.
23119         * INSTALL: Regenerate.
23121 2013-07-20  David S. Miller  <davem@davemloft.net>
23123         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
23124         difference between 32-bit and 64-bit.
23126 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
23128         [BZ #15711]
23129         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
23130         Avoid system header dependency with -ffreestanding.
23131         ($(objpfx)bits/syscall%d): Likewise.
23133 2013-07-13  David S. Miller  <davem@davemloft.net>
23135         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
23136         underflows from atanl/atan2l due to bug 15319.
23137         (casinh_test_data): Likewise.
23139 2013-07-07  David S. Miller  <davem@davemloft.net>
23141         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
23143 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
23145         * sysdeps/i386/fpu/libm-test-ulps: Update.
23146         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23148 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23150         * configure.in (--enable-lock-elision): Fix message text.
23151         * INSTALL: Regenerate.
23152         * configure: Regenerate.
23154 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23156         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23158 2013-07-03  Andreas Jaeger  <aj@suse.de>
23160         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
23161         define.
23162         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
23163         (ptrace_peeksiginfo_args): Add.
23164         (__ptrace_peeksiginfo_flags): Add.
23165         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23166         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23167         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23169 2013-07-03  Allan McRae  <allan@archlinux.org>
23171         * sysdeps/i386/fpu/libm-test-ulps: Update.
23173 2013-07-02  David S. Miller  <davem@davemloft.net>
23175         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23177 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
23179         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23181 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
23183         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23184         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23186 2013-07-02  Andi Kleen <ak@linux.intel.com>
23188         * config.h.in (ENABLE_LOCK_ELISION): Add.
23189         * configure.in (--enable-lock-elision): Add option.
23190         * manual/install.texi: Document --enable lock elision.
23191         * configure: Regenerate
23192         * INSTALL: Regenerate.
23194 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
23196         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
23197         SSE4.2 strcasecmp for libc.a.
23198         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
23200 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
23202         [BZ #13304]
23203         * soft-fp/op-common.h (_FP_FMA): New macro.
23204         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
23205         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
23206         (_FP_MUL_MEAT_1_imm): ... here.
23207         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
23208         (_FP_MUL_MEAT_1_wide): ... here.
23209         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
23210         (_FP_MUL_MEAT_1_hard): ... here.
23211         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
23212         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
23213         (_FP_MUL_MEAT_2_wide): ... here.
23214         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
23215         (_FP_MUL_MEAT_2_wide_3mul): ... here.
23216         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
23217         (_FP_MUL_MEAT_2_gmp): ... here.
23218         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
23219         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
23220         (_FP_MUL_MEAT_4_wide): ... here.
23221         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
23222         (_FP_MUL_MEAT_4_gmp): ... here.
23223         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
23224         (_FP_WFRACBITS_DW_S): Likewise.
23225         (_FP_WFRACXBITS_DW_S): Likewise.
23226         (_FP_HIGHBIT_DW_S): Likewise.
23227         (FP_FMA_S): Likewise.
23228         (_FP_FRAC_HIGH_DW_S): Likewise.
23229         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
23230         (_FP_WFRACBITS_DW_D): Likewise.
23231         (_FP_WFRACXBITS_DW_D): Likewise.
23232         (_FP_HIGHBIT_DW_D): Likewise.
23233         (FP_FMA_D): Likewise.
23234         (_FP_FRAC_HIGH_DW_D): Likewise.
23235         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
23236         (_FP_WFRACBITS_DW_E): Likewise.
23237         (_FP_WFRACXBITS_DW_E): Likewise.
23238         (_FP_HIGHBIT_DW_E): Likewise.
23239         (FP_FMA_E): Likewise.
23240         (_FP_FRAC_HIGH_DW_E): Likewise.
23241         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
23242         (_FP_WFRACBITS_DW_Q): Likewise.
23243         (_FP_WFRACXBITS_DW_Q): Likewise.
23244         (_FP_HIGHBIT_DW_Q): Likewise.
23245         (FP_FMA_Q): Likewise.
23246         (_FP_FRAC_HIGH_DW_Q): Likewise.
23247         * soft-fp/fmasf4.c: New file.
23248         * soft-fp/fmadf4.c: Likewise.
23249         * soft-fp/fmatf4.c: Likewise.
23251 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23253         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
23254         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
23255         Silvermont.
23256         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
23257         macro.
23258         (index_Slow_SSE4_2): Likewise.
23259         (index_Prefer_PMINUB_for_stringop): Likewise.
23260         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
23261         bit_Slow_SSE4_2 is set.
23262         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23263         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23265 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23267         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
23268         rtld_global._dl_hwcap2.
23269         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
23270         POWER8.
23271         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
23272         POWER8 feature descriptions defined in _dl_hwcap2.
23273         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
23274         string handling for POWER8 feature bits.
23275         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
23276         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
23277         _dl_powerpc_cap_flags.
23278         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
23279         * sysdeps/powerpc/rtld-global-offsets.sym
23280         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
23281         _dl_hwcap2 in the rtld_global_ro structure.
23283 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23285         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
23286         hardware capabilities in support of AT_HWCAP2.
23287         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
23288         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
23289         GLRO(dl_hwcap2).
23290         (_dl_show_auxv): Add support for calling _dl_procinfo to display
23291         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
23292         explicitly the unknown a_type display mechanism is used.
23293         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
23294         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
23295         struct member.
23296         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
23297         to macro prototype for AT_HWCAP2 support.
23298         * sysdeps/i386/dl-procinfo.h: Likewise.
23299         * sysdeps/s390/dl-procinfo.h: Likewise.
23300         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
23301         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
23302         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
23303         return -1 for unknown a_type display fallback.
23304         * sysdeps/sparc/dl-procinfo.h: Likewise.
23305         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
23306         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
23308 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
23310         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
23311         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
23313 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
23315         [BZ #12492]
23316         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
23317         mprotect making __stack_prot writable.
23319 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
23320             Joseph Myers  <joseph@codesourcery.com>
23322         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
23323         as being properly aligned.
23325 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
23327         * dlfcn/modstatic5.c: New file.
23328         * dlfcn/tststatic5.c: New file.
23329         * dlfcn/Makefile (tests): Add tststatic5.
23330         (tests-static): Likewise.
23331         (modules-names): Add modstatic5.
23332         (tststatic5-ENV): New variable.
23333         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
23335         [BZ #15022]
23336         * elf/dl-support.c (_dl_main_map): New variable.
23337         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
23338         (_dl_nns, _dl_load_adds): Set to 1.
23339         (_dl_initial_searchlist): Refer to _dl_main_map.
23340         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
23341         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
23342         call to _dl_get_origin.
23343         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
23344         around call_map.
23345         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
23346         * dlfcn/modstatic3.c: New file.
23347         * dlfcn/tststatic3.c: New file.
23348         * dlfcn/tststatic4.c: New file.
23349         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
23350         (tests-static): Likewise.
23351         (modules-names): Add modstatic3.
23352         (tststatic3-ENV, tststatic4-ENV): New variables.
23353         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
23354         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
23356 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
23358         * configure.in (CC): Require GCC version 4.4 or later.
23359         * configure: Regenerated.
23360         * manual/install.texi (Tools for Compilation): Update GCC version
23361         requirement.
23362         * INSTALL: Regenerated.
23364 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23366         [BZ #15674]
23367         * string/test-memcmp.c (check2): New.
23368         (main): Call check2.
23370         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
23372 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
23374         [BZ #15022]
23375         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
23376         over to...
23377         (dl_open_worker) [!SHARED]: ... here.
23379 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23381         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
23383 2013-06-25  Richard Henderson  <rth@redhat.com>
23385         * locale/programs/locarchive.c: Include <libc-internal.h>
23387 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
23389         * manual/texinfo.tex: Update to version 2013-06-21.17, with
23390         trailing whitespace removed.
23392 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
23394         [BZ #10283]
23395         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
23396         * locale/programs/locarchive.c: Include libc-mmap.h.
23397         (prepare_address_space): Take two new outputs (the mmap base and len).
23398         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
23399         values.
23400         (create_archive): Declare new mmap base and len values for
23401         prepare_address_space, and store the result in ah.
23402         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
23403         (enlarge_archive): If ah->mmap_base is not NULL, use that and
23404         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
23405         Declare new mmap base and len values for
23406         prepare_address_space, and store the result in new_ah.
23407         (open_archive): Declare new mmap base and len values for
23408         prepare_address_space, and store the result in ah.
23409         (close_archive): If ah->mmap_base is not NULL, use that and
23410         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
23411         * sysdeps/generic/libc-mmap.h: New file.
23413 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
23415         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
23416         (ALIGN_UP): Likewise.
23417         (PTR_ALIGN_DOWN): Likewise.
23418         (PTR_ALIGN_UP): Likewise.
23420 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23422         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
23423         entry mapped to PPC_PLATFORM_POWER8.
23424         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
23425         POWER8.
23426         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
23427         (_dl_string_platform): Add case for exporting platform position for
23428         POWER8.
23429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
23430         search path to sysdeps/powerpc/powerpc32/power8 directory.
23431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
23432         search path to sysdeps/powerpc/powerpc64/power8 directory.
23433         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
23434         power7 directories.
23435         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
23436         power7 directories.
23438 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23440         * INSTALL: Regenerate.
23442         * nscd/connections.c (nscd_init): Fix comment.
23444 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
23446         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
23448         [BZ #15667]
23449         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
23450         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
23452 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
23454         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
23455         DL_DST_REQ_STATIC.
23456         (DL_DST_REQ_STATIC): Remove macro.
23458 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
23460         [BZ #7006]
23461         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
23462         with a shift of 0 bits.
23464 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
23466         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
23467         $(tststatic-ENV).
23469 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23471         [BZ #15655]
23472         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
23474 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23476         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
23477         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
23478         accepts -fno-tree-loop-distribute-patterns.
23479         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
23480         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
23481         recursive call.
23482         * string/memset.c (memset): Likewise.
23483         * string/test-memmove.c (simple_memmove): Disable loop transformation
23484         to library calls.
23485         * string/test-memset.c (simple_memset): Likewise.
23486         * benchtests/bench-memmove.c (simple_memmove): Likewise.
23487         * benchtests/bench-memset.c (simple_memset): Likewise.
23488         * configure: Regenerated.
23490 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
23492         * math/test-misc.c (main): Ignore fesetround failure when failures
23493         of subsequent rounding tests would be ignored.
23495         [BZ #15654]
23496         * math/fedisblxcpt.c (fedisableexcept): Return 0.
23497         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
23498         * math/fegetenv.c (__fegetenv): Return 0.
23499         * math/fegetexcept.c (fegetexcept): Return 0.
23500         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
23501         FE_TONEAREST.
23502         * math/feholdexcpt.c (feholdexcept): Return 0.
23503         * math/fesetenv.c (__fesetenv): Return 0.
23504         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
23505         argument FE_TONEAREST.
23506         * math/feupdateenv.c (__feupdateenv): Return 0.
23507         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
23509 2013-06-18  Roland McGrath  <roland@hack.frob.com>
23511         * elf/rtld-Rules (rtld-compile-command.S): New variable.
23512         (rtld-compile-command.s, rtld-compile-command.c): New variables.
23513         ($(objpfx)rtld-%.os rules): Use them.
23515 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23517         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
23518         fields.
23520 2013-06-17  Roland McGrath  <roland@hack.frob.com>
23522         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
23523         length of target pattern, then descending length of dependency pattern.
23524         * configure.in (AWK): Require gawk 3.1.2 or newer.
23525         * manual/install.texi (Tools for Compilation): Say that we do.
23526         * configure: Regenerated.
23528         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
23529         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
23530         * scripts/sysd-rules.awk: ... this new script.
23531         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
23532         than a glob-style pattern.
23534 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
23536         * math/test-misc.c (main): Do not treat incorrectly rounded
23537         conversions as failure unless ROUNDING_TESTS passes.
23539 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
23541         [BZ #15631]
23542         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
23543         restore exception state around main square root computation, then
23544         check for inexactness explicitly.
23546         * math/libm-test.inc (fma_test_data): Add another test.
23548 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23550         * manual/threads.texi (Non-POSIX Extensions): New document
23551         node.  Document pthread_getattr_default_np and
23552         pthread_setattr_default_np.
23554         * Versions.def (libpthread): Add GLIBC_2.18.
23555         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
23556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
23557         Likewise.
23558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23559         Likewise.
23560         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23561         Likewise.
23562         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23563         Likewise.
23564         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
23565         Likewise.
23566         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23567         Likewise.
23568         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23569         Likewise.
23570         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
23571         Likewise.
23572         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23573         Likewise.
23575 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23577         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23578         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
23580 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23581             H.J. Lu  <hjl.tools@gmail.com>
23583         [BZ #15627]
23584         * sysdeps/x86_64/rtld-memset.c: Remove file.
23585         * sysdeps/x86_64/rtld-memset.S: New file.
23587 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
23589         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
23590         (test_in_one_mode): Take arguments for whether the rounding mode
23591         is supported for each floating-point type.
23592         (do_test): Pass new arguments to test_in_one_mode using
23593         ROUNDING_TESTS.
23595 2013-06-13  Roland McGrath  <roland@hack.frob.com>
23597         * posix/tst-waitid.c (do_test): Distinguish different instances of
23598         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
23599         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
23600         before entering the kernel for waitpid.
23602 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
23604         * NEWS: Fix note on clock function precision.  Text by Roland
23605         McGrath.
23607 2013-06-13  Roland McGrath  <roland@hack.frob.com>
23609         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
23610         it into place only when and if the sanity check passes.
23612 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
23614         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
23615         output for whether conversion result is exact.  Take argument
23616         indicating whether type is IBM long double.
23617         (round_for_all): Change need_exact field to ibm_ld.
23618         * stdlib/tst-strtod-round.c (struct exactness): New type.
23619         (struct test): Change bool ld_ok field to struct exactness exact.
23620         (TEST): Update all definitions for change to field.
23621         (tests): Regenerate array contents.
23622         (test_in_one_mode): Take pointer to new field instead of old ld_ok
23623         field value.  Check for IBM long double here.
23624         (do_test): Update calls to test_in_one_mode.
23626 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
23628         [BZ #12515]
23629         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
23630         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
23632 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23634         [BZ #15605]
23635         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
23636         generated by the compiler on loop optimizations.
23637         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
23638         general definitions.
23640 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
23642         * math/bug-nextafter.c: Include <math-tests.h>.
23643         (main): Only test for exceptions if EXCEPTION_TESTS is true for
23644         the relevant type.
23645         * math/bug-nexttoward.c: Include <math-tests.h>.
23646         (main): Only test for exceptions if EXCEPTION_TESTS is true for
23647         the relevant type.
23648         * math/test-misc.c: Include <math-tests.h>.
23649         (main): Only test for exceptions if EXCEPTION_TESTS is true for
23650         the relevant type.
23652 2013-06-12  Andreas Jaeger  <aj@suse.de>
23654         * po/ia.po: Update Interlingua translation from translation
23655         project.
23657 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
23659         * include/fenv.h: Include stdbool.h.
23660         (struct rm_ctx): New structure.
23661         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
23662         Define macro.
23663         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
23664         (SET_RESTORE_ROUNDF): Likewise.
23665         (SET_RESTORE_ROUNDL): Likewise.
23666         (SET_RESTORE_ROUND_NOEX): Likewise.
23667         (SET_RESTORE_ROUND_NOEXF): Likewise.
23668         (SET_RESTORE_ROUND_NOEXL): Likewise.
23669         (SET_RESTORE_ROUND_53BIT): Likewise.
23670         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
23671         (libc_feresetround_noexf_ctx): Likewise.
23672         (libc_feresetround_noexl_ctx): Likewise.
23673         (libc_feholdsetround_53bit_ctx): Likewise.
23674         (libc_feresetround_53bit_ctx): Likewise.
23675         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
23676         (libc_feholdexcept_setround_sse_ctx): New function.
23677         (libc_fesetenv_sse_ctx): Likewise.
23678         (libc_feupdateenv_sse_ctx): Likewise.
23679         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
23680         (libc_feholdexcept_setround_387_ctx): Likewise.
23681         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
23682         (libc_feholdsetround_387_prec_ctx): Likewise.
23683         (libc_feholdsetround_387_ctx): Likewise.
23684         (libc_feholdsetround_387_53bit_ctx): Likewise.
23685         (libc_feholdsetround_sse_ctx): Likewise.
23686         (libc_feresetround_sse_ctx): Likewise.
23687         (libc_feresetround_387_ctx): Likewise.
23688         (libc_feupdateenv_387_ctx): Likewise.
23689         (libc_feholdexcept_setroundf_ctx): Define macro.
23690         (libc_fesetenvf_ctx): Likewise.
23691         (libc_feupdateenvf_ctx): Likewise.
23692         (libc_feholdsetroundf_ctx): Likewise.
23693         (libc_feresetroundf_ctx): Likewise.
23694         (libc_feholdexcept_setround_ctx): Likewise.
23695         (libc_fesetenv_ctx): Likewise.
23696         (libc_feupdateenv_ctx): Likewise.
23697         (libc_feholdsetround_ctx): Likewise.
23698         (libc_feresetround_ctx): Likewise.
23699         (libc_feholdexcept_setroundl_ctx): Likewise.
23700         (libc_feupdateenvl_ctx): Likewise.
23701         (libc_feholdsetroundl_ctx): Likewise.
23702         (libc_feresetroundl_ctx): Likewise.
23703         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
23704         (libc_feresetround_53bit_ctx): Likewise.
23706 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23708         * locale/iso-639.def: Convert to UTF-8.
23710 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
23712         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
23713         (EXCEPTION_TESTS_double): Likewise.
23714         (EXCEPTION_TESTS_long_double): Likewise.
23715         (EXCEPTION_TESTS): Likewise.
23716         * math/libm-test.inc (test_exceptions): Only test exceptions if
23717         EXCEPTION_TESTS (FLOAT).
23719 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23721         * benchtests/Makefile (string-bench): Add strcpy_chk and
23722         stpcpy_chk.
23723         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
23724         * benchtests/bench-stpcpy_chk.c: New file.
23725         * benchtests/bench-strcpy_chk-ifunc.c: New file.
23726         * benchtests/bench-strcpy_chk.c: New file.
23727         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
23728         code.
23729         (do_test): Likewise.
23731 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23733         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
23734         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
23735         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
23736         with tabs where appropriate.
23737         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
23738         dl-procinfo.h.
23739         [PPC_PLATFORM_PPC440]: Likewise.
23740         [PPC_PLATFORM_PPC464]: Likewise.
23741         [PPC_PLATFORM_PPC476]: Likewise.
23742         (_dl_string_platform): Add support for detecting ppc405, ppc440,
23743         ppc464, and ppc476 platform strings merging from ports/
23744         dl-procinfo.h.
23746 2013-06-11  Andreas Schwab  <schwab@suse.de>
23748         [BZ #14991]
23749         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
23750         (from_ucs4_idx): Regenerate.
23751         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
23752         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
23753         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
23754         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
23755         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
23756         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
23757         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
23758         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
23759         from FROM_LOOP and TO_LOOP specific macros.
23760         (BODY): Handle combining characters.
23761         * iconvdata/BIG5HKSCS.irreversible: Update.
23762         * iconvdata/BIG5HKSCS.precomposed: New file.
23763         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
23764         characters.
23765         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
23767 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23769         * include/sys/time.h: Fix indentation and add copyright header.
23771         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
23772         (do_test): Likewise.
23773         * string/test-memchr.c (do_one_test): Likewise.
23774         (do_test): Likewise.
23775         * string/test-memcmp.c (do_one_test): Likewise.
23776         (do_test): Likewise.
23777         * string/test-memcpy.c (do_one_test): Likewise.
23778         (do_test): Likewise.
23779         * string/test-memmem.c (do_one_test): Likewise.
23780         (do_test): Likewise.
23781         (do_random_tests): Likewise.
23782         * string/test-memmove.c (do_one_test): Likewise.
23783         (do_test): Likewise.
23784         * string/test-memset.c (do_one_test): Likewise.
23785         (do_test): Likewise.
23786         * string/test-rawmemchr.c (do_one_test): Likewise.
23787         (do_test): Likewise.
23788         * string/test-strcasecmp.c (do_one_test): Likewise.
23789         (do_test): Likewise.
23790         * string/test-strcasestr.c (do_one_test): Likewise.
23791         (do_test): Likewise.
23792         * string/test-strcat.c (do_one_test): Likewise.
23793         (do_test): Likewise.
23794         * string/test-strchr.c (do_one_test): Likewise.
23795         (do_test): Likewise.
23796         * string/test-strcmp.c (do_one_test): Likewise.
23797         (do_test): Likewise.
23798         * string/test-strcpy.c (do_one_test): Likewise.
23799         (do_test): Likewise.
23800         * string/test-string.h: Likewise.
23801         (test_init): Likewise.
23802         * string/test-strlen.c (do_one_test): Likewise.
23803         (do_test): Likewise.
23804         * string/test-strncasecmp.c (do_one_test): Likewise.
23805         (do_test): Likewise.
23806         * string/test-strncat.c (do_one_test): Likewise.
23807         (do_test): Likewise.
23808         * string/test-strncmp.c (do_one_test): Likewise.
23809         (do_test_limit): Likewise.
23810         (do_test): Likewise.
23811         * string/test-strncpy.c (do_one_test): Likewise.
23812         (do_test): Likewise.
23813         * string/test-strnlen.c (do_one_test): Likewise.
23814         (do_test): Likewise.
23815         * string/test-strpbrk.c (do_one_test): Likewise.
23816         (do_test): Likewise.
23817         * string/test-strrchr.c (do_one_test): Likewise.
23818         (do_test): Likewise.
23819         * string/test-strspn.c (do_one_test): Likewise.
23820         (do_test): Likewise.
23821         * string/test-strstr.c (do_one_test): Likewise.
23822         (do_test): Likewise.
23824         * benchtests/Makefile (string-bench): Add string benchmarks.
23825         * benchtests/bench-bcopy-ifunc.c: New file.
23826         * benchtests/bench-bcopy.c: New file.
23827         * benchtests/bench-bzero-ifunc.c: New file.
23828         * benchtests/bench-bzero.c: New file.
23829         * benchtests/bench-memccpy-ifunc.c: New file.
23830         * benchtests/bench-memccpy.c: New file.
23831         * benchtests/bench-memchr-ifunc.c: New file.
23832         * benchtests/bench-memchr.c: New file.
23833         * benchtests/bench-memcmp-ifunc.c: New file.
23834         * benchtests/bench-memcmp.c: New file.
23835         * benchtests/bench-memmem-ifunc.c: New file.
23836         * benchtests/bench-memmem.c: New file.
23837         * benchtests/bench-memmove-ifunc.c: New file.
23838         * benchtests/bench-memmove.c: New file.
23839         * benchtests/bench-mempcpy-ifunc.c: New file.
23840         * benchtests/bench-mempcpy.c: New file.
23841         * benchtests/bench-memset-ifunc.c: New file.
23842         * benchtests/bench-memset.c: New file.
23843         * benchtests/bench-rawmemchr-ifunc.c: New file.
23844         * benchtests/bench-rawmemchr.c: New file.
23845         * benchtests/bench-stpcpy-ifunc.c: New file.
23846         * benchtests/bench-stpcpy.c: New file.
23847         * benchtests/bench-stpncpy-ifunc.c: New file.
23848         * benchtests/bench-stpncpy.c: New file.
23849         * benchtests/bench-strcasecmp-ifunc.c: New file.
23850         * benchtests/bench-strcasecmp.c: New file.
23851         * benchtests/bench-strcasestr-ifunc.c: New file.
23852         * benchtests/bench-strcasestr.c: New file.
23853         * benchtests/bench-strcat-ifunc.c: New file.
23854         * benchtests/bench-strcat.c: New file.
23855         * benchtests/bench-strchr-ifunc.c: New file.
23856         * benchtests/bench-strchr.c: New file.
23857         * benchtests/bench-strchrnul-ifunc.c: New file.
23858         * benchtests/bench-strchrnul.c: New file.
23859         * benchtests/bench-strcmp-ifunc.c: New file.
23860         * benchtests/bench-strcmp.c: New file.
23861         * benchtests/bench-strcpy-ifunc.c: New file.
23862         * benchtests/bench-strcpy.c: New file.
23863         * benchtests/bench-strcspn-ifunc.c: New file.
23864         * benchtests/bench-strcspn.c: New file.
23865         * benchtests/bench-strlen-ifunc.c: New file.
23866         * benchtests/bench-strlen.c: New file.
23867         * benchtests/bench-strncasecmp-ifunc.c: New file.
23868         * benchtests/bench-strncasecmp.c: New file.
23869         * benchtests/bench-strncat-ifunc.c: New file.
23870         * benchtests/bench-strncat.c: New file.
23871         * benchtests/bench-strncmp-ifunc.c: New file.
23872         * benchtests/bench-strncmp.c: New file.
23873         * benchtests/bench-strncpy-ifunc.c: New file.
23874         * benchtests/bench-strncpy.c: New file.
23875         * benchtests/bench-strnlen-ifunc.c: New file.
23876         * benchtests/bench-strnlen.c: New file.
23877         * benchtests/bench-strpbrk-ifunc.c: New file.
23878         * benchtests/bench-strpbrk.c: New file.
23879         * benchtests/bench-strrchr-ifunc.c: New file.
23880         * benchtests/bench-strrchr.c: New file.
23881         * benchtests/bench-strspn-ifunc.c: New file.
23882         * benchtests/bench-strspn.c: New file.
23883         * benchtests/bench-strstr-ifunc.c: New file.
23884         * benchtests/bench-strstr.c: New file.
23886         * benchtests/Makefile: Disable parallel execution of targets.
23887         (string-bench): Add memcpy.
23888         (benchset): New variable to store a list of benchmark sets.
23889         (bench-func): Renamed from bench.
23890         (bench-set): New target.
23891         (bench): Depend on bench-func and bench-set.
23892         * benchtests/README: Add section on benchmark sets.
23893         * benchtests/bench-memcpy-ifunc.c: New file.
23894         * benchtests/bench-memcpy.c: New file.
23895         * benchtests/bench-string.h: New file.
23897 2013-06-11  Andreas Schwab  <schwab@suse.de>
23899         [BZ #15577]
23900         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
23901         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
23902         values in the triple.
23903         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
23904         terminator in the group key.
23906 2013-06-11  Andreas Jaeger  <aj@suse.de>
23908         * po/zh_TW.po: Update Chinese (traditional) translation from
23909         translation project.
23911 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23913         * include/time.h (__clock_gettime): Add libc_hidden_proto.
23914         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
23915         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
23916         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23917         (clock_getcpuclockid): Likewise.
23918         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
23919         Add weak_alias and libc_hidden_def.
23920         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
23921         * rt/clock_gettime.c (clock_gettime): Rename to
23922         __clock_gettime.  Add weak_alias and libc_hidden_def.
23923         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
23924         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
23925         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
23926         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
23927         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
23928         Likewise.
23929         * rt/clock_settime.c (clock_settime): Rename to
23930         __clock_settime.  Add weak_alias and libc_hidden_def.
23931         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
23933 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
23935         * mach/err_boot.sub: Remove trailing whitespace.
23936         * mach/err_ipc.sub: Likewise.
23937         * mach/err_mach.sub: Likewise.
23939         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
23940         (ROUNDING_TESTS_double): Likewise.
23941         (ROUNDING_TESTS_long_double): Likewise.
23942         (ROUNDING_TESTS): Likewise.
23943         * math/libm-test.inc: Include <math-tests.h>.
23944         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
23945         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
23946         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
23947         (IF_ROUND_INIT_FE_UPWARD): Likewise.
23949 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23951         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
23952         of assigning.
23954 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
23956         * sysdeps/gnu/errlist.awk: Do not generate space at end of
23957         otherwise empty TRANS lines.
23958         * sysdeps/gnu/errlist.c: Regenerated.
23960         * catgets/gencat.c (error_print): Use (void) in function
23961         definition.
23962         * crypt/crypt_util.c (__init_des): Likewise.
23963         * crypt/speeds.c (Stop): Likewise.
23964         (main): Likewise.
23965         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
23966         * inet/ruserpass.c (token): Likewise.
23967         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
23968         * intl/localealias.c (extend_alias_table): Likewise.
23969         * intl/plural-exp.c (init_germanic_plural): Likewise.
23970         * libio/fcloseall.c (__fcloseall): Likewise.
23971         * libio/genops.c (_IO_flush_all): Likewise.
23972         (_IO_flush_all_linebuffered): Likewise.
23973         (_IO_cleanup): Likewise.
23974         (_IO_iter_begin): Likewise.
23975         (_IO_iter_end): Likewise.
23976         (_IO_list_lock): Likewise.
23977         (_IO_list_unlock): Likewise.
23978         (_IO_list_resetlock): Likewise.
23979         * libio/getchar.c (getchar): Likewise.
23980         * libio/getchar_u.c (getchar_unlocked): Likewise.
23981         * libio/getwchar.c (getwchar): Likewise.
23982         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
23983         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
23984         * login/getpt.c (__getpt): Likewise.
23985         * login/tst-utmp.c (main): Likewise.
23986         * malloc/hooks.c (__malloc_check_init): Likewise.
23987         * malloc/malloc.c (__malloc_stats): Likewise.
23988         * malloc/mtrace.c (tr_break): Likewise.
23989         (mtrace): Likewise.
23990         (muntrace): Likewise.
23991         * misc/fstab.c (endfsent): Likewise.
23992         * misc/getclktck.c (__getclktck): Likewise.
23993         * misc/getdtsz.c (__getdtablesize): Likewise.
23994         * misc/gethostid.c (gethostid): Likewise.
23995         * misc/getpagesize.c (__getpagesize): Likewise.
23996         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
23997         (__get_nprocs): Likewise.
23998         (__get_phys_pages): Likewise.
23999         (__get_avphys_pages): Likewise.
24000         * misc/getttyent.c (getttyent): Likewise.
24001         (setttyent): Likewise.
24002         (endttyent): Likewise.
24003         * misc/getusershell.c (getusershell): Likewise.
24004         (endusershell): Likewise.
24005         (setusershell): Likewise.
24006         (initshells): Likewise.
24007         * misc/hsearch.c (__hdestroy): Likewise.
24008         * misc/sync.c (sync): Likewise.
24009         * misc/syslog.c (closelog_internal): Likewise.
24010         (closelog): Likewise.
24011         * misc/ttyslot.c (ttyslot): Likewise.
24012         * misc/vhangup.c (vhangup): Likewise.
24013         * posix/fork.c (__fork): Likewise.
24014         * posix/getegid.c (__getegid): Likewise.
24015         * posix/geteuid.c (__geteuid): Likewise.
24016         * posix/getgid.c (__getgid): Likewise.
24017         * posix/getpid.c (__getpid): Likewise.
24018         * posix/getppid.c (__getppid): Likewise.
24019         * posix/getuid.c (__getuid): Likewise.
24020         * posix/pause.c (pause): Likewise.
24021         * posix/setpgrp.c (setpgrp): Likewise.
24022         * posix/setsid.c (__setsid): Likewise.
24023         * posix/test-vfork.c (noop): Likewise.
24024         * resolv/gethnamaddr.c (_endhtent): Likewise.
24025         (_gethtent): Likewise.
24026         (ht_endhostent): Likewise.
24027         (gethostent): Likewise.
24028         (dns_service): Likewise.
24029         * stdlib/drand48.c (drand48): Likewise.
24030         * stdlib/lrand48.c (lrand48): Likewise.
24031         * stdlib/mrand48.c (mrand48): Likewise.
24032         * stdlib/rand.c (rand): Likewise.
24033         * stdlib/random.c (__random): Likewise.
24034         * stdlib/setenv.c (clearenv): Likewise.
24035         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
24036         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
24037         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
24038         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
24039         (__get_nprocs): Likewise.
24040         (__get_phys_pages): Likewise.
24041         (__get_avphys_pages): Likewise.
24042         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
24043         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
24044         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
24045         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
24046         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
24047         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
24048         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
24049         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
24050         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
24051         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
24052         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
24053         * sysdeps/mach/hurd/sync.c (sync): Likewise.
24054         * sysdeps/posix/clock.c (clock): Likewise.
24055         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
24056         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
24057         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
24058         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
24059         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
24060         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
24061         (__get_nprocs_conf): Likewise.
24062         (__get_phys_pages): Likewise.
24063         (__get_avphys_pages): Likewise.
24064         * time/clock.c (clock): Likewise.
24065         * time/tzset.c (__tzname_max): Likewise.
24067 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
24069         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
24070         (__bswap_32): Do not use "register".
24071         * crypt/crypt.c (_ufc_doit_r): Likewise.
24072         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
24073         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
24074         * gmon/gmon.c (__monstartup): Likewise.
24075         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
24076         * hurd/hurdmalloc.c (more_memory): Likewise.
24077         (malloc): Likewise.
24078         (free): Likewise.
24079         (realloc): Likewise.
24080         (malloc_fork_prepare): Likewise.
24081         (malloc_fork_parent): Likewise.
24082         (malloc_fork_child): Likewise.
24083         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
24084         (_svcauth_des): Likewise.
24085         * inet/inet_lnaof.c (inet_lnaof): Likewise.
24086         * inet/inet_net.c (inet_network): Likewise.
24087         * inet/inet_netof.c (inet_netof): Likewise.
24088         * inet/rcmd.c (__validuser2_sa): Likewise.
24089         * io/fts.c (fts_open): Likewise.
24090         (fts_load): Likewise.
24091         (fts_close): Likewise.
24092         (fts_read): Likewise.
24093         (fts_children): Likewise.
24094         (fts_build): Likewise.
24095         (fts_stat): Likewise.
24096         (fts_sort): Likewise.
24097         (fts_alloc): Likewise.
24098         (fts_lfree): Likewise.
24099         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
24100         (_IO_file_xsgetn): Likewise.
24101         (_IO_file_xsgetn_mmap): Likewise.
24102         * libio/iofopncook.c (_IO_cookie_read): Likewise.
24103         (_IO_cookie_write): Likewise.
24104         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
24105         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
24106         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
24107         * malloc/obstack.c (_obstack_begin): Likewise.
24108         (_obstack_begin_1): Likewise.
24109         (_obstack_newchunk): Likewise.
24110         (_obstack_allocated_p): Likewise.
24111         (obstack_free): Likewise.
24112         (_obstack_memory_used): Likewise.
24113         * misc/getttyent.c (getttynam): Likewise.
24114         (getttyent): Likewise.
24115         (skip): Likewise.
24116         (value): Likewise.
24117         * misc/getusershell.c (initshells): Likewise.
24118         * misc/syslog.c (__vsyslog_chk): Likewise.
24119         * misc/ttyslot.c (ttyslot): Likewise.
24120         * nis/nis_hash.c (__nis_hash): Likewise.
24121         * posix/fnmatch_loop.c (FCT): Likewise.
24122         * posix/getconf.c (print_all): Likewise.
24123         (main): Likewise.
24124         * posix/getopt.c (exchange): Likewise.
24125         * posix/glob.c (globfree): Likewise.
24126         (prefix_array): Likewise.
24127         (__glob_pattern_type): Likewise.
24128         * resolv/arpa/nameser.h (NS_GET16): Likewise.
24129         (NS_GET32): Likewise.
24130         (NS_PUT16): Likewise.
24131         (NS_PUT32): Likewise.
24132         * resolv/gethnamaddr.c (getanswer): Likewise.
24133         (gethostbyname2): Likewise.
24134         (gethostbyaddr): Likewise.
24135         (_gethtent): Likewise.
24136         (_gethtbyname2): Likewise.
24137         (_gethtbyaddr): Likewise.
24138         * resolv/ns_print.c (dst_s_get_int16): Likewise.
24139         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
24140         * resolv/res_init.c (__res_vinit): Likewise.
24141         (net_mask): Likewise.
24142         * resolv/res_mkquery.c (outchar): Likewise.
24143         (PRINT): Likewise.
24144         * stdio-common/printf_fp.c (outchar): Likewise.
24145         (PRINT): Likewise.
24146         * stdio-common/printf_fphex.c (outchar): Likewise.
24147         (PRINT): Likewise.
24148         * stdio-common/printf_size.c (outchar): Likewise.
24149         (PRINT): Likewise.
24150         * stdio-common/test_rdwr.c (main): Likewise.
24151         * stdio-common/tfformat.c (matches): Likewise.
24152         * stdio-common/vfprintf.c (outchar): Likewise.
24153         (printf_unknown): Likewise.
24154         (buffered_vfprintf): Likewise.
24155         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
24156         * stdio-common/xbug.c (AppendToBuffer): Likewise.
24157         (ReadFile): Likewise.
24158         * stdlib/qsort.c (SWAP): Likewise.
24159         (_quicksort): Likewise.
24160         * stdlib/setenv.c (__add_to_environ): Likewise.
24161         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
24162         * stdlib/strtol_l.c (__strtol_l): Likewise.
24163         * stdlib/tst-strtod.c (main): Likewise.
24164         * stdlib/tst-strtol.c (main): Likewise.
24165         * stdlib/tst-strtoll.c (main): Likewise.
24166         * string/bits/string2.h (__strcmp_cc): Likewise.
24167         (__strcmp_cg): Likewise.
24168         (__strcspn_c1): Likewise.
24169         (__strcspn_c2): Likewise.
24170         (__strcspn_c3): Likewise.
24171         (__strspn_c1): Likewise.
24172         (__strspn_c2): Likewise.
24173         (__strspn_c3): Likewise.
24174         (__strsep_1c): Likewise.
24175         (__strsep_2c): Likewise.
24176         (__strsep_3c): Likewise.
24177         * string/memccpy.c (__memccpy): Likewise.
24178         * string/stpcpy.c (__stpcpy): Likewise.
24179         * string/strcmp.c (strcmp): Likewise.
24180         * string/strrchr.c (strrchr): Likewise.
24181         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
24182         Likewise.
24183         * sysdeps/mach/hurd/getcwd.c
24184         (_hurd_canonicalize_directory_name_internal): Likewise.
24185         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
24186         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
24187         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
24188         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
24189         Likewise, in both definitions.
24190         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
24191         definitions.
24192         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
24193         64] (__bswap_64): Likewise.
24194         * time/test_time.c (main): Likewise.
24195         * time/tzfile.c (__tzfile_read): Likewise.
24196         (__tzfile_compute): Likewise.
24197         * time/tzset.c (__tzset_parse_tz): Likewise.
24198         (tzset_internal): Likewise.
24199         (compute_change): Likewise.
24200         * wcsmbs/wcscat.c (__wcscat): Likewise.
24201         * wcsmbs/wcschr.c (wcschr): Likewise.
24202         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
24203         * wcsmbs/wcscspn.c (wcscspn): Likewise.
24204         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
24205         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
24206         * wcsmbs/wcsspn.c (wcsspn): Likewise.
24207         * wcsmbs/wcsstr.c (wcsstr): Likewise.
24208         * wcsmbs/wmemchr.c (wmemchr): Likewise.
24209         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
24210         * wcsmbs/wmemset.c (wmemset): Likewise.
24212 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
24214         * scripts/config.guess: Update to version 2013-05-16.
24215         * scripts/config.sub: Update to version 2013-04-24.
24216         * scripts/install-sh: Update to version 2011-11-20.07.
24217         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
24218         * scripts/move-if-change: Update to version 2012-01-06 07:23.
24220 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
24222         * debug/fgetws_u_chk.c: Fix leading whitespaces.
24223         * elf/sln.c: Likewise.
24224         * hurd/hurd/ioctl.h: Likewise.
24225         * hurd/hurdmalloc.c: Likewise.
24226         * hurd/xattr.c: Likewise.
24227         * include/shlib-compat.h: Likewise.
24228         * inet/ruserpass.c: Likewise.
24229         * libio/iofgets_u.c: Likewise.
24230         * libio/iofgetws_u.c: Likewise.
24231         * locale/programs/ld-identification.c: Likewise.
24232         * locale/programs/ld-time.c: Likewise.
24233         * mach/msg-destroy.c: Likewise.
24234         * nss/nss_files/files-netgrp.c: Likewise.
24235         * resolv/res_data.c: Likewise.
24236         * soft-fp/op-1.h: Likewise.
24237         * soft-fp/op-2.h: Likewise.
24238         * soft-fp/op-4.h: Likewise.
24239         * soft-fp/op-common.h: Likewise.
24240         * stdio-common/printf_fphex.c: Likewise.
24241         * stdlib/strtod_l.c: Likewise.
24242         * sunrpc/rpc/clnt.h: Likewise.
24243         * sysdeps/generic/framestate.c: Likewise.
24244         * sysdeps/i386/bsd-_setjmp.S: Likewise.
24245         * sysdeps/i386/bsd-setjmp.S: Likewise.
24246         * sysdeps/i386/__longjmp.S: Likewise.
24247         * sysdeps/i386/setjmp.S: Likewise.
24248         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24249         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24250         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24251         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24252         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24253         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
24254         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24255         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24256         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24257         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24258         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
24259         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
24260         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
24261         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
24262         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
24263         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24264         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
24265         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
24266         * sysdeps/ieee754/support.c: Likewise.
24267         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24268         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
24269         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
24270         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
24271         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
24272         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
24273         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
24274         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
24275         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
24276         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
24277         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
24278         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
24279         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
24280         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
24281         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
24282         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
24283         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
24284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
24286 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
24288         * posix/transbug.c: Remove executable mode.
24290 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
24292         * crypt/speeds.c: Remove trailing whitespace.
24293         * dlfcn/default.c: Likewise.
24294         * elf/ifuncdep2.c: Likewise.
24295         * elf/ifuncmain1.c: Likewise.
24296         * elf/ifuncmain1vis.c: Likewise.
24297         * elf/testobj.h: Likewise.
24298         * elf/tst-stackguard1.c: Likewise.
24299         * gmon/sys/gmon.h: Likewise.
24300         * hurd/hurdmsg.c: Likewise.
24301         * hurd/new-fd.c: Likewise.
24302         * hurd/ports-get.c: Likewise.
24303         * iconvdata/ibm1008_420.c: Likewise.
24304         * inet/tst-getni1.c: Likewise.
24305         * inet/tst-getni2.c: Likewise.
24306         * libio/ioungetc.c: Likewise.
24307         * libio/wfiledoalloc.c: Likewise.
24308         * manual/libm-err-tab.pl: Likewise.
24309         * math/w_dremf.c: Likewise.
24310         * misc/ftruncate.c: Likewise.
24311         * posix/bug-glob2.c: Likewise.
24312         * posix/tst-pcre.c: Likewise.
24313         * posix/wait4.c: Likewise.
24314         * resolv/README: Likewise.
24315         * resolv/res_debug.h: Likewise.
24316         * resolv/tst-inet_ntop.c: Likewise.
24317         * setjmp/bug269-setjmp.c: Likewise.
24318         * soft-fp/extended.h: Likewise.
24319         * soft-fp/op-1.h: Likewise.
24320         * soft-fp/op-2.h: Likewise.
24321         * soft-fp/op-4.h: Likewise.
24322         * soft-fp/op-8.h: Likewise.
24323         * soft-fp/testit.c: Likewise.
24324         * stdio-common/bug16.c: Likewise.
24325         * stdlib/random.c: Likewise.
24326         * sunrpc/rpcsvc/rquota.x: Likewise.
24327         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
24328         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24329         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24330         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24331         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24332         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24333         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24334         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24335         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24336         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24337         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24338         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
24339         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24340         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
24341         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24342         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
24343         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
24344         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24345         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
24346         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24347         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24348         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24349         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
24350         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
24351         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
24352         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
24353         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24354         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24355         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24356         * sysdeps/ieee754/s_lib_version.c: Likewise.
24357         * sysdeps/mach/hurd/check_fds.c: Likewise.
24358         * sysdeps/mach/hurd/getsockname.c: Likewise.
24359         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
24360         * sysdeps/mach/hurd/recvfrom.c: Likewise.
24361         * sysdeps/powerpc/bits/link.h: Likewise.
24362         * sysdeps/powerpc/dl-procinfo.c: Likewise.
24363         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
24364         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
24365         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
24366         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24367         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
24368         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
24369         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24370         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
24371         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
24372         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
24373         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
24374         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
24375         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
24376         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
24377         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
24378         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
24379         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
24380         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
24381         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24382         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24383         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
24384         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24385         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
24386         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
24387         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
24388         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
24389         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24390         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24391         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
24392         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
24393         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
24394         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24395         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24396         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
24397         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24398         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
24399         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
24400         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
24401         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
24402         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
24403         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
24404         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
24405         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
24406         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
24407         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
24408         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
24409         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
24410         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
24411         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
24412         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24413         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24414         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24415         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24416         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
24417         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
24418         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
24419         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24420         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
24421         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
24422         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
24423         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
24424         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
24425         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24426         * sysdeps/powerpc/sysdep.h: Likewise.
24427         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24428         * sysdeps/s390/s390-64/sub_n.S: Likewise.
24429         * sysdeps/sh/dl-trampoline.S: Likewise.
24430         * sysdeps/sh/memset.S: Likewise.
24431         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
24432         * sysdeps/sh/strlen.S: Likewise.
24433         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
24434         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
24435         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
24436         * sysdeps/sparc/sparc32/rem.S: Likewise.
24437         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
24438         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
24439         * sysdeps/sparc/sparc32/strchr.S: Likewise.
24440         * sysdeps/sparc/sparc32/udiv.S: Likewise.
24441         * sysdeps/sparc/sparc32/urem.S: Likewise.
24442         * sysdeps/sparc/sparc64/add_n.S: Likewise.
24443         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
24444         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
24445         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
24446         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
24447         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
24448         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
24449         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
24450         * sysdeps/unix/bsd/times.c: Likewise.
24451         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
24452         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
24453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
24454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
24455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
24456         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
24457         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
24458         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
24459         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
24460         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
24461         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
24462         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
24463         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
24464         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
24465         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
24466         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
24467         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
24468         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
24469         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
24470         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
24471         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
24472         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
24473         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
24474         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
24475         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
24476         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
24477         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
24478         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24479         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
24480         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
24481         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
24482         * sysdeps/x86_64/strcspn.S: Likewise.
24484 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24486         * locale/C-translit.h: Revert #include <stdint.h> because this is a
24487         generated file.  Regenerate properly from gen-translit.pl.
24488         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
24489         locale/C-translit.h.
24491 2013-06-05  Andreas Schwab  <schwab@suse.de>
24493         [BZ #15100]
24494         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
24495         week as 6 instead of -1.
24496         * time/tst-strptime.c (day_tests): Add test case.
24498 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
24500         * sysdeps/generic/math_private.h
24501         (libc_feholdexcept_setround_53bit): Replace with
24502         libc_feholdsetround_53bit.
24503         (libc_feupdateenv_53bit): Replace with
24504         libc_feresetround_53bit.
24505         (SET_RESTORE_ROUND_53BIT): Adjust.
24507 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
24509         * string/test-strchrnul.c: Add copyright header.
24511         * posix/tst-getaddrinfo4.c: Increase test timeout.
24513 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
24515         [BZ #15536]
24516         * math/libm-test.inc (MAX_EXP): Remove
24517         (MIN_EXP): Define.
24518         (ulp): Use MIN_EXP - MANT_DIG.
24519         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
24521 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
24523         * po/be.po: Revert last change.
24524         * po/zh_CN.po: Likewise.
24525         * po/header.pot: Likewise.
24527 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
24529         * Makefile ($(common-objpfx)linkobj/libc.so): Define
24530         link-libc-deps to empty as target-specific variable.
24531         * Makerules (link-libc-args): New variable.
24532         (libc-for-link): Likewise.
24533         (link-libc-deps): Likewise.
24534         (lib%.so): Depend on $(link-libc-deps).  Link with
24535         $(link-libc-args).
24536         (build-module): Link with $(link-libc-args).
24537         (build-module-asneeded): Likewise.
24538         (build-module-helper-objlist): Filter out $(link-libc-deps) from
24539         list of objects.
24540         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
24541         target-specific variable.
24542         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
24543         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
24544         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
24545         libc.
24546         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
24547         libc and ld.so.
24548         ($(objpfx)libpcprofile.so): Likewise.
24549         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
24550         libc_nonshared.a.
24551         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
24552         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
24553         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
24554         $(link-libc-deps).
24555         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
24556         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
24557         * login/Makefile ($(objpfx)libutil.so): Likewise.
24558         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
24559         * math/Makefile ($(objpfx)libm.so): Likewise.
24560         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
24561         $(objpfx)libnsl.so): Define libc-for-link as target-specific
24562         variable instead of depending directly on libc.
24563         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
24564         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
24565         $(link-libc-deps).
24566         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
24567         libc.
24568         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
24569         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
24570         ($(objpfx)libanl.so): Likewise.
24571         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
24572         ld.so.
24573         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
24574         $(link-libc-deps).
24575         * sysdeps/i386/fpu/Makefile: Remove file.
24576         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
24577         ($(objpfx)libm.so): Remove dependency on ld.so.
24579 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
24581         [BZ # 15553]
24582         * nis/yp_xdr.c (XDRMAXNAME): Define.
24583         (XDRMAXRECORD): Define.
24584         (xdr_domainname): Use XDRMAXNAME.
24585         (xdr_mapname): Likewise.
24586         (xdr_peername): Likewise.
24587         (xdr_keydat): Use XDRMAXRECORD.
24588         (xdr_valdat): Likewise.
24590 2013-05-30  Jeff Law  <law@redhat.com>
24592         [BZ #14256]
24593         * manual/errno.texi (ESTALE): Update to account for more than
24594         just NFS file systems.
24595         * sysdeps/gnu/errlist.c: Regenerated.
24597 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
24599         [BZ #15465]
24600         * elf/Makefile (tests): Add tst-null-argv.
24601         (modules-names):  Add tst-null-argv-lib.
24602         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
24603         (tst-null-argv-ENV): Set environment for tst-null-argv.
24604         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
24605         (RTLD_PROGNAME): New macro.
24606         * elf/tst-null-argv.c: New test case.
24607         * elf/tst-null-argv-lib.c: Library for test case.
24608         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
24609         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
24610         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
24611         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
24612         * elf/dl-init.c (call_init): Likewise.
24613         (_dl_init): Likewise.
24614         * elf/dl-load.c (print_search_path): Likewise.
24615         (_dl_map_object): Likewise.
24616         * elf/dl-lookup.c (do_lookup_x): Likewise.
24617         (add_dependency): Likewise.
24618         (_dl_lookup_symbol_x): Likewise.
24619         (_dl_debug_bindings): Likewise.
24620         * elf/dl-open.c (_dl_show_scope): Likewise.
24621         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
24622         * elf/dl-version.c (match_symbol): Likewise.
24623         (_dl_check_map_versions): Likewise.
24624         * elf/rtld.c (dl_main): Likewise.
24625         (print_unresolved): Use RTLD_PROGNAME.
24626         (print_missing_version): Likewise.
24627         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
24628         (elf_machine_rela): Likewise.
24629         * sysdeps/powerpc/powerpc32/dl-machine.c
24630         (__process_machine_rela): Likewise.
24631         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24632         Likewise.
24633         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
24634         Likewise.
24635         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
24636         Likewise.
24637         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
24638         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
24639         Likewise.
24640         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
24641         Likewise.
24642         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
24644 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
24646         * po/be.po: Add descriptive title.
24647         * po/zh_CN.po: Likewise.
24648         * po/header.pot: Likewise.
24650 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
24652         * locale/programs/locarchive.c (create_archive): Inlucde fname in
24653         error message.
24654         (enlarge_archive): Likewise.
24656 2013-05-28  Ben North  <ben@redfrontdoor.org>
24658         * manual/arith.texi (frexp): It is the magnitude of the return
24659         value which lies in [0.5, 1), not the return value itself.
24661 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24663         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24665 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
24667         * stdio-common/bug26.c (main): Correct fscanf template.
24669         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
24670         declare _dl_skip_args.
24672         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
24673         Don't declare.
24675         * manual/platform.texi: Add missing @end deftypefun.
24677 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
24679         [BZ #15529]
24680         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
24681         bit of mantissa of 2^16382.
24682         * math/libm-test.inc (hypot_test_data): Add more tests.
24684         * math/libm-test.inc: Add drem and pow10 to list of tested
24685         functions.
24686         (pow10_test): New function.
24687         (drem_test): Likewise.
24688         (drem_test_tonearest): Likewise.
24689         (drem_test_towardzero): Likewise.
24690         (drem_test_downward): Likewise.
24691         (drem_test_upward): Likewise.
24692         (main): Call the new functions.
24694         * math/libm-test.inc (finite_test_data): Remove.
24695         (finite_test): Run tests from isfinite_test_data.
24696         (gamma_test_data): Remove.
24697         (gamma_test): Run tests from lgamma_test_data.
24698         * sysdeps/i386/fpu/libm-test-ulps: Update.
24699         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24701 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24703         * manual/platform.texi: Add PowerPC PPR function set documentation.
24704         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
24705         implementation.
24707 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
24709         * math/libm-test.inc (MAX_EXP): Define.
24710         (ULPDIFF): Define.
24711         (ulp): New function.
24712         (check_float_internal): Use ULPDIFF.
24713         (cpow_test): Disable failing test.
24714         (check_ulp): Test ulp() implemetnation.
24715         (main): Call check_ulp before starting tests.
24717 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
24719         * math/gen-libm-test.pl (generate_testfile): Do not handle
24720         START_DATA and END_DATA.
24721         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
24722         END_DATA.
24723         (acos_tonearest_test_data): Likewise.
24724         (acos_towardzero_test_data): Likewise.
24725         (acos_downward_test_data): Likewise.
24726         (acos_upward_test_data): Likewise.
24727         (acosh_test_data): Likewise.
24728         (asin_test_data): Likewise.
24729         (asin_tonearest_test_data): Likewise.
24730         (asin_towardzero_test_data): Likewise.
24731         (asin_downward_test_data): Likewise.
24732         (asin_upward_test_data): Likewise.
24733         (asinh_test_data): Likewise.
24734         (atan_test_data): Likewise.
24735         (atanh_test_data): Likewise.
24736         (atan2_test_data): Likewise.
24737         (cabs_test_data): Likewise.
24738         (cacos_test_data): Likewise.
24739         (cacosh_test_data): Likewise.
24740         (carg_test_data): Likewise.
24741         (casin_test_data): Likewise.
24742         (casinh_test_data): Likewise.
24743         (catan_test_data): Likewise.
24744         (catanh_test_data): Likewise.
24745         (cbrt_test_data): Likewise.
24746         (ccos_test_data): Likewise.
24747         (ccosh_test_data): Likewise.
24748         (ceil_test_data): Likewise.
24749         (cexp_test_data): Likewise.
24750         (cimag_test_data): Likewise.
24751         (clog_test_data): Likewise.
24752         (clog10_test_data): Likewise.
24753         (conj_test_data): Likewise.
24754         (copysign_test_data): Likewise.
24755         (cos_test_data): Likewise.
24756         (cos_tonearest_test_data): Likewise.
24757         (cos_towardzero_test_data): Likewise.
24758         (cos_downward_test_data): Likewise.
24759         (cos_upward_test_data): Likewise.
24760         (cosh_test_data): Likewise.
24761         (cosh_tonearest_test_data): Likewise.
24762         (cosh_towardzero_test_data): Likewise.
24763         (cosh_downward_test_data): Likewise.
24764         (cosh_upward_test_data): Likewise.
24765         (cpow_test_data): Likewise.
24766         (cproj_test_data): Likewise.
24767         (creal_test_data): Likewise.
24768         (csin_test_data): Likewise.
24769         (csinh_test_data): Likewise.
24770         (csqrt_test_data): Likewise.
24771         (ctan_test_data): Likewise.
24772         (ctan_tonearest_test_data): Likewise.
24773         (ctan_towardzero_test_data): Likewise.
24774         (ctan_downward_test_data): Likewise.
24775         (ctan_upward_test_data): Likewise.
24776         (ctanh_test_data): Likewise.
24777         (ctanh_tonearest_test_data): Likewise.
24778         (ctanh_towardzero_test_data): Likewise.
24779         (ctanh_downward_test_data): Likewise.
24780         (ctanh_upward_test_data): Likewise.
24781         (erf_test_data): Likewise.
24782         (erfc_test_data): Likewise.
24783         (exp_test_data): Likewise.
24784         (exp_tonearest_test_data): Likewise.
24785         (exp_towardzero_test_data): Likewise.
24786         (exp_downward_test_data): Likewise.
24787         (exp_upward_test_data): Likewise.
24788         (exp10_test_data): Likewise.
24789         (exp2_test_data): Likewise.
24790         (expm1_test_data): Likewise.
24791         (fabs_test_data): Likewise.
24792         (fdim_test_data): Likewise.
24793         (finite_test_data): Likewise.
24794         (floor_test_data): Likewise.
24795         (fma_test_data): Likewise.
24796         (fma_towardzero_test_data): Likewise.
24797         (fma_downward_test_data): Likewise.
24798         (fma_upward_test_data): Likewise.
24799         (fmax_test_data): Likewise.
24800         (fmin_test_data): Likewise.
24801         (fmod_test_data): Likewise.
24802         (fpclassify_test_data): Likewise.
24803         (frexp_test_data): Likewise.
24804         (gamma_test_data): Likewise.
24805         (hypot_test_data): Likewise.
24806         (ilogb_test_data): Likewise.
24807         (isfinite_test_data): Likewise.
24808         (isgreater_test_data): Likewise.
24809         (isgreaterequal_test_data): Likewise.
24810         (isinf_test_data): Likewise.
24811         (isless_test_data): Likewise.
24812         (islessequal_test_data): Likewise.
24813         (islessgreater_test_data): Likewise.
24814         (isnan_test_data): Likewise.
24815         (isnormal_test_data): Likewise.
24816         (issignaling_test_data): Likewise.
24817         (isunordered_test_data): Likewise.
24818         (j0_test_data): Likewise.
24819         (j1_test_data): Likewise.
24820         (jn_test_data): Likewise.
24821         (ldexp_test_data): Likewise.
24822         (lgamma_test_data): Likewise.
24823         (lrint_test_data): Likewise.
24824         (lrint_tonearest_test_data): Likewise.
24825         (lrint_towardzero_test_data): Likewise.
24826         (lrint_downward_test_data): Likewise.
24827         (lrint_upward_test_data): Likewise.
24828         (llrint_test_data): Likewise.
24829         (llrint_tonearest_test_data): Likewise.
24830         (llrint_towardzero_test_data): Likewise.
24831         (llrint_downward_test_data): Likewise.
24832         (llrint_upward_test_data): Likewise.
24833         (log_test_data): Likewise.
24834         (log10_test_data): Likewise.
24835         (log1p_test_data): Likewise.
24836         (log2_test_data): Likewise.
24837         (logb_test_data): Likewise.
24838         (logb_downward_test_data): Likewise.
24839         (lround_test_data): Likewise.
24840         (llround_test_data): Likewise.
24841         (modf_test_data): Likewise.
24842         (nearbyint_test_data): Likewise.
24843         (nextafter_test_data): Likewise.
24844         (nexttoward_test_data): Likewise.
24845         (pow_test_data): Likewise.
24846         (pow_tonearest_test_data): Likewise.
24847         (pow_towardzero_test_data): Likewise.
24848         (pow_downward_test_data): Likewise.
24849         (pow_upward_test_data): Likewise.
24850         (remainder_test_data): Likewise.
24851         (remainder_tonearest_test_data): Likewise.
24852         (remainder_towardzero_test_data): Likewise.
24853         (remainder_downward_test_data): Likewise.
24854         (remainder_upward_test_data): Likewise.
24855         (remquo_test_data): Likewise.
24856         (rint_test_data): Likewise.
24857         (rint_tonearest_test_data): Likewise.
24858         (rint_towardzero_test_data): Likewise.
24859         (rint_downward_test_data): Likewise.
24860         (rint_upward_test_data): Likewise.
24861         (round_test_data): Likewise.
24862         (scalb_test_data): Likewise.
24863         (scalbn_test_data): Likewise.
24864         (scalbln_test_data): Likewise.
24865         (signbit_test_data): Likewise.
24866         (sin_test_data): Likewise.
24867         (sin_tonearest_test_data): Likewise.
24868         (sin_towardzero_test_data): Likewise.
24869         (sin_downward_test_data): Likewise.
24870         (sin_upward_test_data): Likewise.
24871         (sincos_test_data): Likewise.
24872         (sinh_test_data): Likewise.
24873         (sinh_tonearest_test_data): Likewise.
24874         (sinh_towardzero_test_data): Likewise.
24875         (sinh_downward_test_data): Likewise.
24876         (sinh_upward_test_data): Likewise.
24877         (sqrt_test_data): Likewise.
24878         (tan_test_data): Likewise.
24879         (tan_tonearest_test_data): Likewise.
24880         (tan_towardzero_test_data): Likewise.
24881         (tan_downward_test_data): Likewise.
24882         (tan_upward_test_data): Likewise.
24883         (tanh_test_data): Likewise.
24884         (tgamma_test_data): Likewise.
24885         (trunc_test_data): Likewise.
24886         (y0_test_data): Likewise.
24887         (y1_test_data): Likewise.
24888         (yn_test_data): Likewise.
24889         (significand_test_data): Likewise.
24891         * math/gen-libm-test.pl (@functions): Remove variable.
24892         (generate_testfile): Don't handle START and END lines.
24893         * math/libm-test.inc (START): New macro.
24894         (END): Likewise.
24895         (END_COMPLEX): Likewise.
24896         (acos_test): Use END macro without arguments.
24897         (acos_test_tonearest): Likewise.
24898         (acos_test_towardzero): Likewise.
24899         (acos_test_downward): Likewise.
24900         (acos_test_upward): Likewise.
24901         (acosh_test): Likewise.
24902         (asin_test): Likewise.
24903         (asin_test_tonearest): Likewise.
24904         (asin_test_towardzero): Likewise.
24905         (asin_test_downward): Likewise.
24906         (asin_test_upward): Likewise.
24907         (asinh_test): Likewise.
24908         (atan_test): Likewise.
24909         (atanh_test): Likewise.
24910         (atan2_test): Likewise.
24911         (cabs_test): Likewise.
24912         (cacos_test): Use END_COMPLEX macro without arguments.
24913         (cacosh_test): Likewise.
24914         (carg_test): Use END macro without arguments.
24915         (casin_test): Use END_COMPLEX macro without arguments.
24916         (casinh_test): Likewise.
24917         (catan_test): Likewise.
24918         (catanh_test): Likewise.
24919         (cbrt_test): Use END macro without arguments.
24920         (ccos_test): Use END_COMPLEX macro without arguments.
24921         (ccosh_test): Likewise.
24922         (ceil_test): Use END macro without arguments.
24923         (cexp_test): Use END_COMPLEX macro without arguments.
24924         (cimag_test): Use END macro without arguments.
24925         (clog_test): Use END_COMPLEX macro without arguments.
24926         (clog10_test): Likewise.
24927         (conj_test): Likewise.
24928         (copysign_test): Use END macro without arguments.
24929         (cos_test): Likewise.
24930         (cos_test_tonearest): Likewise.
24931         (cos_test_towardzero): Likewise.
24932         (cos_test_downward): Likewise.
24933         (cos_test_upward): Likewise.
24934         (cosh_test): Likewise.
24935         (cosh_test_tonearest): Likewise.
24936         (cosh_test_towardzero): Likewise.
24937         (cosh_test_downward): Likewise.
24938         (cosh_test_upward): Likewise.
24939         (cpow_test): Use END_COMPLEX macro without arguments.
24940         (cproj_test): Likewise.
24941         (creal_test): Use END macro without arguments.
24942         (csin_test): Use END_COMPLEX macro without arguments.
24943         (csinh_test): Likewise.
24944         (csqrt_test): Likewise.
24945         (ctan_test): Likewise.
24946         (ctan_test_tonearest): Likewise.
24947         (ctan_test_towardzero): Likewise.
24948         (ctan_test_downward): Likewise.
24949         (ctan_test_upward): Likewise.
24950         (ctanh_test): Likewise.
24951         (ctanh_test_tonearest): Likewise.
24952         (ctanh_test_towardzero): Likewise.
24953         (ctanh_test_downward): Likewise.
24954         (ctanh_test_upward): Likewise.
24955         (erf_test): Use END macro without arguments.
24956         (erfc_test): Likewise.
24957         (exp_test): Likewise.
24958         (exp_test_tonearest): Likewise.
24959         (exp_test_towardzero): Likewise.
24960         (exp_test_downward): Likewise.
24961         (exp_test_upward): Likewise.
24962         (exp10_test): Likewise.
24963         (exp2_test): Likewise.
24964         (expm1_test): Likewise.
24965         (fabs_test): Likewise.
24966         (fdim_test): Likewise.
24967         (finite_test): Likewise.
24968         (floor_test): Likewise.
24969         (fma_test): Likewise.
24970         (fma_test_towardzero): Likewise.
24971         (fma_test_downward): Likewise.
24972         (fma_test_upward): Likewise.
24973         (fmax_test): Likewise.
24974         (fmin_test): Likewise.
24975         (fmod_test): Likewise.
24976         (fpclassify_test): Likewise.
24977         (frexp_test): Likewise.
24978         (gamma_test): Likewise.
24979         (hypot_test): Likewise.
24980         (ilogb_test): Likewise.
24981         (isfinite_test): Likewise.
24982         (isgreater_test): Likewise.
24983         (isgreaterequal_test): Likewise.
24984         (isinf_test): Likewise.
24985         (isless_test): Likewise.
24986         (islessequal_test): Likewise.
24987         (islessgreater_test): Likewise.
24988         (isnan_test): Likewise.
24989         (isnormal_test): Likewise.
24990         (issignaling_test): Likewise.
24991         (isunordered_test): Likewise.
24992         (j0_test): Likewise.
24993         (j1_test): Likewise.
24994         (jn_test): Likewise.
24995         (ldexp_test): Likewise.
24996         (lgamma_test): Likewise.
24997         (lrint_test): Likewise.
24998         (lrint_test_tonearest): Likewise.
24999         (lrint_test_towardzero): Likewise.
25000         (lrint_test_downward): Likewise.
25001         (lrint_test_upward): Likewise.
25002         (llrint_test): Likewise.
25003         (llrint_test_tonearest): Likewise.
25004         (llrint_test_towardzero): Likewise.
25005         (llrint_test_downward): Likewise.
25006         (llrint_test_upward): Likewise.
25007         (log_test): Likewise.
25008         (log10_test): Likewise.
25009         (log1p_test): Likewise.
25010         (log2_test): Likewise.
25011         (logb_test): Likewise.
25012         (logb_test_downward): Likewise.
25013         (lround_test): Likewise.
25014         (llround_test): Likewise.
25015         (modf_test): Likewise.
25016         (nearbyint_test): Likewise.
25017         (nextafter_test): Likewise.
25018         (nexttoward_test): Likewise.
25019         (pow_test): Likewise.
25020         (pow_test_tonearest): Likewise.
25021         (pow_test_towardzero): Likewise.
25022         (pow_test_downward): Likewise.
25023         (pow_test_upward): Likewise.
25024         (remainder_test): Likewise.
25025         (remainder_test_tonearest): Likewise.
25026         (remainder_test_towardzero): Likewise.
25027         (remainder_test_downward): Likewise.
25028         (remainder_test_upward): Likewise.
25029         (remquo_test): Likewise.
25030         (rint_test): Likewise.
25031         (rint_test_tonearest): Likewise.
25032         (rint_test_towardzero): Likewise.
25033         (rint_test_downward): Likewise.
25034         (rint_test_upward): Likewise.
25035         (round_test): Likewise.
25036         (scalb_test): Likewise.
25037         (scalbn_test): Likewise.
25038         (scalbln_test): Likewise.
25039         (signbit_test): Likewise.
25040         (sin_test): Likewise.
25041         (sin_test_tonearest): Likewise.
25042         (sin_test_towardzero): Likewise.
25043         (sin_test_downward): Likewise.
25044         (sin_test_upward): Likewise.
25045         (sincos_test): Likewise.
25046         (sinh_test): Likewise.
25047         (sinh_test_tonearest): Likewise.
25048         (sinh_test_towardzero): Likewise.
25049         (sinh_test_downward): Likewise.
25050         (sinh_test_upward): Likewise.
25051         (sqrt_test): Likewise.
25052         (tan_test): Likewise.
25053         (tan_test_tonearest): Likewise.
25054         (tan_test_towardzero): Likewise.
25055         (tan_test_downward): Likewise.
25056         (tan_test_upward): Likewise.
25057         (tanh_test): Likewise.
25058         (tgamma_test): Likewise.
25059         (trunc_test): Likewise.
25060         (y0_test): Likewise.
25061         (y1_test): Likewise.
25062         (yn_test): Likewise.
25063         (significand_test): Likewise.
25065 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
25067         [BZ #15381]
25068         * libio/genops.c (_IO_no_init): Initialize wide struct info.
25070 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
25072         [BZ #14894]
25073         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
25074         __ppc_mdoio and __ppc_mdoom.
25075         * manual/platform.texi: Document new functions __ppc_yield,
25076         __ppc_mdoio and __ppc_mdoom.
25078 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
25080         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
25081         (main): Mention "tls" pseudo-hwcap is legacy.
25082         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
25084 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
25086         * math/gen-libm-test.pl (parse_args): Output only string of
25087         arguments as text for test name, not full call or descriptions of
25088         tests for extra outputs.
25089         (generate_testfile): Do not pass function name to parse_args.
25090         Generate this_func variable from START.
25091         * math/libm-test.inc (struct test_f_f_data): Rename test_name
25092         field to arg_str.
25093         (struct test_ff_f_data): Likewise.
25094         (test_ff_f_data_nexttoward): Likewise.
25095         (struct test_fi_f_data): Likewise.
25096         (struct test_fl_f_data): Likewise.
25097         (struct test_if_f_data): Likewise.
25098         (struct test_fff_f_data): Likewise.
25099         (struct test_c_f_data): Likewise.
25100         (struct test_f_f1_data): Likewise.  Remove field extra_name.
25101         (struct test_fF_f1_data): Likewise.
25102         (struct test_ffI_f1_data): Likewise.
25103         (struct test_c_c_data): Rename test_name field to arg_str.
25104         (struct test_cc_c_data): Likewise.
25105         (struct test_f_i_data): Likewise.
25106         (struct test_ff_i_data): Likewise.
25107         (struct test_f_l_data): Likewise.
25108         (struct test_f_L_data): Likewise.
25109         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
25110         and extra2_name.
25111         (COMMON_TEST_SETUP): New macro.
25112         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
25113         (COMMON_TEST_CLEANUP): Likewise.
25114         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
25115         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
25116         macros.
25117         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
25118         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
25119         macros.
25120         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
25121         (RUN_TEST_fff_f): Take argument string.  Call new setup and
25122         cleanup macros.
25123         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
25124         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
25125         macros.
25126         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
25127         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
25128         macros.
25129         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
25130         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
25131         cleanup macros.
25132         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
25133         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
25134         cleanup macros.
25135         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
25136         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
25137         cleanup macros.
25138         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
25139         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
25140         macros.
25141         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
25142         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
25143         macros.
25144         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
25145         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
25146         macros.
25147         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
25148         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
25149         cleanup macros.
25150         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
25151         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
25152         cleanup macros.
25153         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
25154         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
25155         macros.
25156         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
25157         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
25158         cleanup macros.
25159         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
25160         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
25161         macros.
25162         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
25163         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
25164         macros.
25165         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
25166         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
25167         cleanup macros.
25168         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
25170 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
25172         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
25173         to _sifields.sigfault.
25174         (si_addr_lsb): Define new macro.
25175         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
25176         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25177         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
25179 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
25181         [BZ #15441]
25182         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
25183         returns -1.
25184         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
25185         null return -1.
25186         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
25187         loading the domain.
25189 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
25191         * math/gen-libm-test.pl (parse_args): Do not include expected
25192         result in test name.
25193         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
25194         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25195         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25196         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25197         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25198         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25200 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
25202         * benchtests/Makefile: Sort function entries.
25204         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
25205         tanh, asinh, acosh, atanh.
25206         * benchtests/acos-inputs: New file.
25207         * benchtests/acosh-inputs: New file.
25208         * benchtests/asin-inputs: New file.
25209         * benchtests/asinh-inputs: New file.
25210         * benchtests/atanh-inputs: New file.
25211         * benchtests/cosh-inputs: New file.
25212         * benchtests/log-inputs: New file.
25213         * benchtests/sinh-inputs: New file.
25214         * benchtests/tanh-inputs: New file.
25216 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
25218         [BZ #15339]
25219         * posix/tst-getaddrinfo4.c: New test.
25220         * posix/Makefile (tests): Add it.
25222 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25224         [BZ #15339]
25225         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
25226         when no services were used.
25227         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
25228         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
25230 2013-05-21  Andreas Schwab  <schwab@suse.de>
25232         [BZ #15014]
25233         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
25234         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
25235         successful.
25236         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
25237         redundant variable declarations and reallocation of buffer when
25238         parsing as IPv6 address.  Always set NSS status when called from
25239         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
25240         buffer too small.  Correct computation of needed size.
25241         * nss/Makefile (tests): Add test-digits-dots.
25242         * nss/test-digits-dots.c: New test.
25244 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25246         * benchtests/Makefile: Remove instructions for adding
25247         benchmark tests.
25248         * benchtests/README: New file to explain how to execute and
25249         enhance the benchmark tests.
25251 2013-05-21  Andreas Schwab  <schwab@suse.de>
25253         [BZ #15493]
25254         * setjmp/Makefile (tests): Add tst-sigsetjmp.
25255         * setjmp/tst-sigsetjmp.c: New test.
25257 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
25259         * sysdeps/x86_64/memset.S (memset): New implementation.
25260         (__bzero): Likewise.
25261         (__memset_tail): New function.
25263 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
25265         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
25266         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
25267         __memcpy_sse2_unaligned ifunc selection.
25268         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25269         Add memcpy-sse2-unaligned.S.
25270         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25271         Add: __memcpy_sse2_unaligned.
25273 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
25275         [BZ #15490]
25276         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25277         math_force_eval before restoring floating-point envrionment.
25278         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
25279         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
25280         Likewise.
25281         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
25282         <math_private.h>.
25283         (__nearbyintl): Use math_force_eval before restoring
25284         floating-point environment.
25285         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
25287         * math/gen-libm-test.pl (special_functions): Remove.
25288         (parse_args): Don't handle TEST_extra.  Handle functions with no
25289         return value.
25290         * math/libm-test.inc (struct test_sincos_data): Replace with
25291         struct test_fFF_11_data.
25292         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
25293         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
25294         (sincos_test_data): Change element type to struct
25295         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
25296         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
25297         RUN_TEST_LOOP_sincos.
25298         * math/README.libm-test: Don't mention special handling of
25299         individual functions.
25300         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
25301         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25302         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25303         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25304         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25305         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25307         * math/gen-libm-test.pl (get_variable): Remove function.
25308         (parse_args): Don't show pointer parameters to call in test
25309         names.  Use "extra output N" in test names for extra outputs
25310         rather than naming variables.
25312 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
25314         [BZ #15488]
25315         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
25316         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
25317         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
25318         double tests.
25319         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
25320         disable.
25321         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
25322         check_long_double.
25324         * math/gen-libm-test.pl (@tests): Remove variable.
25325         ($count): Likewise.
25326         (new_test): Remove function.
25327         (show_exceptions): New function.
25328         (special_functions): Use show_exceptions instead of new_test.
25329         (parse_args): Likewise.
25330         (generate_testfile): Pass only function name in generated call to
25331         print_max_error or print_complex_max_error.
25332         (get_ulps): Do not handle complex tests specially.
25333         (output_test): Rename to ...
25334         (get_all_ulps_for_test): ... this.  Return a string rather than
25335         printing to a file.  Require ulps to be present.
25336         (output_ulps): Generate arrays rather than #defines.
25337         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
25338         (struct ulp_data): New type.
25339         (BUILD_COMPLEX_ULP): Remove macro.
25340         (compare_ulp_data): New function.
25341         (find_ulps): Likewise.
25342         (find_test_ulps): Likewise.
25343         (find_function_ulps): Likewise.
25344         (find_complex_function_ulps): Likewise.
25345         (print_max_error): Determine allowed ulps using
25346         find_function_ulps.
25347         (print_complex_max_error): Determine allowed ulps using
25348         find_complex_function_ulps.
25349         (check_float_internal): Determine max ulps using find_test_ulps.
25350         (check_float): Do not take max_ulp parameter.  Update call to
25351         check_float_internal.
25352         (check_complex): Likewise.
25353         (check_int): Do not take max_ulp parameter.
25354         (check_long): Likewise.
25355         (check_bool): Likewise.
25356         (check_longlong): Likewise.
25357         (struct test_f_f_data): Remove max_ulp field.
25358         (struct test_ff_f_data): Likewise.
25359         (struct test_ff_f_data_nexttoward): Likewise.
25360         (struct test_fi_f_data): Likewise.
25361         (struct test_fl_f_data): Likewise.
25362         (struct test_if_f_data): Likewise.
25363         (struct test_fff_f_data): Likewise.
25364         (struct test_c_f_data): Likewise.
25365         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
25366         (struct test_fF_f1_data): Likewise.
25367         (struct test_ffI_f1_data): Likewise.
25368         (struct test_c_c_data): Remove max_ulp field.
25369         (struct test_cc_c_data): Likewise.
25370         (struct test_f_i_data): Likewise.
25371         (struct test_ff_i_data): Likewise.
25372         (struct test_f_l_data): Likewise.
25373         (struct test_f_L_data): Likewise.
25374         (struct test_sincos_data): Likewise.
25375         (RUN_TEST_f_f): Do not handle ulps.
25376         (RUN_TEST_LOOP_f_f): Likewise.
25377         (RUN_TEST_2_f): Likewise.
25378         (RUN_TEST_LOOP_2_f): Likewise.
25379         (RUN_TEST_fff_f): Likewise.
25380         (RUN_TEST_LOOP_fff_f): Likewise.
25381         (RUN_TEST_c_f): Likewise.
25382         (RUN_TEST_LOOP_c_f): Likewise.
25383         (RUN_TEST_f_f1): Likewise.
25384         (RUN_TEST_LOOP_f_f1): Likewise.
25385         (RUN_TEST_fF_f1): Likewise.
25386         (RUN_TEST_LOOP_fF_f1): Likewise.
25387         (RUN_TEST_fI_f1): Likewise.
25388         (RUN_TEST_LOOP_fI_f1): Likewise.
25389         (RUN_TEST_ffI_f1): Likewise.
25390         (RUN_TEST_LOOP_ffI_f1): Likewise.
25391         (RUN_TEST_c_c): Likewise.
25392         (RUN_TEST_LOOP_c_c): Likewise.
25393         (RUN_TEST_cc_c): Likewise.
25394         (RUN_TEST_LOOP_cc_c): Likewise.
25395         (RUN_TEST_f_i): Likewise.
25396         (RUN_TEST_LOOP_f_i): Likewise.
25397         (RUN_TEST_f_i_tg): Likewise.
25398         (RUN_TEST_LOOP_f_i_tg): Likewise.
25399         (RUN_TEST_ff_i_tg): Likewise.
25400         (RUN_TEST_LOOP_ff_i_tg): Likewise.
25401         (RUN_TEST_f_b): Likewise.
25402         (RUN_TEST_LOOP_f_b): Likewise.
25403         (RUN_TEST_f_b_tg): Likewise.
25404         (RUN_TEST_LOOP_f_b_tg): Likewise.
25405         (RUN_TEST_f_l): Likewise.
25406         (RUN_TEST_LOOP_f_l): Likewise.
25407         (RUN_TEST_f_L): Likewise.
25408         (RUN_TEST_LOOP_f_L): Likewise.
25409         (RUN_TEST_sincos): Likewise.
25410         (RUN_TEST_LOOP_sincos): Likewise.
25412 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
25414         [BZ #15480]
25415         [BZ #15485]
25416         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
25417         main case of finite arguments, set rounding mode to FE_TONEAREST
25418         and discard exceptions.
25419         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
25420         exceptions.
25421         (remainder_tonearest_test_data): New variable.
25422         (remainder_test_tonearest): New function.
25423         (remainder_towardzero_test_data): New variable.
25424         (remainder_test_towardzero): New function.
25425         (remainder_downward_test_data): New variable.
25426         (remainder_test_downward): New function.
25427         (remainder_upward_test_data): New variable.
25428         (remainder_test_upward): New function.
25429         (main): Call the new test functions.
25431         * math/libm-test.inc (struct test_f_f1_data): Remove field
25432         extra_init.
25433         (struct test_fF_f1_data): Likewise.
25434         (struct test_ffI_f1_data): Likewise.
25435         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
25436         based on value of EXTRA_EXPECTED.
25437         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
25438         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
25439         EXTRA_VAR based on value of EXTRA_EXPECTED.
25440         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
25441         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
25442         EXTRA_VAR based on value of EXTRA_EXPECTED.
25443         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
25444         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
25445         EXTRA_VAR based on value of EXTRA_EXPECTED.
25446         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
25447         * math/gen-libm-test.pl (parse_args): Don't output initializers
25448         for extra output values.
25450         * math/libm-test.inc (check_int): Expect result to be exactly
25451         equal to expected value and do not handle ulps.
25452         (check_long): Likewise.
25453         (check_longlong): Likewise.
25455         * math/libm-test.inc (ceil_test_data): Test for "inexact"
25456         exceptions.
25457         (cimag_test_data): Likewise.
25458         (conj_test_data): Likewise.
25459         (copysign_test_data): Likewise.
25460         (cproj_test_data): Likewise.
25461         (creal_test_data): Likewise.
25462         (fabs_test_data): Likewise.
25463         (fdim_test_data): Likewise.
25464         (finite_test_data): Likewise.
25465         (floor_test_data): Likewise.
25466         (fmax_test_data): Likewise.
25467         (fmin_test_data): Likewise.
25468         (fmod_test_data): Likewise.
25469         (fpclassify_test_data): Likewise.
25470         (frexp_test_data): Likewise.
25471         (ilogb_test_data): Likewise.
25472         (isfinite_test_data): Likewise.
25473         (isgreater_test_data): Likewise.
25474         (isgreaterequal_test_data): Likewise.
25475         (isinf_test_data): Likewise.
25476         (isless_test_data): Likewise.
25477         (islessequal_test_data): Likewise.
25478         (islessgreater_test_data): Likewise.
25479         (isnan_test_data): Likewise.
25480         (isnormal_test_data): Likewise.
25481         (issignaling_test_data): Likewise.
25482         (isunordered_test_data): Likewise.
25483         (ldexp_test_data): Likewise.
25484         (lrint_test_data): Likewise.
25485         (lrint_test_data) [TEST_FLOAT]: Disable one test.
25486         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
25487         (lrint_tonearest_test_data): Test for "inexact" exceptions.
25488         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
25489         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
25490         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
25491         test input.
25492         (lrint_towardzero_test_data): Test for "inexact" exceptions.
25493         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
25494         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
25495         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
25496         that test input.
25497         (lrint_downward_test_data): Test for "inexact" exceptions.
25498         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
25499         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
25500         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
25501         test input.
25502         (lrint_upward_test_data): Test for "inexact" exceptions.
25503         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
25504         test input.
25505         (llrint_test_data): Test for "inexact" exceptions.
25506         (llrint_test_data) [TEST_FLOAT]: Disable one test.
25507         (llrint_tonearest_test_data): Test for "inexact" exceptions.
25508         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
25509         (llrint_towardzero_test_data): Test for "inexact" exceptions.
25510         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
25511         (llrint_downward_test_data): Test for "inexact" exceptions.
25512         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
25513         (llrint_upward_test_data): Test for "inexact" exceptions.
25514         (logb_test_data): Likewise.
25515         (logb_downward_test_data): Likewise.
25516         (nextafter_test_data): Likewise.
25517         (nexttoward_test_data): Likewise.
25518         (remainder_test_data): Likewise.
25519         (remquo_test_data): Likewise.
25520         (scalbn_test_data): Likewise.
25521         (scalbln_test_data): Likewise.
25522         (signbit_test_data): Likewise.
25523         (sqrt_test_data): Likewise.
25524         (significand_test_data): Likewise.
25526 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
25528         [BZ #15424]
25529         * benchtests/bench-modf.c (struct args): Mark arg0 as
25530         volatile.
25531         * scripts/bench.pl: Mark members of struct args as volatile.
25533 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25535         [BZ # 15497]
25536         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
25537         negative infinity on POWER6 or lower.
25538         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
25540 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
25542         [BZ #15442]
25543         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
25544         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
25545         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
25546         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
25547         (_FP_SETQNAN): New macro.
25548         (_FP_SETQNAN_SEMIRAW): Likewise.
25549         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
25550         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
25551         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
25552         (FP_EXTEND): Use _FP_FRAC_SNANP.
25553         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
25554         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
25555         into account.
25556         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
25557         New macro.
25558         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
25559         Likewise.
25561 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
25563         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
25564         with DIVIDE_BY_ZERO_EXCEPTION.
25565         (gamma_test_data): Likewise.
25566         (lgamma_test_data): Likewise.
25567         (log_test_data): Likewise.
25568         (log10_test_data): Likewise.
25569         (log2_test_data): Likewise.
25570         (tgamma_test_data): Likewise.
25572         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
25573         (acos_test_tonearest): Likewise.
25574         (acos_test_towardzero): Likewise.
25575         (acos_test_downward): Likewise.
25576         (acos_test_upward): Likewise.
25577         (acosh_test): Likewise.
25578         (asin_test): Likewise.
25579         (asin_test_tonearest): Likewise.
25580         (asin_test_towardzero): Likewise.
25581         (asin_test_downward): Likewise.
25582         (asin_test_upward): Likewise.
25583         (asinh_test): Likewise.
25584         (atan_test): Likewise.
25585         (atanh_test): Likewise.
25586         (atan2_test): Likewise.
25587         (cabs_test): Likewise.
25588         (cacos_test): Likewise.
25589         (cacosh_test): Likewise.
25590         (casin_test): Likewise.
25591         (casinh_test): Likewise.
25592         (catan_test): Likewise.
25593         (catanh_test): Likewise.
25594         (cbrt_test): Likewise.
25595         (ccos_test): Likewise.
25596         (ccosh_test): Likewise.
25597         (cexp_test): Likewise.
25598         (clog_test): Likewise.
25599         (clog10_test): Likewise.
25600         (cos_test): Likewise.
25601         (cos_test_tonearest): Likewise.
25602         (cos_test_towardzero): Likewise.
25603         (cos_test_downward): Likewise.
25604         (cos_test_upward): Likewise.
25605         (cosh_test): Likewise.
25606         (cosh_test_tonearest): Likewise.
25607         (cosh_test_towardzero): Likewise.
25608         (cosh_test_downward): Likewise.
25609         (cosh_test_upward): Likewise.
25610         (cpow_test): Likewise.
25611         (csin_test): Likewise.
25612         (csinh_test): Likewise.
25613         (csqrt_test): Likewise.
25614         (ctan_test): Likewise.
25615         (ctan_test_tonearest): Likewise.
25616         (ctan_test_towardzero): Likewise.
25617         (ctan_test_downward): Likewise.
25618         (ctan_test_upward): Likewise.
25619         (ctanh_test): Likewise.
25620         (ctanh_test_tonearest): Likewise.
25621         (ctanh_test_towardzero): Likewise.
25622         (ctanh_test_downward): Likewise.
25623         (ctanh_test_upward): Likewise.
25624         (erf_test): Likewise.
25625         (erfc_test): Likewise.
25626         (exp_test): Likewise.
25627         (exp_test_tonearest): Likewise.
25628         (exp_test_towardzero): Likewise.
25629         (exp_test_downward): Likewise.
25630         (exp_test_upward): Likewise.
25631         (exp10_test): Likewise.
25632         (exp2_test): Likewise.
25633         (expm1_test): Likewise.
25634         (fmod_test): Likewise.
25635         (gamma_test): Likewise.
25636         (hypot_test): Likewise.
25637         (j0_test): Likewise.
25638         (j1_test): Likewise.
25639         (jn_test): Likewise.
25640         (lgamma_test): Likewise.
25641         (log_test): Likewise.
25642         (log10_test): Likewise.
25643         (log1p_test): Likewise.
25644         (log2_test): Likewise.
25645         (logb_test_downward): Likewise.
25646         (pow_test): Likewise.
25647         (pow_test_tonearest): Likewise.
25648         (pow_test_towardzero): Likewise.
25649         (pow_test_downward): Likewise.
25650         (pow_test_upward): Likewise.
25651         (remainder_test): Likewise.
25652         (remquo_test): Likewise.
25653         (sin_test): Likewise.
25654         (sin_test_tonearest): Likewise.
25655         (sin_test_towardzero): Likewise.
25656         (sin_test_downward): Likewise.
25657         (sin_test_upward): Likewise.
25658         (sincos_test): Likewise.
25659         (sinh_test): Likewise.
25660         (sinh_test_tonearest): Likewise.
25661         (sinh_test_towardzero): Likewise.
25662         (sinh_test_downward): Likewise.
25663         (sinh_test_upward): Likewise.
25664         (sqrt_test): Likewise.
25665         (tan_test): Likewise.
25666         (tan_test_tonearest): Likewise.
25667         (tan_test_towardzero): Likewise.
25668         (tan_test_downward): Likewise.
25669         (tan_test_upward): Likewise.
25670         (tanh_test): Likewise.
25671         (tgamma_test): Likewise.
25672         (y0_test): Likewise.
25673         (y1_test): Likewise.
25674         (yn_test): Likewise.
25676         * math/gen-libm-test.pl (adjust_arg): Remove function.
25677         (special_function): Remove argument $in_func.  Only handle
25678         generating output for tables of tests, not inside functions.
25679         (parse_args): Likewise.
25680         (generate_testfile): Remove variable $in_func.  Update call to
25681         parse_args.
25682         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
25683         (MINUS_ZERO_INIT): Rename macro to minus_zero.
25684         (PLUS_INFTY_INIT): Rename macro to plus_infty.
25685         (MINUS_INFTY_INIT): Rename macro to minus_infty.
25686         (QNAN_VALUE_INIT): Rename macro to qnan_value.
25687         (MAX_VALUE_INIT): Rename macro to max_value.
25688         (MIN_VALUE_INIT): Rename macro to min_value.
25689         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
25690         (plus_zero): Remove variable.
25691         (minus_zero): Likewise.
25692         (plus_infty): Likewise.
25693         (minus_infty): Likewise.
25694         (qnan_value): Likewise.
25695         (max_value): Likewise.
25696         (min_value): Likewise.
25697         (min_subnorm_value): Likewise.
25699 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25701         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
25702         uint64_t or uint32_t usage.
25703         * crypt/sha256-block.c: Likewise.
25704         * crypt/sha256-crypt.c: Likewise.
25705         * crypt/sha256.c: Likewise.
25706         * crypt/sha512-block.c: Likewise.
25707         * crypt/sha512-crypt.c: Likewise.
25708         * crypt/sha512.c: Likewise.
25709         * debug/backtrace-tst.c: Likewise.
25710         * debug/pcprofiledump.c: Likewise.
25711         * elf/cache.c: Likewise.
25712         * elf/dl-cache.c: Likewise.
25713         * elf/dl-misc.c: Likewise.
25714         * elf/dl-profile.c: Likewise.
25715         * elf/dl-support.c: Likewise.
25716         * elf/ldconfig.c: Likewise.
25717         * elf/sprof.c: Likewise.
25718         * iconv/dummy-repertoire.c: Likewise.
25719         * iconv/iconv_charmap.c: Likewise.
25720         * iconv/skeleton.c: Likewise.
25721         * iconvdata/8bit-generic.c: Likewise.
25722         * iconvdata/cp737.h: Likewise.
25723         * iconvdata/cp775.h: Likewise.
25724         * iconvdata/ibm1008.h: Likewise.
25725         * iconvdata/ibm1025.h: Likewise.
25726         * iconvdata/ibm1046.h: Likewise.
25727         * iconvdata/ibm1097.h: Likewise.
25728         * iconvdata/ibm1112.h: Likewise.
25729         * iconvdata/ibm1122.h: Likewise.
25730         * iconvdata/ibm1123.h: Likewise.
25731         * iconvdata/ibm1124.h: Likewise.
25732         * iconvdata/ibm1129.h: Likewise.
25733         * iconvdata/ibm1130.h: Likewise.
25734         * iconvdata/ibm1132.h: Likewise.
25735         * iconvdata/ibm1133.h: Likewise.
25736         * iconvdata/ibm1137.h: Likewise.
25737         * iconvdata/ibm1140.h: Likewise.
25738         * iconvdata/ibm1141.h: Likewise.
25739         * iconvdata/ibm1142.h: Likewise.
25740         * iconvdata/ibm1143.h: Likewise.
25741         * iconvdata/ibm1144.h: Likewise.
25742         * iconvdata/ibm1145.h: Likewise.
25743         * iconvdata/ibm1146.h: Likewise.
25744         * iconvdata/ibm1147.h: Likewise.
25745         * iconvdata/ibm1148.h: Likewise.
25746         * iconvdata/ibm1149.h: Likewise.
25747         * iconvdata/ibm1153.h: Likewise.
25748         * iconvdata/ibm1154.h: Likewise.
25749         * iconvdata/ibm1155.h: Likewise.
25750         * iconvdata/ibm1156.h: Likewise.
25751         * iconvdata/ibm1157.h: Likewise.
25752         * iconvdata/ibm1158.h: Likewise.
25753         * iconvdata/ibm1160.h: Likewise.
25754         * iconvdata/ibm1161.h: Likewise.
25755         * iconvdata/ibm1162.h: Likewise.
25756         * iconvdata/ibm1163.h: Likewise.
25757         * iconvdata/ibm1164.h: Likewise.
25758         * iconvdata/ibm1166.h: Likewise.
25759         * iconvdata/ibm1167.h: Likewise.
25760         * iconvdata/ibm12712.h: Likewise.
25761         * iconvdata/ibm1390.h: Likewise.
25762         * iconvdata/ibm1399.h: Likewise.
25763         * iconvdata/ibm16804.h: Likewise.
25764         * iconvdata/ibm4517.h: Likewise.
25765         * iconvdata/ibm4899.h: Likewise.
25766         * iconvdata/ibm4909.h: Likewise.
25767         * iconvdata/ibm4971.h: Likewise.
25768         * iconvdata/ibm5347.h: Likewise.
25769         * iconvdata/ibm803.h: Likewise.
25770         * iconvdata/ibm856.h: Likewise.
25771         * iconvdata/ibm901.h: Likewise.
25772         * iconvdata/ibm902.h: Likewise.
25773         * iconvdata/ibm9030.h: Likewise.
25774         * iconvdata/ibm9066.h: Likewise.
25775         * iconvdata/ibm921.h: Likewise.
25776         * iconvdata/ibm922.h: Likewise.
25777         * iconvdata/ibm9448.h: Likewise.
25778         * iconvdata/isiri-3342.h: Likewise.
25779         * iconvdata/jis0201.h: Likewise.
25780         * include/link.h: Likewise.
25781         * include/netdb.h: Likewise.
25782         * inet/check_native.c: Likewise.
25783         * inet/check_pf.c: Likewise.
25784         * inet/getipv4sourcefilter.c: Likewise.
25785         * inet/getnameinfo.c: Likewise.
25786         * inet/getsourcefilter.c: Likewise.
25787         * inet/htonl.c: Likewise.
25788         * inet/setipv4sourcefilter.c: Likewise.
25789         * inet/setsourcefilter.c: Likewise.
25790         * inet/test-inet6_opt.c: Likewise.
25791         * inet/tst-network.c: Likewise.
25792         * locale/C-collate.c: Likewise.
25793         * locale/C-ctype.c: Likewise.
25794         * locale/C-time.c: Likewise.
25795         * locale/C-translit.h: Likewise.
25796         * locale/loadarchive.c: Likewise.
25797         * locale/programs/3level.h: Likewise.
25798         * locale/programs/charmap.c: Likewise.
25799         * locale/programs/charmap.h: Likewise.
25800         * locale/programs/ld-address.c: Likewise.
25801         * locale/programs/ld-collate.c: Likewise.
25802         * locale/programs/ld-ctype.c: Likewise.
25803         * locale/programs/ld-identification.c: Likewise.
25804         * locale/programs/ld-measurement.c: Likewise.
25805         * locale/programs/ld-messages.c: Likewise.
25806         * locale/programs/ld-monetary.c: Likewise.
25807         * locale/programs/ld-name.c: Likewise.
25808         * locale/programs/ld-numeric.c: Likewise.
25809         * locale/programs/ld-paper.c: Likewise.
25810         * locale/programs/ld-telephone.c: Likewise.
25811         * locale/programs/ld-time.c: Likewise.
25812         * locale/programs/linereader.c: Likewise.
25813         * locale/programs/locale.c: Likewise.
25814         * locale/programs/locarchive.c: Likewise.
25815         * locale/programs/locfile.h: Likewise.
25816         * locale/programs/repertoire.c: Likewise.
25817         * locale/programs/simple-hash.c: Likewise.
25818         * locale/programs/simple-hash.h: Likewise.
25819         * malloc/memusage.c: Likewise.
25820         * malloc/memusagestat.c: Likewise.
25821         * nis/nis_defaults.c: Likewise.
25822         * nis/nis_hash.c: Likewise.
25823         * nis/nis_print.c: Likewise.
25824         * nis/nis_xdr.c: Likewise.
25825         * nscd/connections.c: Likewise.
25826         * nscd/hstcache.c: Likewise.
25827         * nscd/nscd_gethst_r.c: Likewise.
25828         * nscd/nscd_getserv_r.c: Likewise.
25829         * nscd/nscd_helper.c: Likewise.
25830         * nscd/servicescache.c: Likewise.
25831         * nss/makedb.c: Likewise.
25832         * nss/nss_db/db-XXX.c: Likewise.
25833         * nss/nss_db/db-initgroups.c: Likewise.
25834         * nss/nss_db/db-netgrp.c: Likewise.
25835         * nss/nss_files/files-network.c: Likewise.
25836         * nss/nss_files/files-parse.c: Likewise.
25837         * posix/bug-regex5.c: Likewise.
25838         * posix/fnmatch_loop.c: Likewise.
25839         * posix/regcomp.c: Likewise.
25840         * posix/regexec.c: Likewise.
25841         * posix/tst-rfc3484-2.c: Likewise.
25842         * posix/tst-rfc3484-3.c: Likewise.
25843         * posix/tst-rfc3484.c: Likewise.
25844         * resolv/nss_dns/dns-canon.c: Likewise.
25845         * resolv/nss_dns/dns-network.c: Likewise.
25846         * resolv/res_init.c: Likewise.
25847         * resolv/res_mkquery.c: Likewise.
25848         * resolv/tst-aton.c: Likewise.
25849         * stdlib/cxa_atexit.c: Likewise.
25850         * stdlib/cxa_finalize.c: Likewise.
25851         * stdlib/gen-fpioconst.c: Likewise.
25852         * stdlib/strtol_l.c: Likewise.
25853         * string/tst-endian.c: Likewise.
25854         * sunrpc/auth_des.c: Likewise.
25855         * sunrpc/clnt_udp.c: Likewise.
25856         * sunrpc/rtime.c: Likewise.
25857         * sunrpc/svcauth_des.c: Likewise.
25858         * sunrpc/xdr.c: Likewise.
25859         * sunrpc/xdr_intXX_t.c: Likewise.
25860         * sunrpc/xdr_rec.c: Likewise.
25861         * sysdeps/generic/ldconfig.h: Likewise.
25862         * sysdeps/generic/ldsodefs.h: Likewise.
25863         * sysdeps/generic/memusage.h: Likewise.
25864         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
25865         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
25866         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
25867         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25868         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25869         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25870         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
25871         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
25872         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25873         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25874         * sysdeps/posix/getaddrinfo.c: Likewise.
25875         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25876         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25877         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
25878         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25879         * sysdeps/powerpc/test-gettimebase.c: Likewise.
25880         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
25881         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
25882         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
25883         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
25884         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
25885         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
25886         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
25887         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
25888         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
25889         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
25890         * sysdeps/x86_64/dl-tls.h: Likewise.
25891         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
25892         * time/alt_digit.c: Likewise.
25893         * time/era.c: Likewise.
25894         * wcsmbs/tst-c16c32-1.c: Likewise.
25896 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
25898         * math/libm-test.inc (struct test_sincos_data): New type.
25899         (RUN_TEST_LOOP_sincos): New macro.
25900         (sincos_test_data): New variable.
25901         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
25903 2013-05-16  Richard Henderson  <rth@redhat.com>
25905         * math/atest-exp2.c (LIMB64): New macro.
25906         (CONSTSZ): New macro.
25907         (mp_exp1, mp_exp_m1, mp_log2): New variables.
25908         (hexdig): Move ...
25909         (print_mpn_fp): ... to function scope.
25910         (read_mpn_hex): Remove.
25911         (get_log2): Remove.
25912         (exp2_mpn): Use mp_log2.
25913         (main): Use mp_exp1.
25915 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
25917         * math/libm-test.inc: Remove comment about not testing "inexact"
25918         exceptions.
25919         (INEXACT_EXCEPTION): New macro.
25920         (NO_INEXACT_EXCEPTION): Likewise.
25921         (INVALID_EXCEPTION_OK): Update value.
25922         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25923         (OVERFLOW_EXCEPTION_OK): Likewise.
25924         (UNDERFLOW_EXCEPTION_OK): Likewise.
25925         (IGNORE_ZERO_INF_SIGN): Likewise.
25926         (ERRNO_UNCHANGED): Likewise.
25927         (ERRNO_EDOM): Likewise.
25928         (ERRNO_ERANGE): Likewise.
25929         (test_exceptions): Handle testing "inexact" exceptions.
25930         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
25931         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
25932         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
25933         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
25934         INEXACT_EXCEPTION.
25935         (rint_towardzero_test_data): Likewise.
25936         (rint_downward_test_data): Likewise.
25937         (rint_upward_test_data): Likewise.
25939         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
25940         with OVERFLOW_EXCEPTION.
25941         (exp10_test_data): Likewise.
25942         (exp2_test_data): Likewise.
25943         (expm1_test_data): Likewise.
25944         (lgamma_test_data): Likewise.
25945         (pow_test_data): Likewise.
25946         (tgamma_test_data): Likewise.
25947         (yn_test_data): Remove duplicate test of overflow.
25949         * math/libm-test.inc (struct test_cc_c_data): New type.
25950         (RUN_TEST_LOOP_cc_c): New macro.
25951         (cpow_test_data): New variable.
25952         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
25954         * math/libm-test.inc (struct test_f_L_data): New type.
25955         (RUN_TEST_LOOP_f_L): New macro.
25956         (llrint_test_data): New variable.
25957         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
25958         (llrint_tonearest_test_data): New variable.
25959         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
25960         (llrint_towardzero_test_data): New variable.
25961         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
25962         (llrint_downward_test_data): New variable.
25963         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
25964         (llrint_upward_test_data): New variable.
25965         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
25966         (llround_test_data): New variable.
25967         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
25969 2013-05-13  Peter Collingbourne  <pcc@google.com>
25971         * math/atest-exp2.c (get_log2): Remove const attribute.
25973 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
25975         * math/libm-test.inc (struct test_f_l_data): New type.
25976         (RUN_TEST_LOOP_f_l): New macro.
25977         (lrint_test_data): New variable.
25978         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
25979         (lrint_tonearest_test_data): New variable.
25980         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
25981         (lrint_towardzero_test_data): New variable.
25982         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
25983         (lrint_downward_test_data): New variable.
25984         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
25985         (lrint_upward_test_data): New variable.
25986         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
25987         (lround_test_data): New variable.
25988         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
25990 2013-05-15  Peter Collingbourne  <pcc@google.com>
25992         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
25993         (EXTRACT_WORDS64) Use where appropriate.
25994         (INSERT_WORDS64) Likewise.
25996         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
25997         constraints with x constraints.
25998         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
26000         * malloc/obstack.c (_obstack_compat): Add initializer.
26002 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
26004         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
26005         si_trapno and add si_addr_lsb to _sifields.sigfault.
26006         (si_trapno): Remove macro.
26007         (si_addr_lsb): Define new macro.
26008         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
26010 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
26012         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
26013         instead of TEST_f_l.
26014         (llrint_test_tonearest): Likewise.
26015         (llrint_test_towardzero): Likewise.
26016         (llrint_test_downward): Likewise.
26017         (llrint_test_upward): Likewise.
26018         (llround_test): Likewise.
26020         * math/libm-test.inc (struct test_f_i_data): Add comment.
26021         (RUN_TEST_LOOP_f_b): New macro.
26022         (RUN_TEST_LOOP_f_b_tg): Likewise.
26023         (finite_test_data): New variable.
26024         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
26025         (isfinite_test_data): New variable.
26026         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26027         (isinf_test_data): New variable.
26028         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26029         (isnan_test_data): New variable.
26030         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26031         (isnormal_test_data): New variable.
26032         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26033         (issignaling_test_data): New variable.
26034         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26035         (signbit_test_data): New variable.
26036         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26038         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
26039         with INVALID_EXCEPTION.
26040         (acosh_test_data): Likewise.
26041         (asin_test_data): Likewise.
26042         (atanh_test_data): Likewise.
26043         (fmod_test_data): Likewise.
26044         (log_test_data): Likewise.
26045         (log10_test_data): Likewise.
26046         (log2_test_data): Likewise.
26047         (pow_test_data): Likewise.
26048         (sqrt_test_data): Likewise.
26049         (y0_test_data): Likewise.
26050         (y1_test_data): Likewise.
26051         (yn_test_data): Likewise.
26053         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
26054         function contents.
26056         * math/libm-test.inc (struct test_ff_i_data): New type.
26057         (RUN_TEST_LOOP_ff_i_tg): New macro.
26058         (isgreater_test_data): New variable.
26059         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26060         (isgreaterequal_test_data): New variable.
26061         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26062         (isless_test_data): New variable.
26063         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26064         (islessequal_test_data): New variable.
26065         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26066         (islessgreater_test_data): New variable.
26067         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26068         (isunordered_test_data): New variable.
26069         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26071 2013-05-14  David S. Miller  <davem@davemloft.net>
26073         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26075 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
26077         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
26079         * math/libm-test.inc (struct test_fF_f1_data): Change type of
26080         extra_test to int.
26081         (struct test_f_i_data): Change type of max_ulp to int.
26083         * math/libm-test.inc (test_ffI_f1_data): New type.
26084         (RUN_TEST_LOOP_ffI_f1): New macro.
26085         (remquo_test_data): New variable.
26086         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
26088         * setjmp/tst-setjmp-fp.c: New file.
26089         * setjmp/Makefile (tests): Add tst-setjmp-fp.
26090         (link-libm): New variable.
26091         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
26093         * math/libm-test.inc (struct test_f_i_data): New type.
26094         (RUN_TEST_LOOP_f_i): New macro.
26095         (RUN_TEST_LOOP_f_i_tg): Likewise.
26096         (fpclassify_test_data): New variable.
26097         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
26098         (ilogb_test_data): New variable.
26099         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
26101         * math/libm-test.inc (scalbln_test): Correct function name in END
26102         call.
26104         * math/libm-test.inc (struct test_f_f1_data): Add comment.
26105         (RUN_TEST_LOOP_fI_f1): New macro.
26106         (frexp_test_data): New variable.
26107         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
26109         * math/libm-test.inc (struct test_fF_f1_data): New type.
26110         (RUN_TEST_LOOP_fF_f1): New macro.
26111         (modf_test_data): New variable.
26112         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
26114         * math/libm-test.inc (struct test_f_f1_data): New type.
26115         (RUN_TEST_LOOP_f_f1): New macro.
26116         (gamma_test_data): New variable.
26117         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
26118         (lgamma_test_data): New variable.
26119         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
26121 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
26123         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
26124         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
26125         (main): Comment "tls" pseudo-hwcap.
26127 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
26129         * math/libm-test.inc (struct test_fl_f_data): New type.
26130         (RUN_TEST_LOOP_fl_f): New variable.
26131         (scalbln_test_data): New variable.
26132         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
26134         * math/libm-test.inc (struct test_fi_f_data): New type.
26135         (RUN_TEST_LOOP_fi_f): New macro.
26136         (ldexp_test_data): New variable.
26137         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
26138         (scalbn_test_data): New variable.
26139         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
26141         * math/libm-test.inc (struct test_c_f_data): New type.
26142         (RUN_TEST_LOOP_c_f): New macro.
26143         (cabs_test_data): New variable.
26144         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
26145         (carg_test_data): New variable.
26146         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
26147         (cimag_test_data): New variable.
26148         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
26149         (creal_test_data): New variable.
26150         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
26152         * math/libm-test.inc (struct test_if_f_data): New type.
26153         (RUN_TEST_LOOP_if_f): New macro.
26154         (jn_test_data): New variable.
26155         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
26156         (yn_test_data): New variable.
26157         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
26159         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
26161 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26163         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
26164         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
26166 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
26168         * benchtests/Makefile (CPPFLAGS-nonlib): Add
26169         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
26170         (bench-deps): Add bench-timing.h.
26171         * benchtests-bench-skeleton.c: Include bench-timing.h.
26172         (main): Use TIMING_* macros instead of clock_gettime.
26173         * benchtests/bench-timing.h: New file.
26175         [BZ #14582]
26176         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
26177         Renamed from _LIB_VERSION.
26178         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
26180 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
26182         * math/libm-test.inc (struct test_fff_f_data): New type.
26183         (RUN_TEST_LOOP_fff_f): New macro.
26184         (fma_test_data): New variable.
26185         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
26186         (fma_towardzero_test_data): New variable.
26187         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
26188         (fma_downward_test_data): New variable.
26189         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
26190         (fma_upward_test_data): New variable.
26191         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
26193         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
26194         (struct test_c_c_data): New type.
26195         (RUN_TEST_LOOP_c_c): New macro.
26196         (cacos_test_data): New variable.
26197         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
26198         (cacosh_test_data): New variable.
26199         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
26200         (casin_test_data): New variable.
26201         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
26202         (casinh_test_data): New variable.
26203         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
26204         (catan_test_data): New variable.
26205         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
26206         (catanh_test_data): New variable.
26207         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
26208         (ccos_test_data): New variable.
26209         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
26210         (ccosh_test_data): New variable.
26211         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
26212         (cexp_test_data): New variable.
26213         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
26214         (clog_test_data): New variable.
26215         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
26216         (clog10_test_data): New variable.
26217         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
26218         (conj_test_data): New variable.
26219         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
26220         (cproj_test_data): New variable.
26221         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
26222         (csin_test_data): New variable.
26223         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
26224         (csinh_test_data): New variable.
26225         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
26226         (csqrt_test_data): New variable.
26227         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
26228         (ctan_test_data): New variable.
26229         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
26230         (ctan_tonearest_test_data): New variable.
26231         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
26232         (ctan_towardzero_test_data): New variable.
26233         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
26234         (ctan_downward_test_data): New variable.
26235         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
26236         (ctan_upward_test_data): New variable.
26237         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
26238         (ctanh_test_data): New variable.
26239         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
26240         (ctanh_tonearest_test_data): New variable.
26241         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
26242         (ctanh_towardzero_test_data): New variable.
26243         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
26244         (ctanh_downward_test_data): New variable.
26245         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
26246         (ctanh_upward_test_data): New variable.
26247         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
26248         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
26249         of BUILD_COMPLEX.
26251         * math/libm-test.inc (struct test_ff_f_data): New type.
26252         (struct test_ff_f_data_nexttoward): Likewise.
26253         (RUN_TEST_LOOP_2_f): New macro.
26254         (RUN_TEST_LOOP_ff_f): Likewise.
26255         (atan2_test_data): New variable.
26256         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
26257         (copysign_test_data): New variable.
26258         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
26259         (fdim_test_data): New variable.
26260         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
26261         (fmax_test_data): New variable.
26262         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
26263         (fmin_test_data): New variable.
26264         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
26265         (fmod_test_data): New variable.
26266         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
26267         (hypot_test_data): New variable.
26268         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
26269         (nextafter_test_data): New variable.
26270         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
26271         (nexttoward_test_data): New variable.
26272         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
26273         (pow_test_data): New variable.
26274         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
26275         (pow_tonearest_test_data): New variable.
26276         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
26277         (pow_towardzero_test_data): New variable.
26278         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
26279         (pow_downward_test_data): New variable.
26280         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
26281         (pow_upward_test_data): New variable.
26282         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
26283         (remainder_test_data): New variable.
26284         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
26285         (scalb_test_data): New variable.
26286         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
26287         * sysdeps/i386/fpu/libm-test-ulps: Update.
26289 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
26291         * math/libm-test.inc (fma_test): Use max_value instead of local
26292         variable fltmax.
26293         (nextafter_test): Likewise.
26295         * math/libm-test.inc (acos_towardzero_test_data): New variable.
26296         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26297         (acos_downward_test_data): New variable.
26298         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26299         (acos_upward_test_data): New variable.
26300         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26301         (acosh_test_data): New variable.
26302         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
26303         (asin_test_data): New variable.
26304         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
26305         (asin_tonearest_test_data): New variable.
26306         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26307         (asin_towardzero_test_data): New variable.
26308         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26309         (asin_downward_test_data): New variable.
26310         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26311         (asin_upward_test_data): New variable.
26312         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26313         (asinh_test_data): New variable.
26314         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
26315         (atan_test_data): New variable.
26316         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
26317         (atanh_test_data): New variable.
26318         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
26319         (cbrt_test_data): New variable.
26320         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
26321         (ceil_test_data): New variable.
26322         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
26323         (cos_test_data): New variable.
26324         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
26325         (cos_tonearest_test_data): New variable.
26326         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26327         (cos_towardzero_test_data): New variable.
26328         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26329         (cos_downward_test_data): New variable.
26330         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26331         (cos_upward_test_data): New variable.
26332         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26333         (cosh_test_data): New variable.
26334         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
26335         (cosh_tonearest_test_data): New variable.
26336         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26337         (cosh_towardzero_test_data): New variable.
26338         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26339         (cosh_downward_test_data): New variable.
26340         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26341         (cosh_upward_test_data): New variable.
26342         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26343         (erf_test_data): New variable.
26344         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
26345         (erfc_test_data): New variable.
26346         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
26347         (exp_test_data): New variable.
26348         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
26349         (exp_tonearest_test_data): New variable.
26350         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26351         (exp_towardzero_test_data): New variable.
26352         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26353         (exp_downward_test_data): New variable.
26354         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26355         (exp_upward_test_data): New variable.
26356         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26357         (exp10_test_data): New variable.
26358         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
26359         (exp2_test_data): New variable.
26360         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
26361         (expm1_test_data): New variable.
26362         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
26363         (fabs_test_data): New variable.
26364         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
26365         (floor_test_data): New variable.
26366         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
26367         (j0_test_data): New variable.
26368         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
26369         (j1_test_data): New variable.
26370         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
26371         (log_test_data): New variable.
26372         (log_test): Run tests with RUN_TEST_LOOP_f_f.
26373         (log10_test_data): New variable.
26374         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
26375         (log1p_test_data): New variable.
26376         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
26377         (log2_test_data): New variable.
26378         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
26379         (logb_test_data): New variable.
26380         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
26381         (logb_downward_test_data): New variable.
26382         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26383         (nearbyint_test_data): New variable.
26384         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
26385         (rint_test_data): New variable.
26386         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
26387         (rint_tonearest_test_data): New variable.
26388         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26389         (rint_towardzero_test_data): New variable.
26390         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26391         (rint_downward_test_data): New variable.
26392         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26393         (rint_upward_test_data): New variable.
26394         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26395         (round_test_data): New variable.
26396         (round_test): Run tests with RUN_TEST_LOOP_f_f.
26397         (sin_test_data): New variable.
26398         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
26399         (sin_tonearest_test_data): New variable.
26400         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26401         (sin_towardzero_test_data): New variable.
26402         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26403         (sin_downward_test_data): New variable.
26404         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26405         (sin_upward_test_data): New variable.
26406         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26407         (sinh_test_data): New variable.
26408         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
26409         (sinh_tonearest_test_data): New variable.
26410         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26411         (sinh_towardzero_test_data): New variable.
26412         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26413         (sinh_downward_test_data): New variable.
26414         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26415         (sinh_upward_test_data): New variable.
26416         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26417         (sqrt_test_data): New variable.
26418         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
26419         (tan_test_data): New variable.
26420         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
26421         (tan_tonearest_test_data): New variable.
26422         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26423         (tan_towardzero_test_data): New variable.
26424         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26425         (tan_downward_test_data): New variable.
26426         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26427         (tan_upward_test_data): New variable.
26428         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26429         (tanh_test_data): New variable.
26430         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
26431         (tgamma_test_data): New variable.
26432         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
26433         (trunc_test_data): New variable.
26434         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
26435         (y0_test_data): New variable.
26436         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
26437         (y1_test_data): New variable.
26438         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
26439         (significand_test_data): New variable.
26440         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
26442 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
26444         [BZ #12387]
26445         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
26447 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
26449         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
26451 2013-05-10  Andreas Jaeger  <aj@suse.de>
26453         [BZ #15448]
26454         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
26455         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
26457 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
26459         * math/gen-libm-test.pl (adjust_arg): New function.
26460         (special_functions): Handle generating output in both functions
26461         and arrays.
26462         (parse_args): Likewise.
26463         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
26464         $in_func argument to parse_args.
26465         * math/libm-test.inc (struct test_f_f_data): New type.
26466         (IF_ROUND_INIT_): New macro.
26467         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
26468         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
26469         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
26470         (IF_ROUND_INIT_FE_UPWARD): Likewise.
26471         (ROUND_RESTORE_): Likewise.
26472         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
26473         (ROUND_RESTORE_FE_TONEAREST): Likewise.
26474         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
26475         (ROUND_RESTORE_FE_UPWARD): Likewise.
26476         (RUN_TEST_LOOP_f_f): New macro.
26477         (acos_test_data): New variable.
26478         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
26479         (acos_tonearest_test_data): New variable.
26480         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26482 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26484         * benchtests/bench-skeleton.c (startup): Fix coding style.
26486 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
26488         [BZ #6809]
26489         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
26490         negative infinity argument.
26491         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
26492         negative infinity argument.
26493         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
26494         negative infinity argument.
26495         * math/libm-test.inc (tgamma_test): Expect errno to be set for
26496         domain errors.
26498 2013-05-10  Florian Weimer  <fweimer@redhat.com>
26500         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
26501         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
26502         * iconv/iconv_prog.c (main): Likewise.
26503         * locale/programs/charmap-dir.c (charmap_readdir)
26504         (fopen_uncompressed): Likewise.
26505         * locale/programs/locfile.c (siblings_uncached)
26506         (write_locale_data): Use lstat64 instead of lstat.
26507         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
26508         stat.
26510 2013-05-10  Andreas Jaeger  <aj@suse.de>
26512         [BZ #15395]
26513         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
26514         localization.
26515         Include <locale.h>.
26517 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
26519         * elf/dl-close.c (_dl_close_worker): Add comments.
26521 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
26523         [BZ #15359]
26524         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
26525         high part of pi/2.
26526         (__ieee754_rem_pio2l): Update comments.
26528         [BZ #15429]
26529         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
26530         high part of pi/2.
26531         (__ieee754_rem_pio2l): Update comments.
26533         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
26534         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
26536         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
26537         M_PI_4l.
26539         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
26540         (M_PI_34_LOG10El): Likewise.
26541         (M_PI2_LOG10El): Likewise.
26542         (M_PI4_LOG10El): Likewise.
26543         (M_PI_LOG10El): Likewise.
26545 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26547         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26549 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
26551         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
26552         (MINUS_ZERO_INIT): Likewise.
26553         (PLUS_INFTY_INIT): Likewise.
26554         (MINUS_INFTY_INIT): Likewise.
26555         (QNAN_VALUE_INIT): Likewise.
26556         (MAX_VALUE_INIT): Likewise.
26557         (MIN_VALUE_INIT): Likewise.
26558         (MIN_SUBNORM_VALUE_INIT): Likewise.
26559         (plus_zero): Initialize with PLUS_ZERO_INIT.
26560         (minus_zero): Initialize with MINUS_ZERO_INIT.
26561         (plus_infty): Initialize with PLUS_INFTY_INIT.
26562         (minus_infty): Initialize with MINUS_INFTY_INIT.
26563         (qnan_value): Initialize with QNAN_VALUE_INIT.
26564         (max_value): Initialize with MAX_VALUE_INIT.
26565         (min_value): Initialize with MIN_VALUE_INIT.
26566         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
26568         * math/libm-test.inc (RUN_TEST_if_f): New macro.
26569         (jn_test): Use TEST_if_f instead of TEST_ff_f.
26570         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
26571         (yn_test): Use TEST_if_f instead of TEST_ff_f.
26573         * math/libm-test.inc (RUN_TEST_f_f): New macro.
26574         (RUN_TEST_2_f): Likewise.
26575         (RUN_TEST_ff_f): Likewise.
26576         (RUN_TEST_fi_f): Likewise.
26577         (RUN_TEST_fl_f): Likewise.
26578         (RUN_TEST_fff_f): Likewise.
26579         (RUN_TEST_c_f): Likewise.
26580         (RUN_TEST_f_f1): Likewise.
26581         (RUN_TEST_fF_f1): Likewise.
26582         (RUN_TEST_fI_f1): Likewise.
26583         (RUN_TEST_ffI_f1): Likewise.
26584         (RUN_TEST_c_c): Likewise.
26585         (RUN_TEST_cc_c): Likewise.
26586         (RUN_TEST_f_i): Likewise.
26587         (RUN_TEST_f_i_tg): Likewise.
26588         (RUN_TEST_ff_i_tg): Likewise.
26589         (RUN_TEST_f_b): Likewise.
26590         (RUN_TEST_f_b_tg): Likewise.
26591         (RUN_TEST_f_l): Likewise.
26592         (RUN_TEST_f_L): Likewise.
26593         (RUN_TEST_sincos): Likewise.
26594         * math/gen-libm-test.pl (new_test): Take new argument to indicate
26595         whether to show exceptions.  Do not include ");\n" in return
26596         value.
26597         (special_functions): Output call to RUN_TEST_sincos instead of
26598         check_float calls.  Update calls to new_test.
26599         (parse_args): Output call to single RUN_TEST_* macro instead of
26600         check_* calls and other assignments.  Update calls to new_test.
26602         [BZ #2546]
26603         [BZ #2560]
26604         [BZ #5159]
26605         [BZ #15426]
26606         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
26607         input to result for tgamma overflow.
26608         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
26609         (gamma_coeff): New variable.
26610         (NCOEFF): New macro.
26611         (gamma_positive): New function.
26612         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
26613         underflow here.  Use gamma_positive instead of exp (lgamma) for
26614         other arguments.
26615         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
26616         (gamma_coeff): New variable.
26617         (NCOEFF): New macro.
26618         (gammaf_positive): New function.
26619         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
26620         underflow here.  Use gamma_positive instead of exp (lgamma) for
26621         other arguments.
26622         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
26623         (gamma_coeff): New variable.
26624         (NCOEFF): New macro.
26625         (gammal_positive): New function.
26626         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
26627         underflow here.  Use gamma_positive instead of exp (lgamma) for
26628         other arguments.
26629         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
26630         (gamma_coeff): New variable.
26631         (NCOEFF): New macro.
26632         (gammal_positive): New function.
26633         (__ieee754_gammal_r): Handle positive infinity, overflow and
26634         underflow here.  Handle NaN the same as positive infinity.  Remove
26635         check x < 0xffffffff for negative integers.  Use gamma_positive
26636         instead of exp (lgamma) for other arguments.
26637         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
26638         (gamma_coeff): New variable.
26639         (NCOEFF): New macro.
26640         (gammal_positive): New function.
26641         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
26642         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
26643         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
26644         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
26645         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
26646         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
26647         * sysdeps/generic/math_private.h (__gamma_productf): New
26648         prototype.
26649         (__gamma_product): Likewise.
26650         (__gamma_productl): Likewise.
26651         * math/Makefile (libm-calls): Add gamma_product.
26652         * math/libm-test.inc (tgamma_test): Add more tests.
26653         * sysdeps/i386/fpu/libm-test-ulps: Update.
26654         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26656 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
26658         * benchtests/bench-skeleton.c (main): Preheat CPU.
26660 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
26662         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
26664 2013-05-07  Roland McGrath  <roland@hack.frob.com>
26666         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
26667         and _dl_skip_args_internal.
26669 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
26671         * manual/message.texi (Message Translation): Talk about users.
26672         Message to key mapping impacts design.
26674 2013-05-06  Roland McGrath  <roland@hack.frob.com>
26676         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
26678         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
26680         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
26681         * sysdeps/wordsize-64/glob64.c: ... here.
26683         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
26684         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
26685         New macros.
26687         * debug/getlogin_r_chk.c: Moved to ...
26688         * login/getlogin_r_chk.c: ... here.
26689         * debug/Makefile (routines): Move getlogin_r_chk to ...
26690         * login/Makefile (routines): ... here.
26691         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
26692         * login/Versions (libc: GLIBC_2.4): ... here.
26694         * io/poll.c (__poll): Renamed from poll.
26695         Add libc_hidden_def.
26696         (poll): Define as weak alias.
26698         * debug/ptsname_r_chk.c: Moved to ...
26699         * login/ptsname_r_chk.c: ... here.
26700         * debug/Makefile (routines): Move ptsname_r_chk to ...
26701         * login/Makefile (routines): ... here.
26702         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
26703         * login/Versions (libc: GLIBC_2.4): ... here.
26705         * posix/getlogin.c: Moved to ...
26706         * login/getlogin.c: ... here.
26707         * posix/getlogin_r.c: Moved to ...
26708         * login/getlogin_r.c: ... here.
26709         * posix/getlogin_r.c: Moved to ...
26710         * login/getlogin_r.c: ... here.
26711         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
26712         * login/Makefile (routines): ... here.
26713         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
26714         * login/Versions (libc: GLIBC_2.0): ... here.
26716         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
26717         (setrlimit): Define as weak alias.
26719         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
26720         Call __ names for open, ftruncate, and close.
26721         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
26722         (truncate): Define as weak alias.
26724 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
26726         * math/gen-libm-test.pl (parse_args): Initialize x before each
26727         test of frexp, modf and remquo.
26729         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
26730         test signgam value.
26732 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26734         [BZ #15418]
26735         [BZ #15419]
26736         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
26737         internal tests.
26738         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26740 2013-05-06  Roland McGrath  <roland@hack.frob.com>
26742         * elf/dl-writev.h: New file.
26743         * elf/dl-misc.c: Include it.
26744         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
26745         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
26747 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
26749         * math/libm-test.inc (noXFails): Remove variable.
26750         (noXPasses): Likewise.
26751         (BUILD_COMPLEX_INT): Remove macro.
26752         (print_screen): Remove xfail argument.
26753         (print_screen_max_error): Likewise.
26754         (update_stats): Likewise.
26755         (print_max_error): Likewise.  Update calls to other affected
26756         functions.
26757         (print_complex_max_error): Likewise.
26758         (test_single_exception): Update calls to print_screen.
26759         (test_single_errno): Likewise.
26760         (check_float_internal): Remove xfail argument.  Update calls to
26761         other affected functions.
26762         (check_float): Likewise.
26763         (check_complex): Likewise.
26764         (check_int): Likewise.
26765         (check_long): Likewise.
26766         (check_bool): Likewise.
26767         (check_longlong): Likewise.
26768         (main): Don't print noXFails and noXPasses.
26769         * math/gen-libm-test.pl (top level): Don't mention expected
26770         failure handling in comment.
26771         (new_test): Don't handle expected failures.
26772         (parse_args): Don't mention expected failure handling in comment.
26773         (generate_testfile): Don't handle expected failures.
26774         (parse_ulps): Likewise.
26775         (print_ulps_file): Likewise.
26776         (get_failure): Remove function.
26777         (output_test): Don't handle expected failures.
26778         * make/README.libm-test: Don't mention expected failure handling.
26780         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
26781         (minus_zero): Likewise.
26782         (plus_infty): Likewise.
26783         (minus_infty): Likewise.
26784         (qnan_value): Likewise.
26785         (max_value): Likewise.
26786         (min_value): Likewise.
26787         (min_subnorm_value): Likewise.
26788         (initialize): Do not initialize those variables dynamically.
26790 2013-05-03  Roland McGrath  <roland@hack.frob.com>
26792         * io/open.c (__open_2): Moved to ...
26793         * io/open_2.c: ... this new file.
26794         * io/open64.c (__open64_2): Moved to ...
26795         * io/open64_2.c: ... this new file.
26796         * io/openat.c (__openat_2): Moved to ...
26797         * io/openat_2.c: ... this new file.
26798         * io/openat64.c (__openat64_2): Moved to ...
26799         * io/openat64_2.c: ... this new file.
26800         * io/Makefile (routines): Add them.
26801         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
26802         * sysdeps/unix/sysv/linux/open_2.c: File removed.
26803         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
26804         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
26805         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
26806         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
26807         (__openat64): Add hidden_ver.
26808         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
26809         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
26811         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
26812         Separately conditionalize setting of GLRO(dl_sysinfo) so
26813         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
26814         as well, but the actual setting is only under [NEED_DL_SYSINFO].
26816 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26818         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
26819         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
26820         definition.
26821         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
26822         * sysdeps/unix/sysv/linux/powerpc/init-first.c
26823         (_libc_vdso_platform_setup): Add __vdso_time initialization.
26824         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
26825         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
26827 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
26829         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
26830         test signgam value.
26832         * math/libm-test.inc (hypot_test): Do not use
26833         IGNORE_ZERO_INF_SIGN.
26835 2013-05-03  Andreas Jaeger  <aj@suse.de>
26837         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
26838         Linux 3.9.
26839         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
26840         (PF_MAX): Adjust for VSOCK change.
26842 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26844         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26846 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
26848         [BZ #15264]
26849         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
26850         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
26851         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
26853 2013-05-02  David S. Miller  <davem@davemloft.net>
26855         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26857 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
26859         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
26861 2013-05-01  Roland McGrath  <roland@hack.frob.com>
26863         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
26865 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
26867         [BZ #14952]
26868         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
26869         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
26870         Use __attribute__ ((__gnu_inline__)).
26871         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
26872         Don't use __attribute__ ((__gnu_inline__)).
26874 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
26876         [BZ #15423]
26877         * math/s_catan.c (__catan): Handle small real or imaginary part of
26878         input specially to avoid spurious underflow.
26879         * math/s_catanf.c (__catanf): Likewise.
26880         * math/s_catanh.c (__catanh): Likewise.
26881         * math/s_catanhf.c (__catanhf): Likewise.
26882         * math/s_catanhl.c (__catanhl): Likewise.
26883         * math/s_catanl.c (__catanl): Likewise.
26884         * math/libm-test.inc (catan_test): Add more tests.
26885         (catanh_test): Likewise.
26886         * sysdeps/i386/fpu/libm-test-ulps: Update.
26887         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26889 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26891         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26893 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
26895         [BZ #15416]
26896         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
26897         accurately for denominator in atan2.
26898         * math/s_catanf.c (__catanf): Likewise.
26899         * math/s_catanh.c (__catanh): Likewise.
26900         * math/s_catanhf.c (__catanhf): Likewise.
26901         * math/s_catanhl.c (__catanhl): Likewise.
26902         * math/s_catanl.c (__catanl): Likewise.
26903         * math/libm-test.inc (catan_test): Add more tests.
26904         (catanh_test): Likewise.
26905         * sysdeps/i386/fpu/libm-test-ulps: Update.
26906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26908 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26910         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
26912         * benchtests/Makefile (bench): Remove slow benchmarks.
26913         * benchtests/atan-inputs: Add slow benchmark inputs.
26914         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
26915         (BENCH_FUNC): Accept variant offset.
26916         (VARIANT): Define.
26917         * benchtests/bench-skeleton.c (main): Run benchmark for each
26918         variant.
26919         * benchtests/cos-inputs: Add slow benchmark inputs.
26920         * benchtests/exp-inputs: Likewise.
26921         * benchtests/pow-inputs: Likewise.
26922         * benchtests/sin-inputs: Likewise.
26923         * benchtests/slowatan-inputs: Remove.
26924         * benchtests/slowatan.c: Remove.
26925         * benchtests/slowcos-inputs: Remove.
26926         * benchtests/slowcos.c: Remove.
26927         * benchtests/slowexp-inputs: Remove.
26928         * benchtests/slowexp.c: Remove.
26929         * benchtests/slowpow-inputs: Remove.
26930         * benchtests/slowpow.c: Remove.
26931         * benchtests/slowsin-inputs: Remove.
26932         * benchtests/slowsin.c: Remove.
26933         * benchtests/slowtan-inputs: Remove.
26934         * benchtests/slowtan.c: Remove.
26935         * benchtests/tan-inputs: Add slow benchmark inputs.
26936         * scripts/bench.pl: Parse comments and directives.
26938         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
26939         in CPPFLAGS.
26940         ($(objpfx)bench-%.c): Remove *-ITER.
26941         * benchtests/bench-modf.c: Remove definition of ITER.
26942         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
26943         (main): Loop for DURATION seconds instead of fixed number of
26944         iterations.
26945         * scripts/bench.pl: Don't expect iterations in parameters.
26947 2013-04-29  Roland McGrath  <roland@hack.frob.com>
26949         * io/fchdir.c (__fchdir): Renamed from fchdir.
26950         (fchdir): Define as weak alias.
26952 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
26954         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
26955         (ERRNO_EDOM): Likewise.
26956         (ERRNO_ERANGE): Likewise.
26957         (noErrnoTests): New variable.
26958         (init_max_error): Set errno to 0.
26959         (test_single_errno): New function.
26960         (test_errno): Likewise.
26961         (check_float_internal): Call test_errno.  Set errno to 0.
26962         (check_complex): Refer to errno tests in comment.
26963         (check_int): Call test_errno.  Set errno to 0.
26964         (check_long): Likewise.
26965         (check_bool): Likewise.
26966         (check_longlong): Likewise.
26967         (cos_test): Use ERRNO_* flags for errno tests instead of
26968         check_int.
26969         (expm1_test): Likewise.
26970         (fmod_test): Likewise.
26971         (ilogb_test): Likewise.
26972         (lgamma_test): Likewise.
26973         (pow_test): Likewise.
26974         (remainder_test): Likewise.
26975         (sin_test): Likewise.
26976         (tan_test): Likewise.
26977         (yn_test): Likewise.
26978         (initialize): Set errno to 0.
26979         (main): Print number of errno tests.
26980         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
26982 2013-04-29  Andreas Jaeger  <aj@suse.de>
26984         [BZ #15084]
26985         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
26986         and RES_USEVC.
26988         [BZ #15085]
26989         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
26990         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
26991         unimplemented.
26993         [BZ #15380]
26994         * stdlib/random.c (__initstate): Return NULL if
26995         __initstate fails.
26997         [BZ #15086]
26998         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
26999         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
27000         RES_SNGLKUPREOP.
27002 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27004         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27006 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
27008         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
27009         of individual tests.
27010         (casin_test): Likewise.
27011         (casinh_test): Likewise.
27013 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
27015         [BZ #15409]
27016         * math/s_catan.c (__catan): Handle arguments with large real or
27017         imaginary part separately without squaring.
27018         * math/s_catanf.c (__catanf): Likewise.
27019         * math/s_catanh.c (__catanh): Likewise.
27020         * math/s_catanhf.c (__catanhf): Likewise.
27021         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27022         and redefine.
27023         (__catanhl): Handle arguments with large real or imaginary part
27024         separately without squaring.
27025         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27026         and redefine.
27027         (__catanl): Handle arguments with large real or imaginary part
27028         separately without squaring.
27029         * math/libm-test.inc (catan_test): Add more tests.
27030         (catanh_test): Likewise.
27031         * sysdeps/i386/fpu/libm-test-ulps: Update.
27032         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27034 2013-04-27  Andreas Jaeger  <aj@suse.de>
27036         [BZ #15007]
27037         * stdlib/stdlib.h: Update guards for qecvt.
27038         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
27039         <stdlib.h>.
27041 2013-04-27  Allan McRae  <allan@archlinux.org>
27043         * sysdeps/i386/fpu/libm-test-ulps: Update.
27045 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
27047         [BZ #15406]
27048         * math/s_catan.c: Include <float.h>.
27049         (__catan): Ensure underflow exception occurs for underflowed
27050         result.
27051         * math/s_catanf.c: Include <float.h>.
27052         (__catanf): Ensure underflow exception occurs for underflowed
27053         result.
27054         * math/s_catanh.c: Include <float.h>.
27055         (__catanh): Ensure underflow exception occurs for underflowed
27056         result.
27057         * math/s_catanhf.c: Include <float.h>.
27058         (__catanhf): Ensure underflow exception occurs for underflowed
27059         result.
27060         * math/s_catanhl.c: Include <float.h>.
27061         (__catanhl): Ensure underflow exception occurs for underflowed
27062         result.
27063         * math/s_catanl.c: Include <float.h>.
27064         (__catanl): Ensure underflow exception occurs for underflowed
27065         result.
27066         * math/libm-test.inc (catan_test): Add more tests.
27067         (catanh_test): Likewise.
27069         [BZ #15405]
27070         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
27071         underflowed result.
27072         * math/s_ccoshf.c (__ccoshf): Likewise.
27073         * math/s_ccoshl.c (__ccoshl): Likewise.
27074         * math/s_csin.c (__csin): Likewise.
27075         * math/s_csinf.c (__csinf): Likewise.
27076         * math/s_csinh.c (__csinh): Likewise.
27077         * math/s_csinhf.c (__csinhf): Likewise.
27078         * math/s_csinhl.c (__csinhl): Likewise.
27079         * math/s_csinl.c (__csinl): Likewise.
27080         * math/libm-test.inc (ccos_test): Add more tests.
27081         (ccosh_test): Likewise.
27082         (csin_test): Likewise.
27083         (csinh_test): Likewise.
27085 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27087         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
27088         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
27089         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
27090         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
27091         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
27092         powerpc/power5+/fpu folders.
27093         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
27096 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
27098         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27100 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
27102         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
27103         additions to variable.
27104         [$(config-machine) = x86_64] (modules-names): Likewise.
27105         ($(objpfx)tst-audit3): Remove dependency.
27106         ($(objpfx)tst-audit3.out): Likewise.
27107         ($(objpfx)tst-audit4): Likewise.
27108         ($(objpfx)tst-audit4.out): Likewise.
27109         ($(objpfx)tst-audit5): Likewise.
27110         ($(objpfx)tst-audit5.out): Likewise.
27111         ($(objpfx)tst-audit6): Likewise.
27112         ($(objpfx)tst-audit6.out): Likewise.
27113         ($(objpfx)tst-audit7): Likewise.
27114         ($(objpfx)tst-audit7.out): Likewise.
27115         (tst-audit3-ENV): Remove variable.
27116         (tst-audit4-ENV): Likewise.
27117         (tst-audit5-ENV): Likewise.
27118         (tst-audit6-ENV): Likewise.
27119         (tst-audit7-ENV): Likewise.
27120         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
27121         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
27122         addition to variable.
27123         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
27124         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
27125         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
27126         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
27127         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
27128         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
27129         tst-audit3, tst-audit4 and tst-audit5.
27130         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
27131         tst-audit6 and tst-audit7.
27132         [$(subdir) = elf] (modules-names): Add audit modules for those
27133         tests.
27134         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
27135         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
27136         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
27137         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
27138         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
27139         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
27140         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
27141         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
27142         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
27143         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
27144         [$(subdir) = elf] (tst-audit3-ENV): New variable.
27145         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
27146         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
27147         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
27148         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
27149         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
27150         Likewise.
27151         [$(subdir) = elf && $(config-cflags-avx) = yes]
27152         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
27153         [$(subdir) = elf && $(config-cflags-avx) = yes]
27154         (CFLAGS-tst-auditmod4a.c): Likewise.
27155         [$(subdir) = elf && $(config-cflags-avx) = yes]
27156         (CFLAGS-tst-auditmod4b.c): Likewise.
27157         [$(subdir) = elf && $(config-cflags-avx) = yes]
27158         (CFLAGS-tst-auditmod6b.c): Likewise.
27159         [$(subdir) = elf && $(config-cflags-avx) = yes]
27160         (CFLAGS-tst-auditmod6c.c): Likewise.
27161         [$(subdir) = elf && $(config-cflags-avx) = yes]
27162         (CFLAGS-tst-auditmod7b.c): Likewise.
27163         * elf/tst-audit3.c: Move to ...
27164         * sysdeps/x86_64/tst-audit3.c: ... here.
27165         * elf/tst-audit4.c: Move to ...
27166         * sysdeps/x86_64/tst-audit4.c: ... here.
27167         * elf/tst-audit5.c: Move to ...
27168         * sysdeps/x86_64/tst-audit5.c: ... here.
27169         * elf/tst-audit6.c: Move to ...
27170         * sysdeps/x86_64/tst-audit6.c: ... here.
27171         * elf/tst-audit7.c: Move to ...
27172         * sysdeps/x86_64/tst-audit7.c: ... here.
27173         * elf/tst-auditmod3a.c: Move to ...
27174         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
27175         * elf/tst-auditmod3b.c: Move to ...
27176         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
27177         * elf/tst-auditmod4a.c: Move to ...
27178         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
27179         * elf/tst-auditmod4b.c: Move to ...
27180         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
27181         * elf/tst-auditmod5a.c: Move to ...
27182         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
27183         * elf/tst-auditmod5b.c: Move to ...
27184         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
27185         * elf/tst-auditmod6a.c: Move to ...
27186         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
27187         * elf/tst-auditmod6b.c: Move to ...
27188         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
27189         * elf/tst-auditmod6c.c: Move to ...
27190         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
27191         * elf/tst-auditmod7a.c: Move to ...
27192         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
27193         * elf/tst-auditmod7b.c: Move to ...
27194         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
27196 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
27198         [BZ #15366]
27199         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
27200         define unconditionally.
27201         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
27202         define unconditionally.
27203         (INT8_C, INT16_C, etc.): Likewise.
27205 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
27207         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
27208         __ehdr_start with hidden visibility.
27210         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
27212 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
27214         * math/libm-test.inc (cos_test): Use accurate hex constants.
27215         (sincost_test): Likewise.
27217 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
27219         * math/libm-test.inc (catan_test): Add more tests.
27220         (catanh_test): Likewise.
27222         * math/s_catanf.c (__catanf): Use suffixed floating-point
27223         constants.
27224         * math/s_catanhf.c (__catanhf): Likewise.
27225         * math/s_catanhl.c (__catanhl): Likewise.
27226         * math/s_catanl.c (__catanl): Likewise.
27228         [BZ #15394]
27229         * math/s_catan.c (__catan): Calculate imaginary part of result
27230         with log1p not log unless computing log of number close to 0.
27231         * math/s_catanf.c (__catanf): Likewise.
27232         * math/s_catanl.c (__catanl): Likewise.
27233         * math/s_catanh.c (__catanh): Calculate real part of result with
27234         log1p not log unless computing log of number close to 0.
27235         * math/s_catanhf.c (__catanhf): Likewise.
27236         * math/s_catanhl.c (__catanhl): Likewise.
27237         * math/libm-test.inc (catan_test): Add more tests.
27238         (catanh_test): Likewise.
27239         * sysdeps/i386/fpu/libm-test-ulps: Update.
27240         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27242 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27244         * benchtests/Makefile: Mention files in which fast and slow
27245         paths of math functions are implemented.
27247 2013-04-23  Roland McGrath  <roland@hack.frob.com>
27249         * sysdeps/posix/timespec_get.c: New file.
27251 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27253         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
27254         POWER.
27255         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
27256         for POWER.
27257         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
27258         powerpc/power5/fpu folders.
27259         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
27260         * benchtests/Makefile: Add modf testcase.
27261         * benchtests/bench-modf.c: New file: Benchmark test for mo
27263 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
27265         [BZ #14888]
27266         * time/Makefile (tests): Add tst-strptime-whitespace.
27267         * time/strptime_l.c (get_number): Use ISSPACE.
27268         (__strptime_internal): Likewise.
27269         * time/tst-strptime-whitespace.c: New test case.
27271 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
27273         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
27274         member.
27275         (_nss_files_init): Set it here.
27277 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
27279         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
27280         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
27281         unsigned.
27283 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
27285         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
27287 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
27289         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
27290         size just once.
27292 2013-04-21  David S. Miller  <davem@davemloft.net>
27294         * po/ru.po: Update Russion translation from translation project.
27296 2013-04-17  Adam Conrad  <adconrad@0c3.net>
27298         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
27299         and setfsgid.
27301 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
27303         * configure.in: Remove i386 configure warning. Remove i386 case.
27304         * configure: Regenerate.
27305         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
27306         Add example to error message.
27307         * sysdeps/i386/configure: Regenerate.
27309 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
27311         * benchtests/Makefile (bench): Add cos, tan, slowcos and
27312         slowtan.
27313         * benchtests/cos-inputs: New file.
27314         * benchtests/slowcos-inputs: New file.
27315         * benchtests/slowcos.c: New file.
27316         * benchtests/slowtan-inputs: New file.
27317         * benchtests/slowtan.c: New file.
27318         * benchtests/tan-inputs: New file.
27320 2013-04-16  Roland McGrath  <roland@hack.frob.com>
27322         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
27323         considered kosher.
27325 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27327         * benchtests/Makefile: Include cppflags-iterator.mk to add
27328         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
27330         * Makefile.in (bench-clean): New target.
27331         * benchtests/Makefile (bench-clean): Likewise.
27333 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
27335         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
27337 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
27339         * stdio-common/tstdiomisc.c: Fix coding-style violation.
27341 2013-04-15  Andreas Schwab  <schwab@suse.de>
27343         * nscd/grpcache.c (cache_addgr): Properly check for short write.
27344         * nscd/initgrcache.c (addinitgroupsX): Likewise.
27345         * nscd/pwdcache.c (cache_addpw): Likewise.
27346         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
27347         more than recsize.
27349 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27351         * benchtests/Makefile (bench): Write all output to
27352         bench-out.tmp together.
27354 2013-04-15  Andreas Schwab  <schwab@suse.de>
27356         * nscd/nscd.c (main): Don't fork again after closing files.
27358 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27360         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
27362         * benchtests/Rules (bench-deps): Collect dependencies into a
27363         single variable.  Add Makefile to dependencies.
27364         ($(objpfx)bench-%.c): Depend on bench-deps.
27366 2013-04-12  Roland McGrath  <roland@hack.frob.com>
27367             Xavier Roche  <roche+kml2@exalead.com>
27369         [BZ #15361]
27370         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
27371         just that it's a file descriptor.
27372         * manual/llio.texi (Synchronizing AIO Operations): Update description
27373         for EBADF error from aio_fsync.
27375 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27377         * Rules (bench): Move target definition...
27378         * benchtests/Makefile: ... here.
27380 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
27382         * math/libm-test.inc (cos_test): Fix PI/2 test.
27383         (sincos_test): Likewise.
27384         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
27385         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
27387 2013-04-11  Andreas Schwab  <schwab@suse.de>
27389         [BZ #13988]
27390         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
27391         accept exponent character only when digits were seen.
27392         * stdio-common/Makefile (tests): Add bug26.
27393         * stdio-common/bug26.c: New file.
27395         [BZ #14293]
27396         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
27397         non-freeable.
27399 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27401         * Makeconfig (rtld-prefix): Define built linker prefix.
27402         * Rules (run-bench): Use it.
27403         * math/Makefile (run-regen-ulps): Likewise.
27405         * Rules (bench): Remove eval.
27407 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27408             Roland McGrath  <roland@hack.frob.com>
27409             Ondrej Bilka  <neleai@seznam.cz>
27411         [BZ #15346]
27412         * time/getdate.c: Include ctype.h and alloca.h.
27413         (__getdate_r): Trim leading and trailing spaces of input.
27414         * time/tst-getdate.c (tests): Add tests with leading and
27415         trailing spaces.
27417 2013-04-08  Roland McGrath  <roland@hack.frob.com>
27419         [BZ #14280]
27420         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
27421         when computing value.
27423 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
27425         * math/README.libm-test (How can I generate "libm-test-ulps"?):
27426         Use testrun.sh to run libm tests.
27428         [BZ #15309]
27429         * elf/dl-open.c (dl_open_worker): memset all of seen array.
27431 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
27433         [BZ #15264]
27434         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
27436 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
27438         * Makefile.in (regen-ulps): New target.
27439         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
27440         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
27441         [ifneq (no,$(PERL)] (regen-ulps): New target.
27442         [ifeq (no,$(PERL)] (regen-ulps): New target.
27443         * math/libm-test.inc (ulps_file_name): Define.
27444         (output_dir): New variable.
27445         (options): Add "output-dir" option.
27446         (parse_opt): Handle 'o' case.
27447         (main): If output_dir is non-NULL use it as a prefix
27448         otherwise use "".
27449         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
27451 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
27453         [BZ #10060, #10062]
27454         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
27455         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
27456         fail configure if __sync_val_compare_and_swap is not inlined.
27457         * sysdeps/i386/configure: Regenerate.
27458         * configure.in: Build for i686 when configured for i386.
27459         * configure: Regenerate.
27460         * README: Remove i386 reference.
27462 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
27464         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
27465         * sysdeps/s390/s390-64/sysdep.h: Likewise.
27467 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
27469         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
27470         (lmsnanval): New variables.
27471         (F): Add conversion tests.
27472         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
27473         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
27475         * stdio-common/tstdiomisc.c (F): Properly collect individual
27476         tests' results.
27478         [BZ #14686, #15336]
27479         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
27480         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
27481         Instead, use input NaN values or generate a qNaN by arithmetic
27482         operation.  Also fix bugs to comply with the standard.
27483         * math/libm-test.inc (remainder_test): Add more tests.
27485         [BZ #15335, #15342]
27486         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
27487         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
27488         input NaN values or generate a qNaN by arithmetic operation.
27490         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
27491         unreachable code.
27493         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
27494         definitions.
27496 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
27498         [BZ #14478]
27499         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
27500         underflowed result.
27501         * math/s_cexpf.c (__cexpf): Likewise.
27502         * math/s_cexpl.c (__cexpl): Likewise.
27503         * math/libm-test.inc (cexp_test): Add more tests.
27505 2013-04-03  Andreas Schwab  <schwab@suse.de>
27507         [BZ #15330]
27508         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
27509         order arrays from heap if bigger than alloca cutoff.
27511 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
27513         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
27514         (SNAN_TESTS_double): Refer to GCC PR56831.
27515         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
27516         GCC PR56828.
27518 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
27520         * Rules (bench): Move bench.out after the run is complete.
27522         * Rules (bench): Echo currently running benchmark.
27524         * benchtests/Makefile (bench): Add atan and slowatan.
27525         * benchtests/atan-inputs: New file.
27526         * benchtests/slowatan-inputs: New file.
27527         * benchtests/slowatan.c: New file.
27529         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
27530         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
27531         its value.
27533         [BZ #15305]
27534         * sysdeps/unix/sysv/linux/kernel-features.h
27535         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
27536         __ASSUME_XFS_RESTRICTED_CHOWN.
27537         * sysdeps/unix/sysv/linux/pathconf.c
27538         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
27539         Save and restore errno.
27541 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
27543         [BZ #15327]
27544         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
27545         arguments using __kernel_casinh.
27546         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
27547         arguments using __kernel_casinhf.
27548         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
27549         arguments using __kernel_casinhl.
27550         * math/libm-test.inc (cacosh_test): Add more tests.
27551         * sysdeps/i386/fpu/libm-test-ulps: Update.
27552         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27554 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27556         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
27557         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
27559         * bench/Makefile (bench): Add sin and slowsin.
27560         * benchtests/sin-inputs: New file.
27561         * benchtests/slowsin-inputs: New file.
27562         * benchtests/slowsin.c: New file.
27564         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
27565         (bench): Add slowexp and slowpow.
27566         (exp-ITER): Increase iterations.
27567         (pow-ITER): Likewise.
27568         * benchtests/exp-inputs: Change input.
27569         * benchtests/pow-inputs: Likewise.
27570         * benchtests/slowexp-inputs: New file.
27571         * benchtests/slowexp.c: New file.
27572         * benchtests/slowpow-inputs: New file.
27573         * benchtests/slowpow.c: New file.
27575 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27577         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
27578         instructions.
27579         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
27580         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
27581         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
27582         * benchtests/Makefile: Add rint benchtest.
27583         * benchtests/rint-inputs: Input for rint benchtest.
27585 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
27587         * Versions.def (libm): Add GLIBC_2.18.
27588         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
27589         hidden libm prototypes.
27590         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
27591         * math/Makefile (libm-calls): Add s_issignaling.
27592         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
27593         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
27594         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
27595         declaration.
27596         * math/math.h [__USE_GNU] (issignaling): New macro.
27597         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
27598         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
27599         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
27600         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
27601         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
27602         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
27603         * manual/arith.texi (issignaling): New section.
27604         * manual/libm-err-tab.pl (@all_functions): Update comment.
27605         * math/gen-libm-test.pl (parse_args): Apply special handling for
27606         issignaling.
27607         * math/libm-test.inc (print_float, issignaling_test): New
27608         functions.
27609         (check_float_internal): Add issignaling checks.
27610         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
27611         default definition.
27612         * sysdeps/powerpc/math-tests.h: New file.
27613         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
27614         tests.
27615         * math/test-snan.c (TEST_FUNC): Likewise.
27617 2013-03-30  David S. Miller  <davem@davemloft.net>
27619         * po/de.po: Update from translation team.
27621 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
27623         [BZ #10357]
27624         * math/k_casinh.c (__kernel_casinh): Handle arguments with
27625         imaginary part less than 1.0 and real part less than 0.5
27626         specially.
27627         * math/k_casinhf.c (__kernel_casinhf): Likewise.
27628         * math/k_casinhl.c (__kernel_casinhl): Likewise.
27629         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
27630         (cacos_test): Add more tests.
27631         (casin_test): Likewise.
27632         (casinh_test): Likewise.
27633         * sysdeps/i386/fpu/libm-test-ulps: Update.
27634         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27636 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27638         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
27639         ONE with its value.
27641         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
27642         (__pow_mp): Replace ONE and MONE with their values.
27643         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27644         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
27645         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27646         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
27647         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27648         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27650         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
27652         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
27653         (__pow_mp): Replace ZERO and MZERO with their values.
27654         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
27655         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27656         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27657         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27658         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27659         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
27660         (__sqr): Likewise.
27662         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
27664         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
27666 2013-03-28  Roland McGrath  <roland@hack.frob.com>
27668         * include/stdlib.h [!SHARED] (__call_tls_dtors):
27669         Declare with __attribute__ ((weak)).
27670         * stdlib/exit.c (__libc_atexit) [!SHARED]:
27671         Call __call_tls_dtors only if it's not NULL.
27673 2013-03-28  Roland McGrath  <roland@hack.frob.com>
27675         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
27676         didn't do it already, then set _dl_phdr and _dl_phnum based on the
27677         magic __ehdr_start linker symbol if it's defined.
27678         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
27679         them up here if it was already done.
27681         * elf/dl-support.c (_dl_phdr): Make pointer to const.
27682         (_dl_aux_init): Use const in cast when setting it.
27683         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
27684         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
27685         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
27687         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
27688         Declare them here.
27689         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
27690         * csu/libc-tls.c: Nor here.
27691         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
27693         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
27694         (__libc_message): Never call vsyslog.
27696 2013-03-28  Alan Modra  <amodra@gmail.com>
27698         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
27699         Define as empty.
27700         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
27701         Likewise.
27703 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27705         [BZ #15214]
27706         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
27707         underflow.
27708         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27710 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27712         [BZ #15304]
27713         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
27714         Don't add gid passed as argument.
27716         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
27718 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
27720         [BZ #15307]
27721         * math/k_casinh.c (__kernel_casinh): Handle arguments with
27722         imaginary part between 1.0 and 1.5 and real part less than 0.5
27723         specially.
27724         * math/k_casinhf.c (__kernel_casinhf): Likewise.
27725         * math/k_casinhl.c (__kernel_casinhl): Likewise.
27726         * math/libm-test.inc (cacos_test): Add more tests.
27727         (casin_test): Likewise.
27728         (casinh_test): Likewise.
27729         * sysdeps/i386/fpu/libm-test-ulps: Update.
27730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27732 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27734         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
27735         constants.
27736         (norm): Likewise.
27737         (denorm): Likewise.
27738         (__dbl_mp): Likewise.
27739         (add_magnitudes): Likewise.
27740         (sub_magnitudes): Likewise.
27741         (__add): Likewise.
27742         (__sub): Likewise.
27743         (__mul): Likewise.
27744         (__sqr): Likewise.
27745         (__inv): Likewise.
27746         (__dvd): Likewise.
27748         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
27749         commented code.
27750         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
27751         (__dubcos): Likewise.
27752         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
27753         (__ieee754_acos): Likewise.
27754         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
27755         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
27756         (__exp1): Likewise.
27757         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27758         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
27759         (log1): Likewise.
27760         (my_log2): Likewise.
27761         (checkint): Likewise.
27762         * sysdeps/ieee754/dbl-64/e_remainder.c
27763         (__ieee754_remainder): Likewise.
27764         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27765         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
27766         (bsloww): Likewise.
27767         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27769         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
27770         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
27771         MANTISSA_STORE_T to store computations on mantissa.  Use
27772         macros for rounding and division.
27773         (denorm): Likewise.
27774         (__dbl_mp): Likewise.
27775         (add_magnitudes): Likewise.
27776         (sub_magnitudes): Likewise.
27777         (__mul): Likewise.
27778         (__sqr): Likewise.
27779         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
27780         powers of two in terms of TWOPOW macro.
27781         (mp_no): Make type of mantissa as MANTISSA_T.
27782         [!RADIXI]: Define RADIXI.
27783         [!TWO52]: Define TWO52.
27784         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
27786 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27788         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
27789         llroundl symbol when building for PPC32.
27791 2013-03-24  Mark H Weaver  <mhw@netris.org>
27793         * manual/arith.texi (Normalization Functions): Fix prototypes for
27794         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
27796 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27798         [BZ #13889]
27799         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
27800         high value to check if expl overflow.
27801         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
27802         to check for underflow and overflow.
27803         * math/libm-test.inc: Add exp test.
27805 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
27807         [BZ #11120]
27808         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
27809         with NOT_IN_libc.
27811 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27813         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
27814         symbol.
27816 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
27818         * math/gen-libm-test.pl (parse_args, special_functions): Properly
27819         wrap blocks consisting of several statements.
27821         * sysdeps/generic/math-tests.h: New file.
27822         * sysdeps/i386/fpu/math-tests.h: Likewise.
27823         * math/test-snan.c: Include it.
27824         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
27826 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
27828         [BZ #15285]
27829         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
27830         (__ieee754_j0l): Do not improve calculations using cos of twice
27831         input for inputs above LDBL_MAX / 2.0L.
27832         (__ieee754_y0l): Likewise.
27833         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
27834         (__ieee754_j1l): Do not improve calculations using cos of twice
27835         input for inputs above LDBL_MAX / 2.0L.
27836         (__ieee754_y1l): Likewise.
27837         * math/libm-test.inc (j0_test): Add another test.
27838         (j1_test): Likewise.
27839         (y0_test): Likewise.
27840         (y1_test): Likewise.
27841         * sysdeps/i386/fpu/libm-test-ulps: Update.
27843 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27845         * Rules ($(objpfx)bench-%.c): Include code from a C source
27846         file.
27848 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
27850         [BZ #15287]
27851         * math/k_casinh.c (__kernel_casinh): Handle arguments with
27852         imaginary part 1.0 and real part less than 0.5 specially.
27853         * math/k_casinhf.c (__kernel_casinhf): Likewise.
27854         * math/k_casinhl.c (__kernel_casinhl): Likewise.
27855         * math/libm-test.inc (cacos_test): Add more tests.
27856         (casin_test): Likewise.
27857         (casinh_test): Likewise.
27858         * sysdeps/i386/fpu/libm-test-ulps: Update.
27859         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27861 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27863         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
27864         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
27866 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
27868         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
27869         * config.make.in (config-cflags-sse4): Remove variable.
27870         (config-cflags-avx): Likewise.
27871         (config-cflags-sse2avx): Likewise.
27872         (config-cflags-novzeroupper): Likewise.
27873         (config-asflags-i686): Likewise.
27874         (have-mfma4): Likewise.
27875         (have-as-vis3): Likewise.
27876         (MIG): Likewise.
27877         * configure.in (MIG): Do not AC_SUBST.
27878         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
27879         (libc_cv_cc_sse4): Do not AC_SUBST.
27880         (libc_cv_cc_avx): Likewise.
27881         (libc_cv_cc_sse2avx): Likewise.
27882         (libc_cv_cc_novzeroupper): Likewise.
27883         (libc_cv_cc_fma4): Likewise.
27884         (libc_cv_as_i686): Likewise.
27885         (libc_cv_sparc_as_vis3): Likewise.
27886         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
27887         LIBC_CONFIG_VAR.
27888         (config-asflags-i686): Likewise.
27889         (config-cflags-avx): Likewise.
27890         (config-cflags-sse2avx): Likewise.
27891         (have-mfma4): Likewise.
27892         (config-cflags-novzeroupper): Likewise.
27893         * sysdeps/mach/configure.in (MIG): Likewise.
27894         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
27895         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
27896         LIBC_CONFIG_VAR.
27897         (config-cflags-avx): Likewise.
27898         (config-cflags-sse2avx): Likewise.
27899         (have-mfma4): Likewise.
27900         (config-cflags-novzeroupper): Likewise.
27901         * configure: Regenerated.
27902         * sysdeps/i386/configure: Likewise.
27903         * sysdeps/mach/configure: Likewise.
27904         * sysdeps/sparc/configure: Likewise.
27905         * sysdeps/x86_64/configure: Likewise.
27907 2013-03-20  Roland McGrath  <roland@hack.frob.com>
27909         [BZ #14812]
27910         * locale/programs/localedef.c (options): Put N_ translation marker
27911         on argument names, not just descriptions.
27913 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27915         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
27917 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
27919         [BZ #14176]
27920         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
27922 2013-03-19  Roland McGrath  <roland@hack.frob.com>
27924         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
27925         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
27926         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
27927         [!BEFORE_ABORT] (before_abort): New function.
27928         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
27929         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
27930         (writev_for_fatal): New function.
27931         (WRITEV_FOR_FATAL): New macro; call that.
27932         (backtrace_and_maps): New function.
27933         (BEFORE_ABORT): New macro; call that.
27934         (struct str_list): Type removed.
27935         (__libc_message, __libc_fatal): Functions removed.
27936         Include <sysdeps/posix/libc_fatal.c> instead.
27938 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
27940         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
27941         constants.
27942         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
27943         double constants.
27945 2013-03-19  Andreas Schwab  <schwab@suse.de>
27947         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
27948         * sysdeps/gnu/configure: Regenerate.
27950         * configure.in: Substitute libc_cv_rtlddir.
27951         * configure: Regenerate.
27952         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
27953         * Makeconfig (rtlddir, inst_rtlddir): New variables.
27954         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
27955         * elf/Makefile (install-others, CFLAGS-interp.c)
27956         (ldso_install, common-ldd-rewrite): Likewise.
27957         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
27958         $(inst_slibdir)/$(rtld-installed-name).
27959         * scripts/rellns-sh: Add -p option.
27960         * Makerules (make-shlib-link): Use rellns-sh to get relative name
27961         for source.
27963 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27965         * manual/nptl.texi: Renamed to ...
27966         * manual/threads.texi: ... this.
27967         * manual/Makefile (chapters): Update.
27969 2013-03-18  Roland McGrath  <roland@hack.frob.com>
27971         [BZ #14812]
27972         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
27973         on argument names, not just descriptions.
27974         * malloc/memusagestat.c (options): Likewise.
27975         * nss/getent.c (options): Likewise.
27977 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
27979         [BZ #14812]
27980         * iconv/iconv_prog.c (options): Put N_ translation marker
27981         on argument names, not just descriptions.
27982         * iconv/iconvconfig.c (options): Likewise.
27984 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
27986         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
27987         implementation which is faster on all x86_64 architectures.
27988         Tested on AMD, Intel Nehalem, SNB, IVB.
27989         * sysdeps/x86_64/strnlen.S: Likewise.
27991         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27992         Remove all multiarch strlen and strnlen versions.
27993         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
27994         Remove strlen and strnlen related parts.
27996         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
27997         Inline strlen part.
27998         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
28000         * sysdeps/x86_64/multiarch/strlen.S: Remove.
28001         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
28002         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
28003         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
28004         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28005         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
28007 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
28009         * manual/memory.texi (Malloc Tunable Parameters):
28010         Sort parameters alphabetically. Add comments for missing entries.
28012 2013-03-17  David S. Miller  <davem@davemloft.net>
28014         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28016 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
28018         [BZ #15283]
28019         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
28020         for arguments at most half maximum finite value.
28021         * math/libm-test.inc (j0_test): Add more tests.
28022         (j1_test): Likewise.
28023         (y0_test): Likewise.
28024         (y1_test): Likewise.
28025         * sysdeps/i386/fpu/libm-test-ulps: Update.
28026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28028         [BZ #14155]
28029         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
28030         1 / x and functions P and Q for arguments above 0x1p256L.
28031         (__ieee754_y0l): Likewise.
28032         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
28033         (__ieee754_y1l): Likewise.
28034         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
28035         (j1_test): Likewise.
28036         (y0_test): Likewise.
28037         (y1_test): Likewise.
28039 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
28041         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
28042         variable.
28044 2013-03-15  Roland McGrath  <roland@hack.frob.com>
28046         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
28047         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
28048         zero since it's initialized to EXEC_PAGESIZE.
28050         * sysdeps/unix/sysv/linux/ldsodefs.h
28051         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
28052         * sysdeps/generic/ldsodefs.h: ... here.
28054 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
28056         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
28058         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
28059         math/test-snan.c.
28060         * math/test-snan.c: Renamed from
28061         sysdeps/powerpc/fpu/test-powerpc-snan.c.
28062         * math/Makefile (tests): Add test-snan.
28063         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
28064         test-powerpc-snan.
28066         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
28067         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
28068         functions.
28069         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
28070         __builtin_nan family of functions.
28071         * math/libm-test.inc (initialize): Initialize qnan_value with
28072         __builtin_nan family of functions.
28073         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
28074         Remove variables.
28075         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
28076         Remove functions.
28077         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
28078         storage class.  Initialize qNaN_var and sNaN_var with
28079         __builtin_nan and __builtin_nans families of functions,
28080         respectively.
28082         * math/libm-test.inc (acosh_test): Also test with qNaN input.
28083         (sqrt_test): Remove duplicate test with qNaN input.
28084         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
28085         (round_test, signbit_test, significand_test): Note missing +/-Inf
28086         as well as qNaN tests.
28088         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
28089         qNaN_var.  Fix a few strings, too.
28090         * math/libm-test.inc (nan_value): Rename to qnan_value.
28091         * math/gen-libm-test.pl (%beautify): Adjust to that.
28092         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
28093         * math/test-misc.c (main): Likewise.
28094         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
28095         to __qnan_bytes, and __qnan_union, respectively.
28096         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
28097         Likewise.
28098         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
28099         and lqnanval, respectively.
28100         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
28101         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
28102         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
28103         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
28105         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
28106         * math/test-misc.c (main) [__x86_64__]: Enable test for long
28107         doubles.
28109         * math/test-misc.c (main): Fix copy'n'pastos.
28110         * misc/tst-efgcvt.c (special): Likewise.
28112         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
28113         Remove declarations.
28115 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28117         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
28118         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
28119         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
28120         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
28122 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28124         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
28125         macro to return vdso values correctly in IFUNC implementations.
28126         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
28127         Optimization by using IFUNC.
28129 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28130             Richard Henderson  <rth@redhat.com>
28131             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28133         * Makefile.in (bench): New target.
28134         * NEWS: Mention the benchmark framework.
28135         * Rules (bench): Likewise.
28136         (binaries-bench): Generate binaries for functions to
28137         benchmark.
28138         * benchtests/Makefile: New makefile for benchmark tests.
28139         * benchtests/bench-skeleton.c: New skeleton file for benchmark
28140         programs.
28141         * benchtests/exp-inputs: New input file for EXP function.
28142         * benchtests/pow-inputs: New input file for POW function.
28143         * scripts/bench.pl: New script to generate source files for
28144         benchmark programs.
28146 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28148         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
28149         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
28150         computations on mantissa.  Use macros for rounding and
28151         division.
28152         (denorm): Likewise.
28153         (__dbl_mp): Likewise.
28154         (add_magnitudes): Likewise.
28155         (sub_magnitudes): Likewise.
28156         (__mul): Likewise.
28157         (__sqr): Likewise.
28158         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
28159         powers of two in terms of TWOPOW macro.
28160         (mp_no): Make type of mantissa as MANTISSA_T.
28161         [!RADIXI]: Define RADIXI.
28162         [!TWO52]: Define TWO52.
28163         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
28165         * manual/nptl.texi (cindex): Modify threads to pthreads.
28167 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
28169         * sysdeps/x86_64/preconfigure: Regenerated.
28171 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
28173         [BZ #14155]
28174         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
28175         0x1p28 and above.
28176         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
28177         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
28178         0x1p28 and above.
28179         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
28180         * math/libm-test.inc (j0_test): Do not allow one spurious
28181         underflow exception.
28182         (y1_test): Likewise.
28184 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
28186         * manual/Makefile (chapters): Add nptl.
28187         * manual/debug.texi (Debugging Support): Add link to Threads
28188         chapter.
28189         * manual/nptl.texi: New file.
28191         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
28193 2013-03-14  Petr Baudis  <pasky@ucw.cz>
28195         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
28196         for non-NULL pointer before the memory validity test. Pointed
28197         out by Holger Brunck <holger.brunck@keymile.com>.
28199 2013-03-13  Andreas Schwab  <schwab@suse.de>
28201         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
28202         instead of .os.
28204 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
28206         * timezone/zic.c: Update from tzcode 2013b.
28208 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
28210         * manual/install.texi (Configuring and compiling):
28211         Mention i686 and i586.
28212         * INSTALL: Regenerate.
28214 2013-03-12  Roland McGrath  <roland@hack.frob.com>
28216         * sysdeps/init_array/elf-init.c: New file.
28217         * csu/elf-init.c
28218         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
28219         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
28221         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
28222         __gmon_start__ as global, but as static with a .preinit_array pointer.
28223         * sysdeps/init_array/gmon-start.c: New file.  Use that.
28224         * sysdeps/init_array/crti.S: New file, empty except for comments.
28225         * sysdeps/init_array/crtn.S: Likewise.
28227 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
28229         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
28230         definining bcopy.
28231         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28232         Remove Prefer_SSE_for_memop.
28233         * sysdeps/x86_64/multiarch/init-arch.h: Remove
28234         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
28235         HAS_PREFER_SSE_FOR_MEMOP.
28236         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
28237         memset-x86-64.
28238         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28239         Remove bzero, memset ifunc support.
28240         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
28241         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
28242         * sysdeps/x86_64/multiarch/memset.S: Likewise.
28243         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28245 2013-03-11  Andreas Schwab  <schwab@suse.de>
28247         [BZ #15234]
28248         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
28249         by SHLIB_COMPAT.
28250         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
28251         (GLIBC_2.16): Remove pthread_atfork.
28253 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
28255         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
28256         (ptestcases.h): Likewise.
28258 2013-03-08  Roland McGrath  <roland@hack.frob.com>
28260         * Makeconfig ($(common-objpfx)config.status): Depend on
28261         sysdeps/*/preconfigure{,.in} too.
28263 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
28265         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
28266         (__free_hook): Use void * instead of __malloc_ptr_t.
28267         (__malloc_hook): Likewise.
28268         (__realloc_hook): Likewise.
28269         (__memalign_hook): Likewise.
28270         (__after_morecore_hook): Likewise.
28271         * malloc/arena.c (save_malloc_hook): Likewise.
28272         (save_free_hook): Likewise.
28273         * malloc/hooks.c (malloc_hook_ini): Likewise.
28274         (realloc_hook_ini): Likewise.
28275         (memalign_hook_ini): Likewise.
28276         * malloc/malloc.c (malloc_hook_ini): Likewise.
28277         (realloc_hook_ini): Likewise.
28278         (memalign_hook_ini): Likewise.
28279         (__free_hook): Likewise.
28280         (__malloc_hook): Likewise.
28281         (__realloc_hook): Likewise.
28282         (__memalign_hook): Likewise.
28283         (__libc_malloc): Likewise.
28284         (__libc_free): Likewise.
28285         (__libc_realloc): Likewise.
28286         (__libc_memalign): Likewise.
28287         (__libc_valloc): Likewise.
28288         (__libc_pvalloc): Likewise.
28289         (__libc_calloc): Likewise.
28290         (__posix_memalign): Likewise.
28291         * malloc/morecore.c (__sbrk): Likewise.
28292         (__default_morecore): Likewise.
28294         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
28296         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
28297         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
28298         __malloc_ptrdiff_t.
28300         * malloc/malloc.h (__malloc_size_t): Remove macro.
28301         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
28302         __malloc_size_t.
28303         (old_memalign_hook): Likewise.
28304         (old_realloc_hook): Likewise.
28305         (struct hdr): Likewise.
28306         (flood): Likewise.
28307         (mallochook): Likewise.
28308         (memalignhook): Likewise.
28309         (reallochook): Likewise.
28310         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
28311         (tr_old_realloc_hook): Likewise.
28312         (tr_old_memalign_hook): Likewise.
28313         (tr_mallochook): Likewise.
28314         (tr_reallochook): Likewise.
28315         (tr_memalignhook): Likewise.
28317 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28319         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
28320         default_ldbl_pack and using as default implementation.
28321         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
28322         implementation.
28323         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
28324         redundant definition.
28325         (ldbl_insert_mantissa): Likewise.
28326         (ldbl_canonicalize): Likewise.
28327         (ldbl_nearbyint): Likewise.
28328         (ldbl_pack): Rename to ldbl_pack_ppc.
28329         (ldbl_unpack): Rename to ldbl_unpack_ppc.
28330         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
28331         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
28333 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
28335         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
28336         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
28337         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
28338         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
28339         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
28340         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
28341         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
28342         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
28344 2013-03-07  Andreas Jaeger  <aj@suse.de>
28346         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28347         bits/mman-linux.h.
28349 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
28351         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
28352         Include mpa.h and declare __MPEXP.
28353         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
28354         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
28355         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
28356         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
28357         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
28358         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
28359         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
28361         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
28362         (__slowpow): Use long double EXPL and LOGL functions to
28363         compute POW.
28364         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
28365         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
28366         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
28367         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
28368         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
28369         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
28371         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
28372         intermediate variable to calculate exponent.
28373         (__sqr): Likewise.
28374         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
28375         Likewise.
28376         (__sqr): Likewise.
28378         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
28379         [!NO__SQR]: Define __sqr.
28380         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
28381         and NO__SQR.  Remove all code except __mul and __sqr.  Include
28382         sysdeps/ieee754/dbl-64/mpa.c.
28383         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28385         [BZ #12723]
28386         * posix/Makefile (tests): Add tst-pathconf.
28387         * posix/tst-pathconf.c: New test case.
28388         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
28389         _PC_PIPE_BUF.
28390         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
28392 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
28394         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
28396 2013-03-06  Andreas Jaeger  <aj@suse.de>
28398         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
28399         definition via __MAP_ANONYMOUS.
28401         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
28402         it's not part of Linux headers.
28404         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
28405         (MAP_HUGE_MASK): Define.
28407         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28408         Define.
28409         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28410         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28411         Define.
28412         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28413         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28414         Define.
28415         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28416         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
28417         Define.
28418         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28420         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
28421         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
28422         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
28423         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
28424         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
28425         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
28427         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
28428         Handle f2fs.
28430         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28431         Handle f2fs and efivarfs.
28433         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
28434         f2fs.
28436         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
28437         (EFIVARFS_MAGIC): Add.
28438         (F2FS_LINK_MAX): Add.
28440 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
28442         * stdio-common/vfprintf.c: Replace __builtin_expect with
28443         __glibc_unlikely.
28445 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
28447         [BZ #13550]
28448         * sysdeps/generic/bp-sym.h: Remove file.
28449         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
28450         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
28451         <bp-sym.h> and <bp-asm.h>.
28452         (__longjmp): Don't use BP_SYM.
28453         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
28454         and <bp-asm.h>.
28455         (memcpy): Don't use BP_SYM.
28456         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
28457         <bp-sym.h> and <bp-asm.h>.
28458         (memcpy): Don't use BP_SYM.
28459         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
28460         <bp-asm.h>.
28461         (memcpy): Don't use BP_SYM.
28462         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
28463         <bp-asm.h>.
28464         (memset): Don't use BP_SYM.
28465         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28466         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28467         (__bzero): Don't use BP_SYM.
28468         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28469         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28470         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
28471         <bp-sym.h> and <bp-asm.h>.
28472         (memcmp): Don't use BP_SYM.  Remove comment about bounded
28473         pointers.
28474         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
28475         <bp-sym.h> and <bp-asm.h>.
28476         (memcpy): Don't use BP_SYM.
28477         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
28478         <bp-sym.h> and <bp-asm.h>.
28479         (memset): Don't use BP_SYM.
28480         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28481         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28482         (__bzero): Don't use BP_SYM.
28483         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28484         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28485         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
28486         <bp-sym.h> and <bp-asm.h>.
28487         (strncmp): Don't use BP_SYM.  Remove comment about bounded
28488         pointers.
28489         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
28490         <bp-sym.h> and <bp-asm.h>.
28491         (memcpy): Don't use BP_SYM.
28492         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
28493         <bp-sym.h> and <bp-asm.h>.
28494         (memset): Don't use BP_SYM.
28495         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28496         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28497         (__bzero): Don't use BP_SYM.
28498         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28499         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28500         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
28501         <bp-sym.h> and <bp-asm.h>.
28502         (__memchr): Don't use BP_SYM.
28503         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
28504         <bp-sym.h> and <bp-asm.h>.
28505         (memcmp): Don't use BP_SYM.  Remove comment about bounded
28506         pointers.
28507         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
28508         <bp-sym.h> and <bp-asm.h>.
28509         (memcpy): Don't use BP_SYM.
28510         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
28511         <bp-sym.h> and <bp-asm.h>.
28512         (__mempcpy): Don't use BP_SYM.
28513         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
28514         <bp-sym.h> and <bp-asm.h>.
28515         (__memrchr): Don't use BP_SYM.
28516         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
28517         <bp-sym.h> and <bp-asm.h>.
28518         (memset): Don't use BP_SYM.
28519         (__bzero): Likewise.
28520         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
28521         <bp-sym.h> and <bp-asm.h>.
28522         (__rawmemchr): Don't use BP_SYM.
28523         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
28524         <bp-sym.h> and <bp-asm.h>.
28525         (__STRCMP): Don't use BP_SYM.
28526         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
28527         <bp-sym.h> and <bp-asm.h>.
28528         (strchr): Don't use BP_SYM.
28529         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
28530         <bp-sym.h> and <bp-asm.h>.
28531         (__strchrnul): Don't use BP_SYM.
28532         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
28533         <bp-sym.h> and <bp-asm.h>.
28534         (strlen): Don't use BP_SYM.
28535         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
28536         <bp-sym.h> and <bp-asm.h>.
28537         (strncmp): Don't use BP_SYM.  Remove comment about bounded
28538         pointers.
28539         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
28540         <bp-sym.h> and <bp-asm.h>.
28541         (__strnlen): Don't use BP_SYM.
28542         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
28543         <bp-sym.h> and <bp-asm.h>.
28544         (__GI__setjmp): Don't use BP_SYM.
28545         (_setjmp): Likewise.
28546         (__sigsetjmp): Likewise.
28547         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
28548         (L(start_addresses)): Don't use BP_SYM.
28549         (_start): Likewise.
28550         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
28551         <bp-asm.h>.
28552         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
28553         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
28554         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28555         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28556         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
28557         <bp-asm.h>.
28558         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
28559         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
28560         about bounded pointers.
28561         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28562         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28563         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
28564         <bp-asm.h>.
28565         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
28566         about bounded pointers.  Remove GKM FIXME comments.
28567         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28568         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
28569         <bp-asm.h>.
28570         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
28571         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
28572         Remove GKM FIXME comments.
28573         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28574         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28575         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
28576         <bp-asm.h>.
28577         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
28578         about bounded pointers.  Remove GKM FIXME comment.
28579         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
28580         and <bp-asm.h>.
28581         (strncmp): Don't use BP_SYM.  Remove comment about bounded
28582         pointers.
28583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
28584         <bp-sym.h> and <bp-asm.h>.
28585         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
28586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
28587         <bp-sym.h> and <bp-asm.h>.
28588         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
28589         comment.
28591 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
28593         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
28594         call free(NULL).
28596 2013-03-05  David S. Miller  <davem@davemloft.net>
28598         * po/es.po: Update from translation team.
28600 2013-03-05  Andreas Jaeger  <aj@suse.de>
28602         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
28603         <bits/mman-linux.h>.
28604         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28605         is fine.
28606         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
28607         <bits/mman-linux.h> to end of file.
28608         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28609         is fine.
28610         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
28611         <bits/mman-linux.h> to end of file.
28612         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28613         is fine.
28614         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
28615         <bits/mman-linux.h> to end of file.
28617         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
28618         (MCL_CURRENT, MCL_FUTURE): Define here.
28620 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28622         [BZ #15232]
28623         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
28624         attribute_hidden.
28625         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28627 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28629         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
28630         fourth parameter needed for rt_sigprocmask syscall.
28631         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
28632         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
28633         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
28634         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
28635         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
28636         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
28638 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
28640         [BZ #13550]
28641         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
28642         comment about bounded pointers.
28643         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
28644         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
28646 2013-03-04  Andreas Jaeger  <aj@suse.de>
28648         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
28649         common definitions.
28651         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
28652         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
28653         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
28654         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
28655         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
28656         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
28658 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28660         [BZ #15055]
28661         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
28662         __ieee754_sqrl instead of __sqrl.
28664 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
28666         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
28667         * sysdeps/powerpc/fpu_control.h: ... here.
28668         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
28669         * sysdeps/powerpc/bits/fenvinline.h: ... here.
28670         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
28671         * sysdeps/powerpc/bits/mathinline.h: ... here.
28673 2013-03-01  Roland McGrath  <roland@hack.frob.com>
28675         * elf/dl-hwcaps.c (_dl_important_hwcaps):
28676         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
28677         to just [NEED_DL_SYSINFO_DSO].
28678         * elf/dl-support.c: Likewise.
28679         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
28680         * elf/rtld.c (dl_main): Likewise.
28681         * elf/setup-vdso.h (setup_vdso): Likewise.
28682         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
28683         * sysdeps/unix/sysv/linux/dl-sysdep.c
28684         (_dl_discover_osversion): Likewise.
28686 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
28688         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
28689         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
28691 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
28693         * NEWS: Mention libm performance improvements and non-x86 PI
28694         futex support.
28696         * csu/libc-start.c (__pthread_initialize_minimal): Change
28697         function arguments.
28698         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
28700 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
28702         [BZ #13550]
28703         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
28704         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
28705         <bp-sym.h> and <bp-asm.h>.
28706         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28707         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
28708         and <bp-asm.h>.
28709         (memcpy): Don't use BP_SYM.
28710         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
28711         <bp-asm.h>.
28712         (__mpn_add_n): Don't use BP_SYM.
28713         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
28714         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
28715         and <bp-asm.h>.
28716         (__mpn_addmul_1): Don't use BP_SYM.
28717         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28718         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
28719         <bp-sym.h>.
28720         (_setjmp): Don't use BP_SYM.
28721         (__novmx_setjmp): Likewise.
28722         (__GI__setjmp): Likewise.
28723         (__vmx_setjmp): Likewise.
28724         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
28725         <bp-sym.h>.
28726         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
28727         (__bzero): Don't use BP_SYM.
28728         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28729         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28730         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
28731         <bp-sym.h> and <bp-asm.h>.
28732         (memcpy): Don't use BP_SYM.
28733         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
28734         <bp-sym.h> and <bp-asm.h>.
28735         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28736         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
28737         <bp-sym.h> and <bp-asm.h>.
28738         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28739         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
28740         <bp-asm.h>.
28741         (__mpn_lshift): Don't use BP_SYM.
28742         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28743         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
28744         <bp-asm.h>.
28745         (memset): Don't use BP_SYM.
28746         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28747         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28748         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
28749         <bp-asm.h>.
28750         (__mpn_mul_1): Don't use BP_SYM.
28751         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28752         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
28753         <bp-sym.h> and <bp-asm.h>.
28754         (memcmp): Don't use BP_SYM.
28755         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
28756         <bp-sym.h> and <bp-asm.h>.
28757         (memcpy): Don't use BP_SYM.
28758         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
28759         <bp-sym.h> and <bp-asm.h>.
28760         (memset): Don't use BP_SYM.
28761         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
28762         <bp-sym.h> and <bp-asm.h>.
28763         (strncmp): Don't use BP_SYM.
28764         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
28765         <bp-sym.h> and <bp-asm.h>.
28766         (memcpy): Don't use BP_SYM.
28767         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
28768         <bp-sym.h> and <bp-asm.h>.
28769         (memset): Don't use BP_SYM.
28770         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
28771         <bp-sym.h> and <bp-asm.h>.
28772         (__memchr): Don't use BP_SYM.
28773         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
28774         <bp-sym.h> and <bp-asm.h>.
28775         (memcmp): Don't use BP_SYM.
28776         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
28777         <bp-sym.h> and <bp-asm.h>.
28778         (memcpy): Don't use BP_SYM.
28779         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
28780         <bp-sym.h> and <bp-asm.h>.
28781         (__mempcpy): Don't use BP_SYM.
28782         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
28783         <bp-sym.h> and <bp-asm.h>.
28784         (__memrchr): Don't use BP_SYM.
28785         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
28786         <bp-sym.h> and <bp-asm.h>.
28787         (memset): Don't use BP_SYM.
28788         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
28789         <bp-sym.h> and <bp-asm.h>.
28790         (__rawmemchr): Don't use BP_SYM.
28791         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
28792         <bp-sym.h> and <bp-asm.h>.
28793         (__STRCMP): Don't use BP_SYM.
28794         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
28795         <bp-sym.h> and <bp-asm.h>.
28796         (strchr): Don't use BP_SYM.
28797         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
28798         <bp-sym.h> and <bp-asm.h>.
28799         (__strchrnul): Don't use BP_SYM.
28800         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
28801         <bp-sym.h> and <bp-asm.h>.
28802         (strlen): Don't use BP_SYM.
28803         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
28804         <bp-sym.h> and <bp-asm.h>.
28805         (strncmp): Don't use BP_SYM.
28806         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
28807         <bp-sym.h> and <bp-asm.h>.
28808         (__strnlen): Don't use BP_SYM.
28809         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
28810         <bp-asm.h>.
28811         (__mpn_rshift): Don't use BP_SYM.
28812         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28813         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
28814         <bp-sym.h> and <bp-asm.h>.
28815         (__sigsetjmp): Don't use BP_SYM.
28816         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
28817         (L(start_addresses)): Don't use BP_SYM.
28818         (_start): Likewise.
28819         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
28820         <bp-asm.h>.
28821         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
28822         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28823         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28824         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
28825         <bp-asm.h>.
28826         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
28827         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28828         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28829         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
28830         <bp-asm.h>.
28831         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
28832         comments.
28833         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28834         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
28835         <bp-asm.h>.
28836         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
28837         FIXME comments.
28838         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28839         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28840         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
28841         <bp-asm.h>.
28842         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
28843         comment.
28844         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
28845         and <bp-asm.h>.
28846         (strncmp): Don't use BP_SYM,
28847         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
28848         <bp-asm.h>.
28849         (__mpn_sub_n): Don't use BP_SYM.
28850         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28851         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
28852         and <bp-asm.h>.
28853         (__mpn_submul_1): Don't use BP_SYM.
28854         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
28856         <bp-sym.h> and <bp-asm.h>.
28857         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
28858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
28859         <bp-sym.h> and <bp-asm.h>.
28860         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
28861         comment.
28863 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28865         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
28866         Use ZK to minimize writes to Z.
28867         (sub_magnitudes): Simplify code a bit.
28868         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
28869         Use ZK to minimize writes to Z.
28870         (sub_magnitudes): Simplify code a bit.
28872 2013-02-27  Roland McGrath  <roland@hack.frob.com>
28874         * csu/gmon-start.c: Add special exception to license text.
28876 2013-02-27  Richard Henderson  <rth@redhat.com>
28878         * scripts/config.guess: Update from config.git.
28879         * scripts/config.sub: Likewise.
28881 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28883         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
28885         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
28887         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
28889         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
28891         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
28893 2013-02-26  Roland McGrath  <roland@hack.frob.com>
28895         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
28896         [$(build-shared = yes].
28898 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28900         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
28901         (__mul): Reduce iterations for calculating mantissa.
28903         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
28904         MPTWO.
28905         (__mpranred): Likewise.
28907         [BZ #15160]
28908         * malloc/memusagestat.c (main): Draw graphs for heap and stack
28909         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
28911 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
28913         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
28914         Define __attribute__.
28916 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28918         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
28919         unused.
28920         * posix/regex_internal.h (__attribute): Remove.
28921         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
28922         (re_string_context_at): Likewise.
28923         (bitset_not): Use __attribute__ and mark function as possibly
28924         unused.
28925         (bitset_merge): Likewise.
28926         (bitset_mask): Likewise.
28927         (re_string_char_size_at): Likewise.
28928         (re_string_wchar_at): Likewise.
28929         (re_string_elem_size_at): Likewise.
28931 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28933         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
28934         code.
28935         (cc32): Likewise.
28937         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
28938         (__acr): Likewise.
28939         (__cpy): Likewise.
28940         (norm): Likewise.
28941         (denorm): Likewise.
28942         (__dbl_mp): Likewise.
28943         (add_magnitudes): Likewise.
28944         (sub_magnitudes): Likewise.
28945         (__mul): Likewise.
28946         (__inv): Likewise.
28948         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
28949         style.
28951         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
28952         style.
28954         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
28955         code.
28957         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
28958         up changes with default code.
28959         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
28960         Likewise.
28962 2013-02-24  Allan McRae  <allan@archlinux.org>
28964         * manual/socket.texi (The Internet Namespace): Order menu items
28965         to match that in the file.
28967         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
28968         node listing of the info page menu.
28970 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
28972         [BZ #13550]
28973         * sysdeps/i386/bp-asm.h: Remove file.
28974         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
28975         (PARMS): Do not use macros from bp-asm.h.
28976         (S1): Likewise.
28977         (S2): Likewise.
28978         (SIZE): Likewise.
28979         (__mpn_add_n): Do not use BP_SYM
28980         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
28981         "bp-asm.h".
28982         (PARMS): Do not use macros from bp-asm.h.
28983         (S1): Likewise.
28984         (SIZE): Likewise.
28985         (__mpn_addmul_1): Do not use BP_SYM
28986         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
28987         "bp-asm.h".
28988         (PARMS): Do not use macros from bp-asm.h.
28989         (SIGMSK): Likewise.
28990         (_setjmp): Likewise.  Do not use BP_SYM.
28991         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
28992         "bp-asm.h".
28993         (PARMS): Do not use macros from bp-asm.h.
28994         (SIGMSK): Likewise.
28995         (setjmp): Likewise.  Do not use BP_SYM.
28996         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
28997         "bp-asm.h".
28998         (PARMS): Do not use macros from bp-asm.h.
28999         (__frexp): Do not use BP_SYM.
29000         (frexp): Likewise.
29001         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
29002         "bp-asm.h".
29003         (PARMS): Do not use macros from bp-asm.h.
29004         (__frexpf): Do not use BP_SYM.
29005         (frexpf): Likewise.
29006         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
29007         "bp-asm.h".
29008         (PARMS): Do not use macros from bp-asm.h.
29009         (__frexpl): Do not use BP_SYM.
29010         (frexpl): Likewise.
29011         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
29012         "bp-asm.h".
29013         (PARMS): Do not use macros from bp-asm.h.
29014         (__remquo): Do not use BP_SYM.
29015         (remquo): Likewise.
29016         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
29017         "bp-asm.h".
29018         (PARMS): Do not use macros from bp-asm.h.
29019         (__remquof): Do not use BP_SYM.
29020         (remquof): Likewise.
29021         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
29022         "bp-asm.h".
29023         (PARMS): Do not use macros from bp-asm.h.
29024         (__remquol): Do not use BP_SYM.
29025         (remquol): Likewise.
29026         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
29027         "bp-asm.h".
29028         (PARMS): Do not use macros from bp-asm.h.
29029         (DEST): Likewise.
29030         (SRC): Likewise.
29031         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
29032         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
29033         "bp-asm.h".
29034         (PARMS): Do not use macros from bp-asm.h.
29035         (strlen): Do not use BP_SYM.
29036         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
29037         "bp-asm.h".
29038         (PARMS): Do not use macros from bp-asm.h.
29039         (S1): Likewise.
29040         (S2): Likewise.
29041         (SIZE): Likewise.
29042         (__mpn_add_n): Do not use BP_SYM.
29043         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
29044         "bp-asm.h".
29045         (PARMS): Do not use macros from bp-asm.h.
29046         (S1): Likewise.
29047         (SIZE): Likewise.
29048         (__mpn_addmul_1): Do not use BP_SYM.
29049         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
29050         weak_alias.
29051         (bzero): Likewise.
29052         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
29053         "bp-asm.h".
29054         (PARMS): Do not use macros from bp-asm.h.
29055         (S): Likewise.
29056         (SIZE): Likewise.
29057         (__mpn_lshift): Do not use BP_SYM.
29058         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
29059         "bp-asm.h".
29060         (PARMS): Do not use macros from bp-asm.h.
29061         (DEST): Likewise.
29062         (SRC): Likewise.
29063         (LEN): Likewise.
29064         (memcpy): Likewise.  Do not use BP_SYM.
29065         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
29066         libc_hidden_def and weak_alias.
29067         (mempcpy): Do not use BP_SYM in weak_alias.
29068         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
29069         "bp-asm.h".
29070         (PARMS): Do not use macros from bp-asm.h.
29071         (DEST): Likewise.
29072         (LEN): Likewise.
29073         [!BZERO_P] (CHR): Likewise.
29074         (memset): Likewise.  Do not use BP_SYM.
29075         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
29076         "bp-asm.h".
29077         (PARMS): Do not use macros from bp-asm.h.
29078         (S1): Likewise.
29079         (SIZE): Likewise.
29080         (__mpn_mul_1): Do not use BP_SYM.
29081         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
29082         "bp-asm.h".
29083         (PARMS): Do not use macros from bp-asm.h.
29084         (S): Likewise.
29085         (SIZE): Likewise.
29086         (__mpn_rshift): Do not use BP_SYM.
29087         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
29088         "bp-asm.h".
29089         (PARMS): Do not use macros from bp-asm.h.
29090         (STR): Likewise.
29091         (CHR): Likewise.
29092         (strchr): Likewise.  Do not use BP_SYM.
29093         (index): Do not use BP_SYM in weak_alias.
29094         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
29095         "bp-asm.h".
29096         (PARMS): Do not use macros from bp-asm.h.
29097         (DEST): Likewise.
29098         (SRC): Likewise.
29099         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
29100         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
29101         "bp-asm.h".
29102         (PARMS): Do not use macros from bp-asm.h.
29103         (strlen): Do not use BP_SYM.
29104         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
29105         "bp-asm.h".
29106         (PARMS): Do not use macros from bp-asm.h.
29107         (S1): Likewise.
29108         (S2): Likewise.
29109         (SIZE): Likewise.
29110         (__mpn_sub_n): Do not use BP_SYM.
29111         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
29112         "bp-asm.h".
29113         (PARMS): Do not use macros from bp-asm.h.
29114         (S1): Likewise.
29115         (SIZE): Likewise.
29116         (__mpn_submul_1): Do not use BP_SYM.
29117         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
29118         "bp-asm.h".
29119         (PARMS): Do not use macros from bp-asm.h.
29120         (S1): Likewise.
29121         (S2): Likewise.
29122         (SIZE): Likewise.
29123         (__mpn_add_n): Do not use BP_SYM.
29124         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
29125         weak_alias.
29126         (bzero): Likewise.
29127         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
29128         "bp-asm.h".
29129         (PARMS): Do not use macros from bp-asm.h.
29130         (BLK2): Likewise.
29131         (LEN): Likewise.
29132         (memcmp): Do not use BP_SYM.
29133         (bcmp): Do not use BP_SYM in weak_alias.
29134         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
29135         "bp-asm.h".
29136         (PARMS): Do not use macros from bp-asm.h.
29137         (DEST): Likewise.
29138         (SRC): Likewise.
29139         (LEN): Likewise.
29140         (memcpy): Likewise.  Do not use BP_SYM.
29141         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
29142         "bp-asm.h".
29143         (PARMS): Do not use macros from bp-asm.h.
29144         (DEST): Likewise.
29145         (SRC): Likewise.
29146         (LEN): Likewise.
29147         (memmove): Likewise.  Do not use BP_SYM.
29148         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
29149         "bp-asm.h".
29150         (PARMS): Do not use macros from bp-asm.h.
29151         (DEST): Likewise.
29152         (SRC): Likewise.
29153         (LEN): Likewise.
29154         (__mempcpy): Likewise.  Do not use BP_SYM.
29155         (mempcpy): Do not use BP_SYM in weak_alias.
29156         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
29157         "bp-asm.h".
29158         (PARMS): Do not use macros from bp-asm.h.
29159         (DEST): Likewise.
29160         (LEN): Likewise.
29161         [!BZERO_P] (CHR): Likewise.
29162         (memset): Likewise.  Do not use BP_SYM.
29163         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
29164         "bp-asm.h".
29165         (PARMS): Do not use macros from bp-asm.h.
29166         (STR2): Likewise.
29167         (strcmp): Do not use BP_SYM.
29168         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
29169         "bp-asm.h".
29170         (PARMS): Do not use macros from bp-asm.h.
29171         (STR): Likewise.
29172         (DELIM): Likewise.
29173         [USE_AS_STRTOK_R] (SAVE): Likewise.
29174         (FUNCTION): Likewise.  Do not use BP_SYM.
29175         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
29176         aliases.
29177         (strtok_r): Likewise.
29178         (__GI___strtok_r): Likewise.
29179         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
29180         (PARMS): Do not use macros from bp-asm.h.
29181         (S): Likewise.
29182         (SIZE): Likewise.
29183         (__mpn_lshift): Do not use BP_SYM.
29184         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
29185         (PARMS): Do not use macros from bp-asm.h.
29186         (STR): Likewise.
29187         (CHR): Likewise.
29188         (__memchr): Do not use BP_SYM.
29189         (memchr): Do not use BP_SYM in weak_alias.
29190         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
29191         (PARMS): Do not use macros from bp-asm.h.
29192         (BLK2): Likewise.
29193         (LEN): Likewise.
29194         (memcmp): Do not use BP_SYM.
29195         (bcmp): Do not use BP_SYM in weak_alias.
29196         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
29197         (PARMS): Do not use macros from bp-asm.h.
29198         (S1): Likewise.
29199         (SIZE): Likewise.
29200         (__mpn_mul_1): Do not use BP_SYM.
29201         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
29202         "bp-asm.h".
29203         (PARMS): Do not use macros from bp-asm.h.
29204         (STR): Likewise.
29205         (CHR): Likewise.
29206         (__rawmemchr): Do not use BP_SYM.
29207         (rawmemchr): Do not use BP_SYM in weak_alias.
29208         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
29209         (PARMS): Do not use macros from bp-asm.h.
29210         (S): Likewise.
29211         (SIZE): Likewise.
29212         (__mpn_rshift): Do not use BP_SYM.
29213         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
29214         (PARMS): Do not use macros from bp-asm.h.
29215         (SIGMSK): Likewise.
29216         (__sigsetjmp): Likewise.  Do not use BP_SYM.
29217         * sysdeps/i386/start.S: Do not include "bp-sym.h".
29218         (_start): Do not use BP_SYM.
29219         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
29220         (PARMS): Do not use macros from bp-asm.h.
29221         (DEST): Likewise.
29222         (SRC): Likewise.
29223         (__stpcpy): Likewise.  Do not use BP_SYM.
29224         (stpcpy): Do not use BP_SYM in weak_alias.
29225         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
29226         "bp-asm.h".
29227         (PARMS): Do not use macros from bp-asm.h.
29228         (DEST): Likewise.
29229         (SRC): Likewise.
29230         (LEN): Likewise.
29231         (__stpncpy): Likewise.  Do not use BP_SYM.
29232         (stpncpy): Do not use BP_SYM in weak_alias.
29233         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
29234         (PARMS): Do not use macros from bp-asm.h.
29235         (STR): Likewise.
29236         (CHR): Likewise.
29237         (strchr): Likewise.  Do not use BP_SYM.
29238         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
29239         "bp-asm.h".
29240         (PARMS): Do not use macros from bp-asm.h.
29241         (STR): Likewise.
29242         (CHR): Likewise.
29243         (__strchrnul): Likewise.  Do not use BP_SYM.
29244         (strchrnul): Do not use BP_SYM in weak_alias.
29245         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
29246         "bp-asm.h".
29247         (PARMS): Do not use macros from bp-asm.h.
29248         (STOP): Likewise.
29249         (strcspn): Do not use BP_SYM.
29250         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
29251         "bp-asm.h".
29252         (PARMS): Do not use macros from bp-asm.h.
29253         (STR): Likewise.
29254         (STOP): Likewise.
29255         (strpbrk): Likewise.  Do not use BP_SYM.
29256         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
29257         "bp-asm.h".
29258         (PARMS): Do not use macros from bp-asm.h.
29259         (STR): Likewise.
29260         (CHR): Likewise.
29261         (strrchr): Likewise.  Do not use BP_SYM.
29262         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
29263         (PARMS): Do not use macros from bp-asm.h.
29264         (SKIP): Likewise.
29265         (strspn): Do not use BP_SYM.
29266         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
29267         (PARMS): Do not use macros from bp-asm.h.
29268         (STR): Likewise.
29269         (DELIM): Likewise.
29270         (SAVE): Likewise.
29271         (FUNCTION): Likewise.  Do not use BP_SYM.
29272         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
29273         aliases.
29274         (strtok_r): Likewise.
29275         (__GI___strtok_r): Likewise.
29276         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
29277         (PARMS): Do not use macros from bp-asm.h.
29278         (S1): Likewise.
29279         (S2): Likewise.
29280         (SIZE): Likewise.
29281         (__mpn_sub_n): Do not use BP_SYM.
29282         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
29283         "bp-asm.h".
29284         (PARMS): Do not use macros from bp-asm.h.
29285         (S1): Likewise.
29286         (SIZE): Likewise.
29287         (__mpn_submul_1): Do not use BP_SYM.
29288         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
29289         <bp-sym.h>.
29290         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
29291         and <bp-asm.h>.
29292         (PARMS): Do not use macros from bp-asm.h.
29293         (FLAGS): Likewise.
29294         (PTID): Likewise.
29295         (TLS): Likewise.
29296         (CTID): Likewise.
29297         (__clone): Do not use BP_SYM.
29298         (clone): Do not use BP_SYM in weak_alias.
29299         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
29300         and <bp-asm.h>.
29301         (PARMS): Do not use macros from bp-asm.h.
29302         (LEN): Likewise.
29303         (__mmap64): Do not use BP_SYM.
29304         (mmap64): Do not use BP_SYM in weak_alias.
29305         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29306         <bp-sym.h> and <bp-asm.h>.
29307         (PARMS): Do not use macros from bp-asm.h.
29308         (__posix_fadvise64_l64): Do not use BP_SYM.
29309         * sysdeps/unix/sysv/linux/i386/semtimedop.S
29310         (PARMS): Do not use macros from bp-asm.h.
29311         (NSOPS): Likewise.
29312         (semtimedop): Do not use BP_SYM.
29313         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
29314         and <bp-asm.h>.
29316 2013-02-21  Allan McRae  <allan@archlinux.org>
29318         * manual/message.texi (Charset conversion in gettext):
29319         Move @end statement to beginning of line.
29321 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29323         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
29324         static.
29325         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
29326         Likewise.
29328         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
29329         (denorm): Likewise.
29330         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
29331         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
29333 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29335         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
29336         tail-call to the resolved function if pltexit isn't needed.
29338 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29340         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
29341         or Y being zero as being unlikely.
29342         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
29343         Likewise.
29345 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
29347         * manual/nss.texi (System Databases and Name Service Switch):
29348         Remove frobnicate @pxref.
29350 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
29352         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
29353         __attribute__ ((unused)) to __attribute__ ((__unused__)).
29355 2013-02-20  Petr Machata  <pmachata@redhat.com>
29357         * elf/elf.h (R_ARM_TARGET1): New macro.
29358         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
29359         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
29360         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
29361         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
29362         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
29363         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
29364         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
29365         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
29366         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
29367         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
29368         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
29369         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
29370         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
29371         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
29372         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
29373         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
29374         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
29375         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
29376         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
29377         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
29378         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
29379         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
29380         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
29381         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
29382         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
29383         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
29384         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
29385         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
29386         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
29387         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
29388         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
29389         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
29390         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
29391         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
29392         (R_ARM_THM_GOT_BREL12): Likewise.
29393         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
29394         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
29395         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
29396         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
29397         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
29398         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
29399         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
29400         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
29401         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
29403 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
29405         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
29406         __attribute_used__ to __attribute__ ((unused)).
29408 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
29410         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
29411         powerpc mpa.c.
29412         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
29413         comment formatting.
29414         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
29416 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
29418         [BZ #13550]
29419         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
29420         Remove macro.
29421         (ENTER): Remove both macro definitions.
29422         (LEAVE): Likewise.
29423         (CHECK_BOUNDS_LOW): Likewise.
29424         (CHECK_BOUNDS_HIGH): Likewise.
29425         (CHECK_BOUNDS_BOTH): Likewise.
29426         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
29427         (RETURN_BOUNDED_POINTER): Likewise.
29428         (RETURN_NULL_BOUNDED_POINTER): Likewise.
29429         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
29430         (POP_ERRNO_LOCATION_RETURN): Likewise.
29431         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
29432         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29433         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
29434         macros.
29435         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29436         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
29437         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
29438         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
29439         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
29440         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
29441         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
29442         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
29443         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
29444         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
29445         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
29446         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
29447         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29448         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
29449         removed macros.
29450         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29451         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
29452         macros.
29453         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29454         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
29455         * sysdeps/i386/i586/memset.S (memset): Likewise.
29456         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
29457         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29458         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
29459         macros.
29460         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29461         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
29462         Change uses of L(2) to L(out).
29463         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
29464         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
29465         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
29466         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29467         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
29468         removed macros.
29469         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29470         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
29471         macros.
29472         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29473         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
29474         (RETURN): Do not use macro LEAVE.
29475         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
29476         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
29477         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
29478         * sysdeps/i386/i686/memset.S (memset): Likewise.
29479         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
29480         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
29481         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29482         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
29483         Likewise.
29484         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29485         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
29486         L(1_2) and L(1_3) into L(1).
29487         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
29488         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
29489         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29490         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
29491         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29492         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
29493         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
29494         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29495         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
29496         macros.
29497         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
29498         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29499         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
29500         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
29501         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
29502         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29503         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
29504         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
29505         * sysdeps/i386/strcspn.S (strcspn): Likewise.
29506         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
29507         * sysdeps/i386/strrchr.S (strrchr): Likewise.
29508         * sysdeps/i386/strspn.S (strspn): Likewise.
29509         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
29510         conditional code.
29511         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29512         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
29513         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
29514         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
29515         L(1_3) into L(1_1).
29516         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
29517         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29518         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
29519         macros.
29520         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29522 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
29524         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
29525         macro.
29527 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29529         * math/atest-exp.c (exp_mpn): Remove ROUND.
29530         * math/atest-exp2.c (exp_mpn): Likewise.
29531         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
29533         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
29534         * stdlib/tst-tls-atexit-lib.c: Likewise.
29535         * stdlib/tst-tls-atexit.c: Likewise.
29537 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
29539         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
29540         and __attribute_alloc_size__.
29542 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
29544         * include/programs/xmalloc.h: Change __attribute_alloc_size to
29545         __attribute_alloc_size__.
29546         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
29547         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
29549 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
29551         * include/programs/xmalloc.h: New file.
29552         * catgets/gencat.c: Include it.
29553         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
29554         * elf/pldd.c: Likewise.
29555         * iconv/iconv_charmap.c: Likewise.
29556         * iconv/iconvconfig.c: Likewise.
29557         * iconv/strtab.c: Likewise.
29558         * locale/programs/locale.c: Likewise.
29559         * locale/programs/localedef.h: Likewise.
29560         * locale/programs/simple-hash.c: Likewise.
29561         * nscd/nscd.h: Likewise.
29562         * nss/makedb.c: Likewise.
29563         * sysdeps/generic/ldconfig.h: Likewise.
29565 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29567         * Versions.def: Add GLIBC_2.18.
29568         * include/link.h (struct link_map): New member l_tls_dtor_count.
29569         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
29570         (__call_tls_dtors): Likewise.
29571         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
29572         __cxa_thread_atexit_impl.
29573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29574         Likewise.
29575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29576         Likewise.
29577         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
29578         Likewise.
29579         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
29580         Likewise.
29581         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29582         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
29583         Likewise.
29584         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
29585         Likewise.
29586         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29587         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29588         Likewise.
29589         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
29590         (tests): Add test case tst-tls-atexit.
29591         (modules-names): Add shared library for tst-tls-atexit.
29592         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
29593         (GLIBC_PRIVATE): Add __call_tls_dtors.
29594         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
29595         for libstdc++.
29596         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
29597         * stdlib/tst-tls-atexit.c: New test case.
29598         * stdlib/tst-tls-atexit-lib.c: New test case.
29600         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
29602         * elf/Versions (ld): Add _dl_find_dso_for_object.
29603         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
29604         * elf/dl-open.c (_dl_find_dso_for_object): New function.
29605         (dl_open_worker): Use _dl_find_dso_for_object.
29606         * elf/dl-sym.c (do_sym): Likewise.
29607         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
29609 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29611         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
29612         Syntactic changes only.
29613         (_dl_runtime_profile): Do a tail-call to the resolved function.
29615 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
29617         [BZ #13550]
29618         * sysdeps/x86_64/bp-asm.h: Remove file.
29619         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
29620         <bp-sym.h> and <bp-asm.h>.
29621         (__clone): Do not use BP_SYM.
29622         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
29623         <bp-sym.h> and <bp-asm.h>.
29624         * sysdeps/unix/x86_64/sysdep.S: Likewise.
29625         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
29626         "bp-asm.h".
29627         (_setjmp): Do not use BP_SYM.
29628         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
29629         "bp-asm.h".
29630         (setjmp): Do not use BP_SYM.
29631         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
29632         libc_hidden_def.
29633         (mempcpy): Do not use BP_SYM in weak_alias.
29634         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
29635         "bp-asm.h".
29636         (strchr): Do not use BP_SYM.
29637         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
29638         "bp-asm.h".
29639         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
29640         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
29641         (_start): Do not use BP_SYM.
29642         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
29643         "bp-asm.h".
29644         (strcat): Do not use BP_SYM.
29645         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
29646         "bp-asm.h".
29647         (STRCMP): Do not use BP_SYM.
29648         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
29649         "bp-asm.h".
29650         (STRCPY): Do not use BP_SYM.
29651         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
29652         "bp-asm.h".
29653         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
29654         "bp-asm.h".
29655         (FUNCTION): Do not use BP_SYM.
29656         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
29657         weak_alias.
29658         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
29660 2013-02-17  Andreas Jaeger  <aj@suse.de>
29662         * time/Versions: Sort entries.
29663         * string/Versions: Likewise.
29664         * resolv/Versions: Likewise.
29665         * posix/Versions: Likewise.
29666         * iconv/Versions: Likewise.
29667         * elf/Versions: Likewise.
29668         * wcsmbs/Versions: Likewise.
29670 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29672         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
29673         loop termination condition.
29675         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
29676         variable to calculate EZ.
29677         (__sqr): Likewise.
29679         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
29680         the lower precision input.
29682 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
29684         [BZ #13550]
29685         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
29686         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
29687         (run-via-rtld-prefix): Do not handle %-bp tests.
29688         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
29689         (all-object-suffixes): Remove .ob.
29690         (bppfx): Remove variable.
29691         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
29692         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
29693         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
29694         [$(build-bounded) = yes] (libtype.ob): Likewise.
29695         * Makerules (elide-routines.ob): Remove variable.
29696         (do-tests-clean): Do not handle *-bp.out.
29697         (common-mostlyclean): Do not handle *-bp and *-bp.out.
29698         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
29699         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
29700         (tests): Do not include $(tests-bp.out).
29701         (xtests): Do not include $(xtests-bp.out).
29702         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
29703         [$(build-bounded) = yes] ($(addprefix
29704         $(objpfx),$(binaries-bounded))): Remove rule.
29705         ($(objpfx)%-bp.out): Remove rule.
29706         * config.make.in (build-bounded): Remove variable.
29707         * crypt/Makefile [$(build-bounded) = yes]
29708         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
29709         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
29710         append to variable.
29711         [$(build-bounded) = yes] (install-lib): Likewise.
29712         [$(build-bounded) = yes] (generated): Likewise.
29713         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
29714         Remove rule.
29715         * intl/Makefile [$(build-bounded) = yes]
29716         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
29717         * math/Makefile [$(build-bounded) = yes]
29718         ($(tests:%=$(objpfx)%-bp): Likewise.
29719         * misc/Makefile [$(build-bounded) = yes]
29720         ($(objpfx)tst-tsearch-bp): Likewise.
29721         * nptl/Makeconfig (bounded-thread-library): Remove variable.
29722         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
29723         Remove dependency.
29724         * string/Makefile (o-objects.ob): Remove variable.
29725         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
29726         (CFLAGS-.ob): Remove variable.
29727         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
29728         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
29729         both definitions of variable.
29730         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
29731         (ASFLAGS-.ob): Remove variable.
29733 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
29735         [BZ #13550]
29736         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
29737         Remove __BOUNDED_POINTERS__ from condition.
29738         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
29739         * string/bits/string2.h [!__NO_STRING_INLINES &&
29740         !__BOUNDED_POINTERS__]: Likewise.
29741         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
29742         Likewise.
29743         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
29744         Remove conditional code.
29745         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
29746         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
29747         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
29748         condition.
29750         [BZ #13550]
29751         * csu/libc-start.c: Do not include <bp-sym.h>.
29752         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
29753         * elf/dl-open.c: Do not include <bp-sym.h>.
29754         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
29755         * math/fegetenv.c: Do not include <bp-sym.h>.
29756         (fegetenv): Do not use BP_SYM in versioned symbols.
29757         * nptl/sysdeps/pthread/bits/libc-lockP.h
29758         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
29759         <bp-sym.h>.
29760         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29761         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
29762         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29763         (__pthread_mutex_destroy): Likewise.
29764         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29765         (__pthread_mutex_lock): Likewise.
29766         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29767         (__pthread_mutex_trylock): Likewise.
29768         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29769         (__pthread_mutex_unlock): Likewise.
29770         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29771         (__pthread_mutexattr_init): Likewise.
29772         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29773         (__pthread_mutexattr_destroy): Likewise.
29774         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29775         (__pthread_mutexattr_settype): Likewise.
29776         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29777         (__pthread_rwlock_init): Likewise.
29778         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29779         (__pthread_rwlock_destroy): Likewise.
29780         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29781         (__pthread_rwlock_rdlock): Likewise.
29782         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29783         (__pthread_rwlock_tryrdlock): Likewise.
29784         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29785         (__pthread_rwlock_wrlock): Likewise.
29786         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29787         (__pthread_rwlock_trywrlock): Likewise.
29788         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29789         (__pthread_rwlock_unlock): Likewise.
29790         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29791         (__pthread_key_create): Likewise.
29792         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29793         (__pthread_setspecific): Likewise.
29794         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29795         (__pthread_getspecific): Likewise.
29796         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
29797         Likewise.
29798         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29799         (_pthread_cleanup_push_defer): Likewise.
29800         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29801         (_pthread_cleanup_pop_restore): Likewise.
29802         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29803         (pthread_setcancelstate): Likewise.
29804         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
29805         <bp-sym.h>.
29806         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
29807         (memchr): Do not use BP_SYM in weak_alias.
29808         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
29809         (fegetenv): Do not use BP_SYM in versioned symbols.
29810         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
29811         (fesetenv): Do not use BP_SYM in versioned symbols.
29812         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
29813         (feupdateenv): Do not use BP_SYM in versioned symbols.
29814         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
29815         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
29816         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
29817         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
29818         (open64): Do not use BP_SYM in weak_alias.
29819         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
29820         (fegetenv): Do not use BP_SYM in versioned symbols.
29821         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
29822         (fesetenv): Do not use BP_SYM in versioned symbols.
29823         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
29824         (feupdateenv): Do not use BP_SYM in versioned symbols.
29825         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
29826         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
29827         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
29828         (feraiseexcept): Do not use BP_SYM in versioned symbols.
29829         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
29830         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
29831         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
29832         <bp-sym.h>.
29833         (__libc_start_main): Do not use BP_SYM.
29835 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
29837         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
29838         redundant return line.
29839         (norm): Likewise.
29840         (denorm): Likewise.
29841         (dbl_mp): Likewise.
29842         (sub_magnitudes): Likewise.
29843         (__add): Likewise.
29844         (__sub): Likewise.
29845         (__mul): Likewise.
29846         (__inv): Likewise.
29847         (__dvd): Likewise.
29848         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
29849         (norm): Likewise.
29850         (denorm): Likewise.
29851         (dbl_mp): Likewise.
29852         (sub_magnitudes): Likewise.
29853         (__add): Likewise.
29854         (__sub): Likewise.
29855         (__mul): Likewise.
29856         (__inv): Likewise.
29857         (__dvd): Likewise.
29859         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
29860         instead of __mul.
29861         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
29862         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
29863         (cc32): Likewise.
29865         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
29866         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
29867         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
29868         of __mul for squares.
29869         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
29870         function
29871         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
29872         Likewise.
29873         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
29874         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29876 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
29878         [BZ #13550]
29879         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
29880         code.
29881         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
29882         prototype or function definition.  Rename ubp_* variables and
29883         parameters.  Remove argv definitions conditional on
29884         [__BOUNDED_POINTERS__].
29885         * debug/backtrace.c (__backtrace): Do not use __unbounded.
29886         * elf/dl-runtime.c (_dl_fixup): Likewise.
29887         * include/set-hooks.h (RUN_HOOK): Likewise.
29888         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
29889         definition.
29890         * string/strcpy.c (strcpy): Do not use __unbounded.
29891         * sysdeps/generic/frame.h (struct layout): Likewise.
29892         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
29893         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
29894         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
29895         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
29896         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
29897         (__backtrace): Likewise.
29898         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
29899         use __ptrvalue.
29900         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
29901         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
29902         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
29903         Likewise.
29904         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
29905         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
29906         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
29907         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29908         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
29909         Do not use __unbounded.
29910         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
29911         Rename __unboundedrlimits parameter to rlimits in prototype.
29912         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
29913         Do not use __unbounded.
29914         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
29915         not use __ptrvalue.
29916         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29917         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
29918         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29919         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
29920         __ptrvalue or __unbounded.
29921         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
29922         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
29923         use __unbounded.
29924         (__new_msgctl): Do not use __ptrvalue.
29925         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
29926         __unbounded.
29927         (__libc_msgrcv): Do not use __ptrvalue.
29928         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
29929         startup_info): Do not use __unbounded.
29930         (__libc_start_main): Likewise.  Rename ubp_* variables and
29931         parameters.  Remove argv definitions conditional on
29932         [__BOUNDED_POINTERS__].
29933         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
29934         __ptrvalue.
29935         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
29936         use __unbounded.
29937         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
29938         or __ptrvalue.
29939         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
29940         use __unbounded.
29941         (__new_shmctl): Do not use __ptrvalue.
29942         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
29943         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
29944         Likewise.
29945         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
29946         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
29947         (__libc_sigaction): Likewise.
29948         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
29949         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
29950         Likewise.
29951         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29953 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
29955         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
29957         * string/mempcpy.c: Implement by calling memcpy.
29959 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
29961         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
29963         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
29964         evaluation.
29966         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
29967         values in the mantissa.
29969         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
29970         minimize writes to Z.
29971         (sub_magnitudes): Simplify code a bit.
29973 2013-02-12  Roland McGrath  <roland@hack.frob.com>
29975         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
29976         from the message.  The linker prefixes all warnings with that already.
29978 2013-02-12  Andreas Schwab  <schwab@suse.de>
29980         [BZ #15078]
29981         * posix/regexec.c (extend_buffers): Add parameter min_len.
29982         (check_matching): Pass minimum needed length.
29983         (clean_state_log_if_needed): Likewise.
29984         (get_subexp): Likewise.
29985         * posix/Makefile (tests): Add bug-regex34.
29986         (bug-regex34-ENV): Define.
29987         * posix/bug-regex34.c: New file.
29989         [BZ #11561]
29990         * posix/regcomp.c (parse_bracket_exp): When looking up collating
29991         elements compare against the byte sequence of it, not its name.
29992         * posix/Makefile (tests): Add bug-regex35.
29993         (bug-regex35-ENV): Define.
29994         * posix/bug-regex35.c: New file.
29996 2013-02-11  Tom de Vries  <tom@codesourcery.com>
29998         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
29999         comment.
30000         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
30001         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
30002         (CHECK_EOL): Add undef.
30004 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
30006         * bits/stdlib-bsearch.h: New file.
30007         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
30008         * stdlib/stdlib.h: Likewise.
30010 2013-02-11  Roland McGrath  <roland@hack.frob.com>
30012         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
30013         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
30014         declaration.
30015         * manual/search.texi (Array Search Function): Add missing const in
30016         lfind prototype.
30017         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
30018         declaration to use rlim_t.
30019         (Basic Scheduling Functions): Remove erroneous const from
30020         sched_getparam prototype.  Remove erroneous * from
30021         sched_get_priority_max and sched_get_priority_min prototypes.
30022         (Resource Usage): Fix summary @comment on vtimes to refer to
30023         sys/vtimes.h rather than vtimes.h.
30024         Add missing *s in vtimes prototype.
30025         (Limits on Resources): Fix ulimit prototype to return long int.
30026         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
30027         prototypes to use long int rather than double.
30028         (BSD Random): Fix initstate and setstate to use char *, not void *.
30029         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
30030         prototype to make second argument 'struct aiocb64 *const[]'.
30031         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
30032         (Status of AIO Operations): Remove erroneous const in aio_return and
30033         aio_return64 prototypes.
30034         (Synchronizing I/O): Fix sync prototype to return void.
30035         * manual/startup.texi (Suboptions): Remove an erroneous const in
30036         getsubopt prototype.
30037         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
30038         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
30039         use size_t rather than int.
30040         (Scanning All Users): Likewise for getpwent_r.
30041         (Setting Groups): Add missing const to setgroups prototype.
30042         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
30043         * manual/socket.texi (Host Names): Fix gethostbyaddr and
30044         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
30045         'const void *' rather than 'const char *'.
30046         (Host Address Functions): Likewise for inet_ntop.
30047         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
30048         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
30049         ssize_t for return value.
30050         (Sending Data): Likewise for send, sendto, sendmsg.
30051         (Socket Option Functions): Add a missing const in setsockopt prototype.
30052         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
30053         use wchar_t for the argument.
30054         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
30055         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
30056         take no arguments.
30057         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
30058         double/float/long double for second argument.
30059         Fix return types of significand, significandf, significandl.
30060         * manual/filesys.texi (Setting Permissions): Use mode_t for second
30061         argument in fchmod prototype.
30062         (File Owner): Use uid_t and gid_t in fchown prototype.
30063         (File Times): Add const to utimes, futimes, and lutimes prototypes.
30064         (Making Special Files): Use mode_t and dev_t in mknod prototype.
30065         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
30066         use 'const struct dirent **' as argument types to CMP function pointer
30067         argument.
30068         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
30069         (File Times): Fix summary magic @comment for struct utimbuf and utime
30070         to refer to utime.h, not time.h.
30071         * manual/string.texi (Argz Functions): Add missing const in
30072         argz_extract and argz_next prototypes.
30073         (Finding Tokens in a String): Likewise for basename.
30074         (String/Array Comparison): Fix typo in wcscasecmp prototype.
30075         (Copying and Concatenation): Fix typo in wmemmove prototype.
30076         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
30077         (Signal Stack): Remove erroneous const in sigstack prototype.
30078         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
30079         prototype.
30080         (Simple Calendar Time): Likewise for stime.
30081         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
30082         prototype.
30083         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
30084         say sys/sysctl.h instead.
30085         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
30086         and vsyslog prototypes.
30088 2013-02-11  Tom de Vries  <tom@codesourcery.com>
30090         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
30091         Remove.
30093 2013-02-11  Roland McGrath  <roland@hack.frob.com>
30095         * misc/sys/mman.h: Fix typo in mremap comment.
30097 2013-02-08  Roland McGrath  <roland@hack.frob.com>
30099         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
30100         the '\0' terminator.
30102 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
30104         [BZ #13550]
30105         * debug/segfault.c: Don't include <bp-checks.h>.
30106         * sysdeps/generic/bp-checks.h: Remove file.
30107         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
30108         (__GETDENTS): Don't use CHECK_N.
30109         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
30110         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
30111         (__getgroups): Don't use CHECK_N.
30112         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
30113         (setgroups): Don't use CHECK_N.
30114         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
30115         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
30116         (__libc_msgrcv): Don't use CHECK_N.
30117         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
30118         (__libc_msgsnd): Don't use CHECK_N.
30119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
30120         <bp-checks.h>.
30121         (__libc_pread): Don't use CHECK_N.
30122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
30123         include <bp-checks.h>.
30124         (__libc_pread64): Don't use CHECK_N.
30125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
30126         include <bp-checks.h>.
30127         (__libc_pwrite): Don't use CHECK_N.
30128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
30129         include <bp-checks.h>.
30130         (__libc_pwrite64): Don't use CHECK_N.
30131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
30132         <bp-checks.h>.
30133         (__libc_pread): Don't use CHECK_N.
30134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
30135         include <bp-checks.h>.
30136         (__libc_pread64): Don't use CHECK_N.
30137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
30138         include <bp-checks.h>.
30139         (__libc_pwrite): Don't use CHECK_N.
30140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
30141         include <bp-checks.h>.
30142         (__libc_pwrite64): Don't use CHECK_N.
30143         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
30144         (do_pread): Don't use CHECK_N.
30145         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
30146         (do_pread64): Don't use CHECK_N.
30147         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
30148         (do_pwrite): Don't use CHECK_N.
30149         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
30150         (do_pwrite64): Don't use CHECK_N.
30151         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
30152         (__libc_readv): Don't use CHECK_N.
30153         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
30154         (semop): Don't use CHECK_N.
30155         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
30156         <bp-checks.h>.
30157         (semtimedop): Don't use CHECK_N.
30158         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
30159         (__libc_pread): Don't use CHECK_N.
30160         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
30161         <bp-checks.h>.
30162         (__libc_pread64): Don't use CHECK_N.
30163         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
30164         <bp-checks.h>.
30165         (__libc_pwrite): Don't use CHECK_N.
30166         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
30167         <bp-checks.h>.
30168         (__libc_pwrite64): Don't use CHECK_N.
30169         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
30170         <bp-checks.h>.
30171         (__libc_msgrcv): Don't use CHECK_N.
30172         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
30173         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
30174         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
30175         (__libc_writev): Don't use CHECK_N.
30177 2013-02-08  Roland McGrath  <roland@hack.frob.com>
30179         * string/strcpy.c: Removed unused variable.
30181         * Makeconfig (+sysdep-includes): Define with := rather than =.
30182         Use an existing include/ subdir of each sysdeps dir before it.
30184 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
30186         * nscd/connection.c (register_traced_file): Comment function.
30187         [HAVE_INOTIFY] (union __inev): Define.
30188         [HAVE_INOTIFY] (inotify_check_files): New function.
30189         [HAVE_INOTIFY] (clear_db_cache): Likewise.
30190         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
30191         clear_db_cache.
30192         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
30194 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
30196         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
30197         loaded if not already and that a failure is permanent.
30199 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
30201         [BZ #15006]
30202         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
30203         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
30205 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
30207         [BZ #13550]
30208         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
30209         (CHECK_1_NULL_OK): Likewise.
30210         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
30211         (__fxstat): Do not use CHECK_1.
30212         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
30213         <bp-checks.h>.
30214         (___fxstat64): Do not use CHECK_1.
30215         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
30216         <bp-checks.h>.
30217         (__fxstatat): Do not use CHECK_1.
30218         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
30219         <bp-checks.h>.
30220         (__fxstatat64): Do not use CHECK_1.
30221         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
30222         <bp-checks.h>.
30223         (__fxstat): Do not use CHECK_1.
30224         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
30225         <bp-checks.h>.
30226         (__fxstatat): Do not use CHECK_1.
30227         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
30228         <bp-checks.h>.
30229         (__getresgid): Do not use CHECK_1.
30230         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
30231         <bp-checks.h>.
30232         (__getresuid): Do not use CHECK_1.
30233         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
30234         <bp-checks.h>.
30235         (__lxstat): Do not use CHECK_1.
30236         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
30237         <bp-checks.h>.
30238         (__old_msgctl): Do not use CHECK_1.
30239         (__new_msgctl): Likewise.
30240         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
30241         <bp-checks.h>.
30242         (__new_setrlimit): Do not use CHECK_1.
30243         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
30244         <bp-checks.h>.
30245         (__old_shmctl): Do not use CHECK_1.
30246         (__new_shmctl): Likewise.
30247         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
30248         <bp-checks.h>.
30249         (__xstat): Do not use CHECK_1.
30250         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
30251         (__lxstat): Do not use CHECK_1.
30252         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
30253         <bp-checks.h>.
30254         (___lxstat64): Do not use CHECK_1.
30255         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
30256         (__old_msgctl): Do not use CHECK_1.
30257         (__new_msgctl): Likewise.
30258         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
30259         <bp-checks.h>.
30260         (__gettimeofday): Do not use CHECK_1.
30261         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
30262         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
30263         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
30264         <bp-checks.h>.
30265         (__gettimeofday): Do not use CHECK_1.
30266         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
30267         (__old_shmctl): Do not use CHECK_1_NULL_OK.
30268         (__new_shmctl): Do not use CHECK_1.
30269         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
30270         <bp-checks.h>.
30271         (do_sigtimedwait): Do not use CHECK_1.
30272         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
30273         <bp-checks.h>.
30274         (do_sigwaitinfo): Do not use CHECK_1.
30275         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
30276         <bp-checks.h>.
30277         (msgctl): Do not use CHECK_1.
30278         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
30279         <bp-checks.h>.
30280         (shmctl): Do not use CHECK_1.
30281         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
30282         (ustat): Do not use CHECK_1.
30283         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
30284         <bp-checks.h>.
30285         (__fxstat): Do not use CHECK_1.
30286         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
30287         <bp-checks.h>.
30288         (__fxstatat): Do not use CHECK_1.
30289         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
30290         <bp-checks.h>.
30291         (__lxstat): Do not use CHECK_1.
30292         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
30293         <bp-checks.h>.
30294         (__xstat): Do not use CHECK_1.
30295         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
30296         (__xstat): Do not use CHECK_1.
30297         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
30298         (___xstat64): Do not use CHECK_1.
30300         [BZ #13550]
30301         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
30302         definitions.
30303         (CHECK_BOUNDS_HIGH): Likewise.
30304         * string/strcpy.c: Do not include <bp-checks.h>.
30305         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
30307 2013-02-07  Roland McGrath  <roland@hack.frob.com>
30309         * nscd/nscd-client.h (__nscd_drop_map_ref):
30310         Add __attribute__ ((unused)).
30311         * nis/nss-nisplus.h (niserr2nss): Likewise.
30313         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
30314         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
30316         * csu/libc-tls.c (init_static_tls, init_slotinfo):
30317         Remove inline keyword.
30318         * include/rounding-mode.h (round_away): Likewise.
30319         * libio/wfileops.c (adjust_wide_data): Likewise.
30320         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
30321         (__m128i_strloadu_tolower): Likewise.
30322         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
30323         (__m128i_strloadu_tolower): Likewise.
30324         * time/mktime.c (ydhms_diff): Likewise.
30325         * locale/elem-hash.h (elem_hash): Likewise.
30326         * locale/setlocale.c (setdata): Likewise.
30327         * posix/regex_internal.h (re_string_char_size_at): Likewise.
30328         (re_string_wchar_at): Likewise.
30329         (bitset_not, bitset_merge, bitset_mask): Likewise.
30330         [!(__GNUC__ > 3)] (inline): Remove macro.
30331         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
30332         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
30333         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
30334         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
30335         * string/memcmp.c (memcmp_bytes): Likewise.
30336         * locale/programs/locarchive.c (compute_hashval): Likewise.
30337         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
30338         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
30339         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
30340         * nss/getent.c (print_rpc, print_protocols): Likewise.
30341         (print_passwd, print_group, print_aliases): Likewise.
30342         * nis/nss-nisplus.h (niserr2nss): Likewise.
30343         * nscd/connections.c (restart_p): Likewise.
30344         Change return type to bool.
30346 2013-02-05  Roland McGrath  <roland@hack.frob.com>
30348         * Makeconfig (all-Depend-files): Add existing
30349         $(sorted-subdirs:=/Depend) files.
30350         (all-subdirs): Remove nss.
30351         * sysdeps/unix/inet/Subdirs: Add it here instead.
30352         * hesiod/Depend: New file.
30354         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
30355         instead of calling alloca.
30357         * io/lseek.c (__lseek): Rename to __libc_lseek.
30358         Define __lseek as an alias.
30360         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
30362 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
30364         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
30365         else clause and remove check for non-standard endianness.
30367 2013-02-04  David S. Miller  <davem@davemloft.net>
30369         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30371 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
30373         [BZ #13550]
30374         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
30375         (__ubp_memchr): Remove prototype.
30376         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
30377         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
30378         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
30379         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
30380         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
30381         Remove alias.
30382         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
30383         (__ubp_memchr): Likewise.
30384         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
30385         (__ubp_memchr): Likewise.
30386         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
30387         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
30388         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
30389         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
30390         CHECK_STRING.
30391         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
30392         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
30393         (__getcwd): Do not use CHECK_STRING.
30394         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
30395         <bp-checks.h>.
30396         (__real_chown): Do not use CHECK_STRING.
30397         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
30398         <bp-checks.h>.
30399         (fchownat): Do not use CHECK_STRING.
30400         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
30401         CHECK_STRING.
30402         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
30403         <bp-checks.h>.
30404         (__lchown): Do not use CHECK_STRING.
30405         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
30406         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
30407         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
30408         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
30409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30410         include <bp-checks.h>.
30411         (truncate64): Do not use CHECK_STRING.
30412         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
30413         <bp-checks.h>.
30414         (__real_chown): Do not use CHECK_STRING.
30415         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
30416         <bp-checks.h>.
30417         (__lchown): Do not use CHECK_STRING.
30418         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
30419         <bp-checks.h>.
30420         (__chown): Do not use CHECK_STRING.
30421         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
30422         <bp-checks.h>.
30423         (truncate64): Do not use CHECK_STRING.
30424         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
30425         Likewise.
30426         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
30427         (__xmknod): Do not use CHECK_STRING.
30428         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
30429         <bp-checks.h>.
30430         (__xmknodat): Do not use CHECK_STRING.
30431         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
30432         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
30434 2013-02-04  Andreas Schwab  <schwab@suse.de>
30436         [BZ #14142]
30437         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
30438         * include/netdb.h: Likewise for h_errno.
30439         * elf/tst-stackguard1.c: Include <tls.h>.
30441 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
30443         * elf/link.h (struct link_map): Extend the l_addr comment.
30444         * include/link.h (struct link_map): Likewise.
30446 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
30448         [BZ #13550]
30449         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
30450         (BOUNDED_1): Remove macro.
30451         * debug/backtrace.c: Don't include <bp-checks.h>.
30452         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
30453         (__backtrace): Likewise.
30454         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
30455         <bp-checks.h>.
30456         (__backtrace): Don't use BOUNDED_1.
30457         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
30458         <bp-checks.h>.
30459         (__backtrace): Don't use BOUNDED_1.
30460         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
30461         (__backtrace): Don't use BOUNDED_1.
30462         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
30463         (shmat): Don't use BOUNDED_N.
30465 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
30467         [BZ #13550]
30468         * sysdeps/generic/bp-start.h: Remove file.
30469         * csu/libc-start.c: Don't include <bp-start.h>.
30470         (LIBC_START_MAIN): Set up __environ directly instead of using
30471         INIT_ARGV_and_ENVIRON.
30472         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
30473         <bp-start.h>.
30475         [BZ #13550]
30476         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
30477         definitions.
30478         (CHECK_FCNTL): Likewise.
30479         (CHECK_N_PAGES): Likewise.
30481         [BZ #13550]
30482         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
30483         definitions.
30484         (CHECK_SIGSET_NULL_OK): Likewise.
30485         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
30486         <bp-checks.h>.
30487         (sigpending): Don't use CHECK_SIGSET.
30488         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
30489         <bp-checks.h>.
30490         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30491         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
30492         <bp-checks.h>.
30493         (do_sigsuspend): Don't use CHECK_SIGSET.
30494         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
30495         use CHECK_SIGSET.
30496         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
30497         (do_sigwait): Don't use CHECK_SIGSET.
30498         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
30499         use CHECK_SIGSET.
30500         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
30501         include <bp-checks.h>.
30502         (sigpending): Don't use CHECK_SIGSET.
30503         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
30504         include <bp-checks.h>.
30505         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30506         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
30507         <bp-checks.h>.
30508         (sigpending): Don't use CHECK_SIGSET.
30509         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
30510         <bp-checks.h>.
30511         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30513         [BZ #13550]
30514         * sysdeps/generic/bp-semctl.h: Remove file.
30515         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
30516         <bp-checks.h> and <bp-semctl.h>.
30517         (__old_semctl): Don't use CHECK_SEMCTL.
30518         (__new_semctl): Likewise.
30519         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
30520         and <bp-semctl.h>.
30521         (__old_semctl): Don't use CHECK_SEMCTL.
30522         (__new_semctl): Likewise.
30523         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
30524         <bp-checks.h> and <bp-semctl.h>.
30525         (__old_semctl): Don't use CHECK_SEMCTL.
30526         (__new_semctl): Likewise.
30527         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
30528         <bp-checks.h> and <bp-semctl.h>.
30529         (semctl): Don't use CHECK_SEMCTL.
30531         [BZ #13550]
30532         * Makerules (elide-bp-thunks): Remove variable.
30533         (elide-routines.oS): Don't use $(elide-bp-thunks).
30534         (elide-routines.os): Likewise.
30535         (elide-routines.o): Likewise.
30536         (elide-routines.op): Likewise.
30537         (elide-routines.og): Likewise.
30538         (objects): Don't use $(bp-thunks).
30539         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
30540         include.
30541         (common-generated): Do not add s-proto-bp.d.
30542         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
30543         (int): Likewise.
30544         (typ): Likewise.
30545         Do not generate makefile rules for bounded-pointer thunks.
30546         * sysdeps/generic/bp-thunks.h: Remove file.
30547         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
30548         * sysdeps/unix/s-proto-bp.S: Likewise.
30550         [BZ #15062]
30551         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
30552         parts of result separately when argument is not close to line from
30553         -i to i and one part of argument is small.
30554         * math/k_casinhf.c (__kernel_casinhf): Likewise.
30555         * math/k_casinhl.c (__kernel_casinhl): Likewise.
30556         * math/libm-test.inc (cacos_test): Add more tests.
30557         (casin_test): Likewise.
30558         (casinh_test): Likewise.
30559         * sysdeps/i386/fpu/libm-test-ulps: Update.
30560         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30562 2013-01-31  David S. Miller  <davem@davemloft.net>
30564         * po/de.po: Update from translation team.
30566 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
30568         * time/tzfile.c: Include stdint.h for SIZE_MAX.
30570 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
30572         * configure.in (_AC_PROG_CC_C89): New definition.
30573         * configure: Regenerate.
30575         * configure.in (AC_PROG_CPP): New definition.
30576         * configure: Regenerate.
30578 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
30580         * debug/tst-backtrace.h: New file.
30581         * debug/tst-backtrace2.c: Include tst-backtrace.h.
30582         (ret): Remove variable.
30583         (x): Likewise.
30584         (FAIL): Remove macro.
30585         (NO_INLINE): Likewise.
30586         (fn1): Use match function instead of strstr.
30587         * debug/tst-backtrace3.c: Include tst-backtrace.h.
30588         (ret): Remove variable.
30589         (x): Likewise.
30590         (FAIL): Remove macro.
30591         (NO_INLINE): Likewise.
30592         (fn): Use match function instead of strstr.
30593         * debug/tst-backtrace4.c: Include tst-backtrace.h.
30594         (ret): Remove variable.
30595         (x): Likewise.
30596         (FAIL): Remove macro.
30597         (NO_INLINE): Likewise.
30598         (handle_signal): Use match function instead of strstr.
30599         * debug/tst-backtrace5.c: Include tst-backtrace.h.
30600         (ret): Remove variable.
30601         (x): Likewise.
30602         (FAIL): Remove macro.
30603         (NO_INLINE): Likewise.
30604         (handle_signal): Use match function instead of strstr.
30606 2013-01-23  Roland McGrath  <roland@hack.frob.com>
30608         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
30610 2013-01-23  David S. Miller  <davem@davemloft.net>
30612         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
30613         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
30614         argument of CAS if possible.
30615         * sysdeps/sparc/sparc64/bits/atomic.h
30616         (__arch_compare_and_exchange_val_32_acq): Likewise.
30617         (__arch_compare_and_exchange_val_64_acq): Likewise.
30619 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
30621         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
30622         * sysdeps/posix/ulimit.c: ... this.
30623         Include <limits.h>.
30624         * sysdeps/unix/bsd/ulimit.c: Remove file.
30626 2013-01-23  Adam Conrad  <adconrad@0c3.net>
30628         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
30629         (LDFLAGS-tst-array5): Likewise.
30631 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
30633         [BZ #15036]
30634         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
30635         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
30636         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
30637         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
30639 2013-01-21  David S. Miller  <davem@davemloft.net>
30641         * sysdeps/sparc/backtrace.c: New file.
30642         * sysdeps/sparc/sparc32/backtrace.h: New file.
30643         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
30644         * sysdeps/sparc/sparc64/backtrace.h: New file.
30645         * sysdeps/sparc/sparc64/backtrace.c: Delete.
30646         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
30647         -funwind-tables.
30649 2013-01-21  Andreas Schwab  <schwab@suse.de>
30651         [BZ #15020]
30652         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
30653         closed its stdout.
30655 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
30657         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
30658         "mpa2.h".
30659         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30661 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
30662             Mark Mitchell  <mark@codesourcery.com>
30663             Tom de Vries  <tom@codesourcery.com>
30664             Paul Pluzhnikov  <ppluzhnikov@google.com>
30666         * debug/tst-backtrace2.c: New file.
30667         * debug/tst-backtrace3.c: Likewise.
30668         * debug/tst-backtrace4.c: Likewise.
30669         * debug/tst-backtrace5.c: Likewise.
30670         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
30671         (CFLAGS-tst-backtrace3.c): Likewise.
30672         (CFLAGS-tst-backtrace4.c): Likewise.
30673         (CFLAGS-tst-backtrace5.c): Likewise.
30674         (LDFLAGS-tst-backtrace2): Likewise.
30675         (LDFLAGS-tst-backtrace3): Likewise.
30676         (LDFLAGS-tst-backtrace4): Likewise.
30677         (LDFLAGS-tst-backtrace5): Likewise.
30678         (tests): Add new tests tst-backtrace2, tst-backtrace3,
30679         tst-backtrace4 and tst-backtrace5.
30681 2013-01-18  Anton Blanchard  <anton@samba.org>
30682             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30684         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
30685         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
30686         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
30687         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
30688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30689         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
30690         "+r" and remove output regs list as redundant.  Add explicit inline
30691         asm to specify register of return val to work around compiler codegen
30692         bug.  Remove (int) cast on return value.  Add return type parameter to
30693         use in macro so that this macro does not truncate return value for
30694         64-bit values.
30695         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
30696         pass to INTERNAL_VSYSCALL_NCS.
30697         (INLINE_VSYSCALL): Add 'long int' as return type to
30698         INTERNAL_VSYSCALL_NCS macro invocation.
30699         (INTERNAL_VSYSCALL): Add 'long int' as return type to
30700         INTERNAL_VSYSCALL_NCS macro invocation.
30701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30703 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30705         [BZ #14496]
30706         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
30707         Fix application of SIMD FP exception mask.
30709         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
30710         mp_no from a power of two.
30711         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
30712         __mpexp_twomm1.  Use __pow_mp.
30714         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
30715         multiplication.
30717 2013-01-17  David S. Miller  <davem@davemloft.net>
30719         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30721 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
30723         [BZ #15023]
30724         * include/complex.h: Condition contents on [!_COMPLEX_H].
30725         (__kernel_casinhf): New prototype.
30726         (__kernel_casinh): Likewise.
30727         (__kernel_casinhl): Likewise.
30728         * math/Makefile (libm_calls): Add k_casinh.
30729         * math/k_casinh.c: New file.
30730         * math/k_casinhf.c: Likewise.
30731         * math/k_casinhl.c: Likewise.
30732         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
30733         finite nonzero arguments.
30734         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
30735         finite nonzero arguments.
30736         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
30737         finite nonzero arguments.
30738         * math/s_casinh.c: Do not include <float.h>.
30739         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
30740         * math/s_casinhf.c: Do not include <float.h>.
30741         (__casinhf): Move code for finite nonzero arguments to
30742         k_casinhf.c.
30743         * math/s_casinhl.c: Do not include <float.h>.
30744         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
30745         redefine.
30746         (__casinhl): Move code for finite nonzero arguments to
30747         k_casinhl.c.
30748         * math/libm-test.inc (cacos_test): Add more tests.
30749         * sysdeps/i386/fpu/libm-test-ulps: Update.
30750         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30752 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
30754         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
30755         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
30756         [!HAVE_MREMAP]: Remove [defined linux] case.
30757         * malloc/arena.c: Do not include <malloc-sysdep.h>.
30759 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
30761         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
30763 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
30765         * elf/elf.h (R_386_SIZE32): New relocation.
30766         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
30767         R_386_SIZE32.
30768         (elf_machine_rela): Likewise.
30769         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
30770         R_X86_64_SIZE64 and R_X86_64_SIZE32.
30772 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
30774         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
30775         (FP_FAST_FMA): Do not define.
30776         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
30777         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
30778         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
30779         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
30780         !_SOFT_FLOAT]: Likewise.
30781         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
30782         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
30783         value.
30784         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
30785         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
30786         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
30787         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
30788         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
30789         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
30790         file.
30792 2013-01-16  Andreas Schwab  <schwab@suse.de>
30794         [BZ #14327]
30795         * include/stdlib.h (__mktemp): Add declaration.
30796         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
30797         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
30799 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30801         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
30802         definitions.
30803         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
30804         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
30805         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
30806         definitions here.
30807         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
30808         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
30809         definitions.
30810         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
30811         and ONE.
30812         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
30813         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
30814         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
30815         definitions.
30816         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
30817         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
30818         definitions.
30819         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
30821         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
30823 2013-01-15  David S. Miller  <davem@davemloft.net>
30825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30826         trunc{,f} to libm-sysdep_routes.
30827         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
30829         file.
30830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
30831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
30832         file.
30833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
30834         file.
30835         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
30836         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
30837         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
30838         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
30839         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
30840         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
30841         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
30842         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
30844         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30845         nearbyint{,f} to libm-sysdep_routes.
30846         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30847         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
30848         New file.
30849         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
30850         file.
30851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
30852         New file.
30853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
30854         file.
30855         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
30856         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
30857         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
30858         file.
30859         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
30860         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
30861         file.
30862         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
30863         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
30864         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
30866         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
30867         libc_feholdexcept and libc_fesetenv.
30869 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
30871         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
30873 2013-01-14  David S. Miller  <davem@davemloft.net>
30875         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
30876         (SPARC_ASM_VIS2_IFUNC): Likewise.
30877         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
30878         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
30879         use of 'siam' instruction.
30880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
30881         Likewise.
30882         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
30883         Likewise.
30884         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
30885         Likewise.
30886         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
30887         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
30888         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
30889         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
30890         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
30891         file.
30892         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
30893         file.
30894         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
30895         file.
30896         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
30897         file.
30898         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
30899         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
30900         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
30901         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
30902         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
30903         new VIS2 routines.
30904         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
30905         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
30907         Likewise.
30908         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
30909         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
30910         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
30911         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
30912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
30913         routines to libm-sysdep_routines.
30914         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30917         fdim/fdimf to libm-sysdep_routines.
30918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
30919         file.
30920         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
30921         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
30922         file.
30923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
30924         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
30925         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
30926         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
30927         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
30928         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
30929         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
30931 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
30933         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
30934         to optimize copies.
30936         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
30937         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30938         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30940         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
30941         local variable MPTWO.
30942         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
30943         Likewise.
30945 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
30947         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
30948         GLOB_NOESCAPE.
30950 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
30952         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
30954 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
30956         * manual/pattern.texi (glob_t): Document gl_flags.
30957         (glob64_t): Likewise.
30959 2013-01-11  David S. Miller  <davem@davemloft.net>
30961         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
30962         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
30963         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
30964         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
30965         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
30966         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
30967         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
30968         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
30969         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
30970         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
30971         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
30972         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
30973         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
30975         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
30976         sparc V9 rather than using V8 code.
30977         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30978         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30980         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
30981         Move to...
30982         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
30983         Here.
30985 2013-01-11  Roland McGrath  <roland@hack.frob.com>
30987         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
30988         not in the main loop.
30989         * configure: Regenerated.
30991 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
30993         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
30994         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
30995         to just #else.
30996         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
30997         [!__GLIBC_HAVE_LONG_LONG] case.
30998         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
30999         condition to just #else.
31000         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
31001         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
31002         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
31003         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
31004         unconditional.
31005         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
31006         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
31007         #elif condition to just #else.
31008         * sysdeps/unix/sysv/linux/sys/sysmacros.h
31009         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
31010         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
31011         #elif condition to just #else.
31013 2013-01-11  Steve Ellcey  <sellcey@mips.com>
31015         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
31016         (EF_MIPS_ARCH_64): Fix value.
31017         (EF_MIPS_ARCH_32R2): New.
31018         (EF_MIPS_ARCH_64R2): New.
31020 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
31022         * Makeconfig (+link-pie-before-libc): New.
31023         (+link-pie-after-libc): Likewise.
31024         (+link-pie-tests): Likewise.
31025         (+link-pie): Rewritten.
31026         (link-before-libc): Remove $(config-LDFLAGS).
31027         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
31028         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
31029         (config-LDFLAGS): Renamed to ...
31030         (rtld-LDFLAGS): This.
31031         (rtld-tests-LDFLAGS): New macro.
31032         (link-libc-rpath-link): Likewise.
31033         (link-libc-tests-rpath-link): Likewise.
31034         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
31035         (link-libc): Prepand $(link-libc-rpath-link).
31036         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
31037         (test-program-prefix): New macro.
31038         (test-via-rtld-prefix): Likewise.
31039         (test-program-cmd): Likewise.
31040         (host-test-program-cmd): Likewise.
31041         * Makefile ($(common-objpfx)testrun.sh): Replace
31042         $(run-program-prefix) with $(test-program-prefix).
31043         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
31044         $(rtld-LDFLAGS).
31045         ($(common-objpfx)shlib.lds): Likewise.
31046         (build-module-helper): Likewise.
31047         ($(common-objpfx)format.lds): Likewise.
31048         * Rules (binaries-pie-tests): New.
31049         (binaries-pie-notests): Likewise.
31050         (binaries-pie): Rewritten.
31051         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
31052         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
31053         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
31054         (make-test-out): Replace $(host-built-program-cmd) with
31055         $(host-test-program-cmd).
31056         * config.make.in (build-hardcoded-path-in-tests): New variable.
31057         * configure.in (--enable-hardcoded-path-in-tests): New configure
31058         option.
31059         (hardcoded_path_in_tests): New AC_SUBST.
31060         * configure: Regenerated.
31061         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
31062         $(built-program-cmd) with $(test-program-cmd).
31063         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
31064         (test_program_cmd): This.
31065         * elf/Makefile ($(objpfx)order.out): Run test with
31066         $(test-program-prefix).
31067         ($(objpfx)order2.out): Likewise.
31068         ($(objpfx)tst-initorder.out): Likewise.
31069         ($(objpfx)tst-initorder2.out): Likewise.
31070         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
31071         $(test-program-cmd).
31072         ($(objpfx)tst-array1-static.out): Likewise.
31073         ($(objpfx)tst-array2.out): Likewise.
31074         ($(objpfx)tst-array3.out): Likewise.
31075         ($(objpfx)tst-array4.out): Likewise.
31076         ($(objpfx)tst-array5.out): Likewise.
31077         ($(objpfx)tst-array5-static.out): Likewise.
31078         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
31079         $(test-program-cmd).
31080         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
31081         $(run-program-prefix) with $(test-program-prefix).
31082         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
31083         (test_program_prefix): This.
31084         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
31085         $(run-program-prefix) with $(test-program-prefix).
31086         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
31087         (test_program_prefix): This.
31088         * iconvdata/tst-tables.sh: Likewise.
31089         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
31090         $(run-program-prefix) with $(test-program-prefix).
31091         ($(objpfx)tst-translit.out): Likewise.
31092         ($(objpfx)tst-gettext2.out): Likewise.
31093         ($(objpfx)tst-gettext4.out): Likewise.
31094         ($(objpfx)tst-gettext6.out): Likewise.
31095         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
31096         (test_program_prefix): This.
31097         * intl/tst-gettext2.sh: Likewise.
31098         * intl/tst-gettext4.sh  Likewise.
31099         * intl/tst-gettext6.sh: Likewise.
31100         * intl/tst-translit.sh: Likewise.
31101         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
31102         with $(test-program-cmd).
31103         * libio/Makefile ($(objpfx)test-freopen.out): Replace
31104         $(run-program-prefix) with $(test-program-prefix).
31105         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
31106         (test_program_prefix): This.
31107         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
31108         $(run-program-prefix) with $(test-program-prefix).
31109         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
31110         (test_program_prefix): This.
31111         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
31112         * posix/Makefile ($(objpfx)globtest.out): Replace
31113         $(run-via-rtld-prefix) and $(test-wrapper) with
31114         $(test-program-prefix) and $(test-via-rtld-prefix).
31115         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
31116         $(test-program-prefix).
31117         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
31118         $(host-test-program-cmd).
31119         (tst-spawn-ARGS): Likewise.
31120         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
31121         $(test-program-prefix).
31122         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
31123         (test_via_rtld_prefix): This.
31124         (test_wrapper): Renamed to ...
31125         (test_program_prefix): This.
31126         (run_program_prefix): Replaced by test_program_prefix.
31127         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
31128         (test_program_prefix): This.
31129         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
31130         with $(host-test-program-cmd).
31131         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
31132         $(run-program-prefix) with $(test-program-prefix).
31133         ($(objpfx)tst-printf.out): Likewise.
31134         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
31135         $(test-program-cmd).
31136         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
31137         (test_program_prefix): This.
31138         * stdio-common/tst-unbputc.sh: Likewise.
31139         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
31140         $(run-program-prefix) with $(test-program-prefix).
31141         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
31142         (test_program_prefix): This.
31143         * string/Makefile ($(objpfx)tst-svc.out):  Replace
31144         $(built-program-cmd) with $(test-program-cmd).
31146 2013-01-11  Andreas Jaeger  <aj@suse.de>
31148         [BZ #15003]
31149         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
31150         value. Sync with Linux 3.7.
31152 2013-01-10  David S. Miller  <davem@davemloft.net>
31154         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
31155         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31156         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31158 2013-01-10  Roland McGrath  <roland@hack.frob.com>
31160         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
31161         never set.
31162         * configure: Regenerated.
31164 2013-01-10  David S. Miller  <davem@davemloft.net>
31166         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
31167         sparc V9 rather than using V8 code.
31168         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31169         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31171 2013-01-10  Roland McGrath  <roland@hack.frob.com>
31173         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
31174         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
31175         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
31176         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
31177         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
31178         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
31179         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
31180         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
31181         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
31182         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
31183         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
31184         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
31185         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
31186         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
31187         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
31188         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
31189         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
31190         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
31191         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
31192         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
31193         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
31194         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
31195         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
31196         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
31197         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
31198         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
31199         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
31201 2013-01-10  David S. Miller  <davem@davemloft.net>
31203         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31205 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
31207         * posix/Makefile (tests-static): New variable.
31208         (tests): Add $(tests-static).
31209         (tst-exec-static-ARGS): New variable.
31210         (tst-spawn-static-ARGS): Likewise.
31211         * posix/tst-exec-static.c: New file.
31212         * posix/tst-spawn-static.c: Likewise.
31213         * posix/tst-exec.c: Support run directly.
31214         * posix/tst-spawn.c: Likewise.
31216 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
31218         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
31219         long.
31220         * math/bits/mathcalls.h (llrint): Likewise.
31221         (llround): Likewise.
31222         * stdlib/stdlib.h (struct drand48_data): Likewise.
31223         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
31224         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
31225         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
31226         Likewise.
31227         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
31228         Likewise.
31229         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
31230         (elf_greg_t): Likewise.
31231         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
31232         (__jmp_buf): Likewise.
31233         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
31234         definitions.
31235         (llrint): Likewise, for all definitions.
31236         (llrintl): Likewise.
31238         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
31239         Remove [__GNUC__] condition.
31240         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
31241         condition to just [__USE_ISOC99].
31242         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
31244 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
31246         [BZ #14200]
31247         * sysdeps/unix/sysv/linux/x86/bits/environments.h
31248         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
31249         defined.
31250         (_POSIX_V6_ILP32_OFF32): Likewise.
31251         (_XBS5_ILP32_OFF32): Likewise.
31252         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
31253         (__ILP32_OFFBIG_LDFLAGS): Likewise.
31255 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31257         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
31259         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
31260         doubles __mpexp_twomm1.  Adjust usage.
31261         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
31262         Remove.
31264 2013-01-10  Andreas Schwab  <schwab@suse.de>
31266         [BZ #14964]
31267         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
31268         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
31270 2013-01-09  David S. Miller  <davem@davemloft.net>
31272         [BZ #15003]
31273         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
31274         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
31275         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
31276         (TCP_FASTOPEN): Define.
31277         (tcp_repair_opt): New structure.
31278         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
31279         enum values.
31280         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
31281         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
31282         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
31283         (tcp_cookie_transactions): New structure.
31285 2013-01-09  Anton Blanchard  <anton@samba.org>
31287         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
31288         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
31289         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
31290         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
31292 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
31294         * include/features.h (__USE_ANSI): Remove.
31296 2013-01-09  Roland McGrath  <roland@hack.frob.com>
31298         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
31300         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
31302 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
31304         * sysdeps/s390/fpu/libm-test-ulps: Update.
31306         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31308         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
31309         (__acr): Likewise.
31310         (__cpy): Likewise.
31311         (norm): Likewise.
31312         (denorm): Likewise.
31313         (__mp_dbl): Likewise.
31314         (__dbl_mp): Likewise.
31315         (add_magnitudes): Likewise.
31316         (sub_magnitudes): Likewise.
31317         (__add): Likewise.
31318         (__sub): Likewise.
31319         (__mul): Likewise.
31320         (__inv): Likewise.
31321         (__dvd): Likewise.
31322         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
31323         (__acr): Likewise.
31324         (__cpy): Likewise.
31325         (norm): Likewise.
31326         (denorm): Likewise.
31327         (__mp_dbl): Likewise.
31328         (__dbl_mp): Likewise.
31329         (add_magnitudes): Likewise.
31330         (sub_magnitudes): Likewise.
31331         (__add): Likewise.
31332         (__sub): Likewise.
31333         (__mul): Likewise.
31334         (__inv): Likewise.
31335         (__dvd): Likewise.
31336         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
31337         (__acr): Likewise.
31338         (__cpy): Likewise.
31339         (norm): Likewise.
31340         (denorm): Likewise.
31341         (__mp_dbl): Likewise.
31342         (__dbl_mp): Likewise.
31343         (add_magnitudes): Likewise.
31344         (sub_magnitudes): Likewise.
31345         (__add): Likewise.
31346         (__sub): Likewise.
31347         (__mul): Likewise.
31348         (__inv): Likewise.
31349         (__dvd): Likewise.
31351 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
31353         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
31354         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
31355         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
31356         2 && __USE_EXTERN_INLINES]: Likewise.
31358 2013-01-08  Andreas Jaeger  <aj@suse.de>
31360         [BZ# 14985]
31361         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
31362         Remove.
31363         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
31364         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
31366 2013-01-07  Anton Blanchard  <anton@samba.org>
31368         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
31369         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
31370         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
31371         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
31372         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
31373         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31374         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
31375         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
31376         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31377         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31378         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31379         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31380         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
31381         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31382         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
31383         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31384         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31385         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31386         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
31387         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
31388         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
31389         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
31390         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31391         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
31392         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
31393         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
31394         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31395         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
31396         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
31397         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
31398         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
31399         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31400         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31401         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31402         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31403         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31404         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31405         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31406         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
31407         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
31408         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
31409         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31410         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31412 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
31414         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
31415         (__MALLOC_PMT): Likewise.
31416         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
31417         [__GNUC__], only on [_LIBC].
31418         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
31419         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
31420         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
31421         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
31422         forward declaration.
31423         (realloc_hook_ini): Likewise.
31424         (memalign_hook_ini): Likewise.
31425         (__libc_memalign): Do not use __MALLOC_PMT in variable
31426         declaration.
31427         (__libc_valloc): Likewise.
31428         (__libc_pvalloc): Likewise.
31429         (__libc_calloc): Likewise.
31430         (__posix_memalign): Likewise.
31432         [BZ #14996]
31433         * math/s_casinh.c: Include <float.h>.
31434         (__casinh): Do not do computation with squaring and square root
31435         for large arguments.
31436         * math/s_casinhf.c: Include <float.h>.
31437         (__casinhf): Do not do computation with squaring and square root
31438         for large arguments.
31439         * math/s_casinhl.c: Include <float.h>.
31440         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
31441         (__casinhl): Do not do computation with squaring and square root
31442         for large arguments.
31443         * math/libm-test.inc (casin_test): Add more tests.
31444         (casinh_test): Likewise.
31445         * sysdeps/i386/fpu/libm-test-ulps: Update.
31446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31448 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
31450         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
31451         (__x86_64_raw_data_cache_size): Likewise.
31452         (__x86_64_data_cache_size_half): Likewise.
31453         (__x86_64_raw_data_cache_size_half): Likewise.
31454         (__x86_64_shared_cache_size): Likewise.
31455         (__x86_64_raw_shared_cache_size): Likewise.
31456         (__x86_64_shared_cache_size_half): Likewise.
31457         (__x86_64_raw_shared_cache_size_half): Likewise.
31458         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
31459         to ...
31460         (__x86_data_cache_size): This.
31461         (__x86_64_raw_data_cache_size): Renamed to ...
31462         (__x86_raw_data_cache_size): This.
31463         (__x86_64_data_cache_size_half): Renamed to ...
31464         (__x86_data_cache_size_half): This.
31465         (__x86_64_raw_data_cache_size_half): Renamed to ...
31466         (__x86_raw_data_cache_size_half): This.
31467         (__x86_64_shared_cache_size): Renamed to ...
31468         (__x86_shared_cache_size): This.
31469         (__x86_64_raw_shared_cache_size): Renamed to ...
31470         (__x86_raw_shared_cache_size): This.
31471         (__x86_64_shared_cache_size_half): Renamed to ...
31472         (__x86_shared_cache_size_half): This.
31473         (__x86_64_raw_shared_cache_size_half): Renamed to ...
31474         (__x86_raw_shared_cache_size_half): This.
31475         * sysdeps/x86_64/memcpy.S: Updated.
31476         * sysdeps/x86_64/memset.S: Likewise.
31477         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
31478         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31479         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31481 2013-01-04  David S. Miller  <davem@davemloft.net>
31483         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31485 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
31487         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
31488         1 to avoid redefinition warning.
31489         (__USE_GNU): Don't define.
31490         (init_signaling_nan): Protoize.
31492         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31494 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31496         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
31497         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
31498         (__cpymn): Likewise.
31499         (norm): Remove commented code.
31500         (denorm): Likewise.
31501         (__mp_dbl): Likewise.
31502         (__inv): Likewise.
31503         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
31504         (__cpymn): Likewise.
31505         (norm): Remove commented code.
31506         (denorm): Likewise.
31507         (__mp_dbl): Likewise.
31508         (__inv): Likewise.
31510         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
31511         mp_no value for 1.0 and 2.0.
31512         (norm): Use RADIXI instead of radixi.d.
31513         (denorm): Likewise.
31514         (__mul): Use 0.0 instead of zero.d.
31515         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
31516         mp_no value for 1.0 and 2.0.
31517         (norm): Use RADIXI instead of radixi.d.
31518         (denorm): Likewise.
31519         (__mul): Use 0.0 instead of zero.d.
31521 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
31523         [BZ #14994]
31524         * math/s_casinh.c (__casinh): Reduce finite argument to first
31525         quadrant then set signs of results at the end.
31526         * math/s_casinhf.c (__casinhf): Likewise.
31527         * math/s_casinhl.c (__casinhl): Likewise.
31528         * math/libm-test.inc (casin_test): Add more tests.
31529         (casinh_test): Likewise.
31530         * sysdeps/i386/fpu/libm-test-ulps: Update.
31531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31533 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31535         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
31537         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
31539         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
31540         declarations.
31541         (denorm): Likewise.
31542         (__mp_dbl): Likewise.
31543         (__inv): Likewise.
31545         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
31546         and adjust the header comment.
31548         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
31549         variable name from declaration.
31551 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
31553         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31554         Initialize COMMON_CPUID_INDEX_7 element.
31555         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
31556         (CPUID_RTM): Likewise.
31557         (HAS_RTM): Likewise.
31558         (COMMON_CPUID_INDEX_7): New enum.
31560 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
31562         [BZ #14981]
31563         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
31564         size is zero, record memory as freed.
31566 2013-01-03  Andreas Jaeger  <aj@suse.de>
31568         * po/ia.po: Add new Interlingua translation.
31570 2012-01-03  Allan McRae  <allan@archlinux.org>
31572         * locale/programs/localedef.c: Fix description of '--posix' flag.
31574 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
31576         * NEWS: Update dates in second copyright notice.
31577         * README: Update copyright dates in example.
31578         * manual/libc.texinfo: Update copyright dates.
31579         * scripts/test-installation.pl: Update copyright date in --version
31580         output.
31582         * hurd/ctty-input.c: Fix copyright notice formatting.
31583         * hurd/ctty-output.c: Likewise.
31584         * hurd/dtable.c: Likewise.
31585         * hurd/hurd-raise.c: Likewise.
31586         * hurd/hurdprio.c: Likewise.
31587         * hurd/msgportdemux.c: Likewise.
31588         * misc/sys/file.h: Likewise.
31589         * misc/sys/ioctl.h: Likewise.
31590         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
31591         * sysdeps/mach/hurd/chdir.c: Likewise.
31592         * sysdeps/mach/hurd/fchdir.c: Likewise.
31593         * sysdeps/mach/hurd/rename.c: Likewise.
31594         * sysdeps/mach/hurd/rmdir.c: Likewise.
31595         * sysdeps/mach/hurd/seekdir.c: Likewise.
31596         * sysdeps/mach/hurd/setsid.c: Likewise.
31597         * sysdeps/posix/wait3.c: Likewise.
31599         * All files with FSF copyright notices: Update copyright dates
31600         using scripts/update-copyrights.
31601         * intl/plural.c: Regenerated.
31602         * locale/programs/charmap-kw.h: Likewise.
31603         * locale/programs/locfile-kw.h: Likewise.
31605 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31607         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
31608         four values.
31610         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
31611         calculation loop and add branch prediction.
31613         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
31614         check access beyond bounds of m1np.
31616         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
31617         MPTWO.
31618         (__inv): Remove local variable MPTWO to use the global
31619         constant.
31620         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
31621         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
31622         variable MPTWO.
31623         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
31624         MP3HALFS static const.
31626 2013-01-01  David S. Miller  <davem@davemloft.net>
31628         * po/ca.po: Update from translation team.
31630 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
31632         * scripts/update-copyrights: New file.
31633         * Makeconfig: Reformat copyright notice.
31634         * ctype/ctype.h: Likewise.
31635         * debug/swprintf_chk.c: Likewise.
31636         * elf/dl-cache.c: Likewise.
31637         * elf/dl-debug.c: Likewise.
31638         * elf/dl-object.c: Likewise.
31639         * grp/initgroups.c: Likewise.
31640         * hurd/Makefile: Likewise.
31641         * hurd/hurd/signal.h: Likewise.
31642         * hurd/hurdfault.c: Likewise.
31643         * hurd/hurdioctl.c: Likewise.
31644         * hurd/hurdlookup.c: Likewise.
31645         * hurd/intr-msg.c: Likewise.
31646         * iconv/gconv_open.c: Likewise.
31647         * libio/swprintf.c: Likewise.
31648         * locale/lc-ctype.c: Likewise.
31649         * locale/nl_langinfo.c: Likewise.
31650         * mach/Machrules: Likewise.
31651         * mach/Makefile: Likewise.
31652         * malloc/obstack.h: Likewise.
31653         * manual/Makefile: Likewise.
31654         * manual/tsort.awk: Likewise.
31655         * misc/bits/stab.def: Likewise.
31656         * nis/nis_print_group_entry.c: Likewise.
31657         * nis/nis_table.c: Likewise.
31658         * nis/nss_compat/compat-pwd.c: Likewise.
31659         * nis/nss_compat/compat-spwd.c: Likewise.
31660         * po/Makefile: Likewise.
31661         * posix/fnmatch.c: Likewise.
31662         * posix/regex.h: Likewise.
31663         * resolv/Makefile: Likewise.
31664         * resolv/nss_dns/dns-network.c: Likewise.
31665         * resolv/res_hconf.c: Likewise.
31666         * scripts/gen-sorted.awk: Likewise.
31667         * soft-fp/soft-fp.h: Likewise.
31668         * stdio-common/printf.h: Likewise.
31669         * stdlib/monetary.h: Likewise.
31670         * stdlib/random.c: Likewise.
31671         * stdlib/random_r.c: Likewise.
31672         * sysdeps/generic/Makefile: Likewise.
31673         * sysdeps/gnu/Makefile: Likewise.
31674         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
31675         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31676         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31677         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31678         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31679         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31680         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31681         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31682         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31683         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31684         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31685         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31686         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
31687         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
31688         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
31689         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
31690         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31691         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31692         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31693         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31694         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
31695         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
31696         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
31697         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
31698         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
31699         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
31700         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
31701         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
31702         * sysdeps/mach/hurd/errnos.awk: Likewise.
31703         * sysdeps/mach/hurd/fork.c: Likewise.
31704         * sysdeps/mach/hurd/getcwd.c: Likewise.
31705         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
31706         * sysdeps/mach/hurd/mmap.c: Likewise.
31707         * sysdeps/mach/hurd/utimes.c: Likewise.
31708         * sysdeps/mach/hurd/xmknod.c: Likewise.
31709         * sysdeps/posix/profil.c: Likewise.
31710         * sysdeps/posix/readdir_r.c: Likewise.
31711         * sysdeps/powerpc/bits/mathdef.h: Likewise.
31712         * sysdeps/powerpc/bits/setjmp.h: Likewise.
31713         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
31714         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
31715         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31716         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
31717         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31718         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31719         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31720         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
31721         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31722         * sysdeps/pthread/lio_listio.c: Likewise.
31723         * sysdeps/sparc/dl-procinfo.h: Likewise.
31724         * sysdeps/unix/i386/sysdep.S: Likewise.
31725         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
31726         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
31727         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
31728         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
31729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31730         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
31731         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
31732         * sysdeps/unix/sysv/linux/speed.c: Likewise.
31733         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
31734         * sysdeps/wordsize-32/divdi3.c: Likewise.
31735         * time/sys/time.h: Likewise.
31736         * wcsmbs/Makefile: Likewise.
31738 2013-01-01  David S. Miller  <davem@davemloft.net>
31740         * po/fr.po: Update from translation team.
31742         * catgets/gencat.c: Update copyright year.
31743         * csu/version.c: Likewise.
31744         * debug/catchsegv.sh: Likewise.
31745         * debug/pcprofiledump.c: Likewise.
31746         * debug/xtrace.sh: Likewise.
31747         * elf/ldconfig.c: Likewise.
31748         * elf/ldd.bash.in: Likewise.
31749         * elf/pldd.c: Likewise.
31750         * elf/sotruss.ksh: Likewise.
31751         * elf/sprof.c: Likewise.
31752         * iconv/iconv_prog.c: Likewise.
31753         * iconv/iconvconfig.c: Likewise.
31754         * locale/programs/locale.c: Likewise.
31755         * locale/programs/localedef.c: Likewise.
31756         * login/programs/pt_chown.c: Likewise.
31757         * malloc/memusage.sh: Likewise.
31758         * malloc/memusagestat.c: Likewise.
31759         * malloc/mtrace.pl: Likewise.
31760         * nscd/nscd.c: Likewise.
31761         * nss/getent.c: Likewise.
31762         * nss/makedb.c: Likewise.
31763         * posix/getconf.c: Likewise.
31765 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
31767         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
31768         numbers.
31770 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
31772         * math/bits/mathcalls.h (modf): Use __nonnull.
31774 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31776         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
31777         (split): Use macro CN instead of the bare value.
31778         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
31779         could be used.
31780         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
31781         instead of the bare value.
31782         (power1): Likewise.
31784 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31786         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
31787         __ATAN_TWOM.
31788         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31790         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
31791         their values.
31792         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
31793         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
31794         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
31795         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
31797 2012-12-28  Andreas Jaeger  <aj@suse.de>
31799         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
31800         values are from Linux 3.7.
31802         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
31803         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
31805 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31807         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
31808         TRUE case.
31810         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
31811         (norm): Likewise.
31812         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
31813         variables with preprocessor constants.
31814         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31815         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
31816         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
31818 2012-12-27  Bruno Haible  <bruno@clisp.org>
31820         [BZ #14317]
31821         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
31822         only if needed.
31824 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31826         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
31827         and use variable directly.
31828         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
31830         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
31831         MPONE.
31832         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
31833         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
31834         variable MPONE.
31835         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
31836         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
31837         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
31838         include directive.  Remove local variable MPONE.
31839         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
31840         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
31841         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31843 2012-12-25  David S. Miller  <davem@davemloft.net>
31845         * version.h (RELEASE): Set to "development".
31846         (VERSION): Set to "2.17.90".
31847         * NEWS: Add 2.18 section.
31849 2012-12-21  David S. Miller  <davem@davemloft.net>
31851         * po/hr.po: Update from translation team.
31853 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31855         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
31857 2012-12-19  Steve Ellcey  <sellcey@mips.com>
31859         * NEWS:  Mention new memcpy for MIPS.
31861 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31863         * manual/contrib.texi (Contributors): Spelling correction.
31865 2012-12-15  David S. Miller  <davem@davemloft.net>
31867         * po/ru.po: Update from translation team.
31869 2012-12-13  David S. Miller  <davem@davemloft.net>
31871         * NEWS: Mention IFUNC testsuite enhancements.
31873         * po/pl.po: Update from translation team.
31874         * po/bg.po: Likewise.
31876         * manual/contrib.texi (Contributors): Update entries for Hongjiu
31877         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
31879 2012-12-11  David S. Miller  <davem@davemloft.net>
31881         * po/sv.po: Update from translation team.
31883         * po/vi.po: Update from translation team.
31885         * po/cs.po: Update from translation team.
31887         * po/de.po: Update from translation team.
31888         * po/eo.po: Likewise.
31889         * po/nl.po: Likewise.
31891 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31893         [BZ #14246]
31894         * manual/argp.texi (Argp Helper Functions): Move node to follow
31895         Argp Parsing State.
31897         [BZ #14872]
31898         * manual/conf.texi (Limits on File System Capacity): Mention if
31899         terminating null is included in the max size.
31901 2012-12-10  Andreas Jaeger  <aj@suse.de>
31903         * po/cs.po: Update from translation team.
31905 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
31907         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
31908         void pointer and cast to uintptr_t.
31909         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
31910         path.
31911         * sysdeps/s390/s390-64/memcpy.S: Likewise.
31912         * sysdeps/s390/s390-64/memset.S: Likewise.
31914 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
31916         [BZ #14833]
31917         * menual/message.texi (Message Translation): Fix typos.
31918         (Helper programs for gettext): Likewise.
31920 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
31922         [BZ #14898]
31923         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
31924         Change to -1.
31926 2012-12-07  David S. Miller  <davem@davemloft.net>
31928         * po/libc.pot: Update.
31930 2012-12-07  Richard Henderson  <rth@redhat.com>
31932         [BZ #10114]
31933         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
31934         normal/normal case to before the switch.
31935         (_FP_DIV): Likewise.
31937 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
31938             Mike Frysinger  <vapier@gentoo.org>
31940         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
31941         check for __NR_fadvise64_64.
31943 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
31945         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
31946         0, not just to plain "0" as a statement.
31947         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
31948         with cw.
31950 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
31952         * NEWS: Use sourceware.org in Bugzilla URL.
31954 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
31956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
31957         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
31959         * stdio-common/tst-put-error.c (do_test): Add newline to the
31960         padded test to ensure flush.
31962 2012-12-05  Jeff Law  <law@redhat.com>
31964         * sunrpc/etc.rpc (fedfs_admin): Add entry.
31966 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
31968         * README: Don't refer to ports add-on as distributed separately.
31969         Mention AArch64 in list of systems supported in the ports add-on.
31971         * LICENSES: Add more non-FSF copyright and license notices.
31973         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
31974         ((unused)).
31976         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
31978         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
31979         10000 as width of padded output.
31981 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
31983         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
31985         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
31986         variable LX with __attribute__ ((unused)).
31987         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
31988         Likewise.
31989         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
31990         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31991         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
31992         with __attribute__ ((unused)).
31994 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
31996         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
31998 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
32000         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
32001         (CFLAGS-nldbl-acos.c): New variable.
32002         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
32003         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
32004         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
32005         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
32006         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
32007         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
32008         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
32009         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
32010         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
32011         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
32012         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
32013         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
32014         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
32015         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
32016         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
32017         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
32018         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
32019         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
32020         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
32021         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
32022         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
32023         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
32024         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
32025         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
32026         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
32027         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
32028         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
32029         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
32030         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
32031         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
32032         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
32033         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
32034         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
32035         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
32036         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
32037         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
32038         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
32039         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
32040         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
32041         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
32042         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
32043         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
32044         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
32045         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
32046         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
32047         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
32048         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
32049         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
32050         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
32051         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
32052         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
32053         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
32054         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
32055         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
32056         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
32057         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
32058         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
32059         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
32060         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
32061         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
32062         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
32063         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
32064         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
32065         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
32066         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
32067         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
32068         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
32069         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
32070         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
32071         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
32072         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
32073         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
32074         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
32075         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
32076         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
32077         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
32078         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
32079         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
32080         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
32081         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
32082         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
32083         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
32084         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
32085         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
32086         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
32087         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
32088         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
32089         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
32090         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
32091         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
32092         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
32093         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
32094         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
32095         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
32096         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
32097         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
32098         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
32100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32101         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
32103         [BZ #14914]
32104         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
32105         whole low double instead of just low 47 bits when splitting values
32106         into two parts.
32108 2012-12-03  Allan McRae  <allan@archlinux.org>
32110         * manual/stdio.texi (Predefined Printf Handlers): Remove
32111         @hsep and @vsep usage.
32113 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
32115         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
32116         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
32118 2012-12-03  Jeff Law  <law@redhat.com>
32120         * time/sys/time.h (settimeofday): Do not mark TV argument
32121         as __nonnull.
32123 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
32125         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
32126         when currently writing and seek to current position when not.
32127         * libio/Makefile (tests): Remove bug-fclose1.
32128         * libio/bug-fclose1.c: Delete.
32130 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
32132         * manual/arith.texi (feenableexcept): Fix typo.
32133         (fedisableexcept): Likewise.
32135 2012-11-30  Roland McGrath  <roland@hack.frob.com>
32137         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
32138         second, differently-typed declaration, rather than a cast.
32140 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32142         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
32143         * include/rpc/svc.h: ... here.
32145 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
32147         [BZ #13013]
32148         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
32149         depending n and resplen2 to catch cases where answer
32150         equals answerp2.
32152 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
32154         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
32155         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
32157 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
32159         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
32161 2012-11-29  Roland McGrath  <roland@hack.frob.com>
32163         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
32165 2012-11-28  Jeff Law  <law@redhat.com>
32167         [BZ #13761]
32168         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
32169         dataset_temporary.  Track alloca usage into alloca_used.
32170         If dataset is large allocate and release it via malloc/free.
32172 2012-06-04  Florian Weimer  <fweimer@redhat.com>
32174         [BZ #14197]
32175         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
32177 2012-11-28  David S. Miller  <davem@davemloft.net>
32179         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32181 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
32183         [BZ #14803]
32184         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
32185         of pi/2 rounded to nearest to 64 bits.
32186         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
32187         nearest to 64 bits.
32188         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
32189         bits.
32191 2012-11-28  Jeff Law <law@redhat.com>
32192             Martin Osvald <mosvald@redhat.com>
32194         [BZ #14889]
32195         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
32196         * sunrpc/svc.c: Include time.h.
32197         (__svc_accept_failed): New function.
32198         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
32199         any reason other than EINTR, call __svc_accept_failed.
32200         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
32201         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
32203 2012-11-28  Andreas Schwab  <schwab@suse.de>
32205         * scripts/abilist.awk: Also handle indirect functions in .opd
32206         section.
32208 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
32210         [BZ #13881]
32211         * sysdeps/x86/fpu/powl_helper.c: New file.
32212         * sysdeps/x86/fpu/Makefile: Likewise.
32213         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
32214         (p3): New object.
32215         (__ieee754_powl): Use __powl_helper for finite arguments except
32216         integer exponents below 8.
32217         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
32218         (p3): New object.
32219         (__ieee754_powl): Use __powl_helper for finite arguments except
32220         integer exponents below 8.
32221         * math/libm-test.inc (pow_test): Add more tests and enable some
32222         previously disabled tests.
32223         * sysdeps/i386/fpu/libm-test-ulps: Update.
32224         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32226 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32227             Carlos O'Donell  <carlos_odonell@mentor.com>
32229         * nss/makedb.c (is_prime): Assert that input is odd and greater
32230         than 4.  Note that fact in a comment too.
32231         (next_prime): Add 4 to input.
32233 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32235         [BZ #11741]
32236         * libio/Makefile (tests): Add test case tst-fwrite-error.
32237         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
32238         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
32239         * libio/tst-fwrite-error.c: New test case.
32241 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
32243         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
32244         before casting to void *.
32245         * include/libc-internal.h (__pointer_type): New macro.
32246         (__integer_if_pointer_type_sub): Likewise.
32247         (__integer_if_pointer_type): Likewise.
32248         (cast_to_integer): Likewise.
32249         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
32250         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
32251         before casting to atomic64_t.
32252         (atomic_exchange_acq): Likewise.
32253         (__arch_exchange_and_add_body): Likewise.
32254         (__arch_add_body): Likewise.
32255         (atomic_add_negative): Likewise.
32256         (atomic_add_zero): Likewise.
32258 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
32260         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
32261         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
32262         (add_fdes): Likewise.
32263         (linear_search_fdes): Likewise.
32264         (binary_search_unencoded_fdes): Likewise.
32266 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
32268         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
32270 2012-11-24  Adam Conrad  <adconrad@0c3.net>
32272         * configure.in: Autodetect C++ header directories.
32273         * configure: Regenerated.
32275 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
32277         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
32279 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
32281         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32283 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
32285         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
32286         LDBL_MANT_DIG == 106]: Disable some tests.
32287         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
32288         Likewise.
32289         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
32290         Likewise.
32292         [BZ #14871]
32293         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
32294         input for small inputs.  Return +/- pi/2 for large inputs.
32295         * math/libm-test.inc (atan_test): Add more tests.
32297         * sysdeps/generic/unwind-dw2-fde-glibc.c
32298         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
32299         __attribute__ ((unused)).
32301         [BZ #14645]
32302         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
32303         x * y if x and y are nonzero and z is zero.
32305         [BZ #14811]
32306         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
32307         nonzero exponents with absolute value below 0x1p-117 to +/-
32308         0x1p-117.
32310         [BZ #14869]
32311         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
32312         up arguments below 2**-450, not just those below 2**-500.
32313         * math/libm-test.inc (hypot_test): Add another test.
32315         [BZ #14868]
32316         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
32317         Return a+b for ratio over 2**120, not 2**60.
32318         * math/libm-test.inc (hypot_test): Add another test.
32320         * math/libm-test.inc (clog_test): Use
32321         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
32322         (clog10_test): Likewise.
32324         [BZ #6778]
32325         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
32327 2012-11-22  Andreas Schwab  <schwab@suse.de>
32329         * sysdeps/i386/fpu/libm-test-ulps: Update.
32331 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
32333         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
32334         printf output with newline.
32336 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
32338         [BZ #14865]
32339         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
32340         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
32341         -z nodlopen, -z initfirst and -z execstack support.
32342         * configure: Regenerated.
32344         * elf/elf.h (DF_1_NODIRECT): New macro.
32345         (DF_1_IGNMULDEF): Likewise.
32346         (DF_1_NOKSYMS): Likewise.
32347         (DF_1_NOHDR): Likewise.
32348         (DF_1_EDITED): Likewise.
32349         (DF_1_NORELOC): Likewise.
32350         (DF_1_SYMINTPOSE): Likewise.
32351         (DF_1_GLOBAUDIT): Likewise.
32352         (DF_1_SINGLETON): Likewise.
32353         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
32354         DT_1_SUPPORTED_MASK bits.
32355         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
32357 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
32359         * sysdeps/unix/make-syscalls.sh: Document prefixes.
32361 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
32363         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
32364         macro.
32366         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
32367         (sendmmsg): Move declarations...
32368         * socket/sys/socket.h: ... here.
32369         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
32370         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
32371         include it from...
32372         * socket/recvmmsg.c: ... this new file.
32373         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
32374         (sendmmsg): Rename to __sendmmsg, create weak alias and make
32375         definition of __sendmmsg hidden.
32376         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
32377         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
32378         Move ENOSYS stub into and include it from...
32379         * socket/sendmmsg.c: ... this new file.
32380         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
32381         (sysdep_routines): Move recvmmsg and sendmmsg...
32382         * socket/Makefile (routines): ... here.
32383         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
32384         (GLIBC_PRIVATE): Add __sendmmsg.
32385         * include/sys/socket.h (__sendmmsg): Add declarations.
32386         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
32387         sendmmsg.
32389 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
32391         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
32392         variable I1 with __attribute__ ((unused)).
32393         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
32395 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
32397         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
32398         DUMMY variables with __attribute__ ((unused)).
32400         * bits/byteswap.h: Include <bits/types.h>.
32401         (__bswap_64): Use __uint64_t instead of unsigned long long int.
32403 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
32405         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
32406         string_t.  Do not manually set errno.
32407         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
32408         length with __strnlen.  Make sure to both set errno and return it on
32409         failure.
32411 2012-11-19  David S. Miller  <davem@davemloft.net>
32413         With help from Joseph Myers.
32414         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
32415         very large arguments properly.
32416         * math/libm-test.inc (atan_test): New tests.
32417         (atan2_test): New tests.
32418         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32419         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32421 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
32423         [BZ #14856]
32424         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
32425         Define to 3.
32427         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
32428         [POSIX] (EADDRNOTAVAIL): Likewise.
32429         [POSIX] (EAFNOSUPPORT): Likewise.
32430         [POSIX] (EALREADY): Likewise.
32431         [POSIX] (ECONNABORTED): Likewise.
32432         [POSIX] (ECONNREFUSED): Likewise.
32433         [POSIX] (ECONNRESET): Likewise.
32434         [POSIX] (EDESTADDRREQ): Likewise.
32435         [POSIX] (EDQUOT): Likewise.
32436         [POSIX] (EHOSTUNREACH): Likewise.
32437         [POSIX] (EIDRM): Likewise.
32438         [POSIX] (EISCONN): Likewise.
32439         [POSIX] (ELOOP): Likewise.
32440         [POSIX] (EMULTIHOP): Likewise.
32441         [POSIX] (ENETDOWN): Likewise.
32442         [POSIX] (ENETUNREACH): Likewise.
32443         [POSIX] (ENOBUFS): Likewise.
32444         [POSIX] (ENODATA): Likewise.
32445         [POSIX] (ENOLINK): Likewise.
32446         [POSIX] (ENOMSG): Likewise.
32447         [POSIX] (ENOPROTOOPT): Likewise.
32448         [POSIX] (ENOSR): Likewise.
32449         [POSIX] (ENOSTR): Likewise.
32450         [POSIX] (ENOTCONN): Likewise.
32451         [POSIX] (ENOTSOCK): Likewise.
32452         [POSIX] (EOPNOTSUPP): Likewise.
32453         [POSIX] (EOVERFLOW): Likewise.
32454         [POSIX] (EPROTO): Likewise.
32455         [POSIX] (EPROTONOSUPPORT): Likewise.
32456         [POSIX] (EPROTOTYPE): Likewise.
32457         [POSIX] (ESTALE): Likewise.
32458         [POSIX] (ETIME): Likewise.
32459         [POSIX] (ETXTBSY): Likewise.
32460         [POSIX] (EWOULDBLOCK): Likewise.
32461         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
32462         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
32463         [POSIX] (SEEK_CUR): Likewise.
32464         [POSIX] (SEEK_END): Likewise.
32465         [POSIX || UNIX98] (mode_t): Do not require.
32466         [POSIX] (off_t): Likewise.
32467         [POSIX] (pid_t): Likewise.
32468         [POSIX] (sys/stat.h): Do not allow header.
32469         [POSIX] (unistd.h): Likewise.
32470         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
32471         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
32472         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
32473         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
32474         require.
32475         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
32476         sigevent): Specify elements.
32477         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
32478         entry.
32479         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
32480         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
32482         * conform/data/cpio.h-data [POSIX]: Disable whole file.
32483         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
32484         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
32485         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
32486         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
32487         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
32488         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
32489         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
32490         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
32491         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
32492         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
32493         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
32494         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
32495         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
32496         Likewise.
32497         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
32498         Likewise.
32499         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
32500         Likewise.
32501         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
32502         Likewise.
32503         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
32504         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
32505         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
32506         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
32507         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
32508         Specify lower bound on value.
32509         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
32510         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
32511         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
32512         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
32513         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
32514         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
32515         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
32516         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
32517         value.
32518         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
32519         as optional.
32520         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
32521         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
32522         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
32523         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
32524         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
32525         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
32526         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
32527         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
32528         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
32529         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
32530         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
32531         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
32532         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
32533         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
32534         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
32535         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
32536         entry.
32537         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
32538         optional.
32539         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
32540         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
32541         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
32542         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
32543         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
32544         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
32545         Likewise.
32546         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
32547         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
32548         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
32549         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
32550         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
32551         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
32552         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
32553         as optional.
32554         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
32555         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
32556         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
32557         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
32558         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
32559         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
32560         specify as optional.
32561         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
32562         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
32563         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
32564         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
32565         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
32566         [XPG3] (NL_LANGMAX): Likewise.
32567         [POSIX || XPG3] (NL_MSGMAX): Likewise.
32568         [POSIX || XPG3] (NL_NMAX): Likewise.
32569         [POSIX || XPG3] (NL_SETMAX): Likewise.
32570         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
32571         [XPG3] (NZERO): Likewise.
32572         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
32573         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
32574         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
32575         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
32576         (REG_ERANGE): Expect.
32577         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
32578         optional-constant.
32579         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
32580         Use (void) in prototype.
32581         [POSIX] (*_t): Allow.
32582         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
32583         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
32584         (WRDE_BADVAL): Expect.
32586         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
32587         expect.
32588         [XPG3 || XPG4] (O_RSYNC): Likewise.
32589         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
32590         Likewise.
32591         [XPG3 || XPG4] (pthread_sigmask): Likewise.
32592         [XPG3 || XPG4] (sigqueue): Likewise.
32593         [XPG3 || XPG4] (sigtimedwait): Likewise.
32594         [XPG3 || XPG4] (sigwaitinfo): Likewise.
32595         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
32596         [XPG3 || XPG4] (vsnprintf): Likewise.
32597         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
32598         Likewise.
32599         [XPG3 || XPG4] (blksize_t): Likewise.
32600         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
32601         Likewise.
32602         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
32603         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
32604         [XPG3 || XPG4] (struct itimerspec): Likewise.
32605         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
32606         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
32607         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
32608         [XPG3 || XPG4] (clockid_t): Likewise.
32609         [XPG3 || XPG4] (timer_t): Likewise.
32610         [XPG3 || XPG4] (clock_getres): Likewise.
32611         [XPG3 || XPG4] (clock_gettime): Likewise.
32612         [XPG3 || XPG4] (clock_settime): Likewise.
32613         [XPG3 || XPG4] (nanosleep): Likewise.
32614         [XPG3 || XPG4] (timer_create): Likewise.
32615         [XPG3 || XPG4] (timer_delete): Likewise.
32616         [XPG3 || XPG4] (timer_gettime): Likewise.
32617         [XPG3 || XPG4] (timer_getoverrun): Likewise.
32618         [XPG3 || XPG4] (timer_settime): Likewise.
32619         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
32620         [XPG3 || XPG4] (getlogin_r): Likewise.
32621         [XPG3 || XPG4] (pread): Likewise.
32622         [XPG3 || XPG4] (pthread_atfork): Likewise.
32623         [XPG3 || XPG4] (pwrite): Likewise.
32625         [BZ #14835]
32626         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
32627         <bits/siginfo.h>.
32629 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
32631         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
32632         finalizing MALLSTREAM.
32634         * sysdeps/mach/hurd/syncfs.c: New file.
32636 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
32638         [BZ #14719]
32639         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
32640         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
32641         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
32642         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
32643         (_nss_dns_gethostbyname4_r): Likewise.
32644         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
32645         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
32647 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
32649         [BZ #13763]
32650         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
32652 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
32654         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
32655         * elf/cache.c (print_entry): Print ",AArch64" for
32656         FLAG_AARCH64_LIB64
32658         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
32659         * elf/cache.c (print_entry): Print ",hard-float" for
32660         FLAG_ARM_LIBHF.
32662 2012-11-18  David S. Miller  <davem@davemloft.net>
32664         With help from Joseph Myers.
32665         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
32666         cutoff to 2**-13.
32667         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
32668         cutoff to 2**-25.
32669         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
32670         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
32671         small.
32672         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
32673         * math/libm-test.inc (y0_test): New tests.
32674         (y1_test): New tests.
32675         * sysdeps/i386/fpu/libm-test-ulps: Update.
32676         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32677         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32679 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
32681         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
32682         64-bit targets.
32683         * configure: Regenerated.
32685 2012-11-17  David S. Miller  <davem@davemloft.net>
32687         [BZ #14811]
32688         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
32689         nonzero exponents with absolute value below 0x1p-128 to +/-
32690         0x1p-128.
32692 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
32694         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
32696         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
32698         * posix/getconf-speclist.c: New file.
32699         * posix/posix-envs.def: Likewise.
32700         * posix/confstr.c (START_ENV_GROUP): New macro.
32701         (END_ENV_GROUP): Likewise.
32702         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
32703         (KNOWN_PRESENT_ENV_STRING): Likewise.
32704         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
32705         (UNKNOWN_ENVIRONMENT): Likewise.
32706         (confstr): Include posix-envs.def instead of handling
32707         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
32708         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
32709         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
32710         (END_ENV_GROUP): Likewise.
32711         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
32712         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
32713         (UNKNOWN_ENVIRONMENT): Likewise.
32714         (__sysconf): Include posix-envs.def instead of handling associated
32715         cases directly here.
32716         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
32717         preprocessing getconf-speclist.c rather than running getconf or
32718         generating empty file.
32720 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
32722         * scripts/check-local-headers.sh: Ignore 'mach' headers.
32724 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
32726         [BZ #14672]
32727         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
32729 2012-11-16  David S. Miller  <davem@davemloft.net>
32731         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
32732         smaller than LDBL_EPSILON/2.0L, just return xm1.
32734 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
32736         * elf/tst-array1.c (init): Set constructor priority to 1000.
32737         (fini): Set destructor priority to 1000.
32738         * elf/tst-array2dep.c: Likewise.
32740 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32742         [BZ #11741]
32743         * libio/fileops.c (_IO_new_file_write): Correctly return error.
32744         (_IO_new_file_xsputn): Also return EOF if none of the input
32745         data was written when overflow failed.
32746         * libio/iopadn.c (_IO_padn): Likewise.
32747         * libio/iowpadn.c (_IO_wpadn): Likewise.
32748         * stdio-common/tst-put-error.c: Add copyright notice.
32749         (do_test): Add case for printing padded string.
32750         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
32751         _IO_padn returned error.
32752         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
32753         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
32754         return EOF.
32756 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32758         * libio/libioP.h: Add comment note that the references to C++
32759         bits are now obsolete.
32761 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32763         * math/libm-test.inc (check_complex): Use asprintf.
32765 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
32767         * debug/pcprofiledump.c (print_version): Update copyright year.
32768         * malloc/memusagestat.c (print_version): Likewise.
32770 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
32772         [BZ #14831]
32773         * elf/Makefile (tests): Add tst-audit8.
32774         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
32775         ($(objpfx)tst-audit8.out): New target.
32776         (tst-audit8-ENV): New variable.
32777         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
32778         audit if l_reloc_result is NULL.
32779         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
32780         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
32781         * elf/tst-audit8.c: New file.
32783 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32785         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
32786         * misc/Makefile (CFLAGS-select.c): Define.
32787         * posix/Makefile (CFLAGS-pause.c): Define.
32789 2012-11-13  David S. Miller  <davem@davemloft.net>
32791         * crypt/Makefile: Move test targets after toplevel Rules
32792         inclusion.  Grab any necessary sysdep routines when linking.
32793         * crypt/md5.c (md5_process_block): Remove define, we will always
32794         name it __md5_process_block.
32795         (md5_finish_ctx): Update md5_process_block call.
32796         (md5_stream): Likewise.
32797         (md5_process_bytes): Likewise.
32798         (md5_process_block): Rename to __md5_process_block and move to ...
32799         * crypt/md5-block.c: ... here.
32800         * crypt/sha256.c (sha256_process_block): Move to ...
32801         * crypt/sha256-block.c: ... here.
32802         * crypt/sha512.c (sha512_process_block): Move to ...
32803         * crypt/sha512-block.c: ... here.
32804         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
32805         path.
32806         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
32807         * sysdeps/sparc/sparc64/multiarch/Makefile
32808         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
32809         crypt subdir.
32810         (localedef-aux): Add md5 crypto assembler when in locale subdir.
32811         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
32812         multiarch changes.
32813         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
32814         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
32815         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
32816         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
32817         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
32818         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
32819         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
32820         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
32821         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
32822         file.
32823         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
32824         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
32825         file.
32826         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
32828 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
32830         * timezone/tzselect.ksh: Update from tzcode git revision
32831         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
32832         * timezone/zdump.c: Likewise.
32833         * timezone/zic.c: Likewise.
32834         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
32835         in TZVERSION setting, not $(PKGVERSION).
32836         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
32837         REPORT_BUGS_TO settings.
32839         [BZ #14838]
32840         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
32841         macro.
32843 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32845         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
32846         detection to immediately after _FP_ROUND().
32847         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
32848         bits are 0.
32850 2012-11-11  David S. Miller  <davem@davemloft.net>
32852         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
32853         inttypes.h
32854         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
32855         __close rather than their public counterparts.
32857 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
32859         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
32860         file.
32861         [UNIX98] (sem_timedwait): Do not expect.
32862         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
32863         [XPG4 || UNIX98] (sockatmark): Do not expect.
32864         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
32865         (clock_getcpuclockid): Do not expect.
32866         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
32867         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
32868         Do not expect.
32869         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
32870         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
32871         [UNIX98] (vwscanf): Likewise.
32872         [UNIX98] (vswscanf): Likewise.
32874 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
32876         * timezone/version.h: Remove file.
32877         * timezone/README: Do not refer to version.h.
32878         * timezone/Makefile ($(objpfx)zic.o): New dependency on
32879         $(objpfx)version.h.
32880         ($(objpfx)zdump.o): Likewise.
32881         ($(objpfx)version.h): New target.
32883         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
32884         2012i.
32885         * timezone/README: Don't mention modification to tzselect.ksh.
32886         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
32887         work on unmodified tzselect.ksh.  Substitute version numbers in
32888         tzselect.ksh.
32890         * Makefile (format-me): Remove.
32891         (INSTALL): Adjust indentation.  Use commands directly instead of
32892         using $(format-me).
32894         * aclocal.m4 (ACX_PKGVERSION): New macro.
32895         (ACX_BUGURL): Likewise.
32896         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
32897         (PKGVERSION): New AC_DEFINE_UNQUOTED.
32898         (REPORT_BUGS_TO): Likewise.
32899         * configure: Regenerated.
32900         * config.h.in (PKGVERSION): New macro.
32901         (REPORT_BUGS_TO): Likewise.
32902         * config.make.in (PKGVERSION): New variable.
32903         (PKGVERSION_TEXI): Likewise.
32904         (REPORT_BUGS_TO): Likewise.
32905         (REPORT_BUGS_TEXI): Likewise.
32906         * Makefile (format-me): Use -I$(common-objpfx)manual.
32907         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
32908         ($(common-objpfx)manual/%): New target.
32909         (manual/%): Remove target.
32910         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
32911         (print_version): Use PKGVERSION.
32912         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
32913         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
32914         and REPORT_BUGS_TO.
32915         ($(objpfx)xtrace): Likewise.
32916         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
32917         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
32918         (print_version): Use PKGVERSION.
32919         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
32920         (do_version): Use PKGVERSION.
32921         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
32922         REPORT_BUGS_TO.
32923         (common-ldd-rewrite): Likewise.
32924         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
32925         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
32926         (print_version): Use PKGVERSION.
32927         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
32928         * elf/pldd.c (argp_program_bug_address): Remove variable.
32929         (more_help): New function.
32930         (argp): Use more_help.
32931         (print_version): Use PKGVERSION.
32932         * elf/sln.c (main): Use PKGVERSION.
32933         (usage): Use REPORT_BUGS_TO.
32934         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
32935         (top level): Use PKGVERSION.
32936         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
32937         (print_version): Use PKGVERSION.
32938         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
32939         (print_version): Use PKGVERSION.
32940         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
32941         (print_version): Use PKGVERSION.
32942         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
32943         (print_version): Use PKGVERSION.
32944         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
32945         (print_version): Use PKGVERSION.
32946         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
32947         (print_version): Use PKGVERSION.
32948         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
32949         and BUGURL.
32950         ($(objpfx)memusage): Likewise.
32951         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
32952         (do_version): Use PKGVERSION.
32953         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
32954         (print_version): Use PKGVERSION.
32955         * malloc/mtrace.pl ($PACKAGE): Remove variable.
32956         ($PKGVERSION): New variable.
32957         ($REPORT_BUGS_TO): Likewise.
32958         (usage): Use $REPORT_BUGS_TO.
32959         (top level): Use $PKGVERSION.
32960         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
32961         ($(objpfx)pkgvers.texi): New rule.
32962         ($(objpfx)stamp-pkgvers): Likewise.
32963         * manual/install.texi: Include pkgvers.texi.
32964         (--with-pkgversion): Document new configure option.
32965         (--with-bugurl): Likewise.
32966         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
32967         than necessarily for this particular distribution.  Use
32968         REPORT_BUGS_TO for where to report bugs.
32969         * INSTALL: Regenerated.
32970         * manual/libc.texinfo: Include pkgvers.texi.
32971         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
32972         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
32973         (print_version): Use PKGVERSION.
32974         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
32975         (print_version): Use PKGVERSION.
32976         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
32977         (print_version): Use PKGVERSION.
32978         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
32979         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
32980         macro.
32981         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
32982         (print_version): Use PKGVERSION.
32983         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
32984         (print_version): Use PKGVERSION.
32985         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
32986         and PKGVERSION.
32988         * timezone/checktab.awk: Update from tzcode 2012i.
32989         * timezone/ialloc.c: Likewise.
32990         * timezone/private.h: Likewise.
32991         * timezone/scheck.c: Likewise.
32992         * timezone/tzfile.h: Likewise.
32993         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
32994         (TZVERSION): Hardcode tzcode version number.
32995         * timezone/zdump.c: Update from tzcode 2012i.
32996         * timezone/zic.c: Likewise.
32997         * timezone/version.h: New file.
32998         * timezone/README: Describe version.h.  Update upstream location.
33000         [BZ #14824]
33001         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
33002         (mktemp): Enable declaration.
33003         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
33004         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
33005         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
33006         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
33007         Likewise.
33008         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
33009         Likewise.
33010         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
33011         Likewise.
33012         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
33013         Likewise.
33014         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
33015         Likewise.
33016         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
33017         Likewise.
33019         [BZ #14821]
33020         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
33021         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
33022         for copies of such integer values.
33023         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33024         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33026 2012-11-09  Andreas Jaeger  <aj@suse.de>
33028         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
33029         definitions and declarations that are provided by
33030         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
33032 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33034         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
33035         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
33036         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
33037         definition.
33039 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33041         * elf/elf.h: Update comment before AArch64 relocations.
33043 2012-11-07  David S. Miller  <davem@davemloft.net>
33045         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
33046         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33047         (__start_context): Declare.
33048         (__makecontext_ret): Delete.
33049         (__makecontext): Hook up __start_context instead of
33050         __makecontext_ret.
33051         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
33052         (sysdep_routines): Add __start_context when in stdlib.
33054 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
33056         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
33057         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
33058         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
33059         hardcoded "nm".
33060         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
33061         (READELF): New variable.  Use it instead of hardcoded "readelf".
33063 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
33065         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
33066         * sysdeps/x86/Makefile: Here.
33067         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
33068         * sysdeps/x86/tst-xmmymm.sh: This.
33070 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
33072         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
33073         expectations.
33074         [UNIX98] (pthread_barrier_t): Do not expect.
33075         [UNIX98] (pthread_barrierattr_t): Likewise.
33076         [UNIX98] (pthread_spinlock_t): Likewise.
33077         [UNIX98] (pthread_barrier_destroy): Likewise.
33078         [UNIX98] (pthread_barrier_init): Likewise.
33079         [UNIX98] (pthread_barrier_wait): Likewise.
33080         [UNIX98] (pthread_barrierattr_destroy): Likewise.
33081         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
33082         [UNIX98] (pthread_barrierattr_init): Likewise.
33083         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
33084         [UNIX98] (pthread_getcpuclockid): Likewise.
33085         [UNIX98] (pthread_mutex_timedlock): Likewise.
33086         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
33087         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
33088         [UNIX98] (pthread_sigmask): Likewise.
33089         [UNIX98] (pthread_spin_destroy): Likewise.
33090         [UNIX98] (pthread_spin_init): Likewise.
33091         [UNIX98] (pthread_spin_lock): Likewise.
33092         [UNIX98] (pthread_spin_trylock): Likewise.
33093         [UNIX98] (pthread_spin_unlock): Likewise.
33094         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
33095         Do not expect.
33096         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
33097         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
33098         [XPG3 || XPG4] (pthread_cond_t): Likewise.
33099         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
33100         [XPG3 || XPG4] (pthread_key_t): Likewise.
33101         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
33102         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
33103         [XPG3 || XPG4] (pthread_once_t): Likewise.
33104         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
33105         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
33106         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
33107         [XPG3 || XPG4] (pthread_t): Likewise.
33109         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
33110         not expect.
33111         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
33113         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
33114         Change function return type to int.
33116         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
33117         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
33118         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
33119         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
33120         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
33121         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
33122         [!POSIX] (posix_madvise): Likewise.
33123         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
33124         && !UNIX98].
33125         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
33126         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
33127         (mode_t): Likewise.
33128         (posix_mem_offset): Likewise.
33129         (posix_typed_mem_get_info): Likewise.
33130         (posix_typed_mem_open): Likewise.
33132         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
33133         Change condition to [XOPEN2K8].
33135         * conform/conformtest.pl: Preprocess allow-header data with -x c
33136         instead of from stdin.
33137         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
33138         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
33139         [C99-based standards] (cerfc): Likewise.
33140         [C99-based standards] (cexp2): Likewise.
33141         [C99-based standards] (cexpm1): Likewise.
33142         [C99-based standards] (clog10): Likewise.
33143         [C99-based standards] (clog1p): Likewise.
33144         [C99-based standards] (clog2): Likewise.
33145         [C99-based standards] (clgamma): Likewise.
33146         [C99-based standards] (ctgamma): Likewise.
33147         [C99-based standards] (cerff): Likewise.
33148         [C99-based standards] (cerfcf): Likewise.
33149         [C99-based standards] (cexp2f): Likewise.
33150         [C99-based standards] (cexpm1f): Likewise.
33151         [C99-based standards] (clog10f): Likewise.
33152         [C99-based standards] (clog1pf): Likewise.
33153         [C99-based standards] (clog2f): Likewise.
33154         [C99-based standards] (clgammaf): Likewise.
33155         [C99-based standards] (ctgammaf): Likewise.
33156         [C99-based standards] (cerfl): Likewise.
33157         [C99-based standards] (cerfcl): Likewise.
33158         [C99-based standards] (cexp2l): Likewise.
33159         [C99-based standards] (cexpm1l): Likewise.
33160         [C99-based standards] (clog10l): Likewise.
33161         [C99-based standards] (clog1pl): Likewise.
33162         [C99-based standards] (clog2l): Likewise.
33163         [C99-based standards] (clgammal): Likewise.
33164         [C99-based standards] (ctgammal): Likewise.
33165         * conform/data/inttypes.h-data [C99-based standards]: Include
33166         stdint.h-data.  Remove all expectations for stdint.h contents.
33167         [C99-based standards] (PRI*): Do not allow.
33168         [C99-based standards] (SCN*): Likewise.
33169         [C99-based standards] (*_t): Likewise.
33170         [C99-based-standards] (PRId8): Expect macro.
33171         [C99-based-standards] (PRIi8): Likewise.
33172         [C99-based-standards] (PRIo8): Likewise.
33173         [C99-based-standards] (PRIu8): Likewise.
33174         [C99-based-standards] (PRIx8): Likewise.
33175         [C99-based-standards] (PRIX8): Likewise.
33176         [C99-based-standards] (SCNd8): Likewise.
33177         [C99-based-standards] (SCNi8): Likewise.
33178         [C99-based-standards] (SCNo8): Likewise.
33179         [C99-based-standards] (SCNu8): Likewise.
33180         [C99-based-standards] (SCNx8): Likewise.
33181         [C99-based-standards] (PRIdLEAST8): Likewise.
33182         [C99-based-standards] (PRIiLEAST8): Likewise.
33183         [C99-based-standards] (PRIoLEAST8): Likewise.
33184         [C99-based-standards] (PRIuLEAST8): Likewise.
33185         [C99-based-standards] (PRIxLEAST8): Likewise.
33186         [C99-based-standards] (PRIXLEAST8): Likewise.
33187         [C99-based-standards] (SCNdLEAST8): Likewise.
33188         [C99-based-standards] (SCNiLEAST8): Likewise.
33189         [C99-based-standards] (SCNoLEAST8): Likewise.
33190         [C99-based-standards] (SCNuLEAST8): Likewise.
33191         [C99-based-standards] (SCNxLEAST8): Likewise.
33192         [C99-based-standards] (PRIdFAST8): Likewise.
33193         [C99-based-standards] (PRIiFAST8): Likewise.
33194         [C99-based-standards] (PRIoFAST8): Likewise.
33195         [C99-based-standards] (PRIuFAST8): Likewise.
33196         [C99-based-standards] (PRIxFAST8): Likewise.
33197         [C99-based-standards] (PRIXFAST8): Likewise.
33198         [C99-based-standards] (SCNdFAST8): Likewise.
33199         [C99-based-standards] (SCNiFAST8): Likewise.
33200         [C99-based-standards] (SCNoFAST8): Likewise.
33201         [C99-based-standards] (SCNuFAST8): Likewise.
33202         [C99-based-standards] (SCNxFAST8): Likewise.
33203         [C99-based-standards] (PRId16): Likewise.
33204         [C99-based-standards] (PRIi16): Likewise.
33205         [C99-based-standards] (PRIo16): Likewise.
33206         [C99-based-standards] (PRIu16): Likewise.
33207         [C99-based-standards] (PRIx16): Likewise.
33208         [C99-based-standards] (PRIX16): Likewise.
33209         [C99-based-standards] (SCNd16): Likewise.
33210         [C99-based-standards] (SCNi16): Likewise.
33211         [C99-based-standards] (SCNo16): Likewise.
33212         [C99-based-standards] (SCNu16): Likewise.
33213         [C99-based-standards] (SCNx16): Likewise.
33214         [C99-based-standards] (PRIdLEAST16): Likewise.
33215         [C99-based-standards] (PRIiLEAST16): Likewise.
33216         [C99-based-standards] (PRIoLEAST16): Likewise.
33217         [C99-based-standards] (PRIuLEAST16): Likewise.
33218         [C99-based-standards] (PRIxLEAST16): Likewise.
33219         [C99-based-standards] (PRIXLEAST16): Likewise.
33220         [C99-based-standards] (SCNdLEAST16): Likewise.
33221         [C99-based-standards] (SCNiLEAST16): Likewise.
33222         [C99-based-standards] (SCNoLEAST16): Likewise.
33223         [C99-based-standards] (SCNuLEAST16): Likewise.
33224         [C99-based-standards] (SCNxLEAST16): Likewise.
33225         [C99-based-standards] (PRIdFAST16): Likewise.
33226         [C99-based-standards] (PRIiFAST16): Likewise.
33227         [C99-based-standards] (PRIoFAST16): Likewise.
33228         [C99-based-standards] (PRIuFAST16): Likewise.
33229         [C99-based-standards] (PRIxFAST16): Likewise.
33230         [C99-based-standards] (PRIXFAST16): Likewise.
33231         [C99-based-standards] (SCNdFAST16): Likewise.
33232         [C99-based-standards] (SCNiFAST16): Likewise.
33233         [C99-based-standards] (SCNoFAST16): Likewise.
33234         [C99-based-standards] (SCNuFAST16): Likewise.
33235         [C99-based-standards] (SCNxFAST16): Likewise.
33236         [C99-based-standards] (PRId32): Likewise.
33237         [C99-based-standards] (PRIi32): Likewise.
33238         [C99-based-standards] (PRIo32): Likewise.
33239         [C99-based-standards] (PRIu32): Likewise.
33240         [C99-based-standards] (PRIx32): Likewise.
33241         [C99-based-standards] (PRIX32): Likewise.
33242         [C99-based-standards] (SCNd32): Likewise.
33243         [C99-based-standards] (SCNi32): Likewise.
33244         [C99-based-standards] (SCNo32): Likewise.
33245         [C99-based-standards] (SCNu32): Likewise.
33246         [C99-based-standards] (SCNx32): Likewise.
33247         [C99-based-standards] (PRIdLEAST32): Likewise.
33248         [C99-based-standards] (PRIiLEAST32): Likewise.
33249         [C99-based-standards] (PRIoLEAST32): Likewise.
33250         [C99-based-standards] (PRIuLEAST32): Likewise.
33251         [C99-based-standards] (PRIxLEAST32): Likewise.
33252         [C99-based-standards] (PRIXLEAST32): Likewise.
33253         [C99-based-standards] (SCNdLEAST32): Likewise.
33254         [C99-based-standards] (SCNiLEAST32): Likewise.
33255         [C99-based-standards] (SCNoLEAST32): Likewise.
33256         [C99-based-standards] (SCNuLEAST32): Likewise.
33257         [C99-based-standards] (SCNxLEAST32): Likewise.
33258         [C99-based-standards] (PRIdFAST32): Likewise.
33259         [C99-based-standards] (PRIiFAST32): Likewise.
33260         [C99-based-standards] (PRIoFAST32): Likewise.
33261         [C99-based-standards] (PRIuFAST32): Likewise.
33262         [C99-based-standards] (PRIxFAST32): Likewise.
33263         [C99-based-standards] (PRIXFAST32): Likewise.
33264         [C99-based-standards] (SCNdFAST32): Likewise.
33265         [C99-based-standards] (SCNiFAST32): Likewise.
33266         [C99-based-standards] (SCNoFAST32): Likewise.
33267         [C99-based-standards] (SCNuFAST32): Likewise.
33268         [C99-based-standards] (SCNxFAST32): Likewise.
33269         [C99-based-standards] (PRId64): Likewise.
33270         [C99-based-standards] (PRIi64): Likewise.
33271         [C99-based-standards] (PRIo64): Likewise.
33272         [C99-based-standards] (PRIu64): Likewise.
33273         [C99-based-standards] (PRIx64): Likewise.
33274         [C99-based-standards] (PRIX64): Likewise.
33275         [C99-based-standards] (SCNd64): Likewise.
33276         [C99-based-standards] (SCNi64): Likewise.
33277         [C99-based-standards] (SCNo64): Likewise.
33278         [C99-based-standards] (SCNu64): Likewise.
33279         [C99-based-standards] (SCNx64): Likewise.
33280         [C99-based-standards] (PRIdLEAST64): Likewise.
33281         [C99-based-standards] (PRIiLEAST64): Likewise.
33282         [C99-based-standards] (PRIoLEAST64): Likewise.
33283         [C99-based-standards] (PRIuLEAST64): Likewise.
33284         [C99-based-standards] (PRIxLEAST64): Likewise.
33285         [C99-based-standards] (PRIXLEAST64): Likewise.
33286         [C99-based-standards] (SCNdLEAST64): Likewise.
33287         [C99-based-standards] (SCNiLEAST64): Likewise.
33288         [C99-based-standards] (SCNoLEAST64): Likewise.
33289         [C99-based-standards] (SCNuLEAST64): Likewise.
33290         [C99-based-standards] (SCNxLEAST64): Likewise.
33291         [C99-based-standards] (PRIdFAST64): Likewise.
33292         [C99-based-standards] (PRIiFAST64): Likewise.
33293         [C99-based-standards] (PRIoFAST64): Likewise.
33294         [C99-based-standards] (PRIuFAST64): Likewise.
33295         [C99-based-standards] (PRIxFAST64): Likewise.
33296         [C99-based-standards] (PRIXFAST64): Likewise.
33297         [C99-based-standards] (SCNdFAST64): Likewise.
33298         [C99-based-standards] (SCNiFAST64): Likewise.
33299         [C99-based-standards] (SCNoFAST64): Likewise.
33300         [C99-based-standards] (SCNuFAST64): Likewise.
33301         [C99-based-standards] (SCNxFAST64): Likewise.
33302         [C99-based-standards] (PRIdMAX): Likewise.
33303         [C99-based-standards] (PRIiMAX): Likewise.
33304         [C99-based-standards] (PRIoMAX): Likewise.
33305         [C99-based-standards] (PRIuMAX): Likewise.
33306         [C99-based-standards] (PRIxMAX): Likewise.
33307         [C99-based-standards] (PRIXMAX): Likewise.
33308         [C99-based-standards] (SCNdMAX): Likewise.
33309         [C99-based-standards] (SCNiMAX): Likewise.
33310         [C99-based-standards] (SCNoMAX): Likewise.
33311         [C99-based-standards] (SCNuMAX): Likewise.
33312         [C99-based-standards] (SCNxMAX): Likewise.
33313         [C99-based-standards] (PRIdPTR): Likewise.
33314         [C99-based-standards] (PRIiPTR): Likewise.
33315         [C99-based-standards] (PRIoPTR): Likewise.
33316         [C99-based-standards] (PRIuPTR): Likewise.
33317         [C99-based-standards] (PRIxPTR): Likewise.
33318         [C99-based-standards] (PRIXPTR): Likewise.
33319         [C99-based-standards] (SCNdPTR): Likewise.
33320         [C99-based-standards] (SCNiPTR): Likewise.
33321         [C99-based-standards] (SCNoPTR): Likewise.
33322         [C99-based-standards] (SCNuPTR): Likewise.
33323         [C99-based-standards] (SCNxPTR): Likewise.
33324         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
33325         allow.
33326         * conform/data/stdint.h-data: Update comments to clarify
33327         requirements.
33328         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
33329         type.
33330         [C99-based standards] (INT8_MAX): Likewise.
33331         [C99-based standards] (INT16_MIN): Likewise.
33332         [C99-based standards] (INT16_MAX): Likewise.
33333         [C99-based standards] (INT32_MIN): Likewise.
33334         [C99-based standards] (INT32_MAX): Likewise.
33335         [C99-based standards] (INT64_MIN): Likewise.
33336         [C99-based standards] (INT64_MAX): Likewise.
33337         [C99-based standards] (UINT8_MAX): Likewise.
33338         [C99-based standards] (UINT16_MAX): Likewise.
33339         [C99-based standards] (UINT32_MAX): Likewise.
33340         [C99-based standards] (UINT64_MAX): Likewise.
33341         [C99-based standards] (INT_LEAST8_MIN): Likewise.
33342         [C99-based standards] (INT_LEAST8_MAX): Likewise.
33343         [C99-based standards] (INT_LEAST16_MIN): Likewise.
33344         [C99-based standards] (INT_LEAST16_MAX): Likewise.
33345         [C99-based standards] (INT_LEAST32_MIN): Likewise.
33346         [C99-based standards] (INT_LEAST32_MAX): Likewise.
33347         [C99-based standards] (INT_LEAST64_MIN): Likewise.
33348         [C99-based standards] (INT_LEAST64_MAX): Likewise.
33349         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
33350         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
33351         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
33352         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
33353         [C99-based standards] (INT_FAST8_MIN): Likewise.
33354         [C99-based standards] (INT_FAST8_MAX): Likewise.
33355         [C99-based standards] (INT_FAST16_MIN): Likewise.
33356         [C99-based standards] (INT_FAST16_MAX): Likewise.
33357         [C99-based standards] (INT_FAST32_MIN): Likewise.
33358         [C99-based standards] (INT_FAST32_MAX): Likewise.
33359         [C99-based standards] (INT_FAST64_MIN): Likewise.
33360         [C99-based standards] (INT_FAST64_MAX): Likewise.
33361         [C99-based standards] (UINT_FAST8_MAX): Likewise.
33362         [C99-based standards] (UINT_FAST16_MAX): Likewise.
33363         [C99-based standards] (UINT_FAST32_MAX): Likewise.
33364         [C99-based standards] (UINT_FAST64_MAX): Likewise.
33365         [C99-based standards] (INTPTR_MIN): Likewise.
33366         [C99-based standards] (INTPTR_MAX): Likewise.
33367         [C99-based standards] (UINTPTR_MAX): Likewise.
33368         [C99-based standards] (INTMAX_MIN): Likewise.
33369         [C99-based standards] (INTMAX_MAX): Likewise.
33370         [C99-based standards] (UINTMAX_MAX): Likewise.
33371         [C99-based standards] (PTRDIFF_MIN): Likewise.
33372         [C99-based standards] (PTRDIFF_MAX): Likewise.
33373         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
33374         [C99-based standards] (SIZE_MAX): Likewise.
33375         [C99-based standards] (WCHAR_MAX): Likewise.
33376         [C99-based standards] (WINT_MAX): Likewise.
33377         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
33378         constraint on value.
33379         [C99-based standards] (WCHAR_MIN): Likewise.
33380         [C99-based standards] (WINT_MIN): Likewise.
33381         [C99-based standards] (*_t): Allow.
33382         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
33383         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
33384         Include math.h-data and complex.h-data.  Remove all expectations
33385         of math.h and complex.h contents.
33386         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
33387         at end of line.
33388         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
33389         (struct tm): Expect tag.
33390         [C99-based-standards] (wcstof): Expect function.
33391         [C99-based-standards] (wcstold): Likewise.
33392         [C99-based-standards] (wcstoll): Likewise.
33393         [C99-based-standards] (wcstoull): Likewise.
33394         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
33395         macro-int-constant.  Specify type.
33396         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
33397         constraint on value.
33398         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
33399         Specify type.
33400         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
33401         Specify value.
33402         [ISO C standards]: Do not allow headers.
33403         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
33404         wcs[abcdefghijklmnopqrstuvwxyz]*.
33405         [ISO C standards] (*_t): Do not allow.
33406         * conform/data/wctype.h-data [C99-based standards] (iswblank):
33407         Expect function.
33408         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
33409         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
33410         Specify type.
33411         [ISO C standards]: Do not allow headers.
33412         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
33413         is[abcdefghijklmnopqrstuvwxyz]*.
33414         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
33415         to[abcdefghijklmnopqrstuvwxyz]*.
33416         [ISO C standards] (*_t): Do not allow.
33417         * conform/data/stdalign.h-data: New file.
33418         * conform/data/stdbool.h-data: Likewise.
33419         * conform/data/stdnoreturn.h-data: Likewise.
33421 2012-11-07  Roland McGrath  <roland@hack.frob.com>
33423         [BZ #14815]
33424         * manual/filesys.texi (Directory Entries): Typo fix.
33425         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
33427 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33429         * elf/elf.h (EM_AARCH64): New macro.
33430         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
33431         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
33432         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
33433         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
33434         (R_AARCH64_TLSDESC): Likewise.
33435         (NT_ARM_TLS): Likewise.
33436         (NT_ARM_HW_BREAK): Likewise.
33437         (NT_ARM_HW_WATCH): Likewise.
33439 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
33441         [BZ #14811]
33442         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
33443         (__ieee754_powl): Saturate nonzero exponents with absolute value
33444         below 0x1p-79 to +/- 0x1p-79.
33445         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
33446         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
33447         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
33448         nonzero exponents with absolute value below 0x1p-32 to +/-
33449         0x1p-32.
33450         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
33451         (__ieee754_powl): Saturate nonzero exponents with absolute value
33452         below 0x1p-79 to +/- 0x1p-79.
33453         * math/libm-test.inc (pow_test): Add more tests.
33455 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33457         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
33458         _dl_s390_cap_flags with kernel. Increase string length.
33459         (_dl_s390_platforms): Add z196 and zEC12.
33461 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
33463         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
33464         Change XOPEN21K to XOPEN2K.
33466 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
33468         * string/memmove.c: Use memcpy when possible.
33470 2012-11-06  Andreas Jaeger  <aj@suse.de>
33472         * po/eo.po: Update from translation team.
33474 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
33476         [BZ #14793]
33477         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
33478         exponent and small x and y exponents, scale x or y up.  Increase
33479         by 2 the exponent used in scaling up.
33480         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33481         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33482         * math/libm-test.inc (fma_test): Add more tests.
33483         (fma_test_towardzero): Likewise.
33484         (fma_test_downward): Likewise.
33485         (fma_test_upward): Likewise.
33487 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
33489         [BZ #14805]
33490         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
33491         fenv_t *.
33493         [BZ #14801]
33494         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
33495         namespace for names of struct fields.
33496         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
33497         fenv_t fields.
33498         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
33499         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
33501 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33503         [BZ #3665]
33504         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
33506 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
33508         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
33509         PTR_DEMANGLE.
33511         [BZ #5246]
33512         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
33513         PTR_DEMANGLE.
33515 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
33517         [BZ #14797]
33518         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
33519         definitely overflow as x * y not x * y + z.
33520         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33521         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33522         * math/libm-test.inc (fma_test): Add more tests.
33523         (fma_test_towardzero): Likewise.
33524         (fma_test_downward): Likewise.
33525         (fma_test_upward): Likewise.
33527 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
33529         [BZ #157]
33531         * include/stub-tag.h: Remove file.
33532         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
33533         '#include' of it.
33534         * manual/maint.texi (Porting): Don't reference it.
33535         * Makerules ($(objpfx)stubs): Likewise.
33536         * dirent/closedir.c: Don't include <stub-tag.h>.
33537         * dirent/dirfd.c: Likewise.
33538         * dirent/fdopendir.c: Likewise.
33539         * dirent/getdents.c: Likewise.
33540         * dirent/getdents64.c: Likewise.
33541         * dirent/opendir.c: Likewise.
33542         * dirent/readdir.c: Likewise.
33543         * dirent/readdir64.c: Likewise.
33544         * dirent/readdir64_r.c: Likewise.
33545         * dirent/readdir_r.c: Likewise.
33546         * dirent/rewinddir.c: Likewise.
33547         * dirent/seekdir.c: Likewise.
33548         * dirent/telldir.c: Likewise.
33549         * gmon/profil.c: Likewise.
33550         * grp/setgroups.c: Likewise.
33551         * inet/if_index.c: Likewise.
33552         * io/access.c: Likewise.
33553         * io/chdir.c: Likewise.
33554         * io/chmod.c: Likewise.
33555         * io/chown.c: Likewise.
33556         * io/close.c: Likewise.
33557         * io/dup.c: Likewise.
33558         * io/dup2.c: Likewise.
33559         * io/dup3.c: Likewise.
33560         * io/euidaccess.c: Likewise.
33561         * io/faccessat.c: Likewise.
33562         * io/fchdir.c: Likewise.
33563         * io/fchmod.c: Likewise.
33564         * io/fchmodat.c: Likewise.
33565         * io/fchown.c: Likewise.
33566         * io/fchownat.c: Likewise.
33567         * io/fcntl.c: Likewise.
33568         * io/flock.c: Likewise.
33569         * io/fstatfs.c: Likewise.
33570         * io/fstatfs64.c: Likewise.
33571         * io/fstatvfs.c: Likewise.
33572         * io/fstatvfs64.c: Likewise.
33573         * io/futimens.c: Likewise.
33574         * io/fxstat.c: Likewise.
33575         * io/fxstat64.c: Likewise.
33576         * io/fxstatat.c: Likewise.
33577         * io/fxstatat64.c: Likewise.
33578         * io/getcwd.c: Likewise.
33579         * io/isatty.c: Likewise.
33580         * io/lchmod.c: Likewise.
33581         * io/lchown.c: Likewise.
33582         * io/link.c: Likewise.
33583         * io/linkat.c: Likewise.
33584         * io/lseek.c: Likewise.
33585         * io/lseek64.c: Likewise.
33586         * io/lxstat64.c: Likewise.
33587         * io/mkdir.c: Likewise.
33588         * io/mkdirat.c: Likewise.
33589         * io/mkfifo.c: Likewise.
33590         * io/mkfifoat.c: Likewise.
33591         * io/open.c: Likewise.
33592         * io/open64.c: Likewise.
33593         * io/openat.c: Likewise.
33594         * io/openat64.c: Likewise.
33595         * io/pipe.c: Likewise.
33596         * io/pipe2.c: Likewise.
33597         * io/poll.c: Likewise.
33598         * io/posix_fadvise.c: Likewise.
33599         * io/posix_fadvise64.c: Likewise.
33600         * io/posix_fallocate.c: Likewise.
33601         * io/posix_fallocate64.c: Likewise.
33602         * io/read.c: Likewise.
33603         * io/readlink.c: Likewise.
33604         * io/readlinkat.c: Likewise.
33605         * io/rmdir.c: Likewise.
33606         * io/sendfile.c: Likewise.
33607         * io/sendfile64.c: Likewise.
33608         * io/statfs.c: Likewise.
33609         * io/statfs64.c: Likewise.
33610         * io/statvfs.c: Likewise.
33611         * io/statvfs64.c: Likewise.
33612         * io/symlink.c: Likewise.
33613         * io/symlinkat.c: Likewise.
33614         * io/ttyname.c: Likewise.
33615         * io/ttyname_r.c: Likewise.
33616         * io/umask.c: Likewise.
33617         * io/unlink.c: Likewise.
33618         * io/unlinkat.c: Likewise.
33619         * io/utime.c: Likewise.
33620         * io/utimensat.c: Likewise.
33621         * io/write.c: Likewise.
33622         * io/xmknod.c: Likewise.
33623         * io/xmknodat.c: Likewise.
33624         * io/xstat.c: Likewise.
33625         * io/xstat64.c: Likewise.
33626         * login/getpt.c: Likewise.
33627         * login/grantpt.c: Likewise.
33628         * login/unlockpt.c: Likewise.
33629         * math/e_acoshl.c: Likewise.
33630         * math/e_acosl.c: Likewise.
33631         * math/e_asinl.c: Likewise.
33632         * math/e_atan2l.c: Likewise.
33633         * math/e_atanhl.c: Likewise.
33634         * math/e_coshl.c: Likewise.
33635         * math/e_expl.c: Likewise.
33636         * math/e_fmodl.c: Likewise.
33637         * math/e_gammal_r.c: Likewise.
33638         * math/e_hypotl.c: Likewise.
33639         * math/e_j0l.c: Likewise.
33640         * math/e_j1l.c: Likewise.
33641         * math/e_jnl.c: Likewise.
33642         * math/e_lgammal_r.c: Likewise.
33643         * math/e_log10l.c: Likewise.
33644         * math/e_log2l.c: Likewise.
33645         * math/e_logl.c: Likewise.
33646         * math/e_powl.c: Likewise.
33647         * math/e_rem_pio2l.c: Likewise.
33648         * math/e_sinhl.c: Likewise.
33649         * math/e_sqrtl.c: Likewise.
33650         * math/fclrexcpt.c: Likewise.
33651         * math/fedisblxcpt.c: Likewise.
33652         * math/feenablxcpt.c: Likewise.
33653         * math/fegetenv.c: Likewise.
33654         * math/fegetexcept.c: Likewise.
33655         * math/fegetround.c: Likewise.
33656         * math/feholdexcpt.c: Likewise.
33657         * math/fesetenv.c: Likewise.
33658         * math/fesetround.c: Likewise.
33659         * math/feupdateenv.c: Likewise.
33660         * math/fgetexcptflg.c: Likewise.
33661         * math/fraiseexcpt.c: Likewise.
33662         * math/fsetexcptflg.c: Likewise.
33663         * math/ftestexcept.c: Likewise.
33664         * math/k_cosl.c: Likewise.
33665         * math/k_rem_pio2l.c: Likewise.
33666         * math/k_sinl.c: Likewise.
33667         * math/k_tanl.c: Likewise.
33668         * math/s_asinhl.c: Likewise.
33669         * math/s_atanl.c: Likewise.
33670         * math/s_cbrtl.c: Likewise.
33671         * math/s_erfl.c: Likewise.
33672         * math/s_expm1l.c: Likewise.
33673         * math/s_log1pl.c: Likewise.
33674         * math/s_tanhl.c: Likewise.
33675         * misc/acct.c: Likewise.
33676         * misc/brk.c: Likewise.
33677         * misc/chflags.c: Likewise.
33678         * misc/chroot.c: Likewise.
33679         * misc/fchflags.c: Likewise.
33680         * misc/fgetxattr.c: Likewise.
33681         * misc/flistxattr.c: Likewise.
33682         * misc/fremovexattr.c: Likewise.
33683         * misc/fsetxattr.c: Likewise.
33684         * misc/fsync.c: Likewise.
33685         * misc/ftruncate.c: Likewise.
33686         * misc/futimes.c: Likewise.
33687         * misc/futimesat.c: Likewise.
33688         * misc/getdomain.c: Likewise.
33689         * misc/getdtsz.c: Likewise.
33690         * misc/gethostid.c: Likewise.
33691         * misc/gethostname.c: Likewise.
33692         * misc/getloadavg.c: Likewise.
33693         * misc/getpagesize.c: Likewise.
33694         * misc/getsysstats.c: Likewise.
33695         * misc/getxattr.c: Likewise.
33696         * misc/gtty.c: Likewise.
33697         * misc/ioctl.c: Likewise.
33698         * misc/lgetxattr.c: Likewise.
33699         * misc/listxattr.c: Likewise.
33700         * misc/llistxattr.c: Likewise.
33701         * misc/lremovexattr.c: Likewise.
33702         * misc/lsetxattr.c: Likewise.
33703         * misc/lutimes.c: Likewise.
33704         * misc/madvise.c: Likewise.
33705         * misc/mincore.c: Likewise.
33706         * misc/mlock.c: Likewise.
33707         * misc/mlockall.c: Likewise.
33708         * misc/mmap.c: Likewise.
33709         * misc/mprotect.c: Likewise.
33710         * misc/msync.c: Likewise.
33711         * misc/munlock.c: Likewise.
33712         * misc/munlockall.c: Likewise.
33713         * misc/munmap.c: Likewise.
33714         * misc/preadv.c: Likewise.
33715         * misc/preadv64.c: Likewise.
33716         * misc/ptrace.c: Likewise.
33717         * misc/pwritev.c: Likewise.
33718         * misc/pwritev64.c: Likewise.
33719         * misc/readv.c: Likewise.
33720         * misc/reboot.c: Likewise.
33721         * misc/remap_file_pages.c: Likewise.
33722         * misc/removexattr.c: Likewise.
33723         * misc/revoke.c: Likewise.
33724         * misc/select.c: Likewise.
33725         * misc/setdomain.c: Likewise.
33726         * misc/setegid.c: Likewise.
33727         * misc/seteuid.c: Likewise.
33728         * misc/sethostid.c: Likewise.
33729         * misc/sethostname.c: Likewise.
33730         * misc/setregid.c: Likewise.
33731         * misc/setreuid.c: Likewise.
33732         * misc/setxattr.c: Likewise.
33733         * misc/sstk.c: Likewise.
33734         * misc/stty.c: Likewise.
33735         * misc/swapoff.c: Likewise.
33736         * misc/swapon.c: Likewise.
33737         * misc/sync.c: Likewise.
33738         * misc/syncfs.c: Likewise.
33739         * misc/syscall.c: Likewise.
33740         * misc/truncate.c: Likewise.
33741         * misc/ualarm.c: Likewise.
33742         * misc/usleep.c: Likewise.
33743         * misc/ustat.c: Likewise.
33744         * misc/utimes.c: Likewise.
33745         * misc/vhangup.c: Likewise.
33746         * misc/writev.c: Likewise.
33747         * posix/_exit.c: Likewise.
33748         * posix/alarm.c: Likewise.
33749         * posix/execve.c: Likewise.
33750         * posix/fexecve.c: Likewise.
33751         * posix/fork.c: Likewise.
33752         * posix/fpathconf.c: Likewise.
33753         * posix/getaddrinfo.c: Likewise.
33754         * posix/getegid.c: Likewise.
33755         * posix/geteuid.c: Likewise.
33756         * posix/getgid.c: Likewise.
33757         * posix/getgroups.c: Likewise.
33758         * posix/getlogin.c: Likewise.
33759         * posix/getlogin_r.c: Likewise.
33760         * posix/getpgid.c: Likewise.
33761         * posix/getpid.c: Likewise.
33762         * posix/getppid.c: Likewise.
33763         * posix/getresgid.c: Likewise.
33764         * posix/getresuid.c: Likewise.
33765         * posix/getsid.c: Likewise.
33766         * posix/getuid.c: Likewise.
33767         * posix/glob64.c: Likewise.
33768         * posix/nanosleep.c: Likewise.
33769         * posix/pathconf.c: Likewise.
33770         * posix/pause.c: Likewise.
33771         * posix/posix_madvise.c: Likewise.
33772         * posix/pread.c: Likewise.
33773         * posix/pread64.c: Likewise.
33774         * posix/pwrite.c: Likewise.
33775         * posix/pwrite64.c: Likewise.
33776         * posix/sched_getaffinity.c: Likewise.
33777         * posix/sched_getp.c: Likewise.
33778         * posix/sched_gets.c: Likewise.
33779         * posix/sched_primax.c: Likewise.
33780         * posix/sched_primin.c: Likewise.
33781         * posix/sched_rr_gi.c: Likewise.
33782         * posix/sched_setaffinity.c: Likewise.
33783         * posix/sched_setp.c: Likewise.
33784         * posix/sched_sets.c: Likewise.
33785         * posix/sched_yield.c: Likewise.
33786         * posix/setgid.c: Likewise.
33787         * posix/setlogin.c: Likewise.
33788         * posix/setpgid.c: Likewise.
33789         * posix/setresgid.c: Likewise.
33790         * posix/setresuid.c: Likewise.
33791         * posix/setsid.c: Likewise.
33792         * posix/setuid.c: Likewise.
33793         * posix/sleep.c: Likewise.
33794         * posix/spawni.c: Likewise.
33795         * posix/sysconf.c: Likewise.
33796         * posix/times.c: Likewise.
33797         * posix/wait.c: Likewise.
33798         * posix/wait3.c: Likewise.
33799         * posix/wait4.c: Likewise.
33800         * posix/waitpid.c: Likewise.
33801         * resolv/gai_sigqueue.c: Likewise.
33802         * resource/getpriority.c: Likewise.
33803         * resource/getrlimit.c: Likewise.
33804         * resource/getrusage.c: Likewise.
33805         * resource/nice.c: Likewise.
33806         * resource/setpriority.c: Likewise.
33807         * resource/setrlimit.c: Likewise.
33808         * resource/ulimit.c: Likewise.
33809         * rt/aio_cancel.c: Likewise.
33810         * rt/aio_fsync.c: Likewise.
33811         * rt/aio_read.c: Likewise.
33812         * rt/aio_sigqueue.c: Likewise.
33813         * rt/aio_suspend.c: Likewise.
33814         * rt/aio_write.c: Likewise.
33815         * rt/clock_getres.c: Likewise.
33816         * rt/clock_gettime.c: Likewise.
33817         * rt/clock_nanosleep.c: Likewise.
33818         * rt/clock_settime.c: Likewise.
33819         * rt/lio_listio.c: Likewise.
33820         * rt/mq_close.c: Likewise.
33821         * rt/mq_getattr.c: Likewise.
33822         * rt/mq_notify.c: Likewise.
33823         * rt/mq_open.c: Likewise.
33824         * rt/mq_receive.c: Likewise.
33825         * rt/mq_send.c: Likewise.
33826         * rt/mq_setattr.c: Likewise.
33827         * rt/mq_timedreceive.c: Likewise.
33828         * rt/mq_timedsend.c: Likewise.
33829         * rt/mq_unlink.c: Likewise.
33830         * rt/shm_open.c: Likewise.
33831         * rt/shm_unlink.c: Likewise.
33832         * rt/timer_create.c: Likewise.
33833         * rt/timer_delete.c: Likewise.
33834         * rt/timer_getoverr.c: Likewise.
33835         * rt/timer_gettime.c: Likewise.
33836         * rt/timer_settime.c: Likewise.
33837         * setjmp/__longjmp.c: Likewise.
33838         * setjmp/setjmp.c: Likewise.
33839         * signal/kill.c: Likewise.
33840         * signal/killpg.c: Likewise.
33841         * signal/raise.c: Likewise.
33842         * signal/sigaction.c: Likewise.
33843         * signal/sigaltstack.c: Likewise.
33844         * signal/sigblock.c: Likewise.
33845         * signal/sigignore.c: Likewise.
33846         * signal/sigintr.c: Likewise.
33847         * signal/signal.c: Likewise.
33848         * signal/sigpause.c: Likewise.
33849         * signal/sigpending.c: Likewise.
33850         * signal/sigqueue.c: Likewise.
33851         * signal/sigreturn.c: Likewise.
33852         * signal/sigset.c: Likewise.
33853         * signal/sigsetmask.c: Likewise.
33854         * signal/sigstack.c: Likewise.
33855         * signal/sigsuspend.c: Likewise.
33856         * signal/sigtimedwait.c: Likewise.
33857         * signal/sigvec.c: Likewise.
33858         * signal/sigwait.c: Likewise.
33859         * signal/sigwaitinfo.c: Likewise.
33860         * signal/sysv_signal.c: Likewise.
33861         * socket/accept.c: Likewise.
33862         * socket/accept4.c: Likewise.
33863         * socket/bind.c: Likewise.
33864         * socket/connect.c: Likewise.
33865         * socket/getpeername.c: Likewise.
33866         * socket/getsockname.c: Likewise.
33867         * socket/getsockopt.c: Likewise.
33868         * socket/isfdtype.c: Likewise.
33869         * socket/listen.c: Likewise.
33870         * socket/recv.c: Likewise.
33871         * socket/recvfrom.c: Likewise.
33872         * socket/recvmsg.c: Likewise.
33873         * socket/send.c: Likewise.
33874         * socket/sendmsg.c: Likewise.
33875         * socket/sendto.c: Likewise.
33876         * socket/setsockopt.c: Likewise.
33877         * socket/shutdown.c: Likewise.
33878         * socket/sockatmark.c: Likewise.
33879         * socket/socket.c: Likewise.
33880         * socket/socketpair.c: Likewise.
33881         * stdio-common/ctermid.c: Likewise.
33882         * stdio-common/cuserid.c: Likewise.
33883         * stdio-common/remove.c: Likewise.
33884         * stdio-common/rename.c: Likewise.
33885         * stdio-common/renameat.c: Likewise.
33886         * stdio-common/tempname.c: Likewise.
33887         * stdlib/getcontext.c: Likewise.
33888         * stdlib/makecontext.c: Likewise.
33889         * stdlib/setcontext.c: Likewise.
33890         * stdlib/swapcontext.c: Likewise.
33891         * stdlib/system.c: Likewise.
33892         * streams/fattach.c: Likewise.
33893         * streams/fdetach.c: Likewise.
33894         * streams/getmsg.c: Likewise.
33895         * streams/getpmsg.c: Likewise.
33896         * streams/putmsg.c: Likewise.
33897         * streams/putpmsg.c: Likewise.
33898         * sysdeps/unix/bsd/getpt.c: Likewise.
33899         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
33900         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
33901         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
33902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
33903         Likewise.
33904         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
33905         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
33906         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
33907         * sysvipc/msgctl.c: Likewise.
33908         * sysvipc/msgget.c: Likewise.
33909         * sysvipc/msgrcv.c: Likewise.
33910         * sysvipc/msgsnd.c: Likewise.
33911         * sysvipc/semctl.c: Likewise.
33912         * sysvipc/semget.c: Likewise.
33913         * sysvipc/semop.c: Likewise.
33914         * sysvipc/semtimedop.c: Likewise.
33915         * sysvipc/shmat.c: Likewise.
33916         * sysvipc/shmctl.c: Likewise.
33917         * sysvipc/shmdt.c: Likewise.
33918         * sysvipc/shmget.c: Likewise.
33919         * termios/tcdrain.c: Likewise.
33920         * termios/tcflow.c: Likewise.
33921         * termios/tcflush.c: Likewise.
33922         * termios/tcgetattr.c: Likewise.
33923         * termios/tcgetpgrp.c: Likewise.
33924         * termios/tcsendbrk.c: Likewise.
33925         * termios/tcsetattr.c: Likewise.
33926         * termios/tcsetpgrp.c: Likewise.
33927         * time/adjtime.c: Likewise.
33928         * time/clock.c: Likewise.
33929         * time/getitimer.c: Likewise.
33930         * time/gettimeofday.c: Likewise.
33931         * time/setitimer.c: Likewise.
33932         * time/settimeofday.c: Likewise.
33933         * time/stime.c: Likewise.
33934         * time/time.c: Likewise.
33936 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
33938         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
33939         /usr/old/bin.
33941         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
33942         instead of spaces.
33943         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
33945 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
33947         [BZ #14796]
33948         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
33949         FE_TONEAREST before applying Dekker multiplication and Knuth
33950         addition.  Clear inexact exceptions and check for exact zero
33951         results afterwards.
33952         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33953         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33954         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33955         * math/libm-test.inc (fma_test): Add more tests.
33956         (fma_test_towardzero): Likewise.
33957         (fma_test_downward): Likewise.
33958         (fma_test_upward): Likewise.
33959         * sysdeps/generic/math_private.h (default_libc_fesetround): New
33960         function.
33961         (libc_fesetround): New macro.
33962         (libc_fesetroundf): Likewise.
33963         (libc_fesetroundl): Likewise.
33964         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
33965         function.
33966         (libc_fesetround_387): Likewise.
33967         (libc_fesetroundf): New macro.
33968         (libc_fesetround): Likewise.
33969         (libc_fesetroundl): Likewise.
33970         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
33971         function.
33972         (libc_fesetroundf): New macro.
33973         (libc_fesetround): Likewise.
33974         (libc_fesetroundl): Likewise.
33975         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
33976         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
33977         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
33978         libm_hidden_ver.
33979         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
33980         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
33981         libm_hidden_def.
33982         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
33983         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
33984         libm_hidden_ver.
33985         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
33986         libm_hidden_def.
33988         [BZ #3439]
33989         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
33990         integer constant usable in #if and use that to give value to enum
33991         constant.
33992         (FE_DIVBYZERO): Likewise.
33993         (FE_UNDERFLOW): Likewise.
33994         (FE_OVERFLOW): Likewise.
33995         (FE_INVALID): Likewise.
33996         (FE_INVALID_SNAN): Likewise.
33997         (FE_INVALID_ISI): Likewise.
33998         (FE_INVALID_IDI): Likewise.
33999         (FE_INVALID_ZDZ): Likewise.
34000         (FE_INVALID_IMZ): Likewise.
34001         (FE_INVALID_COMPARE): Likewise.
34002         (FE_INVALID_SOFTWARE): Likewise.
34003         (FE_INVALID_SQRT): Likewise.
34004         (FE_INVALID_INTEGER_CONVERSION): Likewise.
34005         (FE_TONEAREST): Likewise.
34006         (FE_TOWARDZERO): Likewise.
34007         (FE_UPWARD): Likewise.
34008         (FE_DOWNWARD): Likewise.
34009         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
34010         (FE_DIVBYZERO): Likewise.
34011         (FE_OVERFLOW): Likewise.
34012         (FE_UNDERFLOW): Likewise.
34013         (FE_INEXACT): Likewise.
34014         (FE_TONEAREST): Likewise.
34015         (FE_DOWNWARD): Likewise.
34016         (FE_UPWARD): Likewise.
34017         (FE_TOWARDZERO): Likewise.
34018         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
34019         (FE_UNDERFLOW): Likewise.
34020         (FE_OVERFLOW): Likewise.
34021         (FE_DIVBYZERO): Likewise.
34022         (FE_INVALID): Likewise.
34023         (FE_TONEAREST): Likewise.
34024         (FE_TOWARDZERO): Likewise.
34025         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
34026         (FE_OVERFLOW): Likewise.
34027         (FE_UNDERFLOW): Likewise.
34028         (FE_DIVBYZERO): Likewise.
34029         (FE_INEXACT): Likewise.
34030         (FE_TONEAREST): Likewise.
34031         (FE_TOWARDZERO): Likewise.
34032         (FE_UPWARD): Likewise.
34033         (FE_DOWNWARD): Likewise.
34034         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
34035         (FE_DIVBYZERO): Likewise.
34036         (FE_OVERFLOW): Likewise.
34037         (FE_UNDERFLOW): Likewise.
34038         (FE_INEXACT): Likewise.
34039         (FE_TONEAREST): Likewise.
34040         (FE_DOWNWARD): Likewise.
34041         (FE_UPWARD): Likewise.
34042         (FE_TOWARDZERO): Likewise.
34044 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
34046         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
34048 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
34050         * scripts/cross-test-ssh.sh (command): Use newlines to separate
34051         commands.  Quote $PWD.
34052         (blacklist_exports): Don't use remove_newlines.  Replace "declare
34053         -x" by "export".
34054         (remove_newlines): Remove.
34056 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
34058         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
34059         * stdlib/stdlib.h (atof): Moved to ...
34060         * include/bits/stdlib-float.h: Here.  New file.
34061         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
34062         * stdlib/bits/stdlib-float.h: New file.
34063         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
34064         -mno-sse -mno-mmx.
34065         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
34066         <xmmintrin.h>.
34068 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
34070         * conform/conformtest.pl (@headers): Add fenv.h.
34071         * conform/data/fenv.h-data: New file.
34072         * include/fenv.h [_ISOMAC]: Disable all contents of file except
34073         include of <math/fenv.h>.
34075         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
34076         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
34077         && !UNIX98].  Enables tests for XOPEN2K8.
34078         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
34079         POSIX2008]: Likewise.
34081         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
34082         (struct rusage): Do not expect type or its members.
34084         [BZ #3439]
34085         * math/math.h (FP_NAN): Define macro to integer constant usable in
34086         #if and use that to give value to enum constant.
34087         (FP_INFINITE): Likewise.
34088         (FP_ZERO): Likewise.
34089         (FP_SUBNORMAL): Likewise.
34090         (FP_NORMAL): Likewise.
34092 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
34094         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
34095         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
34096         arguments.
34098 2012-11-02  Roland McGrath  <roland@hack.frob.com>
34100         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
34101         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
34102         autoconf-time if not.
34103         * configure.in: Remove AC_PREREQ.
34105 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34107         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
34108         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
34109         of the internal implementation.
34111 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
34113         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
34114         except include of <misc/sys/syslog.h>.
34116 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
34118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
34119         function returns with a NULL context exit with zero.
34121 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34123         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
34125 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
34127         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
34128         (run_program_cmd): This.
34129         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
34130         (tst_langinfo): New variable.  Use it.
34132 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
34134         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
34135         floating point opcodes.
34137 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
34139         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
34140         variable.
34142         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
34144         * sysdeps/mach/hurd/powerpc: Remove directory.
34145         * sysdeps/mach/powerpc: Likewise.
34147 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
34149         * scripts/check-local-headers.sh: Ignore c++ headers.
34151 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
34153         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
34154         __libc_cleanup_region_start argument.
34156 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
34158         [BZ #14784]
34159         [BZ #14785]
34160         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
34161         x * y using scaling, not as x * y + z.
34162         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34163         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34164         * math/libm-test.inc (fma_test): Add more tests.
34165         (fma_test_towardzero): Likewise.
34166         (fma_test_downward): Likewise.
34167         (fma_test_upward): Likewise.
34169 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
34171         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
34173 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
34175         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
34176         New variable.
34178 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
34180         * rt/tst-shm.c (worker): Correct checking for mmap failure.
34182 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
34184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34185         Fix sort order.
34186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34187         Likewise.
34189 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34192         Fix the order of the list for glibc 2.17.
34193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34194         Likewise.
34196 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
34198         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34200 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
34202         [BZ #14610]
34203         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
34204         for low part of x being zero before using __atanl (y).
34205         * math/libm-test.inc (atan2_test): Add another test.
34207         * manual/install.texi (Configuring and compiling): Document
34208         general use of test-wrapper and test-wrapper-env.
34209         * INSTALL: Regenerated.
34211         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
34212         (__fma): Do not extract and scale down low bits on after-rounding
34213         systems when result rounded to normal precision would have normal
34214         exponent.
34215         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
34216         (__fmal): Do not extract and scale down low bits on after-rounding
34217         systems when result rounded to normal precision would have normal
34218         exponent.
34219         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
34220         (__fmal): Do not extract and scale down low bits on after-rounding
34221         systems when result rounded to normal precision would have normal
34222         exponent.
34223         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
34224         macro.
34225         (fma_test): Add more tests.
34226         (fma_test_towardzero): Likewise.
34227         (fma_test_downward): Likewise.
34228         (fma_test_upward): Likewise.
34230 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
34232         * sysdeps/i386/tininess.h: Renamed to ...
34233         * sysdeps/x86/tininess.h: This.
34234         * sysdeps/x86_64/tininess.h: Removed.
34236 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
34238         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
34239         input.  Use $(build-program-cmd).
34240         ($(objpfx)tst-array1-static.out): Likewise.
34241         ($(objpfx)tst-array2.out): Likewise.
34242         ($(objpfx)tst-array3.out): Likewise.
34243         ($(objpfx)tst-array4.out): Likewise.
34244         ($(objpfx)tst-array5.out): Likewise.
34245         ($(objpfx)tst-array5-static.out): Likewise.
34247 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
34249         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
34250         if defined.
34252         * nss/nsswitch.h (nss_interface_function): Provide new
34253         macro for use with NSS functions.
34254         * grp/initgroups.c: Use new macro.
34255         * nss/getXXbyYY.c: Likewise.
34256         * nss/getXXbyYY_r.c: Likewise.
34257         * nss/getXXent.c: Likewise.
34258         * nss/getXXent_r.c: Likewise.
34259         * sysdeps/posix/getaddrinfo.c: Likewise.
34261 2012-10-30  Andreas Jaeger  <aj@suse.de>
34263         * po/ru.po: Update Russion translation from translation project.
34265 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
34267         [BZ #14152]
34268         [BZ #14783]
34269         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
34270         result and shift together with sticky bit instead of replicating
34271         round-to-nearest rounding.
34272         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34273         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34274         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
34275         missing underflow exceptions.
34276         (fma_test_towardzero): Add more tests.
34277         (fma_test_downward): Likewise.
34278         (fma_test_upward): Likewise.
34280         [BZ #14047]
34281         * sysdeps/generic/tininess.h: New file.
34282         * sysdeps/i386/tininess.h: Likewise.
34283         * sysdeps/sh/tininess.h: Likewise.
34284         * sysdeps/x86_64/tininess.h: Likewise.
34285         * stdlib/tst-strtod-underflow.c: Likewise.
34286         * stdlib/tst-tininess.c: Likewise.
34287         * stdlib/strtod_l.c: Include <tininess.h>.
34288         (round_and_return): Do not set errno for exact underflow cases.
34289         Force an underflow exception when setting errno for underflow.
34290         Determine underflow based on rounding to normal precision if
34291         TININESS_AFTER_ROUNDING.
34292         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
34293         ERANGE for exact underflow cases.
34294         * stdlib/Makefile (tests): Add tst-tininess and
34295         tst-strtod-underflow.
34296         ($(objpfx)tst-tininess): Use $(link-libm).
34297         ($(objpfx)tst-strtod-underflow): Likewise.
34299 2012-10-30  Andreas Jaeger  <aj@suse.de>
34301         [BZ#14767]
34302         * elf/Makefile (tests): Remove conditional for have-initfini-array
34303         since this is now always required and the variable does not exist
34304         anymore.
34305         (tests-static): Likewise.
34306         (modules-names): Likewise.
34308         * po/eo.po: Add Esperanto translation from translation project.
34310         * elf/tst-array1.c (fini_array): Make writeable so that it can be
34311         merged with constructor/destructor.
34312         (init_array): Likewise.
34313         * elf/tst-array2dep.c (fini_array): Likewise.
34314         (init_array): Likewise.
34316 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
34318         * manual/message.texi: Delete @cartouche tags.
34320 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
34322         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
34323         EOPNOTSUPP.
34324         * sysdeps/mach/hurd/fsync.c: Likewise.
34326         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
34327         [_POSIX_REALTIME_SIGNALS]: Change condition to
34328         [_POSIX_REALTIME_SIGNALS > 0].
34330 2012-10-27  Andreas Jaeger  <aj@suse.de>
34332         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
34333         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
34334         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
34335         [__WORDSIZE != 64]: Likewise.
34337 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
34339         *  iconvdata/tst-table.sh: Remove ${SHELL}.
34340         *  iconvdata/tst-tables.sh: Likewise.
34342 2012-10-25  David S. Miller  <davem@davemloft.net>
34344         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34345         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
34346         of strtoull.
34348         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
34349         ifunc-impl-list.c
34350         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34351         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
34352         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
34353         file.
34355 2012-10-25  Roland McGrath  <roland@hack.frob.com>
34357         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34358         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
34359         __getdirentries.
34361 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
34362             Jim Blandy  <jimb@codesourcery.com>
34364         * scripts/cross-test-ssh.sh: New file.
34365         * manual/install.texi (Configuring and compiling): Document use of
34366         cross-test-ssh.sh.
34367         * INSTALL: Regenerated.
34369 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
34371         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
34372         EOPNOTSUPP.
34374 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
34376         * Makeconfig (run-program-prefix): Fix comment.
34378 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
34379             Jim Blandy  <jimb@codesourcery.com>
34381         * Makeconfig (test-wrapper): New variable,
34382         (test-wrapper-env): Likewise.
34383         [$(cross-compiling) = yes && $(test-wrapper) != ""]
34384         (run-built-tests): Define to yes.
34385         (run-program-prefix): Use $(test-wrapper).
34386         (built-program-cmd): Likewise.
34387         * Rules (make-test-out): Use $(test-wrapper-env) and
34388         $(host-built-program-cmd).
34389         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
34390         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
34391         tst-pathopt.sh.
34392         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
34393         $(test-wrapper-env) to tst-rtld-load-self.sh.
34394         ($(objpfx)order2.out): Use $(test-wrapper).
34395         ($(objpfx)tst-initorder.out): Likewise.
34396         ($(objpfx)tst-initorder2.out): Likewise.
34397         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
34398         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
34399         (test_wrapper_env): New variable.  Use it to run ld.so.
34400         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
34401         Use it to run ld.so.
34402         (test_wrapper_env): Likewise.
34403         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
34404         $(test-wrapper) to run-iconv-test.sh.
34405         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
34406         (ICONV): Use $test_wrapper.
34407         * posix/Makefile ($(objpfx)globtest.out): Pass
34408         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
34409         globtest.sh, not $(run-program-prefix).
34410         * posix/globtest.sh (run_via_rtld_prefix): New variable.
34411         (test_wrapper): Likewise.
34412         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
34413         set together with run_via_rtld_prefix.
34414         (run_program_prefix): Define in terms of test_wrapper and
34415         run_via_rtld_prefix.
34417 2012-10-24  Roland McGrath  <roland@hack.frob.com>
34419         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
34420         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
34421         Targets removed.
34423         [BZ #14743]
34424         * include/time.h: Remove librt_hidden_proto (clock_gettime).
34425         Declare __clock_getres, __clock_gettime, __clock_settime,
34426         __clock_nanosleep, and __clock_getcpuclockid.
34427         * rt/clock_gettime.c: Define __clock_gettime as an alias.
34428         Remove librt_hidden_def (clock_gettime).
34429         * sysdeps/unix/clock_gettime.c: Likewise.
34430         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
34431         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
34432         * rt/clock_getres.c: Define __clock_getres as an alias.
34433         * sysdeps/posix/clock_getres.c: Likewise.
34434         * rt/clock_settime.c: Define __clock_settime as an alias.
34435         * sysdeps/unix/clock_settime.c: Likewise.
34436         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
34437         * sysdeps/unix/clock_nanosleep.c: Likewise.
34438         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
34439         * rt/clock-compat.c: New file.
34440         * rt/Makefile (librt-routines): Add clock-compat and move
34441         $(clock-routines) to ...
34442         (routines): ... here, new variable.
34443         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
34444         Don't add get_clockfreq here.
34445         * rt/Versions (libc: GLIBC_2.17): New version set.
34446         Add clock_* symbols here.
34447         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
34448         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
34449         (GLIBC_2.17): Add clock_* symbols.
34450         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
34451         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
34452         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34454         Likewise.
34455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34456         Likewise.
34457         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34458         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
34459         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
34460         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
34461         * NEWS: Mention the move.
34463         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
34464         Use __open, __read, __close rather than their public counterparts.
34465         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34466         (__get_clockfreq_via_cpuinfo): Likewise.
34467         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
34468         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
34470         * config.h.in (HAVE_IFUNC): New #undef.
34471         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
34472         was successful.
34473         * configure: Regenerated.
34475 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
34477         * configure.in: Move READELF check to start of file.
34478         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
34479         libc_cv_asm_gnu_indirect_function in the process.
34480         * configure: Regenerated.
34482 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
34484         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
34485         send the output to /dev/null.
34486         (libc_cv_cc_with_libunwind): Likewise.
34487         (libc_cv_as_noexecstack): Likewise.
34488         * configure: Regenerate.
34490 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
34492         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
34494         * posix/globtest.sh (TMPDIR): Do not set.
34495         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
34496         (testout): Likewise.
34498 2012-10-24  Andreas Jaeger  <aj@suse.de>
34500         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
34501         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
34502         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
34503         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
34504         posix_fadvise64, posix_fallocate64.
34506         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
34507         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
34508         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
34509         Likewise.
34510         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
34511         Likewise.
34512         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
34514         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
34515         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
34516         <bits/fcntl-linux.h>.
34517         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
34519         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
34520         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
34521         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
34522         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
34523         [__WORDSIZE != 64]: Likewise.
34525 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
34527         * Makeconfig (run-built-tests): New variable.
34528         * Rules [$(cross-compiling) = yes]: Change condition to
34529         [$(run-built-tests) = no].
34530         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
34531         to [$(run-built-tests) = yes].
34532         * elf/Makefile [$(cross-compiling) = no]: Likewise
34533         * grp/Makefile [$(cross-compiling) = no]: Likewise.
34534         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
34535         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
34536         * intl/Makefile [$(cross-compiling) = no]: Likewise.
34537         * io/Makefile [$(cross-compiling) = no]: Likewise.
34538         * libio/Makefile [$(cross-compiling) = no]: Likewise.
34539         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
34540         * misc/Makefile [$(cross-compiling) = no]: Likewise.
34541         * posix/Makefile [$(cross-compiling) = no]: Likewise.
34542         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
34543         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
34544         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
34545         * string/Makefile [$(cross-compiling) = no]: Likewise.
34547         * posix/Makefile ($(objpfx)globtest.out): Pass
34548         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
34549         $(rtld-installed-name).
34550         * posix/globtest.sh (elf_objpfx): Remove variable.
34551         (rtld_installed_name): Likewise.
34552         (library_path): Likewise.
34553         (run_program_prefix): New variable.  Use for running globtest
34554         binary.
34556 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
34557             Joseph Myers  <joseph@codesourcery.com>
34559         * Makeconfig (host-built-program-cmd): New variable.
34560         * elf/Makefile (tst-stackguard1-ARGS): Use
34561         $(host-built-program-cmd).
34562         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
34563         (tst-spawn-ARGS): Likewise.
34564         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
34566 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
34567             Jim Blandy  <jimb@codesourcery.com>
34569         * Makeconfig (run-via-rtld-prefix): New variable.
34570         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
34571         (built-program-cmd): Likewise.
34573 2012-10-22  Andreas Jaeger  <aj@suse.de>
34575         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
34576         __O_RSYNC if it exists, otherwise to O_SYNC.
34578 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
34579             Joseph Myers  <joseph@codesourcery.com>
34581         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
34582         /dev/null.
34583         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
34584         from /dev/null
34585         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
34586         /dev/null.
34588 2012-10-22  Andreas Jaeger  <aj@suse.de>
34590         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
34591         Define always.
34592         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
34594         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34595         bits/fcntl-linux.h.
34597         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
34598         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
34600         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
34601         to __O_LARGEFILE.
34602         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
34603         to __O_LARGEFILE.
34605 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
34606             Joseph Myers  <joseph@codesourcery.com>
34608         * config.make.in (NM): New variable.
34610 2012-10-21  Andreas Jaeger  <aj@suse.de>
34612         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
34613         definitions and declarations that are provided by
34614         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
34616 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
34618         [BZ #14683]
34619         * elf/Makefile (tests-static): Add tst-leaks1-static.
34620         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
34621         ($(objpfx)tst-leaks1-static): New rule.
34622         ($(objpfx)tst-leaks1-static-mem): Likewise.
34623         (tst-leaks1-static-ENV): New macro.
34624         * elf/dl-open.c (dl_open_worker): Check the main application
34625         only if SHARED is defined.
34626         * elf/tst-leaks1-static.c: New file.
34628 2012-10-20  Andreas Jaeger  <aj@suse.de>
34630         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
34631         generic values for Linux.
34632         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
34633         and declarations that are provided by <bits/fcntl-linux.h> and
34634         include <bits/fcntl-linux.h>.
34635         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34636         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34638 2012-10-20  Roland McGrath  <roland@hack.frob.com>
34640         * io/fcntl.h: Move include of <bits/types.h> to the top and
34641         include it unconditionally.
34643 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
34645         * wcsmbs/Makefile (tests-ifunc): New variable.
34646         (tests): Add $(tests-ifunc).
34647         * wcsmbs/test-wcschr-ifunc.c: New file.
34648         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
34649         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
34650         * wcsmbs/test-wcslen-ifunc.c: Likewise.
34651         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
34652         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
34654         * string/Makefile (tests-ifunc): New variable.
34655         (tests): Add $(tests-ifunc).
34656         * string/test-memccpy.c (TEST_NAME): New macro.
34657         * string/test-memchr.c (TEST_NAME): Likewise.
34658         * string/test-memcmp.c (TEST_NAME): Likewise.
34659         * string/test-memcpy.c (TEST_NAME): Likewise.
34660         * string/test-memmem.c (TEST_NAME): Likewise.
34661         * string/test-memmove.c (TEST_NAME): Likewise.
34662         * string/test-memset.c (TEST_NAME): Likewise.
34663         * string/test-rawmemchr.c (TEST_NAME): Likewise.
34664         * string/test-stpcpy.c (TEST_NAME): Likewise.
34665         * string/test-stpncpy.c (TEST_NAME): Likewise.
34666         * string/test-strcasecmp.c (TEST_NAME): Likewise.
34667         * string/test-strcasestr.c (TEST_NAME): Likewise.
34668         * string/test-strcat.c (TEST_NAME): Likewise.
34669         * string/test-strchr.c (TEST_NAME): Likewise.
34670         * string/test-strcmp.c(TEST_NAME): Likewise.
34671         * string/test-strcpy.c (TEST_NAME): Likewise.
34672         * string/test-strcspn.c (TEST_NAME): Likewise.
34673         * string/test-strlen.c (TEST_NAME): Likewise.
34674         * string/test-strncasecmp.c (TEST_NAME): Likewise.
34675         * string/test-strncmp.c (TEST_NAME): Likewise.
34676         * string/test-strncpy.c (TEST_NAME): Likewise.
34677         * string/test-strnlen.c (TEST_NAME): Likewise.
34678         * string/test-strpbrk.c (TEST_NAME): Likewise.
34679         * string/test-strrchr.c (TEST_NAME): Likewise.
34680         * string/test-strspn.c (TEST_NAME): Likewise.
34681         * string/test-strstr.c (TEST_NAME): Likewise.
34682         * string/test-bcopy-ifunc.c: New file.
34683         * string/test-bzero-ifunc.c: Likewise.
34684         * string/test-memccpy-ifunc.c: Likewise.
34685         * string/test-memchr-ifunc.c: Likewise.
34686         * string/test-memcmp-ifunc.c: Likewise.
34687         * string/test-memcpy-ifunc.c: Likewise.
34688         * string/test-memmem-ifunc.c: Likewise.
34689         * string/test-memmove-ifunc.c: Likewise.
34690         * string/test-mempcpy-ifunc.c: Likewise.
34691         * string/test-memset-ifunc.c: Likewise.
34692         * string/test-rawmemchr-ifunc.c: Likewise.
34693         * string/test-stpcpy-ifunc.c: Likewise.
34694         * string/test-stpncpy-ifunc.c: Likewise.
34695         * string/test-strcasecmp-ifunc.c: Likewise.
34696         * string/test-strcasestr-ifunc.c: Likewise.
34697         * string/test-strcat-ifunc.c: Likewise.
34698         * string/test-strchr-ifunc.c: Likewise.
34699         * string/test-strchrnul-ifunc.c: Likewise.
34700         * string/test-strcmp-ifunc.c: Likewise.
34701         * string/test-strcpy-ifunc.c: Likewise.
34702         * string/test-strcspn-ifunc.c: Likewise.
34703         * string/test-strlen-ifunc.c: Likewise.
34704         * string/test-strncasecmp-ifunc.c: Likewise.
34705         * string/test-strncat-ifunc.c: Likewise.
34706         * string/test-strncmp-ifunc.c: Likewise.
34707         * string/test-strncpy-ifunc.c: Likewise.
34708         * string/test-strnlen-ifunc.c: Likewise.
34709         * string/test-strpbrk-ifunc.c: Likewise.
34710         * string/test-strrchr-ifunc.c: Likewise.
34711         * string/test-strspn-ifunc.c: Likewise.
34712         * string/test-strstr-ifunc.c: Likewise.
34714         * debug/Makefile (tests-ifunc): New variable.
34715         (tests): Add $(tests-ifunc).
34716         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
34717         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
34718         * debug/test-stpcpy_chk-ifunc.c: New file.
34719         * debug/test-strcpy_chk-ifunc.c: Likewise.
34721 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
34723         [BZ #13601]
34724         * elf/dl-load.c (open_verify): Retry read if the entire ELF
34725         header is not read in.
34727 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
34729         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
34730         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
34731         directly.  Pass built executable to script as
34732         $(built-program-cmd).
34733         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
34734         $testprogram without using LD_LIBRARY_PATH and $ldso.
34736         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
34737         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
34738         $(rtld-installed-name).
34739         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
34740         (rtld_installed_name): Likewise.
34741         (library_path): Likewise.
34742         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
34743         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
34744         $(run-program-prefix) to tst-tables.sh.
34745         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
34746         it to run tst-table-from and tst-table-to.
34747         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
34748         Pass it to tst-table.sh.
34749         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
34750         $(run-program-prefix) to tst-gettext.sh.
34751         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
34752         tst-translit.sh.
34753         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
34754         tst-gettext2.sh.
34755         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
34756         to run tst-gettext.
34757         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
34758         to run tst-gettext2.
34759         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
34760         to run tst-translit.
34761         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
34762         $(run-program-prefix) to tst-mtrace.sh.
34763         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
34764         to run tst-mtrace.
34765         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
34766         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
34767         $(rtld-installed-name).
34768         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
34769         (rtld_installed_name): Likewise.
34770         (run_program_prefix): New variable.  Use it to run wordexp-test.
34772         * Makeconfig (ARCH): Remove all definitions.
34773         (machine): Likewise.
34774         [ARCH]: Remove conditional code.
34775         [!objdir]: Give error.
34776         [!objdir] (objpfx): Remove.
34777         [!objdir] (common-objpfx): Likewise.
34778         [!objdir] (common-objdir): Likewise.
34779         * configure.in (config_makefile): Remove.  Hardcode Makefile in
34780         AC_CONFIG_FILES call.
34781         * configure: Regenerated.
34783         [BZ #13888]
34784         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
34785         or TMPDIR.
34786         (testout): Likewise.
34788         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
34789         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
34790         $(rtld-installed-name).
34791         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
34792         (rtld_installed_name): Likwise.
34793         (runit): Remove function.
34794         (run_getconf): New variable,  Use it for running getconf binary.
34796 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
34798         [BZ #14716]
34799         * string/test-memmem.c (check_result): New function.
34800         (do_one_test): Use it.
34801         (check1): New function.
34802         (test_main): Use it.
34804 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
34806         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
34808 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
34810         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
34811         (_G_LSEEK64): Likewise.
34812         (_G_MMAP64): Likewise.
34813         (_G_FSTAT64): Likewise.
34814         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
34815         (_G_LSEEK64): Likewise.
34816         (_G_MMAP64): Likewise.
34817         (_G_FSTAT64): Likewise.
34818         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
34819         unconditional.  Call __mmap64 directly.
34820         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
34821         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
34822         __lseek64 directly.
34823         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
34824         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
34825         __mmap64 directly.
34826         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
34827         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
34828         __lseek64 directly.
34829         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
34830         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
34831         __lseek64 directly.
34832         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
34833         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
34834         __lseek64 directly.
34835         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
34836         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
34837         __fxstat64 directly.
34838         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
34839         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
34840         unconditional.
34841         (freopen64) [!_G_OPEN64]: Remove conditional code.
34842         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
34843         unconditional.
34844         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
34845         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
34846         unconditional.
34847         (ftello64) [!_G_LSEEK64]: Remove conditional code.
34848         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
34849         unconditional.
34850         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
34851         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
34852         unconditional.
34853         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
34854         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
34855         unconditional.
34856         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
34857         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
34858         unconditional.
34859         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
34860         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
34861         unconditional.
34862         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
34864 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
34866         [BZ #12140]
34867         * manual/memory.texi (Malloc Tunable Parameters): Add note
34868         about free list pointers overwriting some perturb bytes.
34869         Wording suggested by Roland McGrath.
34871 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
34873         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
34874         (lgamma_test): Likewise.
34875         (tgamma_test): Likewise.
34877 2012-10-16  Florian Weimer  <fweimer@redhat.com>
34879         [BZ #14700]
34880         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
34881         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
34883 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
34885         * NEWS: Mention BZ #14716.
34886         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
34887         when removing AVAILABLE1_USES_J macro.
34889 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
34891         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
34892         (__bswap_64): __uint64_t for unsigned 64-bit int.
34894 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
34896         * include/string.h (memmem): Declare libc hidden alias.
34897         * string/memmem.c (memmem): Define libc hidden alias.
34898         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
34899         __read, __close instead of open, read, close.
34901 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
34903         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
34904         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
34905         global and hidden.
34906         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
34907         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
34908         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
34909         Likewise.
34910         (__rawmemchr_sse2): Likewise.
34911         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
34912         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
34913         (__strchr_sse2): Likewise.
34914         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
34915         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
34916         (__strcasecmp_sse2): Likewise.
34917         (__strncasecmp_sse2): Likewise.
34918         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
34919         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
34920         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
34921         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
34922         (__strrchr_sse2): Likewise.
34923         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
34924         ifunc-impl-list.c.
34925         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
34926         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
34927         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
34928         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
34929         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
34930         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
34931         * sysdeps/x86_64/multiarch/memset.S: Likewise.
34932         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34933         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
34934         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
34935         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
34936         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
34937         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
34938         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
34939         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
34940         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
34941         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
34942         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
34943         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
34944         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
34945         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
34946         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
34947         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
34948         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
34949         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
34950         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34951         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
34952         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
34953         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
34954         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
34956         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
34957         global and hidden.
34958         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
34959         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
34960         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
34961         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
34962         Likewise.
34963         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
34964         Likewise.
34965         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
34966         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
34967         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
34968         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
34969         ifunc-impl-list.c.
34970         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34971         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34972         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34973         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34974         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34975         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34976         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34977         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34978         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34979         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34980         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34981         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34982         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34983         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
34984         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
34985         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34986         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
34987         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
34988         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34989         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
34990         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34991         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34992         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34993         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34994         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34995         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
34996         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
34997         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
34998         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
34999         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35000         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
35001         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35002         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35003         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
35004         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35005         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35006         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35007         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35008         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35009         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35010         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
35012         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
35013         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
35014         * include/ifunc-impl-list.h: New file.
35015         * misc/ifunc-impl-list.c: Likewise.
35016         * misc/Makefile (routines): Add ifunc-impl-list.
35017         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
35018         * string/test-string.h: Include <ifunc-impl-list.h>.
35019         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
35020         TEST_NAME]: New variables.
35021         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
35022         are defined.
35023         (test_init): Call __libc_ifunc_impl_list to initialize
35024         func_list if TEST_IFUNC and TEST_NAME are defined.
35026         * string/Makefile (strop-tests): Add bcopy and bzero.
35027         * string/test-bcopy.c: New file.
35028         * string/test-bzero.c: Likewise.
35029         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
35030         defined.
35031         * string/test-memset.c: Support bzero test if TEST_BZERO is
35032         defined.
35033         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
35034         __libc_memmove.
35035         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
35036         __libc_memset.
35037         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
35038         of memset.
35040 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
35042         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
35043         * configure: Regenerated.
35045         * Makeconfig (+link-static-before-libc): Don't include
35046         $(link-static-libc).
35048         * libio/libio.h (_IO_pos_t): Remove.
35050 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
35052         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
35053         McGrath.
35055 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
35057         * crypt/crypt-entry.c: Include fips-private.h.
35058         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
35059         * crypt/md5c-test.c (main): Tolerate disabled MD5.
35060         * sysdeps/unix/sysv/linux/fips-private.h: New file.
35061         * sysdeps/generic/fips-private.h: New file, dummy fallback.
35063 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
35065         * crypt/crypt-private.h: Include stdbool.h.
35066         (_ufc_setup_salt_r): Return bool.
35067         * crypt/crypt-entry.c: Include errno.h.
35068         (__crypt_r): Return NULL with EINVAL for bad salt.
35069         * crypt/crypt_util.c (bad_for_salt): New.
35070         (_ufc_setup_salt_r): Check that salt is long enough and within
35071         the specified alphabet.
35072         * crypt/badsalttest.c: New file.
35073         * crypt/Makefile (tests): Add it.
35074         ($(objpfx)badsalttest): New.
35076 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
35078         * NEWS: Add entry for BZ #14602.
35080 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
35082         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
35083         type-generic.
35084         * math/libm-test.inc: Update comment listing what functions and
35085         macros are tested.
35086         (isgreater_test): New function.
35087         (isgreaterequal_test): Likewise.
35088         (isless_test): Likewise.
35089         (islessequal_test): Likewise.
35090         (islessgreater_test): Likewise.
35091         (isunordered_test): Likewise.
35092         (main): Call the new functions.
35094 2012-10-09  Roland McGrath  <roland@hack.frob.com>
35096         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
35097         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
35098         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
35099         * sysdeps/i386/configure: Regenerated.
35100         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
35101         * sysdeps/mach/configure: Regenerated.
35102         * sysdeps/mach/hurd/configure: Regenerated.
35103         * sysdeps/powerpc/configure: Regenerated.
35104         * sysdeps/powerpc/powerpc32/configure: Regenerated.
35105         * sysdeps/powerpc/powerpc64/configure: Regenerated.
35106         * sysdeps/s390/s390-32/configure: Regenerated.
35107         * sysdeps/s390/s390-64/configure: Regenerated.
35108         * sysdeps/sh/configure: Regenerated.
35109         * sysdeps/sparc/configure: Regenerated.
35110         * sysdeps/unix/sysv/linux/configure: Regenerated.
35111         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
35112         * sysdeps/x86_64/configure: Regenerated.
35114         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
35115         defined.  Don't check if MAP is NULL.
35117 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
35119         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
35120         (_G_stat64): Likewise.
35121         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
35122         (_G_stat64): Likewise.
35123         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
35124         instead of struct _G_stat64.
35125         * libio/fileops.c (mmap_remap_check): Likewise.
35126         (decide_maybe_mmap): Likewise.
35127         (_IO_new_file_seekoff): Likewise.
35128         (_IO_file_stat): Likewise.
35129         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
35130         _G_off64_t.
35131         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
35132         instead of struct _G_stat64.
35133         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
35135 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
35137         [BZ #14602]
35138         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35139         Replace with ...
35140         (CHECK_EOL): New macro.
35141         (two_way_short_needle): Check beginning of haystack for EOL.  Use
35142         CHECK_EOL.
35143         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35144         Replace with CHECK_EOL.
35145         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35146         Replace with CHECK_EOL.
35148 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
35150         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
35151         type-generic.
35152         * math/libm-test.inc: Update comment listing what functions and
35153         macros are tested.
35154         (finite_test): New function.
35155         (isinf_test): Likewise.
35156         (isnan_test): Likewise.
35157         (fpclassify_test): Test subnormal input.
35158         (isfinite_test): Likewise.
35159         (isnormal_test): Likewise.
35160         (main): Call the new functions.
35162 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
35164         [BZ #14660]
35165         * Makerules (%.dynsym): Force C locale when running
35166         $(OBJDUMP) --dynamic-syms.
35168 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
35170         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
35171         <stdint.h>.
35173 2012-10-06  David S. Miller  <davem@davemloft.net>
35175         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
35176         upper 32-bits of the length value in %o2 since we use branch-on-register
35177         tests which consider the entire 64-bit register.
35179 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
35181         * string/test-strstr.c (check2): Add a test for page boundary.
35183 2012-10-05  David S. Miller  <davem@davemloft.net>
35185         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
35186         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
35187         file.
35188         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
35189         sysdep_routines.
35190         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
35191         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
35192         and bzero when HWCAP_SPARC_CRYPTO is present.
35194 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
35196         [BZ #14602]
35197         * string/test-strstr.c (check2): New function.
35198         (test_main): Call check2.
35200         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
35201         and bug-strchr1.
35202         * string/bug-strcasestr1.c (do_test): Moved to ...
35203         * string/test-strcasestr.c (check1): Here.  New function.
35204         (do_one_test): Break out result checking code into ...
35205         (check_result): This.  New function.
35206         (do_one_test): Call check_result.
35207         (test_main): Call check1.
35208         * string/bug-strchr1.c (do_test): Moved to ...
35209         * string/test-strchr.c (check1): Here.  New function.
35210         (do_one_test): Break out result checking code into ...
35211         (check_result): This.  New function.
35212         (do_one_test): Call check_result.
35213         (test_main): Call check1.
35214         * string/bug-strstr1.c (main): Moved to ...
35215         * string/test-strstr.c (check1): Here.  New function.
35216         (do_one_test): Break out result checking code into ...
35217         (check_result): This.  New function.
35218         (do_one_test): Call check_result.
35219         (test_main): Call check1.
35220         * string/bug-strcasestr1.c: Removed.
35221         * string/bug-strchr1.c: Likewise.
35222         * string/bug-strstr1.c: Likewise.
35224         * elf/Makefile (dl-routines): Add hwcaps.
35225         * elf/dl-support.c (_dl_important_hwcaps): Removed.
35226         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
35227         (_dl_important_hwcaps): Moved to ...
35228         * elf/dl-hwcaps.c: Here.  New file.
35229         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
35231         [BZ #14557]
35232         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
35233         if IS_IN_rtld isn't defined.
35235         * elf/dl-support.c (_dl_sysinfo_map): New.
35236         Include "get-dynamic-info.h" and "setup-vdso.h".
35237         (_dl_non_dynamic_init): Call setup_vdso.
35238         * elf/dynamic-link.h: Don't include <assert.h>.
35239         (elf_get_dynamic_info): Moved to ...
35240         * elf/get-dynamic-info.h: Here.  New file.
35241         * elf/dynamic-link.h: Include "get-dynamic-info.h".
35242         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
35243         * elf/setup-vdso.h: Here.  New file.
35244         * elf/rtld.c: Include "setup-vdso.h".
35245         (dl_main): Call setup_vdso.
35247 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
35249         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
35250         creal in comment listing functions tested.  List finite, isinf,
35251         isnan, isless, islessequal, isgreater, isgreaterequal,
35252         islessgreater, isunordered, lgamma_r and pow10 as functions and
35253         macros not tested.  Mention which functions not tested are aliases
35254         for other functions.  Fix typo.  Note that signs of NaNs are not
35255         tested.
35257         * scripts/config.guess: Update from config.git.
35258         * scripts/config.sub: Likewise.
35260 2012-10-04  Roland McGrath  <roland@hack.frob.com>
35262         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
35263         * misc/madvise.c (madvise): Renamed to __madvise.
35264         Make madvise a weak alias.
35265         * include/sys/mman.h: Declare __madvise.
35266         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
35267         * sysdeps/unix/syscalls.list
35268         (madvise): Make __madvise the strong name, and madvise a weak alias.
35269         * sysdeps/unix/sysv/linux/syscalls.list
35270         (madvise, mmap): Remove redundant entries.
35271         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
35272         * malloc/malloc.c (mtrim): Likewise.
35273         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
35275 2012-10-03  Roland McGrath  <roland@hack.frob.com>
35277         * sysdeps/mach/hurd/dl-cache.c: File removed.
35278         * config.h.in (USE_LDCONFIG): New #undef.
35279         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
35280         * configure: Regenerated.
35281         * elf/Makefile (dl-routines): Add dl-cache only under
35282         [$(use-ldconfig) = yes].
35283         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
35284         cache on [USE_LDCONFIG].
35285         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
35286         [USE_LDCONFIG].
35287         * elf/rtld.c (dl_main): Likewise.
35289 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
35291         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
35292         _SC_LEVEL4_CACHE_LINESIZE.
35294 2012-10-03  Roland McGrath  <roland@hack.frob.com>
35296         * sysdeps/unix/bsd/confstr.h: File removed.
35298 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
35300         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
35301         sys/sdt-config.h.
35303 2012-10-02  Roland McGrath  <roland@hack.frob.com>
35305         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
35306         Make 'mapoff' field ElfW(Off) rather than off_t.
35308 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
35310         * nscd/Makefile: Remove nscd-cflags and all its users.
35311         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
35312         (CFLAGS-nonlib): Add compiler flags for nscd modules.
35314         [BZ #10631]
35315         * malloc.c (malloc_printerr): Clarify error message.
35317 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
35319         [BZ #14648]
35320         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35321         Set bit_FMA_Usable if FMA is supported.
35322         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
35323         macro.
35324         (bit_FMA4_Usable): Updated.
35325         (index_FMA_Usable): New macro.
35326         (CPUID_FMA): Likewise
35327         (HAS_FMA): Defined with bit_FMA_Usable.
35329 2012-10-01  Roland McGrath  <roland@hack.frob.com>
35331         * bits/types.h (__swblk_t): Type removed.
35332         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
35333         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
35334         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35335         (__SWBLK_T_TYPE): Likewise.
35336         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35337         (__SWBLK_T_TYPE): Likewise.
35338         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35339         (__SWBLK_T_TYPE): Likewise.
35340         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35341         (__SWBLK_T_TYPE): Likewise.
35343 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
35344             Honza Horak <hhorak@redhat.com>
35346         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
35347         (xdr_mapname): Use YPMAXMAP as maxsize.
35348         (xdr_peername): Use YPMAXPEER as maxsize.
35349         (xdr_keydat): Use YPAXRECORD as maxsize.
35350         (xdr_valdat): Use YPMAXRECORD as maxsize.
35352 2012-10-01  Roland McGrath  <roland@hack.frob.com>
35354         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
35356         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
35357         * csu/init-first.c: ... here.
35358         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
35359         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
35360         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
35361         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
35362         * sysdeps/i386/init-first.c: File removed.
35363         * sysdeps/sh/init-first.c: File removed.
35365 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
35367         [BZ #14645]
35368         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
35369         if x * y might underflow to zero and z is zero.
35370         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35371         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35372         * math/libm-test.inc (min_subnorm_value): New variable.
35373         (fma_test): Add more tests.
35374         (fma_test_towardzero): Likewise.
35375         (fma_test_downward): Likewise
35376         (fma_test_upward): Likewise.
35377         (initialize): Set min_subnorm_value.
35379 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
35381         [BZ #14638]
35382         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
35383         0 + 0.
35384         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
35385         mode for addition resulting in exact zero.
35386         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
35387         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
35388         exact 0 + 0.
35389         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35390         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35391         * math/libm-test.inc (fma_test): Add more tests.
35392         (fma_test_towardzero): New function.
35393         (fma_test_downward): Likewise.
35394         (fma_test_upward): Likewise.
35395         (main): Call the new functions.
35397 2012-09-28  David S. Miller  <davem@davemloft.net>
35399         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
35401 2012-09-28  Roland McGrath  <roland@hack.frob.com>
35403         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
35404         instead of SIGALRM.
35406         * sysdeps/gnu/_G_config.h: Moved to ...
35407         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
35408         * sysdeps/mach/hurd/_G_config.h: Moved to ...
35409         * sysdeps/generic/_G_config.h: ... here.
35411         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
35413         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
35415         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
35416         Conditionalize target on [libnss_test1.so-version].
35418         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
35420         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
35421         (elfobjdir): Move out of conditionals.
35423         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
35424         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
35425         (__nss_lookup_function): Conditionalize label remove_from_tree on
35426         [!DO_STATIC_NSS || SHARED], matching its only use.
35428 2012-09-28  David S. Miller  <davem@davemloft.net>
35430         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
35431         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
35432         file.
35433         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
35434         sysdep_routines.
35435         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
35436         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
35437         when HWCAP_SPARC_CRYPTO is present.
35439 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
35441         * io/tst-mknodat.c: Create a FIFO instead of a socket.
35443 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
35445         [BZ #6530]
35446         * stdio-common/vfprintf.c (process_string_arg): Revert
35447         2000-07-22 change.
35449 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
35451         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
35452         for testcase.
35453         * stdio-common/tst-sprintf.c: Include <locale.h>
35454         (main): Test sprintf's handling of incomplete multibyte
35455         characters.
35457 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
35459         * elf/dl-runtime.c (VERSYMIDX): Removed.
35460         * elf/dl-version.c (VERSYMIDX): Likewise.
35461         * elf/do-rel.h (VERSYMIDX): Likewise.
35462         (VALIDX): Likewise.
35463         * elf/dynamic-link.h (VERSYMIDX): Likewise.
35464         * elf/rtld.c (VALIDX): Likewise.
35465         (ADDRIDX): Likewise.
35466         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
35467         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
35468         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
35469         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
35470         (VALIDX): Likewise.
35471         (ADDRIDX): Likewise.
35473 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
35475         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
35477 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
35479         [BZ #11438]
35480         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
35481         to global scope.
35482         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
35483         addresses are in the same scope as 192.0.2/24.
35484         * posix/gai.conf: Document new scope table defaults.
35486 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35488         [BZ #5298]
35489         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
35490         for ftell.  Compute offsets from write pointers instead.
35491         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
35493 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35495         [BZ #14543]
35496         * libio/Makefile (tests): New test case tst-fseek.
35497         * libio/tst-fseek.c: New test case to verify that fseek/ftell
35498         combination works in wide mode.
35499         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
35500         state when the external buffer state changes.
35502 2012-09-27  David S. Miller  <davem@davemloft.net>
35504         [BZ #14376]
35505         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
35506         pass reloc->r_addend in as the 'high' argument to
35507         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
35509         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35511 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
35513         * rt/tst-aio2.c: Include <pthread.h>.
35514         * rt/tst-aio3.c: Likewise.
35516 2012-09-27  Steve Ellcey  <sellcey@mips.com>
35518         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
35520 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
35522         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
35523         contents on [SHARED].
35525 2012-09-26  Marek Polacek  <polacek@redhat.com>
35527         [BZ #14530]
35528         [BZ #13741]
35529         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
35530         for C++ and GCC <4.3 as well as for non GCC compilers.
35532 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
35534         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35536 2012-09-25  Roland McGrath  <roland@hack.frob.com>
35538         * Makefile.in (all, install): Declare with .PHONY.
35539         Reported by Michael Hope <michael.hope@linaro.org>.
35541 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35543         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
35544         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
35545         system header.
35546         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
35547         Likewise.
35548         (sydep_routines): Add the new and the internal functions.
35549         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
35550         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
35551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
35552         (GLIBC_2.17): Add the new function.
35553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
35554         (GLIBC_2.17): Likewise.
35555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
35556         (GLIBC_2.17): Likewise.
35557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
35558         (GLIBC_2.17): Likewise.
35559         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
35561 2012-09-25  Alan Modra  <amodra@gmail.com>
35563         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
35564         Add release barrier before setting once_control to say
35565         initialisation is done.  Add hints on lwarx.  Use macro in
35566         place of isync.
35567         (clear_once_control): Add release barrier.
35569 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
35571         [BZ #13629]
35572         * math/s_clog.c (__clog): Handle more values close to |z| = 1
35573         specially.
35574         * math/s_clog10.c (__clog10): Likewise.
35575         * math/s_clog10f.c (__clog10f): Likewise.
35576         * math/s_clog10l.c (__clog10l): Likewise.
35577         * math/s_clogf.c (__clogf): Likewise.
35578         * math/s_clogl.c (__clogl): Likewise.
35579         * math/Makefile (libm-calls): Add x2y2m1.
35580         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
35581         (__x2y2m1): Likewise.
35582         (__x2y2m1l): Likewise.
35583         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
35584         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
35585         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
35586         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
35587         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
35588         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
35589         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
35590         * sysdeps/i386/fpu/libm-test-ulps: Update.
35591         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35593         [BZ #14621]
35594         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
35595         int as type of variable DEPTH.
35596         (glob): Use size_t instead of int as type of variables NEWCOUNT
35597         and OLD_PATHC.
35599 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35601         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
35602         Add s_sincosf-sse2.
35603         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
35604         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
35605         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
35606         macros for using routine as __sincosf_ia32.
35607         Use macro for function declaration and weak_alias.
35608         * sysdeps/i386/fpu/libm-test-ulps: Update.
35610         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
35611         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35613         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
35614         subnormal argument.
35615         * math/s_cexpf.c (__cexpf): Likewise.
35616         * math/s_csinf.c (__csinf): Likewise.
35617         * math/s_csinhf.c (__csinhf): Likewise.
35618         * math/s_ctanf.c (__ctanf): Likewise.
35619         * math/s_ctanhf.c (__ctanhf): Likewise.
35620         * math/s_ccosh.c (__ccoshf): Likewise.
35621         * math/s_cexp.c (__cexpl): Likewise.
35622         * math/s_csin.c (__csin): Likewise.
35623         * math/s_csinh.c (__csinh): Likewise.
35624         * math/s_ctan.c (__ctan): Likewise.
35625         * math/s_ctanh.c (ctanh): Likewise.
35626         * math/s_ccoshl.c (__ccoshl): Likewise.
35627         * math/s_cexpl.c (__cexpl): Likewise.
35628         * math/s_csinl.c (__csinl): Likewise.
35629         * math/s_csinhl.c (__csinhl): Likewise.
35630         * math/s_ctanl.c (__ctanl): Likewise.
35631         * math/s_ctanhl.c (__ctanhl): Likewise.
35633 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
35635         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
35636         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
35637         (_IO_off_t): Define to __off_t, not _G_off_t.
35638         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
35639         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
35640         (_IO_wint_t): Define to wint_t, not _G_wint_t.
35641         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
35642         type of __dummy and __dummy2 fields.
35643         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
35644         (_G_ssize_t): Likewise.
35645         (_G_off_t): Likewise.
35646         (_G_pid_t): Likewise.
35647         (_G_uid_t): Likewise.
35648         (_G_wchar_t): Likewise.
35649         (_G_wint_t): Likewise.
35650         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
35651         (_G_ssize_t): Likewise.
35652         (_G_off_t): Likewise.
35653         (_G_pid_t): Likewise.
35654         (_G_uid_t): Likewise.
35655         (_G_wchar_t): Likewise.
35656         (_G_wint_t): Likewise.
35657         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
35658         (_G_ssize_t): Likewise.
35659         (_G_off_t): Likewise.
35660         (_G_pid_t): Likewise.
35661         (_G_uid_t): Likewise.
35662         (_G_wchar_t): Likewise.
35663         (_G_wint_t): Likewise.
35665 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
35667         * malloc/arena.c: Include malloc-sysdep.h.
35668         (shrink_heap): Use check_may_shrink_heap to decide if madvise
35669         is sufficient to shrink the heap or an unmap is needed.
35670         * sysdeps/generic/malloc-sysdep.h: New file.  Define
35671         new function check_may_shrink_heap.
35672         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
35673         new function check_may_shrink_heap.
35675 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
35677         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
35678         comments.
35680 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
35682         * catgets/test-gencat.sh: Add "set -e".
35683         * elf/tst-pathopt.sh: Likewise.
35684         * grp/tst_fgetgrent.sh: Likewise.
35685         * iconvdata/run-iconv-test.sh: Likewise.
35686         * intl/tst-gettext.sh: Likewise.
35687         * intl/tst-gettext2.sh: Likewise.
35688         * intl/tst-gettext4.sh: Likewise.
35689         * intl/tst-gettext6.sh: Likewise.
35690         * intl/tst-translit.sh: Likewise.
35691         * io/ftwtest-sh: Likewise.
35692         * libio/test-freopen.sh: Likewise.
35693         * malloc/tst-mtrace.sh: Likewise.
35694         * posix/globtest.sh: Likewise.
35695         * posix/tst-getconf.sh: Likewise.
35696         * posix/wordexp-tst.sh: Likewise.
35697         * stdio-common/tst-printf.sh: Likewise.
35698         * stdio-common/tst-unbputc.sh: Likewise.
35699         * stdlib/tst-fmtmsg.sh: Likewise.
35700         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
35701         * catgets/Makefile: Do not specify -e option when running
35702         testsuite shell scripts.
35703         * elf/Makefile: Likewise.
35704         * grp/Makefile: Likewise.
35705         * iconvdata/Makefile: Likewise.
35706         * intl/Makefile: Likewise.
35707         * io/Makefile: Likewise.
35708         * libio/Makefile: Likewise.
35709         * malloc/Makefile: Likewise.
35710         * posix/Makefile: Likewise.
35711         * stdio-common/Makefile: Likewise.
35712         * stdlib/Makefile: Likewise.
35713         * sysdeps/x86_64/Makefile: Likewise.
35715         * io/ftwtest-sh: Add copyright header.
35716         * posix/globtest.sh: Likewise.
35717         * posix/tst-getconf.sh: Likewise.
35718         * posix/wordexp-tst.sh: Likewise.
35719         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
35721 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
35723         [BZ #13679]
35724         * Makeconfig (+link): Defined as $(+link-static) if
35725         $(build-shared) isn't yes.
35726         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
35727         isn't yes.
35728         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
35730         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
35732         [BZ #14562]
35733         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
35734         new chunk size with MALLOC_ALIGN_MASK.
35736 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
35738         [BZ #5044]
35739         * stdio-common/printf_fphex.c: Include <stdbool.h> and
35740         <rounding-mode.h>.
35741         (__printf_fphex): Determine rounding using get_rounding_mode and
35742         round_away.
35743         * stdio-common/tst-printf-round.c (struct hex_test): New
35744         structure.
35745         (hex_tests): New variable.
35746         (test_hex_in_one_mode): New function.
35747         (do_test): Also run tests for hex float output.
35749 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
35751         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
35752         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
35753         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
35754         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
35755         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
35756         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
35757         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
35758         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
35760 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
35762         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
35763         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
35764         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
35765         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
35767 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
35769         [BZ #14579]
35770         * elf/rtld.c (dl_main): Limit the check for self loading to normal
35771         mode only.
35772         * elf/tst-rtld-load-self.sh: New test.
35773         * elf/Makefile: Run it.
35775 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
35777         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
35778         (tst-writev-ENV): Remove.
35779         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
35781 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
35783         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
35785 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
35787         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
35788         unconditional.
35789         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
35790         Likewise.
35791         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
35792         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
35793         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
35794         Likewise.
35796 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
35798         [BZ #14587]
35799         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
35800         * config.make.in (have-cpp-asm-debuginfo): Removed.
35801         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
35802         * configure: Regenerated.
35804 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
35806         [BZ #5044]
35807         * stdio-common/printf_fp.c: Include <stdbool.h> and
35808         <rounding-mode.h>.
35809         (___printf_fp): Determine rounding using get_rounding_mode and
35810         round_away.
35811         * stdio-common/tst-printf-round.c: New file.
35812         * stdio-common/Makefile (tests): Add tst-printf-round.
35813         (link-libm): New variable.
35814         ($(objpfx)tst-printf-round): Depend in $(link-libm).
35816 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
35818         [BZ #14576]
35819         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
35820         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
35821         Likewise.
35822         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
35823         Likewise.
35825 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
35827         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
35828         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35829         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35830         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35832 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
35834         [BZ #14518]
35835         * include/rounding-mode.h: New file.
35836         * sysdeps/generic/get-rounding-mode.h: Likewise.
35837         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
35838         * stdlib/strtod_l.c: Include <rounding-mode.h>.
35839         (MAX_VALUE): New macro.
35840         (MIN_VALUE): Likewise.
35841         (overflow_value): New function.
35842         (underflow_value): Likewise.
35843         (round_and_return): Use overflow_value and underflow_value to
35844         determine return values in overflow and underflow cases.  Use
35845         round_away to determine rounding depending on rounding mode.
35846         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
35847         determine return values in overflow and underflow cases.
35848         * stdlib/tst-strtod-round.c: Include <fenv.h>.
35849         (struct test_results): New structure.
35850         (struct test): Use struct test_results to store expected results
35851         for all rounding modes.
35852         (TEST): Include expected results for all rounding modes.
35853         (test_in_one_mode): New function.
35854         (do_test): Use test_in_one_mode to compute and check results.
35855         Check results for all rounding modes.
35856         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
35857         $(link-libm).
35859 2012-12-09  Allan McRae  <allan@archlinux.org>
35861         * sysdeps/i386/fpu/libm-test-ulps: Update
35863 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
35865         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
35866         (_G_int32_t): Likewise.
35867         (_G_uint16_t): Likewise.
35868         (_G_uint32_t): Likewise.
35869         (_G_HAVE_BOOL): Likewise.
35870         (_G_HAVE_ATEXIT): Likewise.
35871         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35872         (_G_HAVE_IO_FILE_OPEN): Likewise.
35873         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
35874         (_G_int32_t): Likewise.
35875         (_G_uint16_t): Likewise.
35876         (_G_uint32_t): Likewise.
35877         (_G_HAVE_BOOL): Likewise.
35878         (_G_HAVE_ATEXIT): Likewise.
35879         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35880         (_G_HAVE_IO_FILE_OPEN): Likewise.
35881         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
35882         (_G_int32_t): Likewise.
35883         (_G_uint16_t): Likewise.
35884         (_G_uint32_t): Likewise.
35885         (_G_HAVE_BOOL): Likewise.
35886         (_G_HAVE_ATEXIT): Likewise.
35887         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35888         (_G_HAVE_IO_FILE_OPEN): Likewise.
35890 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
35892         * csu/libc-tls.c: Update copyright years.
35894 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
35896         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
35897         [!_G_USING_THUNKS]: Remove conditional code.
35898         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
35899         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
35901         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
35902         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
35903         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35904         (_G_VTABLE_LABEL_PREFIX): Likewise.
35905         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35906         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35907         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35908         (_G_VTABLE_LABEL_PREFIX): Likewise.
35909         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
35910         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35911         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35912         (_G_VTABLE_LABEL_PREFIX): Likewise.
35913         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
35915 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
35917         * libio/Makefile: Include ../Makeconfig before tests.
35918         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
35919         only if $(build-shared) is yes.
35921         * iconv/gconv_db.c: Update copyright years.
35923 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35925         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
35926         unwind info if defined PIC. Fix special cases description.
35927         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
35929         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
35930         DP_HI_MASK entry.
35931         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
35933 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
35935         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
35937         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
35938         is NULL.
35940         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
35941         (LDLIBS-tst-chk4): This.
35942         (LDFLAGS-tst-chk5): Renamed to ...
35943         (LDLIBS-tst-chk5): This.
35944         (LDFLAGS-tst-chk6): Renamed to ...
35945         (LDLIBS-tst-chk6): This.
35946         (LDFLAGS-tst-lfschk4): Renamed to ...
35947         (LDLIBS-tst-lfschk4): This.
35948         (LDFLAGS-tst-lfschk5): Renamed to ...
35949         (LDLIBS-tst-lfschk5): This.
35950         (LDFLAGS-tst-lfschk6): Renamed to ...
35951         (LDLIBS-tst-lfschk6): This.
35953         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
35954         on $(common-objpfx)soversions.mk.
35956 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
35958         [BZ #10014]
35959         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
35960         example host name.
35962 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
35964         * malloc/arena.c (arena_get_retry): New function that gets
35965         another arena for the caller to try its request on.
35966         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
35967         current arena cannot fulfill the request.
35968         (__libc_memalign): Likewise.
35969         (__libc_memalign): Likewise.
35970         (__libc_pvalloc): Likewise.
35971         (__libc_calloc): Likewise.
35973 2012-09-05  John Tobey  <john.tobey@gmail.com>
35975         [BZ #13542]
35976         * manual/arith.texi (Operations on Complex): Fix description
35977         of carg branch cut.
35979 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
35981         [BZ #10014]
35982         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
35983         host name.
35985         [BZ #10038]
35986         * manual/memory.texi (Memory): Make order of menu items match
35987         order of sections.
35989 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
35991         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
35992         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
35993         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
35995 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
35997         * csu/libc-tls.c (static_dtv): Renamed to ...
35998         (_dl_static_dtv): This.  Make it global.
35999         (_dl_initial_dtv): Removed.
36000         (__libc_setup_tls): Updated.
36001         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
36002         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
36003         DL_INITIAL_DTV.
36005 2012-09-06  Petr Machata  <pmachata@redhat.com>
36007         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
36008         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
36009         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
36010         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
36012 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
36014         [BZ #14545]
36015         * csu/libc-tls.c (_dl_initial_dtv): New variable.
36016         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
36017         freeing dtv[-1].
36019 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
36021         [BZ #14544]
36022         * Makeconfig (link-static-before-libc): Replace $(+prector)
36023         with $(+prectorT).
36024         (link-static-after-libc): Replace $(+postctor) with
36025         $(+postctorT).
36026         (link-bounded): Replace $(+prector)/$(+postctor) with
36027         $(+prectorT)/$(+postctorT).
36028         (+prectorT): New macro.
36029         (+postctorT): Likewise.
36031 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
36033         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
36034         (round_str): Handle values above the maximum for IBM long double
36035         as inexact.
36036         * stdlib/tst-strtod-round.c (tests): Regenerated.
36038 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36040         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
36041         assembler flag.
36042         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
36043         zarch_nohighgprs around the zarch optimized routines.
36044         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
36045         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
36046         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
36047         for zarch.
36049 2012-09-05  David S. Miller  <davem@davemloft.net>
36051         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36053         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
36054         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
36055         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
36056         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
36057         entries.
36059 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
36061         * malloc/arena.c: Fold copyright years.
36062         * malloc/mcheck.c, malloc/memusage.c: Likewise.
36064 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
36066         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
36068 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
36070         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
36072 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
36074         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
36075         change internal state upon failure.
36077 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
36079         * malloc/mcheck.c (mcheck_check_all): Fix typo.
36080         * malloc/memusage.c (mmap): Likewise.
36081         (mmap64, mremap): Likewise.  Adjust name in comment.
36083 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
36085         * libio/fileops.c: Fix typos in comments.
36086         * libio/oldfileops.c: Likewise.
36087         * libio/wfileops.c: Likewise.
36089 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
36091         [BZ #1349]
36092         * malloc/Makefile (tests): Add tst-malloc-usable test case.
36093         (tst-malloc-usable-ENV): Set environment for test case.
36094         * malloc/hooks.c (malloc_check_get_size): New function to get
36095         requested size.
36096         * malloc/malloc.c (musable): Use malloc_check_get_size.
36097         * malloc/tst-malloc-usable.c: New test case.
36099 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
36101         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
36103 2012-09-05  Allan McRae  <allan@archlinux.org>
36105         [BZ #13966]
36106         * configure.in (CXX_SYSINCLUDES): Use compiler output to
36107         determine header location.
36108         * configure: Regenerated.
36110 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
36112         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
36113         float format.
36114         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
36115         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
36116         format.
36117         (test): Regenerate.
36119 2012-09-04  David S. Miller  <davem@davemloft.net>
36121         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
36122         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
36123         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
36125 2012-09-04  Florian Weimer  <fweimer@redhat.com>
36127         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
36128         failures.
36130         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
36132 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
36134         [BZ #9914]
36135         * libio/iogetdelim.c: Include <limits.h>.
36136         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
36137         + len + 1 would overflow.
36139 2012-09-03  Andreas Jaeger  <aj@suse.de>
36141         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36142         * sysdeps/i386/fpu/libm-test-ulps: Update.
36144 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36146         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
36147         Add s_sinf-sse2, s_conf-sse2.
36149         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
36150         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
36151         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
36152         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
36154         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
36155         for using routine as __sinf_ia32.
36156         Use macro for function declaration and weak_alias.
36157         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
36158         for using routine as __cosf_ia32.
36159         Use macro for function declaration and weak_alias.
36161         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
36162         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
36164         * sysdeps/x86_64/fpu/s_sinf.S: New file.
36165         * sysdeps/x86_64/fpu/s_cosf.S: New file.
36166         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36168         * math/libm-test.inc (cos_test): Add more test cases.
36169         (sin_test): Likewise.
36170         (sincos_test): Likewise.
36172 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36174         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
36175         (IFUNC_RESOLVE): Make pointers to the specialized implementations
36176         hidden.
36177         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
36179 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
36181         [BZ #14538]
36182         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
36183         first element of the GOT.
36184         (elf_machine_load_address): Return the difference between
36185         the runtime address of _DYNAMIC and elf_machine_dynamic ().
36187 2012-09-01  Allan McRae  <allan@archlinux.org>
36189         [BZ #13412]
36190         * configure.in (AWK): Require gawk version 3.0 or later.
36191         * configure: Regenerated.
36193 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
36195         * sysdeps/unix/sysv/linux/kernel-features.h
36196         (__ASSUME_POSIX_CPU_TIMERS): Remove.
36197         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
36198         [__NR_clock_getres]: Make code unconditional.
36199         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
36200         (clock_getcpuclockid): Remove code left unreachable by removal of
36201         conditionals.
36202         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
36203         code unconditional.
36204         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
36205         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36206         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
36207         Make code unconditional.
36208         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
36209         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36210         * sysdeps/unix/sysv/linux/clock_settime.c
36211         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
36212         conditional code.
36213         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
36214         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36216 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
36218         [BZ #14476]
36219         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
36220         scripts/test-installation.pl.
36222         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
36223         and $ld_so_version if it is set.
36225 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
36227         [BZ #14516]
36228         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
36229         failure if reading from procfs failed.
36230         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
36232 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
36234         * sysdeps/unix/sysv/linux/kernel-features.h
36235         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
36236         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
36237         Remove conditional code.
36238         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36239         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
36240         Remove conditional code.
36241         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36242         * sysdeps/unix/sysv/linux/i386/fxstat.c
36243         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36244         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36245         * sysdeps/unix/sysv/linux/i386/fxstatat.c
36246         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36247         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36248         * sysdeps/unix/sysv/linux/i386/lxstat.c
36249         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36250         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36251         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
36252         Remove conditional code.
36253         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36254         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
36255         Remove conditional code.
36256         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36257         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
36258         <kernel-features.h>.
36259         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
36260         Remove.
36261         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
36262         Remove conditional code.
36263         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36264         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
36265         Remove conditional.
36267 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
36269         [BZ #5400]
36270         * NEWS: Add fixed bug number.
36272 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
36274         [BZ #14519]
36275         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
36276         underflowing exponent in case of negative sign.
36277         * stdlib/tst-strtod-round-data: Add more tests.
36278         * stdlib/tst-strtod-round.c (tests): Regenerated.
36280         [BZ #3479]
36281         * stdlib/strtod_l.c (NDIG): Remove.
36282         (HEXNDIG): Likewise.
36283         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
36284         smallest representable value.
36285         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
36286         lie within an exact representation of 1/2 ulp of the result.
36287         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
36288         unconditionally.
36289         (TENS_P9_IDX): Define unconditionally.
36290         (TENS_P9_SIZE): Likewise.
36291         (TENS_P10_IDX): Likewise.
36292         (TENS_P10_SIZE): Likewise.
36293         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
36294         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
36295         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
36296         entries for 10^2^13 and 10^2^14.
36297         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
36298         (TENS_P13_IDX): Define.
36299         (TENS_P13_SIZE): Likewise.
36300         (TENS_P14_IDX): Likewise.
36301         (TENS_P14_SIZE): Likewise.
36302         (_fpioconst_pow10): Change array size to
36303         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
36304         unconditional.
36305         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
36306         1024]: Add entries for 10^2^13 and 10^2^14.
36307         [LAST_POW10 > _LAST_POW10]: Remove #error.
36308         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
36309         (_fpioconst_pow10): Change array size to
36310         FPIOCONST_POW10_ARRAY_SIZE.
36311         * stdlib/gen-fpioconst.c: New file.
36312         * stdlib/gen-tst-strtod-round.c: Likewise.
36313         * stdlib/tst-strtod-round-data: Likewise.
36314         * stdlib/tst-strtod-round.c: Likewise.
36315         * stdlib/Makefile (tests): Add tst-strtod-round.
36317         [BZ #14459]
36318         * stdlib/strtod_l.c: Include <stdint.h>.
36319         (NDEBUG): Do not define.
36320         (round_and_return): Change EXPONENT parameter to type intmax_t.
36321         Rearrange calculations to avoid internal overflow possibilities.
36322         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
36323         Rearrange calculations to avoid internal overflow possibilities.
36324         Assert that number fits inside MPNSIZE limbs.
36325         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
36326         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
36327         calculations and add assertions to avoid internal overflow
36328         possibilities.  Add casts to avoid signed/unsigned operations.
36329         * stdlib/tst-strtod-overflow.c: New file.
36330         * stdlib/Makefile (tests): Add tst-strtod-overflow.
36332 2012-08-25  Marek Polacek  <polacek@redhat.com>
36334         * time/time.h: Fix some typos in comments.
36336 2012-08-23  Roland McGrath  <roland@hack.frob.com>
36338         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
36339         * posix/tst-rfc3484-2.c: Likewise.
36340         * posix/tst-rfc3484-3.c: Likewise.
36342 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
36344         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
36345         (EF_ARM_ABI_FLOAT_HARD): Likewise.
36347 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
36349         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
36350         #include of fxstatat64.c.
36352 2012-08-22  Roland McGrath  <roland@hack.frob.com>
36354         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
36355         * shadow/getspent_r.c: Likewise.
36356         * shadow/getspnam.c: Likewise.
36357         * shadow/getspnam_r.c: Likewise.
36358         * gshadow/getsgent.c: Likewise.
36359         * gshadow/getsgent_r.c: Likewise.
36360         * gshadow/getsgnam.c: Likewise.
36361         * gshadow/getsgnam_r.c: Likewise.
36362         * inet/getnetbyad.c: Likewise.
36363         * inet/getnetbyad_r.c: Likewise.
36364         * inet/getnetbynm.c: Likewise.
36365         * inet/getnetbynm_r.c: Likewise.
36366         * inet/getnetent.c: Likewise.
36367         * inet/getnetent_r.c: Likewise.
36368         * inet/getproto.c: Likewise.
36369         * inet/getproto_r.c: Likewise.
36370         * inet/getprtent.c: Likewise.
36371         * inet/getprtent_r.c: Likewise.
36372         * inet/getprtname.c: Likewise.
36373         * inet/getprtname_r.c: Likewise.
36374         * inet/getrpcbyname.c: Likewise.
36375         * inet/getrpcbyname_r.c: Likewise.
36376         * inet/getrpcbynumber.c: Likewise.
36377         * inet/getrpcbynumber_r.c: Likewise.
36378         * inet/getrpcent.c: Likewise.
36379         * inet/getrpcent_r.c: Likewise.
36380         * inet/getaliasent.c: Likewise.
36381         * inet/getaliasent_r.c: Likewise.
36382         * inet/getaliasname.c: Likewise.
36383         * inet/getaliasname_r.c: Likewise.
36384         * nscd/getgrgid_r.c: Likewise.
36385         * nscd/getgrnam_r.c: Likewise.
36386         * nscd/gethstbyad_r.c: Likewise.
36387         * nscd/gethstbynm3_r.c: Likewise.
36388         * nscd/getpwnam_r.c: Likewise.
36389         * nscd/getpwuid_r.c: Likewise.
36390         * nscd/getsrvbynm_r.c: Likewise.
36391         * nscd/getsrvbypt_r.c: Likewise.
36392         * nscd/gai.c: Likewise.
36394         * configure.in (build_nscd): New substituted variable, set
36395         by --disable-build-nscd and defaults to $use_nscd.
36396         * configure: Regenerated.
36397         * config.make.in (build-nscd): New substituted variable.
36398         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
36399         Change conditional to require [$(build-nscd) = yes] as well.
36400         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
36402         [BZ# 13696]
36403         * configure.in (use_nscd): New substituted variable, set by
36404         --disable-nscd.  If enabled, define USE_NSCD.
36405         * configure: Regenerated.
36406         * config.h.in: Add USE_NSCD.
36407         * config.make.in (use-nscd): New substituted variable.
36408         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
36409         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
36410         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
36411         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
36412         (CFLAGS-getgrnam_r.c): Likewise.
36413         (CFLAGS-initgroups.c): Likewise.
36414         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
36415         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
36416         Variables removed.
36417         * inet/getnetgrent_r.c
36418         (nscd_setnetgrent): New function, broken out of ...
36419         (setnetgrent): ... here.  Call it.
36420         (innetgr): Conditionalize nscd bits on [USE_NSCD].
36421         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
36422         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
36423         * nscd/Makefile (routines, aux): Move definitions after include of
36424         Makeconfig.  Conditionalize on [$(use-nscd) != no].
36425         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
36426         Conditionalize on [USE_NSCD].
36427         (is_nscd, nscd_init_cb): Likewise.
36428         (nss_load_library): Conditionalize init callback on [USE_NSCD].
36429         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
36430         * nss/nss_db/db-init.c: Likewise.
36431         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
36432         [USE_NSCD].
36433         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
36434         (make_request): Use it.
36435         (cache_valid_p): New function.
36436         (__check_pf): Use it.
36437         * NEWS: Add item for --disable-nscd.
36439 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
36441         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
36442         to support sed >= 4.2.1-20-ga9bf076.
36443         * configure: Regenerated.
36445 2012-08-22  Roland McGrath  <roland@hack.frob.com>
36447         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
36448         Conditionalize whole body on [IREL].
36450 2012-08-22  Jeff Law <law@redhat.com>
36452         [BZ #14505]
36453         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
36454         if the family is PF_UNSPEC.
36456 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
36458         * Makerules (lib-version): Rename from V.
36459         (install-lib-nosubdir): Change V to lib-version.
36461 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
36463         [BZ #14252]
36464         * powerpc32/power6/wcschr.c: New file.
36465         * powerpc32/power6/wcscpy.c: New file.
36466         * powerpc32/power6/wcsrchr.c: New file.
36467         * powerpc64/power6/wcschr.c: New file.
36468         * powerpc64/power6/wcscpy.c: New file.
36469         * powerpc64/power6/wcsrchr.c: New file.
36471 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
36473         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
36474         (two_way_short_needle): Use it.
36475         * string/strstr.c (AVAILABLE1_USES_J): Define.
36476         * string/strcasestr.c: Likewise.
36478         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
36479         array references.
36480         * string/strcasestr.c (TOLOWER): Make side-effect safe.
36482         [BZ #11607]
36483         * NEWS: Add an entry.
36484         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
36485         define their defaults.
36486         (two_way_short_needle): Detect end-of-string on-the-fly.
36487         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
36488         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
36489         * string/bug-strcasestr1.c: New test.
36490         * string/Makefile: Run it.
36492 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
36494         [BZ #11607]
36495         * string/str-two-way.h (two_way_short_needle): Optimize matching of
36496         the first character.
36498 2012-08-21  Roland McGrath  <roland@hack.frob.com>
36500         * csu/elf-init.c (__libc_csu_irel): Function removed.
36501         * csu/libc-start.c (apply_irel): New function.
36502         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
36504 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
36506         * sysdeps/unix/sysv/linux/kernel-features.h
36507         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
36508         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
36509         <kernel-features.h>.
36510         [__NR_fadvise64_64]: Make code unconditional.
36511         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
36512         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
36513         !__NR_fadvise64_64)]: Likewise.
36514         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
36515         !__NR_fadvise64_64))]: Likewise.
36516         [__NR_fadvise64]: Make code unconditional.
36517         [!__NR_fadvise64]: Remove conditional code.
36518         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
36519         <kernel-features.h>.
36520         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36521         unconditional.
36522         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36523         conditional code.
36524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
36525         not include <kernel-features.h>.
36526         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36527         unconditional.
36528         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36529         conditional code.
36530         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
36531         include <kernel-features.h>.
36532         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36533         unconditional.
36534         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36535         conditional code.
36537 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
36539         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
36540         slight instruction rearrangements per scrollpipe analysis.
36541         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
36543 2012-08-20  Roland McGrath  <roland@hack.frob.com>
36545         * manual/syslog.texi (syslog; vsyslog, closelog):
36546         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
36547         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
36549         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
36550         DSOCAPS to match condition on defining it.
36552 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
36554         * sysdeps/unix/sysv/linux/kernel-features.h
36555         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
36556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
36557         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36558         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
36560         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36561         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
36563         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36564         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36566         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
36567         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
36569         * sysdeps/unix/sysv/linux/kernel-features.h
36570         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
36571         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
36572         unconditional.
36573         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36574         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
36575         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
36576         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36577         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
36578         Make code unconditional.
36579         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36580         (__mmap64) [!__NR_mmap2]: Likewise.
36581         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
36582         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
36583         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36584         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
36585         [__NR_mmap2]: Make code unconditional.
36586         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36587         (__mmap64) [!__NR_mmap2]: Likewise.
36589 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36591         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
36593 2012-08-18  Andreas Jaeger  <aj@suse.de>
36595         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
36597 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
36599         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
36600         * include/unistd.h (__have_sock_cloexec): Likewise.
36601         (__have_pipe2): Likewise.
36602         (__have_dup3): Likewise.
36604 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
36606         [BZ #9685]
36607         * include/unistd.h (__have_pipe2): Change define into an extern int.
36608         (__have_dup3): Likewise.
36609         * socket/have_sock_cloexec.c: Include fcntl.h.
36610         (__have_pipe2): New variable.
36611         (__have_dup3): Likewise.
36613 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
36615         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
36617 2012-08-17  Marek Polacek  <polacek@redhat.com>
36619         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
36620         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
36622 2012-08-17  Roland McGrath  <roland@hack.frob.com>
36624         * configure.in: Add AC_SUBST for sysheaders.
36625         * configure: Regenerated.
36626         * config.make.in (sysheaders): New substituted variable.
36628         * sysdeps/unix/mkfifo.c: Moved ...
36629         * sysdeps/posix/mkfifo.c: ... here.
36630         * sysdeps/unix/mkfifoat.c: Moved ...
36631         * sysdeps/posix/mkfifoat.c: ... here.
36633         * sysdeps/unix/utime.c: Moved ...
36634         * sysdeps/posix/utime.c: ... here.
36636         * sysdeps/unix/time.c: Moved ...
36637         * sysdeps/posix/time.c: ... here.
36638         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
36639         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
36641         * sysdeps/unix/nice.c: Moved ...
36642         * sysdeps/posix/nice.c: ... here.
36644         * sysdeps/unix/alarm.c: Moved ...
36645         * sysdeps/posix/alarm.c: ... here.
36647         * intl/Makefile ($(codeset_mo)): Depend on the input file.
36649 2012-08-17  Jeff Law <law@redhat.com>
36651         * intl/Makefile (codeset_mo): New variable.
36652         ($(codeset_mo)): New target.
36653         (tst-codeset.out): Depend on that.  Remove explicit rule.
36654         (tst-gettext3.out, tst-gettext5.out): Likewise.
36655         (LOCPATH-ENV, tst-codeset-ENV): New variables.
36656         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
36657         * intl/tst-codeset.sh: Remove.
36658         * intl/tst-gettext3.sh: Likewise.
36659         * intl/tst-gettext5.sh: Likewise.
36661 2012-08-17  Roland McGrath  <roland@hack.frob.com>
36663         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
36664         * sysdeps/unix/syscalls.list: ... here.
36666         * sysdeps/posix/getaddrinfo.c
36667         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
36668         (gaiconf_init, gaiconf_reload): Use them.
36669         [!_STATBUF_ST_NSEC]
36670         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
36671         Define using time_t rather than struct timespec.
36673         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
36674         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
36675         Macros removed.
36676         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
36677         [!NO_THREADS].
36678         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
36679         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
36680         Likewise.
36682         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
36683         __libc_cleanup_push argument.
36685         * bits/param.h: New file.
36686         * misc/sys/param.h: New file.
36687         * include/sys/param.h: New file.
36688         * misc/Makefile (headers): Add bits/param.h.
36689         * sysdeps/generic/sys/param.h: File removed.
36690         * sysdeps/unix/sysv/linux/bits/param.h: New file.
36691         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
36692         * sysdeps/mach/hurd/bits/param.h: New file.
36693         * sysdeps/mach/hurd/sys/param.h: File removed.
36695         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
36696         last change.
36698         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
36699         [_IO_MTSAFE_IO].
36700         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
36701         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
36702         New macros.
36704         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
36705         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
36706         rather than -D_IO_MTSAFE_IO conditionally.
36707         * stdio-common/Makefile (CPPFLAGS): Likewise.
36708         * wcsmbs/Makefile (CPPFLAGS): Likewise.
36709         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
36710         Use $(libio-mtsafe).
36711         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
36712         of -D_IO_MTSAFE_IO.
36713         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
36714         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
36715         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
36716         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
36717         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
36718         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
36719         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
36720         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
36721         (CFLAGS-fread_u_chk.c): Likewise.
36722         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
36723         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
36724         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
36725         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
36726         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
36727         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
36728         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
36729         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
36730         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
36732         * libio/Makefile: Test [$(libc-reentrant) = yes]
36733         instead of [$(filter %REENTRANT, $(defines)) nonempty].
36735         * Makeconfig
36736         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
36737         * sysdeps/pthread/configure: File removed.
36738         * sysdeps/pthread/Makeconfig: New file.
36739         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
36740         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
36742 2012-08-16  Gary Benson  <gbenson@redhat.com>
36744         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
36745         unmapping the first object in a namespace.
36747 2012-08-16  Roland McGrath  <roland@hack.frob.com>
36749         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
36750         (__internal_setnetgrent): ... this.  Add internal_function to
36751         definition.  Add libc_hidden_def.
36752         (setnetgrent): Update caller.
36753         (internal_endnetgrent): Renamed to ...
36754         (__internal_endnetgrent): ... this.  Add internal_function to
36755         definition.  Add libc_hidden_def.
36756         (endnetgrent): Update caller.
36757         (internal_getnetgrent_r): Renamed to ...
36758         (__internal_getnetgrent_r): ... this.  Add internal_function to
36759         definition.  Add libc_hidden_def.
36760         (__getnetgrent_r): Update caller.
36761         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
36763 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
36765         * stdlib/longlong.h: Update from GCC.
36767 2012-08-16  Roland McGrath  <roland@hack.frob.com>
36769         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
36770         on _QL, which is set by umul_ppmm but never used.
36771         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
36772         variables, which are set by GMP macros but never used.
36773         * stdio-common/_itowa.c (_itowa): Likewise.
36774         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
36775         * stdlib/mod_1.c (mpn_mod_1): Likewise.
36777 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
36779         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
36780         struct La_sh_regs is not constant.
36781         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
36782         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
36783         and struct La_sparc64_regs are not constant.
36785 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
36787         * sysdeps/unix/sysv/linux/kernel-features.h
36788         (__ASSUME_POSIX_TIMERS): Remove.
36789         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
36790         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36791         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
36792         Make code unconditional.
36793         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36794         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
36795         Make code unconditional.
36796         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36797         * sysdeps/unix/sysv/linux/clock_nanosleep.c
36798         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
36799         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36800         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
36801         Make code unconditional.
36802         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36803         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
36804         (__libc_missing_posix_timers): Remove.
36806 2012-08-15  Roland McGrath  <roland@hack.frob.com>
36808         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
36809         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
36811         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
36813         * elf/dl-sym.c: Include <stdlib.h>.
36815         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
36816         constants, which avoids warnings in 32-bit builds.
36818         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
36819         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
36821         * misc/lseek.c: File moved to ...
36822         * io/lseek.c: ... here.
36824         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
36826         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
36827         shifting LEN more than 31 bits at once.
36829 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36831         [BZ #14195]
36832         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
36833         segmentation fault for a case of two empty input strings.
36834         * string/test-strncasecmp.c (check1): Renamed to...
36835         (bz12205): ...this.
36836         (bz14195): Add new testcase for two empty input strings and N > 0.
36837         (test_main): Call new testcase, adapt for renamed function.
36839 2012-08-15  Andreas Jaeger  <aj@suse.de>
36841         [BZ #14090]
36842         * crypt/md5test2.c: New test, based on test supplied by Serge
36843         Belyshev <belyshev@depni.sinp.msu.ru>.
36844         * crypt/Makefile (xtests): Add md5test-giant..
36845         * crypt/Makefile ($(objpfx)md5test-giant): Add.
36847 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
36849         [BZ #14090]
36850         * crypt/md5.c (md5_process_block): Don't assume the buffer
36851         length is less than 2**32.
36852         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
36853         length is less than 2**64.
36855 2012-08-15  Roland McGrath  <roland@hack.frob.com>
36857         * string/str-two-way.h: Include <sys/param.h>.
36858         (MAX): Macro removed.
36860         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
36861         Move #define and #undef of memmove to just before and after
36862         including <string.h>.
36864         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
36865         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
36866         and after including <string.h>.  Move declarations of
36867         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
36868         to before #include "string/memmove.c".
36870         * include/dirent.h: Declare __getdirentries.
36872         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
36873         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
36875 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
36877         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
36878         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
36879         * sysdeps/i386/configure: Regenerated.
36880         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
36881         STABS_CURRENT_FILE, and STABS_FUN.
36882         (END): Remove call to STABS_FUN_END.
36883         (STABS_CURRENT_FILE1): Delete.
36884         (STABS_CURRENT_FILE): Likewise.
36885         (STABS_FUN): Likewise.
36886         (STABS_FUN_END): Likewise.
36887         (STABS_FUN2): Likewise.
36888         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
36889         * sysdeps/x86_64/configure: Regenerated.
36891 2012-08-14  Roland McGrath  <roland@hack.frob.com>
36893         * elf/dl-open.c: Include <atomic.h>.
36894         * elf/dl-lookup.c: Likewise.
36896 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
36898         * sysdeps/unix/sysv/linux/kernel-features.h
36899         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
36900         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
36901         unconditionally.
36902         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
36903         unconditionally.
36904         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
36905         condition on __ASSUME_CLONE_THREAD_FLAGS.
36907 2012-08-14  Andreas Jaeger  <aj@suse.de>
36909         * sysdeps/i386/fpu/libm-test-ulps: Update.
36911 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
36913         * include/atomic.h (atomic_exchange_and_add): Split into ...
36914         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
36915         New atomic macros.
36917 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
36919         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36921 2012-08-13  Jeff Law <law@redhat.com>
36923         * manual/stdio.texi (snprintf): Clarify handling of the trailing
36924         null byte in the output string.
36926 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
36928         * sysdeps/unix/sysv/linux/kernel-features.h
36929         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
36930         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
36931         (__ASSUME_ARG_MAX_STACK_BASED): Define.
36932         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
36933         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
36934         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
36935         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
36937 2012-08-09  Jeff Law <law@redhat.com>
36939         [BZ #13939]
36940         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
36941         When avoid_arena is set, don't retry in the that arena.  Pick the
36942         next one, whatever it might be.
36943         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
36944         (arena_lock): Pass in new parameter to arena_get2.
36945         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
36946         arena_get2.
36947         (__libc_malloc): Unify retrying after main arena failure with
36948         __libc_memalign version.
36949         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
36951 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
36953         [BZ #14166]
36954         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
36955         to __redirect_strstr.
36956         (__strstr_sse42): Use typeof __redirect_strstr.
36957         (__strstr_ia32): Likewise.
36958         (__libc_strstr): New prototype.
36959         (strstr): Renamed to ...
36960         (__libc_strstr): This.
36961         (strstr): New strong alias of __libc_strstr.
36962         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
36963         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
36964         __redirect_time.
36965         Include <time.h>.
36966         (__libc_time): New prototype.
36967         (time_ifunc): Replace time with __libc_time.
36968         (time): New strong alias and hidden definition of __libc_time.
36969         (__GI_time): Remove strong alias.
36970         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
36971         Include <stddef.h>.
36972         (memmove): Redefined to __redirect_memmove.
36973         (__memmove_sse2): Use typeof __redirect_memmove.
36974         (__memmove_ssse3): Likewise.
36975         (__memmove_ssse3_back): Likewise.
36976         (__libc_memmove): New prototype.
36977         (memmove): Renamed to ...
36978         (__libc_memmove): This.
36979         (memmove): New strong alias of __libc_memmove.
36981 2012-08-08  Mark Salter  <msalter@redhat.com>
36983         * elf/elf.h
36984         (R_MN10300_TLS_GD): Define.
36985         (R_MN10300_TLS_LD): Likewise.
36986         (R_MN10300_TLS_LDO): Likewise.
36987         (R_MN10300_TLS_GOTIE): Likewise.
36988         (R_MN10300_TLS_IE): Likewise.
36989         (R_MN10300_TLS_LE): Likewise.
36990         (R_MN10300_TLS_DTPMOD): Likewise.
36991         (R_MN10300_TLS_DTPOFF): Likewise.
36992         (R_MN10300_TLS_TPOFF): Likewise.
36993         (R_MN10300_SYM_DIFF): Likewise.
36994         (R_MN10300_ALIGN): Likewise.
36995         (R_MN10300_NUM): Update.
36997 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
36999         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
37000         Remove.
37002 2012-08-08  Roland McGrath  <roland@hack.frob.com>
37004         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
37006         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
37007         sysdeps/unix -> sysdeps/posix move.
37008         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
37010 2012-08-07      Allan McRae     <allan@archlinux.org>
37012         [BZ #14303]
37013         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
37014         (SUNOS_CPP): Likewise.
37015         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
37016         not found.
37017         (open_input): Call CPP using execvp.
37019 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
37021         * sysdeps/unix/sysv/linux/kernel-features.h
37022         (__ASSUME_PROT_GROWSUPDOWN): Remove.
37023         (__ASSUME_NO_CLONE_DETACHED): Likewise.
37024         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
37025         (__ASSUME_WAITID_SYSCALL): Likewise.
37026         * sysdeps/unix/sysv/linux/dl-execstack.c
37027         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
37028         code unconditional.
37029         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
37030         conditional code.
37031         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
37032         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
37033         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
37034         code.
37035         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
37036         unconditional.
37037         [__ASSUME_WAITID_SYSCALL]: Likewise.
37038         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
37040 2012-08-07  Roland McGrath  <roland@hack.frob.com>
37042         * sysdeps/unix/closedir.c: Renamed to ...
37043         * sysdeps/posix/closedir.c: ... here.
37044         * sysdeps/unix/dirfd.c: Renamed to ...
37045         * sysdeps/posix/dirfd.c: ... here.
37046         * sysdeps/unix/dirstream.h: Renamed to ...
37047         * sysdeps/posix/dirstream.h: ... here.
37048         * sysdeps/unix/fdopendir.c: Renamed to ...
37049         * sysdeps/posix/fdopendir.c: ... here.
37050         * sysdeps/unix/opendir.c: Renamed to ...
37051         * sysdeps/posix/opendir.c: ... here.
37052         * sysdeps/unix/readdir.c: Renamed to ...
37053         * sysdeps/posix/readdir.c: ... here.
37054         * sysdeps/unix/readdir_r.c: Renamed to ...
37055         * sysdeps/posix/readdir_r.c: ... here.
37056         * sysdeps/unix/rewinddir.c: Renamed to ...
37057         * sysdeps/posix/rewinddir.c: ... here.
37058         * sysdeps/unix/seekdir.c: Renamed to ...
37059         * sysdeps/posix/seekdir.c: ... here.
37060         * sysdeps/unix/telldir.c: Renamed to ...
37061         * sysdeps/posix/telldir.c: ... here.
37062         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
37063         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
37064         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
37065         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
37067         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
37068         * bits/fcntl.h: ... here.
37070         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
37071         not 0.
37072         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
37073         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
37074         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
37075         (struct flock): Move l_start, l_len to the beginning.
37076         Use __pid_t for l_pid.
37077         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
37078         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
37079         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
37080         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
37081         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
37082         [__USE_LARGEFILE64] (struct flock64): New type.
37083         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
37085         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
37086         * bits/dirent.h: ... here.
37088         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
37089         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
37091 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
37093         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37094         Change from 2.6.0 to 2.6.16.
37095         * sysdeps/unix/sysv/linux/configure: Regenerated.
37096         * sysdeps/unix/sysv/linux/kernel-features.h
37097         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
37098         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
37099         version.
37100         (__ASSUME_UTIMES): Likewise.
37101         (__ASSUME_CLONE_STOPPED): Remove.
37102         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
37103         architectures, not kernel version.
37104         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
37105         (__ASSUME_NO_CLONE_DETACHED): Likewise.
37106         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
37107         (__ASSUME_WAITID_SYSCALL): Likewise.
37108         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
37109         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
37110         * README: State 2.6.16 as minimum Linux kernel version.  Do not
37111         refer to older versions.
37113 2012-08-06  Roland McGrath  <roland@hack.frob.com>
37115         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
37116         Define alphasort64 as an alias.
37117         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
37118         Define versionsort64 as an alias.
37119         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
37120         Define scandir64 as an alias.
37121         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
37122         Define scandirat64 as an alias.
37123         * dirent/alphasort64.c (alphasort64):
37124         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
37125         * dirent/versionsort64.c: Likewise.
37126         * dirent/scandir64.c: Likewise.
37127         * dirent/scandirat64.c: Likewise.
37128         * sysdeps/wordsize-64/alphasort.c: File removed.
37129         * sysdeps/wordsize-64/alphasort64.c: File removed.
37130         * sysdeps/wordsize-64/scandir.c: File removed.
37131         * sysdeps/wordsize-64/scandir64.c: File removed.
37132         * sysdeps/wordsize-64/scandirat.c: File removed.
37133         * sysdeps/wordsize-64/scandirat64.c: File removed.
37134         * sysdeps/wordsize-64/versionsort.c: File removed.
37135         * sysdeps/wordsize-64/versionsort64.c: File removed.
37136         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
37137         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
37138         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
37139         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
37140         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
37141         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
37142         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
37143         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
37145         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
37146         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
37147         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
37148         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37149         [defined __arch64__ || defined __sparcv9]
37150         (__INO_T_MATCHES_INO64_T): New macro.
37151         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37152         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
37153         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
37154         * sysdeps/unix/sysv/linux/bits/dirent.h
37155         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
37156         (_DIRENT_MATCHES_DIRENT64): New macro.
37158         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
37159         Define lockf64 as an alias.
37160         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
37161         Define fseeko64 as an alias.
37162         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
37163         Define ftello64 as an alias.
37164         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
37165         Define _IO_fgetpos64 and fgetpos64 as aliases.
37166         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
37167         Define _IO_fsetpos64 and fsetpos64 as aliases.
37168         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
37169         Conditionalize body on this.
37170         * libio/fseeko64.c: Likewise.
37171         * libio/ftello64.c: Likewise.
37172         * libio/iofgetpos64.c: Likewise.
37173         * libio/iofsetpos64.c: Likewise.
37174         * sysdeps/wordsize-64/lockf.c: File removed.
37175         * sysdeps/wordsize-64/lockf64.c: File removed.
37176         * sysdeps/wordsize-64/fseeko.c: File removed.
37177         * sysdeps/wordsize-64/fseeko64.c: File removed.
37178         * sysdeps/wordsize-64/ftello.c: File removed.
37179         * sysdeps/wordsize-64/ftello64.c: File removed.
37180         * sysdeps/wordsize-64/iofgetpos.c: File removed.
37181         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
37182         * sysdeps/wordsize-64/iofsetpos.c: File removed.
37183         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
37184         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
37185         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
37186         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
37187         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
37188         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
37189         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
37190         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
37191         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
37192         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
37193         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
37195         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
37196         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
37197         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
37198         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37199         [defined __arch64__ || defined __sparcv9]
37200         (__OFF_T_MATCHES_OFF64_T): New macro.
37201         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37202         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
37203         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37204         (__OFF_T_MATCHES_OFF64_T): New macro.
37206 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
37208         * stdlib/secure-getenv.c (__secure_getenv): Replace
37209         GLIBC_2_16 with GLIBC_2_17.
37211 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
37213         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
37214         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
37216 2012-08-03  David S. Miller  <davem@davemloft.net>
37218         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37220 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
37222         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
37223         Remove.
37224         (__ASSUME_CORRECT_SI_PID): Likewise.
37225         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
37226         (__ASSUME_TMPFS_NAME): Likewise.
37227         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
37228         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
37229         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
37230         (HAVE_AUX_SECURE): Make definition unconditional.
37231         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
37232         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
37234 2012-08-03  Roland McGrath  <roland@hack.frob.com>
37236         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
37237         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
37238         * sysdeps/mach/hurd/eloop-threshold.h: New file.
37239         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
37240         __eloop_threshold instead of SYMLOOP_MAX.
37242         * sysdeps/generic/eloop-threshold.h: New file.
37243         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
37244         of MAXSYMLINKS.
37245         * elf/chroot_canon.c (chroot_canon): Likewise.
37247 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
37249         [BZ #13717]
37250         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37251         Change to 2.6.0 everywhere.
37252         * sysdeps/unix/sysv/linux/configure: Regenerated.
37253         * sysdeps/unix/sysv/linux/kernel-features.h
37254         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
37255         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
37256         kernel versions.
37257         (__ASSUME_POSIX_TIMERS): Define unconditionally.
37258         (__ASSUME_FUTEX_REQUEUE): Remove.
37259         (__ASSUME_STATFS64): Define unconditionally.
37260         (__ASSUME_AT_SECURE): Likewise.
37261         (__ASSUME_CORRECT_SI_PID): Likewise.
37262         (__ASSUME_TGKILL): Define without depending on kernel version for
37263         i386.
37264         (__ASSUME_UTIMES): Likewise.
37265         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
37266         kernel version.
37267         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
37268         (__ASSUME_TMPFS_NAME): Likewise.
37269         * README: Update reference to Linux kernel versions.
37271 2012-08-02  Marek Polacek  <polacek@redhat.com>
37273         [BZ# 14150]
37274         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
37275         libc_cv_asm_type_prefix with %.
37276         * configure: Regenerated.
37277         * include/libc-symbols.h: Remove comment about
37278         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
37279         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
37280         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
37281         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
37282         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
37283         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
37284         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
37285         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
37286         * elf/tst-unique2mod1.c: Likewise.
37287         * elf/tst-unique1mod2.c: Likewise.
37288         * elf/tst-unique1mod1.c: Likewise.
37289         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
37290         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
37291         Replace ASM_TYPE_DIRECTIVE with .type.
37292         * sysdeps/s390/s390-64/sysdep.h: Likewise.
37293         * sysdeps/i386/sysdep.h: Likewise.
37294         * sysdeps/x86_64/sysdep.h: Likewise.
37295         * sysdeps/sh/sysdep.h: Likewise.
37296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
37297         Do not define ASM_TYPE_DIRECTIVE.
37298         * sysdeps/powerpc/sysdep.h: Likewise.
37299         * sysdeps/powerpc/powerpc32/sysdep.h:
37300         Replace ASM_TYPE_DIRECTIVE with .type.
37301         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
37302         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
37303         * sysdeps/i386/fpu/e_powf.S: Likewise.
37304         * sysdeps/i386/fpu/e_expl.S: Likewise.
37305         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37306         * sysdeps/i386/fpu/e_acosh.S: Likewise.
37307         * sysdeps/i386/fpu/e_pow.S: Likewise.
37308         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
37309         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37310         * sysdeps/i386/fpu/s_expm1.S: Likewise.
37311         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
37312         * sysdeps/i386/fpu/e_log2.S: Likewise.
37313         * sysdeps/i386/fpu/e_log2l.S: Likewise.
37314         * sysdeps/i386/fpu/e_scalb.S: Likewise.
37315         * sysdeps/i386/fpu/e_powl.S: Likewise.
37316         * sysdeps/i386/fpu/e_log10f.S: Likewise.
37317         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
37318         * sysdeps/i386/fpu/e_logl.S: Likewise.
37319         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
37320         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
37321         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
37322         * sysdeps/i386/fpu/e_log2f.S: Likewise.
37323         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37324         * sysdeps/i386/fpu/e_log.S: Likewise.
37325         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37326         * sysdeps/i386/fpu/e_logf.S: Likewise.
37327         * sysdeps/i386/fpu/e_log10l.S: Likewise.
37328         * sysdeps/i386/fpu/e_atanh.S: Likewise.
37329         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
37330         * sysdeps/i386/fpu/e_log10.S: Likewise.
37331         * sysdeps/i386/fpu/s_frexp.S: Likewise.
37332         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37333         * sysdeps/i386/fpu/s_asinh.S: Likewise.
37334         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
37335         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37336         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
37337         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
37338         * sysdeps/i386/i686/strtok.S: Likewise.
37339         * sysdeps/i386/i386-mcount.S: Likewise.
37340         * sysdeps/i386/strtok.S: Likewise.
37341         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
37342         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37343         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37344         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37345         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37346         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37347         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
37348         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
37349         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37350         * sysdeps/x86_64/_mcount.S: Likewise.
37351         * sysdeps/x86_64/strtok.S: Likewise.
37352         * sysdeps/sh/_mcount.S: Likewise.
37354 2012-08-01  Roland McGrath  <roland@hack.frob.com>
37356         * libio/iofopen.c: Include <fcntl.h>.
37357         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
37358         (_IO_fopen64, fopen64): Define as aliases.
37359         * libio/iofopen64.c: Include <fcntl.h>.
37360         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
37361         Conditionalize body on this.
37362         * sysdeps/wordsize-64/iofopen.c: File removed.
37363         * sysdeps/wordsize-64/iofopen64.c: File removed.
37365 2012-08-01  Marek Polacek  <polacek@redhat.com>
37367         * libc/Makeconfig: Use elf in place of binfmt-subdir.
37368         Use dlfcn directly instead of a variable.
37369         (binfmt-subdir): Do not define.
37370         (dlfcn): Likewise.
37372 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
37374         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
37375         Remove all definitions.
37376         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
37377         <kernel-features.h>.
37378         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
37379         (miss_F_GETOWN_EX): Remove all definitions.
37380         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
37381         macro definition.
37382         [!__ASSUME_FCNTL64]: Remove conditional code.
37383         [__ASSUME_FCNTL64]: Make code unconditional.
37384         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
37385         <kernel-features.h>.
37386         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
37387         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
37388         (lockf64) [__NR_fcntl64]: Make code unconditional.
37389         (lockf64) [__ASSUME_FCNTL64]: Likewise.
37391         * sysdeps/unix/sysv/linux/kernel-features.h
37392         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
37393         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
37394         Make code unconditional.
37395         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37396         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
37398         [__NR_vfork]: Make code unconditional.
37399         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37400         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
37402         [__NR_vfork]: Make code unconditional.
37403         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37404         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37406 2012-08-01  Roland McGrath  <roland@hack.frob.com>
37408         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
37409         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
37411         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37412         Define mkstemp64 as an alias.
37413         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37414         Define mkstemps64 as an alias.
37415         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37416         Define mkostemp64 as an alias.
37417         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37418         Define mkostemps64 as an alias.
37419         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
37420         Conditionalize body on this.
37421         * misc/mkostemp64.c: Likewise.
37422         * misc/mkostemps64.c: Likewise.
37423         * misc/mkstemps64.c: Likewise.
37424         * sysdeps/wordsize-64/mkstemp64.c: File removed.
37425         * sysdeps/wordsize-64/mkostemp64.c: File removed.
37426         * sysdeps/wordsize-64/mkostemp.c: File removed.
37427         * sysdeps/wordsize-64/mkstemp.c: File removed.
37428         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
37429         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
37430         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
37431         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
37433         [BZ #14138]
37434         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
37435         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
37436         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
37437         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
37439         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
37440         compat_symbol macros from <shlib-compat.h> rather than the underlying
37441         default_symbol_version and symbol_version macros, so that DEFAULT
37442         lines in shlib-versions are respected.
37443         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
37445 2012-08-01  Florian Weimer  <fweimer@redhat.com>
37447         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
37448         Declare with warn_unused_result.
37449         (setgid, setregid, setegid, setresgid): Likewise.
37450         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
37451         Likewise.
37452         * WUR-REPORT: Remove set*id functions.
37454 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
37456         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
37458 2012-07-31  Roland McGrath  <roland@hack.frob.com>
37460         [BZ #10191]
37461         * include/sys/socket.h (__libc_accept, __libc_accept4):
37462         Add attribute_hidden.
37463         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
37465         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
37466         use of PTR_MANGLE.
37467         * inet/getnetgrent_r.c (setup): Likewise.
37469         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
37471 2012-07-31  David S. Miller  <davem@davemloft.net>
37473         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37475 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
37477         [BZ #13629]
37478         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
37479         value between 1.0 and 2.0 and smaller part has absolute value less
37480         than 1.0.
37481         * math/s_clog10.c (__clog10): Likewise.
37482         * math/s_clog10f.c (__clog10f): Likewise.
37483         * math/s_clog10l.c (__clog10l): Likewise.
37484         * math/s_clogf.c (__clogf): Likewise.
37485         * math/s_clogl.c (__clogl): Likewise.
37486         * math/libm-test.inc (clog_test): Add more tests.
37487         (clog10_test): Likewise.
37488         * sysdeps/i386/fpu/libm-test-ulps: Update.
37489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37491 2012-07-31  Florian Weimer  <fweimer@redhat.com>
37493         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
37494         Exit with zero in case no suitable GID is found, and write a
37495         message to standard error.
37497 2012-07-30  Roland McGrath  <roland@hack.frob.com>
37499         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
37500         rather than to 1.
37501         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
37502         (MAXPATHLEN): Removed.
37503         (NOGROUP, NODEV): New macros.
37504         (setbit, clrbit, isset, isclr): New macros.
37505         (howmany, roundup, powerof2): New macros.
37506         (DEV_BSIZE): New macro.
37508         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
37509         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
37511         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
37512         definition on [!__NO_LONG_DOUBLE_MATH].
37514         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
37515         PTR_MANGLE and PTR_DEMANGLE.
37517         * socket/accept4.c (accept4): Rename to __libc_accept4.
37518         Define accept4 as a weak alias.
37520         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
37521         on [_DIRENT_HAVE_D_TYPE].
37522         * io/ftw.c (ftw_dir): Likewise.
37524         * io/xmknod.c (__xmknod): Don't check PATH for being null.
37526         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
37528         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
37529         Use the BSD numbers rather than the arbitrary ones we had.
37530         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
37531         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
37532         (SIGXCPU, SIGXFSZ): New macros.
37533         (_NSIG): Now 32.
37535         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
37536         initializer on [_LIBC_REENTRANT].
37538         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
37539         definitions inside [_POSIX_MAPPED_FILES].
37541         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
37543         * dirent/opendir.c: Include <fcntl.h>.
37545         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
37546         (__libc_getspecific): Likewise.
37547         (__libc_key_create): Likewise.
37549         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
37550         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
37551         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
37552         (tmpfile64): Define as alias.
37553         * sysdeps/wordsize-64/tmpfile.c: File removed.
37554         * sysdeps/wordsize-64/tmpfile64.c: File removed.
37555         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
37556         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
37558         * stdio-common/vfscanf.c: Include <stdbool.h>.
37559         * nss/makedb.c: Likewise.
37560         * stdio-common/_i18n_number.h: Likewise.
37561         * argp/argp-help.c: Likewise.
37562         * posix/wordexp.c: Likewise.
37563         * sysdeps/posix/spawni.c: Likewise.
37564         * nss/nss_files/files-initgroups.c: Likewise.
37565         * stdio-common/reg-modifier.c: Include <stdlib.h>.
37566         * nss/nss_files/files-initgroups.c: Likewise.
37567         * nss/nss_db/db-netgrp.c: Likewise.
37568         * nss/nss_db/db-initgroups.c: Likewise.
37569         * io/fchmodat.c: Include <sys/stat.h>.
37571         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
37572         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
37574         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
37575         [HAVE_MMAP].
37577         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
37578         Add multiple inclusion protection.
37580 2012-07-27  David S. Miller  <davem@davemloft.net>
37582         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37584 2012-07-27  Gary Benson  <gbenson@redhat.com>
37586         [BZ #14298]
37587         * elf/rtld.c: Include <stap-probe.h>.
37588         (dl_main): Added static probes "init_start" and "init_complete".
37589         * elf/dl-load.c: Include <stap-probe.h>.
37590         (lose): Take new parameter "nsid".
37591         Added static probe "map_failed".
37592         (_dl_map_object_from_fd): Pass namespace id to lose.
37593         Added static probe "map_start".
37594         (open_verify): Pass namespace id to lose.
37595         * elf/dl-open.c: Include <stap-probe.h>.
37596         (dl_open_worker) Added static probes "map_complete", "reloc_start"
37597         and "reloc_complete".
37598         * elf/dl-close.c: Include <stap-probe.h>.
37599         (_dl_close_worker): Added static probes "unmap_start" and
37600         "unmap_complete".
37601         * elf/rtld-debugger-interface.txt: New file documenting the above.
37603 2012-07-26  Roland McGrath  <roland@hack.frob.com>
37605         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
37606         rather than a string variable.
37607         * sunrpc/rpc_main.c (h_output): Likewise.
37608         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
37610 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
37612         * inet/check_native.c: New file.
37614 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
37616         [BZ #13629]
37617         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
37618         if larger part has absolute value 1.0.
37619         * math/s_clog10.c (__clog10): Likewise.
37620         * math/s_clog10f.c (__clog10f): Likewise.
37621         * math/s_clog10l.c (__clog10l): Likewise.
37622         * math/s_clogf.c (__clogf): Likewise.
37623         * math/s_clogl.c (__clogl): Likewise.
37624         * math/libm-test.inc (clog_test): Add more tests.
37625         (clog10_test): Likewise.
37626         * sysdeps/i386/fpu/libm-test-ulps: Update.
37627         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37629         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
37630         (pltexit): Likewise.
37631         (La_regs): Likewise.
37632         (La_retval): Likewise.
37633         (int_retval): Likewise.
37634         Update #error for removed macros to refer only to definitions in
37635         tst-audit.h.
37636         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
37637         macro.
37638         (pltexit): Likewise.
37639         (La_regs): Likewise.
37640         (La_retval): Likewise.
37641         (int_retval): Likewise.
37642         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
37643         macro.
37644         (pltexit): Likewise.
37645         (La_regs): Likewise.
37646         (La_retval): Likewise.
37647         (int_retval): Likewise.
37648         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
37649         macro.
37650         (pltexit): Likewise.
37651         (La_regs): Likewise.
37652         (La_retval): Likewise.
37653         (int_retval): Likewise.
37654         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
37655         macro.
37656         (pltexit): Likewise.
37657         (La_regs): Likewise.
37658         (La_retval): Likewise.
37659         (int_retval): Likewise.
37660         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
37661         macro.
37662         (pltexit): Likewise.
37663         (La_regs): Likewise.
37664         (La_retval): Likewise.
37665         (int_retval): Likewise.
37666         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
37667         macro.
37668         (pltexit): Likewise.
37669         (La_regs): Likewise.
37670         (La_retval): Likewise.
37671         (int_retval): Likewise.
37672         * sysdeps/generic/tst-audit.h: Update comment to refer only to
37673         macro definitions in tst-audit.h.
37674         * sysdeps/i386/tst-audit.h: New file.
37675         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
37676         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
37677         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
37678         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
37679         * sysdeps/sh/tst-audit.h: Likewise.
37680         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
37681         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
37682         * sysdeps/x86_64/tst-audit.h: Likewise.
37684 2012-07-26  Andreas Jaeger  <aj@suse.de>
37686         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
37687         ptrace.
37689         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
37690         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
37691         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
37692         PTRACE_O_MASK.
37693         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
37694         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
37695         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
37697         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
37698         value.
37700         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
37701         _sigsys.
37702         (si_call_addr, si_syscall, si_arch): Define new macro.
37703         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
37704         _sigsys.
37705         (si_call_addr, si_syscall, si_arch): Define new marcro.
37706         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
37707         _sigsys.
37708         (si_call_addr, si_syscall, si_arch): Define new macro.
37709         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
37710         _sigsys.
37711         (si_call_addr, si_syscall, si_arch): Define new macro.
37713 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
37715         [BZ #13717]
37716         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37717         Change to 2.4.21 where previously 2.4.1.
37718         * sysdeps/unix/sysv/linux/configure: Regenerated.
37719         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
37720         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
37721         Linux kernel version.
37722         (__ASSUME_STD_AUXV): Remove.
37723         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
37724         kernel version.
37725         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
37726         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
37727         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
37728         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
37729         (__ASSUME_NETLINK_SUPPORT): Likewise.
37730         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
37731         (__no_netlink_support): Remove conditional definition.
37732         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
37733         Remove.
37734         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
37735         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
37736         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
37737         (if_nameindex_ioctl): Remove.
37738         (if_nameindex_netlink): Do not handle __no_netlink_support.
37739         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
37740         code.
37741         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
37742         Remove conditional code.
37743         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
37744         code.
37745         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
37746         unconditional.
37747         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
37748         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
37749         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
37750         Remove.
37751         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
37752         [!__ASSUME_STD_AUXV]: Remove conditional code.
37753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
37754         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
37755         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
37756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
37757         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
37758         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
37759         code.
37760         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
37761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
37762         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
37763         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
37764         conditional code.
37765         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
37766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
37767         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
37768         code.
37769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
37770         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
37771         conditional code.
37772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
37773         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37774         code unconditional.
37775         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37776         conditional code.
37777         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37778         unconditional.
37779         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37780         conditional code.
37781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37782         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37783         unconditional.
37784         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37785         conditional code.
37786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
37787         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37788         code unconditional.
37789         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37790         conditional code.
37791         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37792         unconditional.
37793         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37794         conditional code.
37795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
37796         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37797         code unconditional.
37798         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37799         conditional code.
37800         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37801         unconditional.
37802         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37803         conditional code.
37805 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
37807         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
37808         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
37809         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
37810         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
37811         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
37812         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
37813         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
37814         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
37815         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
37816         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
37817         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
37818         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
37819         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
37820         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
37821         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
37822         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
37823         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
37824         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
37825         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
37826         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
37827         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
37828         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
37829         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
37831 2012-07-25  Florian Weimer  <fweimer@redhat.com>
37833         * Versions.def: Add GLIBC_2.17.
37834         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
37835         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
37836         Introduce __libc_secure_getenv.
37837         * stdlib/Versions (2.17): Add secure_getenv
37838         (GLIBC_PRIVATE): Add __libc_secure_getenv.
37839         * stdlib/secure-getenv.c: Rename __secure_getenv to
37840         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
37841         symbol __secure_getenv for GLIBC_2.0.
37842         * stdlib/tst-secure-getenv.c: New.
37843         * stdlib/Makefile (tests): Add testcase.
37844         * manual/startup.texi (Environment Access): Document
37845         secure_getenv.
37846         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
37847         __libc_secure_getenv.
37848         * inet/ruserpass.c (ruserpass): Likewise.
37849         * malloc/mtrace.c (mtrace): Likewise.
37850         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
37851         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
37852         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
37853         * sysdeps/posix/tempname.c: Likewise.  Evaluate
37854         HAVE_SECURE_GETENV.
37855         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
37856         __secure_getenv to __libc_secure_getenv.
37857         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
37858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37859         Likewise.
37860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37861         Likewise.
37862         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
37863         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
37864         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37865         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
37866         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
37867         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37868         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
37870 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
37872         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
37873         (struct La_i86_retval): Likewise.
37874         (struct La_x86_64_regs): Likewise.
37875         (struct La_x86_64_retval): Likewise.
37876         (struct La_x32_regs): Likewise.
37877         (struct La_x32_retval): Likewise.
37878         (struct La_ppc32_regs): Likewise.
37879         (struct La_ppc32_retval): Likewise.
37880         (struct La_ppc64_regs): Likewise.
37881         (struct La_ppc64_retval): Likewise.
37882         (struct La_sh_regs): Likewise.
37883         (struct La_sh_retval): Likewise.
37884         (struct La_s390_32_regs): Likewise.
37885         (struct La_s390_32_retval): Likewise.
37886         (struct La_s390_64_regs): Likewise.
37887         (struct La_s390_64_retval): Likewise.
37888         (struct La_sparc32_regs): Likewise.
37889         (struct La_sparc32_retval): Likewise.
37890         (struct La_sparc64_regs): Likewise.
37891         (struct La_sparc64_retval): Likewise.
37892         (struct audit_ifaces): Remove architecture-specific pltenter and
37893         pltexit members.
37894         * sysdeps/i386/ldsodefs.h: New file.
37895         * sysdeps/powerpc/ldsodefs.h: Likewise.
37896         * sysdeps/s390/ldsodefs.h: Likewise.
37897         * sysdeps/sh/ldsodefs.h: Likewise.
37898         * sysdeps/sparc/ldsodefs.h: Likewise.
37899         * sysdeps/x86_64/ldsodefs.h: Likewise.
37901 2012-07-25  Marek Polacek  <polacek@redhat.com>
37903         [BZ #6808]
37904         * math/libm-test.inc (yn_test): Add another test.
37905         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
37906         to ERANGE when the result is +-Inf.
37907         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
37908         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
37909         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
37910         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
37912 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
37914         * conform/data/time.h-data (NULL): Use macro-constant.  Require
37915         equal to 0.
37916         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
37917         clock_t.
37918         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
37920 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
37922         * configure.in <sysdeps resolving>: Correct printing
37923         Implies_before.
37924         * configure: Regenerate.
37926 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
37928         * math/w_ilogb.c: Include <limits.h>.
37929         * math/w_ilogbl.c: Likewise.
37931 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
37933         * manual/lang.texi (__va_copy): Document primarily as ISO C99
37934         va_copy.  Document allowing for unavailable va_copy only as
37935         pre-C99 compatibility.
37936         * manual/string.texi (Copying and Concatenation): Use va_copy
37937         instead of __va_copy in concat example.
37939 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
37941         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
37942         (__sendto): Use create_address_port.  Initialize APORT and deallocate
37943         it if not null.
37945         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
37946         with O_NOLINK passed to __file_name_lookup.
37948         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
37949         with O_NOLINK passed to __file_name_lookup.
37951         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
37952         negative N or less than NGIDS.
37954         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
37955         type to string_t.  Set ERANGE as errno and return it if NAME is not big
37956         enough.  Use memcpy instead of strncpy.
37958 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
37960         * elf/Makefile (check-data): Remove.
37961         (localplt.data): New vpath directive.
37962         ($(objpfx)check-localplt.out): Use localplt.data from vpath
37963         instead of $(check-data).
37964         * scripts/data/localplt-generic.data: Move to ...
37965         * sysdeps/generic/localplt.data: ... here.
37966         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
37967         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
37968         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
37969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
37970         ... here.
37971         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
37972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
37973         ... here.
37974         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
37975         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
37976         ... here.
37977         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
37978         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
37979         ... here.
37980         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
37981         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
37982         ... here.
37983         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
37984         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
37985         ... here.
37987 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37989         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
37990         PPC32 and PPC64 files.
37991         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
37992         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
37994 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37996         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
37997         __makecontext_ret to ...
37998         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
37999         ... here and call exit if uc_link is NULL.  New file.
38000         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
38001         __makecontext_ret.S.
38002         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
38003         __makecontext_ret to ...
38004         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
38005         ... here and call exit if uc_link is NULL.  New file.
38006         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
38007         __makecontext_ret.S.
38009 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38011         * elf/elf.h (R_390_IRELATIVE): New definition.
38012         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
38013         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
38014         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
38015         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
38016         (elf_machine_lazy_rel): Likewise.
38017         * sysdeps/s390/dl-irel.h: New file.
38018         * sysdeps/s390/s390-64/memcpy.S: New asm code.
38019         * sysdeps/s390/s390-64/memset.S: New asm code.
38020         * sysdeps/s390/s390-64/memcmp.S: New asm code.
38021         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
38022         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
38023         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
38024         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
38025         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
38026         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
38027         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
38028         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
38029         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
38030         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
38031         * sysdeps/s390/s390-32/memcpy.S: New asm code.
38032         * sysdeps/s390/s390-32/memset.S: New asm code.
38033         * sysdeps/s390/s390-32/memcmp.S: New asm code.
38035 2012-07-17  Marek Polacek  <polacek@redhat.com>
38037         [BZ #14349]
38038         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
38039         * sysdeps/s390/s390-64/configure.in: Likewise.
38040         * sysdeps/sparc/configure.in: Likewise.
38041         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
38042         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
38043         * sysdeps/i386/configure.in: Likewise.
38044         * sysdeps/x86_64/configure.in: Likewise.
38045         * sysdeps/sh/configure.in: Likewise.
38046         * sysdeps/s390/s390-32/configure: Regenerated.
38047         * sysdeps/s390/s390-64/configure: Likewise.
38048         * sysdeps/x86_64/configure: Likewise.
38049         * sysdeps/sh/configure: Likewise.
38050         * sysdeps/powerpc/powerpc64/configure: Likewise.
38051         * sysdeps/powerpc/powerpc32/configure: Likewise.
38052         * sysdeps/sparc/configure: Likwise.
38053         * sysdeps/i386/configure: Likewise.
38055         * elf/dl-open.c: Comment fixes.
38057 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
38059         * Makefile [CXX] (check-data): Remove.
38060         [CXX] (c++-types.data): New vpath directive.
38061         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
38062         vpath.  Do not allow for C++ type data being missing.
38063         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
38064         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
38065         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
38066         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
38067         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
38068         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
38069         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
38070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
38071         ... here.
38072         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
38073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
38074         ... here.
38075         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
38076         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
38077         ... here.
38078         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
38079         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
38080         ... here.
38081         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
38082         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
38083         ... here.
38084         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
38085         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
38086         ... here.
38087         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
38088         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
38089         ... here.
38090         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
38091         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
38093         * elf/tls-macros.h (TLS_LE): Move architecture-specific
38094         definitions to architecture-specific files.
38095         (TLS_IE): Likewise.
38096         (TLS_LD): Likewise.
38097         (TLS_GD): Likewise.
38098         * sysdeps/i386/tls-macros.h: New file.
38099         * sysdeps/powerpc/tls-macros.h: Likewise.
38100         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
38101         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
38102         * sysdeps/sh/tls-macros.h: Likewise.
38103         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
38104         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
38105         * sysdeps/x86_64/tls-macros.h: Likewise.
38107 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
38109         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
38110         zero value for regular exit case.
38112         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
38113         (__start_context): Preserve zero value for regular exit case.
38115 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
38116             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38118         * manual/setjmp.texi (setcontext): Clarify normal process
38119         termination when uc_link is the null pointer.
38120         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
38121         exit call.
38123 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
38125         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
38126         preprocessor.  Test for each exception mask separately.
38128 2012-07-16  Andreas Jaeger  <aj@suse.de>
38130         * po/ru.po: Update from translation team.
38132 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
38134         * conform/data/string.h-data (NULL): Use macro-constant.  Require
38135         equal to 0.
38136         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
38137         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
38138         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
38139         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
38140         [ISO || ISO99 || ISO11] (*_t): Do not allow.
38142 2012-07-13  Andreas Jaeger  <aj@suse.de>
38144         * po/fr.po: Update from translation team.
38146 2012-07-12  Marek Polacek  <polacek@redhat.com>
38148         [BZ #14173]
38149         * math/libm-test.inc (yn_test): Add test for BZ #14173.
38150         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
38151         loop condition.
38153 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
38155         [BZ #13717]
38156         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38157         Change to 2.4.1 where previously 2.4.0.
38158         * sysdeps/unix/sysv/linux/configure: Regenerated.
38159         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
38160         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
38161         version.
38162         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
38163         (__ASSUME_AT_CLKTCK): Remove.
38164         (__ASSUME_AT_PAGESIZE): Likewise.
38165         (__ASSUME_AT_XID): Likewise.
38166         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
38167         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
38168         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
38169         unconditionally.
38170         (HAVE_AUX_PAGESIZE): Likewise.
38171         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
38172         [__ASSUME_AT_CLKTCK]: Make code unconditional.
38173         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
38175 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
38177         [BZ #14307]
38178         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
38179         the temporary buffer used to invoke __gethostbyname2_r,
38180         __gethostbyaddr_r and gethostbyname4_r to make room for struct
38181         host_data / struct gaih_addrtuple.
38182         * resolv/nss_dns/dns-host.c (global scope): Move definition of
38183         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
38184         header file nss/nsswitch.h.
38185         * nss/nsswitch.h (global scope): Add definition of implementation
38186         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
38187         resolv/nss_dns/dns-host.c).
38189 2012-07-11  Andreas Jaeger  <aj@suse.de>
38191         * po/fr.po: Update from translation team.
38193         * po/sv.po: Update from translation team
38194         * po/fr.po: Another update from translation team.
38196 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38198         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
38199         for subnormals or multiply small sinh result by itself.
38200         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
38201         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38203 2012-07-11  David S. Miller  <davem@davemloft.net>
38205         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38207 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
38209         [BZ #14347]
38210         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
38211         (INTERNAL_MARK): Shift it here.
38213 2012-07-10  Marek Polacek  <polacek@redhat.com>
38215         [BZ #14151]
38216         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
38217         libc_cv_asm_global_directive with .globl.
38218         * configure: Regenerated.
38219         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
38220         with .globl.
38221         * sysdeps/i386/configure: Regenerated.
38222         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
38223         with .globl.
38224         * sysdeps/x86_64/configure: Regenerated.
38225         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
38226         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
38227         * elf/tst-unique2mod2.c: Likewise.
38228         * elf/tst-unique2mod1.c: Likewise.
38229         * elf/tst-unique1mod2.c: Likewise.
38230         * elf/tst-unique1mod1.c: Likewise.
38231         * sysdeps/s390/s390-32/sysdep.h: Likewise.
38232         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
38233         * sysdeps/s390/s390-64/sysdep.h: Likewise.
38234         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38235         * sysdeps/mach/sysdep.h: Likewise.
38236         * sysdeps/i386/sysdep.h: Likewise.
38237         * sysdeps/i386/i386-mcount.S: Likewise.
38238         * sysdeps/x86_64/_mcount.S: Likewise.
38239         * sysdeps/x86_64/sysdep.h: Likewise.
38240         * sysdeps/sh/_mcount.S: Likewise.
38241         * sysdeps/sh/sysdep.h: Likewise.
38242         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
38243         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
38244         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
38245         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38246         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
38247         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
38248         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
38249         * locale/localeinfo.h: Likewise.
38250         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
38251         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
38253 2012-07-09  Roland McGrath  <roland@hack.frob.com>
38255         [BZ #14336]
38256         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
38257         system".
38258         * manual/message.texi (The Uniforum approach): Likewise.
38259         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
38260         (glibc iconv Implementation): Likewise.
38262 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
38264         [BZ #14337]
38265         * math/s_clog.c (__clog): Avoid scaling a value down where that
38266         could result in underflow.
38267         * math/s_clog10.c (__clog10): Likewise.
38268         * math/s_clog10f.c (__clog10f): Likewise.
38269         * math/s_clog10l.c (__clog10l): Likewise.
38270         * math/s_clogf.c (__clogf): Likewise.
38271         * math/s_clogl.c (__clogl): Likewise.
38272         * math/libm-test.inc (clog_test): Add more tests.
38273         (clog10_test): Likewise.
38274         * sysdeps/i386/fpu/libm-test-ulps: Update.
38275         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38277 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
38279         [BZ #14283]
38280         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
38281         by 7 not 8 to examine high bit of fractional part.
38283         [BZ #14042]
38284         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
38285         for call to __mcount_internal.
38286         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
38287         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
38288         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
38290 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
38292         [BZ #14154]
38293         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
38294         approximation for values within 0x1p-13f of an odd multiple of
38295         pi/4.
38296         * math/libm-test.inc (tan_test): Do not allow spurious underflow
38297         exception.  Add more tests.
38298         * sysdeps/i386/fpu/libm-test-ulps: Update.
38300         [BZ #6778]
38301         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
38302         inputs and return -1 for them.  Do not check for +Inf in case not
38303         reachable for +Inf.
38304         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
38305         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
38306         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
38307         and return -1 for them.  Do not check for +Inf in case not
38308         reachable for +Inf.
38309         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
38310         define.
38311         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
38312         and return -1 for them.  Do not check for +Inf in case not
38313         reachable for +Inf.
38314         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
38315         spurious underflow.
38316         * sysdeps/i386/fpu/libm-test-ulps: Update.
38317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38319 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
38321         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
38323 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
38325         [BZ #14157]
38326         [BZ #14331]
38327         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
38328         could result in spurious underflow.  Scale down values above
38329         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
38330         * math/s_csqrtf.c (__csqrtf): Likewise.
38331         * math/s_csqrtl.c (__csqrtl): Likewise.
38332         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
38333         spurious underflow.
38334         * sysdeps/i386/fpu/libm-test-ulps: Update.
38335         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38337 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
38339         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
38340         xopen-msg.sed.
38341         * catgets/xopen-msg.awk: New file.
38342         * catgets/xopen-msg.sed: Removed.
38344         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
38345         po2text.sed.
38346         * intl/po2test.awk: New file.
38347         * intl/po2test.sed: Removed.
38349 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
38351         [BZ #14328]
38352         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
38353         or multiply small sinh result by itself.
38354         * math/s_ctanf.c (__ctanf): Likewise.
38355         * math/s_ctanh.c (__ctanh): Likewise.
38356         * math/s_ctanhf.c (__ctanhf): Likewise.
38357         * math/s_ctanhl.c (__ctanhl): Likewise.
38358         * math/s_ctanl.c (__ctanl): Likewise.
38359         * math/libm-test.inc (ctan_test_tonearest): New function.
38360         (ctan_test_towardzero): Likewise.
38361         (ctan_test_downward): Likewise.
38362         (ctan_test_upward): Likewise.
38363         (ctanh_test_tonearest): Likewise.
38364         (ctanh_test_towardzero): Likewise.
38365         (ctanh_test_downward): Likewise.
38366         (ctanh_test_upward): Likewise.
38367         (main): Call these new functions.
38368         * sysdeps/i386/fpu/libm-test-ulps: Update.
38369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38371 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
38373         * .gitignore: Delete /ports entry.
38375 2012-07-03  Andreas Jaeger  <aj@suse.de>
38377         * po/bg.po: Update from translation team.
38378         * po/cs.po: Likewise.
38379         * po/de.po: Likewise.
38380         * po/hr.po: Likewise.
38381         * po/nl.pl: Likewise.
38382         * po/pl.po: Likewise.
38383         * po/vi.po: Likewise.
38385 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
38387         * Makeconfig [!+link] (+link-before-libc): New variable.
38388         [!+link] (+link-after-libc): Likewise.
38389         [!+link] (+link-tests): Likewise.
38390         [!+link] (+link): Define in terms of $(+link-before-libc) and
38391         $(+link-after-libc).
38392         [!+link-static] (+link-static-before-libc): New variable.
38393         [!+link-static] (+link-static-after-libc): Likewise.
38394         [!+link-static] (+link-static-tests): Likewise.
38395         [!+link-static] (+link-static): Define in terms of
38396         $(+link-static-before-libc) and $(+link-static-after-libc).
38397         [build-shared] (link-libc-before-gnulib): New variable.
38398         [build-shared] (link-libc-tests): Likewise.
38399         [build-shared] (link-libc): Define in terms of
38400         $(link-libc-before-gnulib).
38401         [!build-shared] (link-libc-tests): New variable.
38402         (link-libc-static-tests): New variable.
38403         [!gnulib] (gnulib-arch): New variable.
38404         [!gnulib] (gnulib-tests): Likewise.
38405         [!gnulib] (static-gnulib-arch): Likewise.
38406         [!gnulib] (static-gnulib-tests): Likewise.
38407         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
38408         Define with "=" instead of ":=".
38409         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
38410         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
38411         * Rules (binaries-all-notests): New variable.
38412         (binaries-all-tests): Likewise.
38413         (binaries-static-notests): Likewise.
38414         (binaries-static-tests): Likewise.
38415         (binaries-all): Define using $(binaries-all-notests) and
38416         $(binaries-all-tests).
38417         (binaries-static): Define using $(binaries-static-notests) and
38418         $(binaries-static-tests).
38419         (binaries-shared-tests): New variable.
38420         (binaries-shared-notests): Likewise.
38421         (binaries-shared): Remove variable.
38422         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
38423         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
38424         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
38425         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
38426         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
38427         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
38428         * elf/Makefile (sln-modules): New variable.
38429         (extra-objs): Add $(sln-modules:=.o).
38430         (ldconfig-modules): Add static-stubs.
38431         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
38432         * elf/static-stubs.c: New file.
38434         [BZ #14283]
38435         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
38436         by 7 not 8 to examine high bit of fractional part.  Use volatile
38437         variables when splitting into final array of floats if
38438         __FLT_EVAL_METHOD__ != 0.
38439         * math/libm-test.inc (cos_test): Add another test.
38440         (sin_test): Likewise.
38441         * sysdeps/i386/fpu/libm-test-ulps: Update.
38443         [BZ #14273]
38444         * math/libm-test.inc (cosh_test): Add more tests.
38446         * version.h (RELEASE): Set to "development".
38447         (VERSION): Set to "2.16.90".
38449 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
38451         * NEWS: Update copyright. Remove last-updated date.
38452         Mention math library bug fixes and timezone data changes.
38453         * README: Mention GNU/Hurd, x32, and HPPA support status.
38455 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
38457         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
38459 2012-06-27  Andreas Jaeger  <aj@suse.de>
38461         * manual/contrib.texi (Contributors): Add Samuel Thibault.
38463 2012-06-25  Andreas Jaeger  <aj@suse.de>
38465         * sysdeps/s390/fpu/libm-test-ulps: Update.
38467 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
38468             Thomas Schwinge  <thomas@codesourcery.com>
38470         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
38471         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
38472         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
38473         fanotify_mark.
38475 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
38477         * sysdeps/mach/start.c: Remove file.
38478         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
38479         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
38480         * sysdeps/sh/init-first.c: Likewise.
38482         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
38483         registers for frame unwinding purposes, add CFI directives.
38484         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
38485         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
38486         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
38487         Likewise.
38489         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
38490         __fortify_fail returning.
38491         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
38493         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
38494         sysdeps/sh/____longjmp_chk.S.
38495         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
38496         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
38497         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
38498         (gen-as-const-headers): Append sigaltstack-offsets.sym.
38500         * sysdeps/sh/abort-instr.h: New file.
38501         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
38502         process in case exit returns.
38504         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
38505         initialize the GOT register before use.
38507         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
38508         calculation of ARGC > 4.
38510         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
38511         meaningful names to some local labels.
38513 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38514             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38516         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
38517         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
38518         (__arch_compare_and_exchange_val_16_acq): Likewise.
38519         (__arch_compare_and_exchange_val_32_acq): Likewise.
38520         (atomic_exchange_and_add): Fix gUSA sequence.
38521         (atomic_add): Likewise.
38522         (atomic_add_negative): Likewise.
38523         (atomic_add_zero): Likewise.
38524         (atomic_bit_test_set): Likewise.
38526 2012-06-22  Andreas Schwab  <schwab@redhat.com>
38528         [BZ #13579]
38529         * include/link.h (struct link_map): Add l_free_initfini.
38530         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
38531         l_initfini.
38532         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
38533         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
38534         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
38535         set.
38537 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
38539         * configure.in: Use AC_LANG_SOURCE.
38540         * configure: Regenerate.
38542 2012-06-22  Roland McGrath  <roland@hack.frob.com>
38544         * configure.in (libc_cv_localstatedir): New substituted variable.
38545         * configure: Regenerated.
38546         * config.make.in (localstatedir): New variable, substituted from
38547         libc_cv_localstatedir.
38548         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
38549         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
38550         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
38551         * sysdeps/gnu/configure: Regenerated.
38553 2012-06-21  Jeff Law  <law@redhat.com>
38555         [BZ #14277]
38556         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
38557         free.  Simplify list management for _LIBC case.
38559 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
38561         [BZ #14273]
38562         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
38563         Clear sign bit of 64-bit integer value before comparing against
38564         overflow value.
38566         * sysdeps/mach/configure: Regenerated.
38568 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
38570         [BZ #14278]
38571         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
38573 2012-06-21  Jeff Law  <law@redhat.com>
38575         [BZ #13882]
38576         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
38577         uint16_t for elements in the "seen" array to avoid char overflows.
38578         * elf/dl-fini.c (_dl_sort_fini): Likewise.
38579         * elf/dl-open.c (dl_open_worker): Likewise.
38581 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
38583         * scripts/list-sources.sh: Scan PORTS for translations.
38584         * po/libc.pot: Regenerated.
38586 2012-06-21  Andreas Jaeger  <aj@suse.de>
38588         [BZ #12194]
38589         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
38590         warning.
38591         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
38592         * bits/byteswap-16.h (__bswap_16): Likewise.
38593         * bits/byteswap.h (__bswap_constant_16): Likewise.
38595 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
38597         [BZ #14117]
38598         * sysdeps/i386/fpu_control.h: Removed.
38599         * sysdeps/x86_64/fpu_control.h: Moved to ...
38600         * sysdeps/x86/fpu_control.h: Here.
38602         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
38603         (_FPU_SETCW): Likewise.
38605 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
38607         [BZ #14117]
38608         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
38609         * sysdeps/x86/fpu/bits/mathinline.h: This.
38610         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
38612         [BZ #14050]
38613         [BZ #14117]
38614         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
38615         functions if __x86_64__ is defined.
38617 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
38619         * string/endian.h: Add !__ASSEMBLER__ condition for including
38620         conversion interfaces.
38622 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
38624         [BZ #14241]
38625         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
38626         of ABS(x) in calculating zero to negative powers other than odd
38627         integers.
38628         * math/libm-test.inc (pow_test): Add more tests.
38630 2012-06-15  Andreas Jaeger  <aj@suse.de>
38632         * manual/contrib.texi (Contributors): Update entry of Liubov
38633         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
38634         Machado Filho.
38636 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
38638         * string/string.h: Add __wur to GNU version of strerror_r.
38640 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
38642         [BZ #14229]
38643         * string/Makefile (tests): Add tst-strtok_r.
38644         * string/tst-strtok_r.c: New file.
38645         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
38646         RAX_LP/RDX_LP on SAVE_PTR.
38648 2012-06-14  Roland McGrath  <roland@hack.frob.com>
38650         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
38652 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
38654         * libm_test.inc (csqrt_test): Allow more spurious underflow
38655         exceptions.
38656         (j0_test): Likewise.
38657         (j1_test): Likewise.
38658         (y0_test): Likewise.
38659         (y1_test): Likewise.
38661 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
38663         * po/Makefile (libc.pot): Use UTF-8 charset.
38665 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
38667         [BZ #14210]
38668         Suppress sign-conversion warning from FD_SET.
38669         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
38670         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
38671         not unsigned long int.
38672         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
38674 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
38676         [BZ #14050]
38677         [BZ #14117]
38678         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
38679         __extern_always_inline instead of __extern_inline.
38680         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
38681         (__signbit): Likewise.
38682         (__signbitl): Support C++ namespace.
38683         (lrintf): New inline function.
38684         (lrint): Likewise.
38685         (llrintf): Likewise.
38686         (llrint): Likewise.
38687         (fmaxf): Likewise.
38688         (fmax): Likewise.
38689         (fminf): Likewise.
38690         (fmin): Likewise.
38691         (rint): Likewise.
38692         (rintf): Likewise.
38693         (ceil): Likewise.
38694         (ceilf): Likewise.
38695         (floor): Likewise.
38696         (floorf): Likewise.
38697         (nearbyint): Likewise.
38698         (nearbyintf): Likewise.
38700 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
38702         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
38703         non-default versions.
38705 2012-06-11  Roland McGrath  <roland@hack.frob.com>
38707         [BZ #14218]
38708         * manual/argp.texi (Argp): Reword argp_parse description slightly.
38710 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
38712         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
38713         (FE_UPWARD, FE_DOWNWARD): Don't define.
38714         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
38715         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
38717         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
38718         reading it.
38719         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
38720         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38722 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38724         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
38725         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
38726         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
38727         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
38729 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
38731         [BZ #14117]
38732         * sysdeps/i386/fpu/bits/fenv.h: Removed.
38733         * sysdeps/i386/fpu/Implies: New file.
38734         * sysdeps/x86_64/fpu/Implies: Likewise.
38735         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
38736         * sysdeps/x86/fpu/bits/fenv.h: This.
38738         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
38739         __SSE_MATH__.
38741 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
38743         [BZ #14134]
38744         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
38745         character 0xffff that matches the last element of the
38746         conversion table.
38748 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38750         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
38751         fmodl commit.
38753 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38755         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
38756         values higher than 25.6283.
38758 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38760         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
38761         subnormal exponent extraction and add some __builtin_expect.
38762         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
38763         Fix for subnormal mantissa calculation.
38765 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
38767         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
38768         cpu2 is -1 and errno is not ENOSYS.
38770 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
38772         [BZ #14117]
38773         * sysdeps/i386/i486/bits/string.h: Renamed to ...
38774         * sysdeps/x86/bits/string.h: This.
38775         * sysdeps/x86_64/bits/string.h: Removed.
38777         * sysdeps/i386/i486/bits/string.h: Define inline functions only
38778         if not compiling for x86-64, but compiling for >= i486.
38780         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
38781         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
38783         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
38784         New macro from Linux kernel 3.4.0.
38785         (FP_XSTATE_MAGIC2): Likewise.
38786         (FP_XSTATE_MAGIC2_SIZE): Likewise.
38787         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
38788         (struct _fpx_sw_bytes): New struct.
38789         (struct _xsave_hdr): Likewise.
38790         (struct _ymmh_state): Likewise.
38791         (struct _xstate): Likewise.
38793         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
38794         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
38795         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
38796         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
38797         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
38798         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
38800         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
38801         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
38802         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
38803         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
38804         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
38805         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
38807 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
38809         [BZ #13743]
38810         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
38811         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
38812         (sysdep_headers): Include sys/platform/ppc.h.
38813         * sysdeps/powerpc/test-gettimebase.c: Test for
38814         __ppc_get_timebase() to catch future ISA opcode/insn changes.
38815         * manual/Makefile (appendices): Include platform.texi.
38816         * manual/contrib.texi (Contributors): Update @node pointers.
38817         * manual/maint.texi (Maintenance): Likewise.
38818         (Platform): New node.
38819         * manual/platform.texi: New file.  Document the new features.
38821 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38822             Jakub Jelinek  <jakub@redhat.com>
38824         [BZ #14188]
38825         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
38826         where __builtin_expect is unavailable.
38828 2012-06-03  David S. Miller  <davem@davemloft.net>
38830         * stdlib/longlong.h: Updated from GCC.
38832 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
38834         [BZ #14042]
38835         * sysdeps/powerpc/powerpc32/mcount.c: New file.
38836         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
38837         __mcount_internal.
38838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
38839         (GLIBC_2.16): Likewise.
38841 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
38843         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
38845 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
38847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
38848         (default-abi): New variable.
38849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
38850         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
38851         variable.
38852         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
38853         Likewise.
38854         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
38855         Likewise.
38856         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
38857         Likewise.
38859         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
38860         definition.  Document in comment.
38862 2012-06-01  David S. Miller  <davem@davemloft.net>
38864         * stdlib/longlong.h: Updated from GCC.
38866 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
38868         [BZ #14117]
38869         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
38870         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
38871         sys/debugreg.h sys/io.h here.
38872         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
38873         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
38874         sys/io.h.
38875         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
38876         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
38877         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
38878         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
38879         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
38880         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
38882         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
38883         Define only if __x86_64__ is defined.
38885 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
38887         [BZ #14048]
38888         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
38889         Use int64_t for variable i.
38890         * math/libm-test.inc (fmod_test): Add more tests.
38892         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
38893         z computation is not scheduled after fetestexcept.
38894         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
38895         Use math_force_eval instead of asm to ensure calculation scheduled
38896         before exception test.
38897         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
38898         Ensure a1 + u.d computation is not scheduled after fetestexcept.
38900 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
38902         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
38903         computation is not scheduled after fetestexcept.
38905 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
38907         [BZ #14117]
38908         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
38909         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
38911 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38913         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
38914         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
38916 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
38918         [BZ #14117]
38919         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
38920         <bits/wordsize.h>.
38921         (__WCHAR_MIN): Support __WORDSIZE == 64.
38922         (__WCHAR_MAX): Likewise.
38924         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
38925         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
38927         [BZ #14183]
38928         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
38929         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
38931         [BZ #14117]
38932         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
38933         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
38935         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
38936         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
38938         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
38939         Defined to 1 if __x86_64__ isn't defined.
38940         (_STAT_VER_LINUX_OLD): New.
38941         (st_atime): Remove duplicate.
38942         (st_mtime): Likewise.
38943         (st_ctime): Likewise.
38945 2012-05-31  David S. Miller  <davem@davemloft.net>
38947         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
38948         entries.
38950 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
38952         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
38953         gen-libm-test.pl.
38955         [BZ #14132]
38956         * elf/dl-reloc.c: Include <_itoa.h>.
38957         (_dl_reloc_bad_type): Remove use of INTUSE.
38958         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
38959         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
38960         * stdio-common/psiginfo.c (psiginfo): Likewise.
38961         * stdio-common/psignal.c (psignal): Likewise.
38962         * string/strsignal.c (strsignal): Likewise.
38963         * include/signal.h (_sys_siglist): Declare hidden proto.
38964         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
38965         INTVARDEF with libc_hidden_data_def.
38966         * stdio-common/itoa-udigits.c: Likewise.
38967         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
38968         (_itoa_lower_digits_internal): Remove declaration.
38969         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
38970         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
38971         (_sys_sigabbrev_internal): Remove aliases.
38972         (_sys_siglist): Define hidden alias.
38974 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
38976         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38977         bits/sysctl.h.
38979 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
38981         [BZ #14117]
38982         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
38983         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
38985         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
38986         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
38987         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
38988         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
38989         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
38990         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
38992         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
38993         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
38994         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
38996         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
38997         with __addr.
38998         (insw): Likewise.
38999         (insl): Likewise.
39000         (outsb): Likewise.
39001         (outsw): Likewise.
39002         (outsl): Likewise.
39004         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
39005         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
39006         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
39008         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
39009         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
39010         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
39011         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
39012         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
39013         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
39015         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
39016         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
39018         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
39019         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
39021         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
39022         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
39023         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
39025         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
39026         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
39027         to ...
39028         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
39030         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
39031         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
39032         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
39034         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
39035         for x86-64.
39036         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
39038 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
39040         * math/math.h (M_El): Use two more decimal places.
39041         (M_LOG2El): Likewise.
39042         (M_LOG10El): Likewise.
39043         (M_LN2l): Likewise.
39044         (M_LN10l): Likewise.
39045         (M_PIl): Likewise.
39046         (M_PI_2l): Likewise.
39047         (M_PI_4l): Likewise.
39048         (M_1_PIl): Likewise.
39049         (M_2_PIl): Likewise.
39050         (M_2_SQRTPIl): Likewise.
39051         (M_SQRT2l): Likewise.
39052         (M_SQRT1_2l): Likewise.
39054 2012-05-31  David S. Miller  <davem@davemloft.net>
39056         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
39057         values between float registers.
39058         * sysdeps/sparc/sparc64/memset.S: Likewise.
39059         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39061 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
39063         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
39064         -D_FORTIFY_SOURCE=1.
39065         (CPPFLAGS-tst-longjmp_chk.c): Define.
39066         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
39067         (CPPFLAGS-tst-longjmp_chk2.c): Define.
39068         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
39069         CFLAGS-tst-wchar-h.c.
39071 2012-05-31  Marek Polacek  <polacek@redhat.com>
39073         [BZ #14132]
39074         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
39075         __endmntent_internal): Remove declaration.
39076         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
39077         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
39078         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
39080 2012-05-30  David S. Miller  <davem@davemloft.net>
39082         * sysdeps/sparc/sparc32/soft-fp/q_util.c
39083         (___Q_simulate_exceptions): Use real FP ops rather than writing
39084         into the %fsr.
39085         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
39086         Likewise.
39088 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
39090         [BZ #14117]
39091         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
39092         * sysdeps/x86/bits/xtitypes.h: This.
39094         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
39095         * sysdeps/x86/bits/wordsize.h: This.
39097         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
39098         * sysdeps/x86/bits/huge_vall.h: This.
39100         * sysdeps/i386/bits/select.h: Removed.
39101         * sysdeps/x86_64/bits/select.h: Renamed to ...
39102         * sysdeps/x86/bits/select.h: This.
39104         * sysdeps/i386/bits/setjmp.h: Removed.
39105         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
39106         * sysdeps/x86/bits/setjmp.h: This.
39108         * sysdeps/i386/bits/mathdef.h: Removed.
39109         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
39110         * sysdeps/x86/bits/mathdef.h: This.
39112 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
39114         [BZ #14132]
39115         * include/sys/socket.h (__connect_internal)
39116         (__libc_sa_len_internal): Remove declaration.
39117         (__connect, __libc_sa_len): Declare hidden_proto.
39118         (SA_LEN): Remove use of INTUSE.
39119         * socket/connect.c: Add libc_hidden_def.
39120         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
39121         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
39122         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
39123         alias.
39124         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
39125         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
39126         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
39127         of adding _internal alias.
39129 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
39131         [BZ #14117]
39132         * sysdeps/i386/bits/link.h: Removed.
39133         * sysdeps/i386/bits/linkmap.h: Likewise.
39134         * sysdeps/x86_64/bits/link.h: Renamed to ...
39135         * sysdeps/x86/bits/link.h: This.
39136         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
39137         * sysdeps/x86/bits/linkmap.h: This.
39139         * sysdeps/i386/bits/endian.h: Removed.
39140         * sysdeps/x86_64/bits/endian.h: Renamed to ...
39141         * sysdeps/x86/bits/endian.h: This.
39143         * sysdeps/i386/bits/byteswap.h: Removed.
39144         * sysdeps/i386/bits/byteswap-16.h: Likewise.
39145         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
39146         * sysdeps/x86/bits/byteswap.h: This.
39147         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
39148         * sysdeps/x86/bits/byteswap-16.h: This.
39149         * sysdeps/i386/Implies: Add x86.
39150         * sysdeps/x86_64/Implies: Likewise.
39152 2012-05-30  David S. Miller  <davem@davemloft.net>
39154         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
39155         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
39156         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
39157         (FP_TRAPPING_EXCEPTIONS): Define.
39158         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
39159         (FP_TRAPPING_EXCEPTIONS): Define.
39160         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
39161         subnormals only when inexact has been signalled or underflow
39162         exceptions are enabled.
39163         (_FP_PACK_CANONICAL): Likewise.
39165 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
39167         [BZ #14183]
39168         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
39169         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
39171 2012-05-30  Richard Henderson  <rth@twiddle.net>
39173         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
39174         with #ifndef NOT_IN_libc.
39176         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
39177         marked to avoid plt entry.
39179 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
39181         [BZ #14112]
39182         * Makeconfig (default-abi): New macro.
39183         (abi-includes): Likewise.
39184         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
39185         $(abi-$(default-abi)-lib-soname) for soname if defined.
39186         ($(common-objpfx)gnu/lib-names.stmp): Generate from
39187         abi-variants.
39188         * Makefile (installed-stubs): Likewise.
39189         * include/stubs-biarch.h: Removed.
39190         * scripts/lib-names.awk: Only handle one library at a time.
39191         * scripts/soversions.awk: Remove WORDSIZE support.
39192         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
39193         entries.
39194         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
39195         Removed.
39196         (syscall-list-default-condition): Likewise.
39197         (syscall-list-default-condition): Likewise.
39198         (syscall-list-includes): Likewise.
39199         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
39200         syscall-list-* with abi-*.  Handle undefined abi-variants.
39201         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
39202         * sysdeps/unix/sysv/linux/i386/Implies: New file.
39203         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
39204         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
39205         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
39206         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
39207         Removed.
39208         (syscall-list-32-options): Likewise.
39209         (syscall-list-32-condition): Likewise.
39210         (syscall-list-64-options): Likewise.
39211         (syscall-list-64-condition): Likewise.
39212         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
39213         macro.
39214         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
39215         Renamed to ...
39216         (abi-*): This.
39217         (abi-64-ld-soname): New macro.
39218         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
39219         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
39220         Renamed to ...
39221         (abi-*): This.
39222         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
39223         * sysdeps/x86_64/x32/shlib-versions: Likewise.
39225 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
39227         * sysdeps/unix/sysv/linux/kernel-features.h
39228         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
39229         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
39230         include <kernel-features.h>.
39231         [!__NR_ftruncate64]: Remove conditional code.
39232         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39233         [__NR_ftruncate64]: Make code unconditional.
39234         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39235         * sysdeps/unix/sysv/linux/truncate64.c: Do not
39236         include <kernel-features.h>.
39237         [!__NR_ftruncate64]: Remove conditional code.
39238         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39239         [__NR_ftruncate64]: Make code unconditional.
39240         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
39242         include <kernel-features.h>.
39243         [!__NR_ftruncate64]: Remove conditional code.
39244         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39245         [__NR_ftruncate64]: Make code unconditional.
39246         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
39248         include <kernel-features.h>.
39249         [!__NR_ftruncate64]: Remove conditional code.
39250         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39251         [__NR_ftruncate64]: Make code unconditional.
39252         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39254         * configure.in (libc_cv_fpie): Weaken to a compile test using
39255         LIBC_TRY_CC_OPTION.
39256         * configure: Regenerated.
39258 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39260         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
39261         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
39262         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
39263         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39264         Refreshed.
39265         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
39266         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
39267         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
39268         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
39269         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
39270         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39271         Refreshed.
39273 2012-05-27  David S. Miller  <davem@davemloft.net>
39275         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
39276         (___Q_zero): New.
39277         (__Q_simulate_exceptions): Return void.  Change to simulate
39278         exceptions by writing into the %fsr.
39279         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
39280         (__Qp_handle_exceptions): Likewise.
39281         (numbers): Delete.
39282         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
39283         __Qp_handle_exceptions.
39284         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
39285         __Qp_handle_exceptions.
39286         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
39287         as unused and give dummy FP_RND_NEAREST initializer.
39288         (FP_INHIBIT_RESULTS): Define.
39289         (___Q_simulate_exceptions): Update declaration.
39290         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
39291         formatting.
39292         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
39293         as unused and give dummy FP_RND_NEAREST initializer.
39294         (__Qp_handle_exceptions): Update declaration.
39295         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
39296         formatting.
39298 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
39300         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
39301         the temporary FPU control word.
39302         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
39303         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
39304         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
39305         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
39306         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
39307         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
39308         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
39309         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
39310         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
39311         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
39312         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39314 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39316         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
39317         fields.
39319 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
39321         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
39322         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
39323         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
39324         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
39325         Likewise.
39326         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
39327         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
39328         Likewise.
39330 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
39332         * po/h.po: Update from translation team.
39334 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
39336         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
39338         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
39339         handling of denormals.
39340         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
39341         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
39342         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
39343         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
39344         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39345         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
39346         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
39347         Likewise.
39349 2012-05-26  Marek Polacek  <polacek@redhat.com>
39351         [BZ #14152]
39352         * math/libm-test.inc (fma_test): Don't always expect underflow
39353         exception.
39355 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39357         [BZ #12416]
39358         * elf/tst-execstack.c: Include stackinfo.h.
39359         (do_test): Adjust test case to ensure that pthread_getattr_np
39360         behaviour remains the same after marking stack executable.
39362 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
39364         * sysdeps/unix/sysv/linux/kernel-features.h
39365         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
39366         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
39367         kernel-features.h.
39368         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
39369         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
39370         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
39371         kernel-features.h.
39372         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
39373         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
39375 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
39377         * configure.in: Define the default includes to being none.
39378         * configure: Regenerated.
39380 2012-05-25  Roland McGrath  <roland@hack.frob.com>
39382         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
39383         * sysdeps/x86_64/setjmp.S: Likewise.
39384         * sysdeps/i386/bsd-setjmp.S: Likewise.
39385         * sysdeps/i386/bsd-_setjmp.S: Likewise.
39386         * sysdeps/i386/setjmp.S: Likewise.
39387         * sysdeps/i386/__longjmp.S: Likewise.
39388         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
39389         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
39391         * include/stap-probe.h: New file.
39392         * configure.in: Handle --enable-systemtap.
39393         * configure: Regenerated.
39394         * config.h.in (USE_STAP_PROBE): New #undef.
39395         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
39396         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
39397         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
39399 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
39401         [BZ #13717]
39402         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
39403         to 2.4.0 where earlier.
39404         * sysdeps/unix/sysv/linux/configure: Regenerated.
39405         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
39406         <kernel-features.h>.
39407         [__ASSUME_32BITUIDS]: Make code unconditional.
39408         [!__ASSUME_32BITUIDS]: Remove conditional code.
39409         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
39410         <kernel-features.h>.
39411         [__ASSUME_32BITUIDS]: Make code unconditional.
39412         [!__ASSUME_32BITUIDS]: Remove conditional code.
39413         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
39414         [__ASSUME_32BITUIDS]: Make code unconditional.
39415         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
39416         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
39417         <kernel-features.h>.
39418         [__ASSUME_32BITUIDS]: Make code unconditional.
39419         [!__ASSUME_32BITUIDS]: Remove conditional code.
39420         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
39421         <kernel-features.h>.
39422         [__ASSUME_32BITUIDS]: Make code unconditional.
39423         [!__ASSUME_32BITUIDS]: Remove conditional code.
39424         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
39425         <kernel-features.h>.
39426         [__ASSUME_32BITUIDS]: Make code unconditional.
39427         [!__ASSUME_32BITUIDS]: Remove conditional code.
39428         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
39429         <kernel-features.h>.
39430         [__ASSUME_32BITUIDS]: Make code unconditional.
39431         [!__ASSUME_32BITUIDS]: Remove conditional code.
39432         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
39433         <kernel-features.h>.
39434         [__ASSUME_32BITUIDS]: Make code unconditional.
39435         [!__ASSUME_32BITUIDS]: Remove conditional code.
39436         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
39437         <kernel-features.h>.
39438         [__ASSUME_32BITUIDS]: Make code unconditional.
39439         [!__ASSUME_32BITUIDS]: Remove conditional code.
39440         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
39441         <kernel-features.h>.
39442         [__ASSUME_32BITUIDS]: Make code unconditional.
39443         [!__ASSUME_32BITUIDS]: Remove conditional code.
39444         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
39445         <kernel-features.h>.
39446         [__ASSUME_32BITUIDS]: Make code unconditional.
39447         [!__ASSUME_32BITUIDS]: Remove conditional code.
39448         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
39449         <kernel-features.h>.
39450         [__ASSUME_32BITUIDS]: Make code unconditional.
39451         [!__ASSUME_32BITUIDS]: Remove conditional code.
39452         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
39453         <kernel-features.h>.
39454         [__ASSUME_32BITUIDS]: Make code unconditional.
39455         [!__ASSUME_32BITUIDS]: Remove conditional code.
39456         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
39457         <kernel-features.h>.
39458         [__NR_setresgid] (__setresgid): Do not declare.
39459         [__ASSUME_32BITUIDS]: Make code unconditional.
39460         [!__ASSUME_32BITUIDS]: Remove conditional code.
39461         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
39462         <kernel-features.h>.
39463         [__NR_setresuid] (__setresuid): Do not declare.
39464         [__ASSUME_32BITUIDS]: Make code unconditional.
39465         [!__ASSUME_32BITUIDS]: Remove conditional code.
39466         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
39467         <kernel-features.h>.
39468         [__ASSUME_32BITUIDS]: Make code unconditional.
39469         [!__ASSUME_32BITUIDS]: Remove conditional code.
39470         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
39471         <kernel-features.h>.
39472         [__ASSUME_32BITUIDS]: Make code unconditional.
39473         [!__ASSUME_32BITUIDS]: Remove conditional code.
39474         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
39475         <kernel-features.h>.
39476         [__ASSUME_32BITUIDS]: Make code unconditional.
39477         [!__ASSUME_32BITUIDS]: Remove conditional code.
39478         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
39479         <kernel-features.h>.
39480         [__ASSUME_32BITUIDS]: Make code unconditional.
39481         [!__ASSUME_32BITUIDS]: Remove conditional code.
39482         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
39483         <kernel-features.h>.
39484         [__ASSUME_32BITUIDS]: Make code unconditional.
39485         [!__ASSUME_32BITUIDS]: Remove conditional code.
39486         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
39487         <kernel-features.h>.
39488         [__ASSUME_32BITUIDS]: Make code unconditional.
39489         [!__ASSUME_32BITUIDS]: Remove conditional code.
39490         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
39491         <kernel-features.h>.
39492         [__ASSUME_32BITUIDS]: Make code unconditional.
39493         [!__ASSUME_32BITUIDS]: Remove conditional code.
39494         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
39495         <kernel-features.h>.
39496         [__ASSUME_32BITUIDS]: Make code unconditional.
39497         [!__ASSUME_32BITUIDS]: Remove conditional code.
39498         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
39499         <kernel-features.h>.
39500         [__ASSUME_32BITUIDS]: Make code unconditional.
39501         [!__ASSUME_32BITUIDS]: Remove conditional code.
39502         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
39503         <kernel-features.h>.
39504         [__ASSUME_32BITUIDS]: Make code unconditional.
39505         [!__ASSUME_32BITUIDS]: Remove conditional code.
39506         * sysdeps/unix/sysv/linux/kernel-features.h
39507         (__ASSUME_SETRESUID_SYSCALL): Remove.
39508         (__ASSUME_SETRESGID_SYSCALL): Likewise.
39509         (__ASSUME_32BITUIDS): Likewise.
39510         (__ASSUME_LDT_WORKS): Likewise.
39511         (__ASSUME_O_DIRECTORY): Likewise.
39512         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
39513         architecture but not kernel version.
39514         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
39515         (__ASSUME_MMAP2_SYSCALL): Likewise.
39516         (__ASSUME_STAT64_SYSCALL): Likewise.
39517         (__ASSUME_IPC64): Likewise.
39518         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
39519         <kernel-features.h>.
39520         [__ASSUME_32BITUIDS]: Make code unconditional.
39521         [!__ASSUME_32BITUIDS]: Remove conditional code.
39522         * sysdeps/unix/sysv/linux/opendir.c: Do not include
39523         <kernel-features.h>.
39524         [__ASSUME_O_DIRECTORY]: Make code unconditional.
39525         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
39526         132096]: Remove conditional code.
39527         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
39528         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
39529         <kernel-features.h>.
39530         [__ASSUME_32BITUIDS]: Make code unconditional.
39531         [!__ASSUME_32BITUIDS]: Remove conditional code.
39532         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
39533         <kernel-features.h>.
39534         [__ASSUME_32BITUIDS]: Make code unconditional.
39535         [!__ASSUME_32BITUIDS]: Remove conditional code.
39536         * sysdeps/unix/sysv/linux/setegid.c: Do not include
39537         <kernel-features.h>.
39538         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
39539         unconditional.
39540         (__setresgid): Do not declare.
39541         [__ASSUME_32BITUIDS]: Make code unconditional.
39542         [!__ASSUME_32BITUIDS]: Remove conditional code.
39543         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
39544         <kernel-features.h>.
39545         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
39546         unconditional.
39547         (__setresuid): Do not declare.
39548         [__ASSUME_32BITUIDS]: Make code unconditional.
39549         [!__ASSUME_32BITUIDS]: Remove conditional code.
39550         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
39551         <kernel-features.h>.
39552         [__ASSUME_32BITUIDS]: Make code unconditional.
39553         [!__ASSUME_32BITUIDS]: Remove conditional code.
39554         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
39555         <kernel-features.h>.
39556         [__ASSUME_32BITUIDS]: Make code unconditional.
39557         [!__ASSUME_32BITUIDS]: Remove conditional code.
39559 2012-05-25  Richard Henderson  <rth@twiddle.net>
39561         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
39562         dl_hwcap to ifunc resolver.
39563         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
39564         elf_ifunc_invoke.
39565         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
39566         dl_hwcap to ifunc resolver.
39567         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
39569 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
39571         [BZ #14153]
39572         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
39573         for |x| <= 2**-26, not 2**-57.
39574         * math/libm-test.inc (acos_test): Do not allow spurious underflow
39575         exception.
39577 2012-05-24  Jeff Law  <law@redhat.com>
39579         * stdio-common/Makefile (tests): Add bug25.
39580         * stdio-common/bug25.c: New test.
39582 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
39584         [BZ #13576]
39585         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
39586         multiple of MALLOC_ALIGNMENT in size.
39587         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
39589 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
39591         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
39592         Require >= 256.
39593         (FILENAME_MAX): Use macro-int-constant.
39594         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
39595         (_IOFBF): Use macro-int-constant.
39596         (_IOLBF): Likewise.
39597         (_IONBF): Likewise.
39598         (SEEK_CUR): Likewise.
39599         (SEEK_END): Likewise.
39600         (SEEK_SET): Likewise.
39601         (TMP_MAX): Likewise.
39602         (EOF): Use macro-int-constant.  Require < 0.
39603         (NULL): Use macro-constant.  Require == 0.
39604         (stdin): Require type to be FILE *.
39605         (stdout): Likewise.
39606         (stderr): Likewise.
39607         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
39608         macro-int-constant.
39609         (EXIT_SUCCESS): Likewise.
39610         (NULL): Use macro-constant.  Require == 0.
39611         (RAND_MAX): Use macro-int-constant.
39612         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
39613         [C99-based standards] (strtof): Require function.
39614         [C99-based standards] (strtold): Likewise.
39615         [C99-based standards] (strtoll): Likewise.
39616         [C99-based standards] (strtoull): Likewise.
39617         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
39618         [ISO || ISO99 || ISO11] (limits.h): Likewise.
39619         [ISO || ISO99 || ISO11] (math.h): Likewise.
39620         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
39621         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
39622         [ISO || ISO99 || ISO11] (*_t): Do not allow.
39624 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
39626         [BZ #14132]
39627         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
39628         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
39629         * intl/dgettext.c (DCGETTEXT): Likewise.
39630         * intl/gettext.c (DCGETTEXT): Likewise.
39631         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
39632         * posix/regex_internal.h (gettext): Likewise.
39633         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
39634         Remove declaration.
39635         * include/argz.h (__argz_count_internal)
39636         (__argz_stringify_internal): Remove declaration.
39637         (__argz_count, __argz_stringify): Declare hidden proto.
39638         * intl/dcgettext.c: Remove use of INTDEF.
39639         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
39640         * string/argz-stringify.c: Likewise.
39641         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
39642         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
39643         Declare hidden proto.
39644         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
39645         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
39646         Declare hidden proto.
39647         * include/stdio.h (__asprintf_internal): Don't declare.
39648         (__asprintf): Don't define as macro.  Declare hidden proto.
39649         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
39650         (__fsetlocking): Declare hidden proto.
39651         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
39652         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
39653         hidden proto.
39654         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
39655         (_IO_setlinebuf): Remove use of INTUSE.
39656         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
39657         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
39658         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
39659         Remove declaration.
39660         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
39661         (_IO_do_flush): Remove use of INTUSE.
39662         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
39663         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
39664         (_IO_adjust_column, _IO_least_wmarker)
39665         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
39666         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
39667         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
39668         (_IO_default_doallocate, _IO_wdefault_doallocate)
39669         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
39670         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
39671         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
39672         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
39673         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
39674         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
39675         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
39676         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
39677         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
39678         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
39679         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
39680         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
39681         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
39682         proto.
39683         (_IO_flush_all_internal, _IO_adjust_column_internal)
39684         (_IO_default_uflow_internal, _IO_default_finish_internal)
39685         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
39686         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
39687         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
39688         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
39689         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
39690         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
39691         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
39692         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
39693         (_IO_file_close_internal, _IO_file_close_it_internal)
39694         (_IO_file_underflow_internal, _IO_file_overflow_internal)
39695         (_IO_file_init_internal, _IO_file_attach_internal)
39696         (_IO_file_fopen_internal, _IO_file_read_internal)
39697         (_IO_file_sync_internal, _IO_file_seek_internal)
39698         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
39699         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
39700         (_IO_str_underflow_internal, _IO_str_overflow_internal)
39701         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
39702         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
39703         (_IO_list_all_internal, _IO_link_in_internal)
39704         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
39705         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
39706         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
39707         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
39708         (_IO_do_write_internal, _IO_padn_internal)
39709         (_IO_getline_info_internal, _IO_getline_internal)
39710         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
39711         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
39712         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
39713         (_IO_vfscanf_internal, _IO_vfprintf_internal)
39714         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
39715         (_IO_init_internal, _IO_un_link_internal): Don't declare.
39716         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
39717         with libc_hidden_ver, remove use of INTUSE.
39718         * libio/genops.c: Likewise.
39719         * libio/freopen.c: Likewise.
39720         * libio/freopen64.c: Likewise.
39721         * libio/iofclose.c: Likewise.
39722         * libio/iofdopen.c: Likewise.
39723         * libio/iofflush.c: Likewise.
39724         * libio/iofflush_u.c: Likewise.
39725         * libio/iofgets.c: Likewise.
39726         * libio/iofgets_u.c: Likewise.
39727         * libio/iofopen.c: Likewise.
39728         * libio/iofopncook.c: Likewise.
39729         * libio/iofread.c: Likewise.
39730         * libio/iofread_u.c: Likewise.
39731         * libio/ioftell.c: Likewise.
39732         * libio/iofwrite.c: Likewise.
39733         * libio/iogetline.c: Likewise.
39734         * libio/iogets.c: Likewise.
39735         * libio/iogetwline.c: Likewise.
39736         * libio/iopadn.c: Likewise.
39737         * libio/iopopen.c: Likewise.
39738         * libio/ioseekoff.c: Likewise.
39739         * libio/ioseekpos.c: Likewise.
39740         * libio/iosetbuffer.c: Likewise.
39741         * libio/iosetvbuf.c: Likewise.
39742         * libio/ioungetc.c: Likewise.
39743         * libio/ioungetwc.c: Likewise.
39744         * libio/iovdprintf.c: Likewise.
39745         * libio/iovsprintf.c: Likewise.
39746         * libio/iovsscanf.c: Likewise.
39747         * libio/memstream.c: Likewise.
39748         * libio/obprintf.c: Likewise.
39749         * libio/oldfileops.c: Likewise.
39750         * libio/oldiofclose.c: Likewise.
39751         * libio/oldiofdopen.c: Likewise.
39752         * libio/oldiofopen.c: Likewise.
39753         * libio/oldiopopen.c: Likewise.
39754         * libio/oldstdfiles.c: Likewise.
39755         * libio/putc.c: Likewise.
39756         * libio/setbuf.c: Likewise.
39757         * libio/setlinebuf.c: Likewise.
39758         * libio/stdfiles.c: Likewise.
39759         * libio/strops.c: Likewise.
39760         * libio/vasprintf.c: Likewise.
39761         * libio/vscanf.c: Likewise.
39762         * libio/vsnprintf.c: Likewise.
39763         * libio/vswprintf.c: Likewise.
39764         * libio/wfiledoalloc.c: Likewise.
39765         * libio/wfileops.c: Likewise.
39766         * libio/wgenops.c: Likewise.
39767         * libio/wmemstream.c: Likewise.
39768         * libio/wstrops.c: Likewise.
39769         * libio/__fpurge.c: Likewise.
39770         * libio/__fsetlocking.c: Likewise.
39771         * assert/assert.c: Likewise.
39772         * debug/fgets_chk.c: Likewise.
39773         * debug/fgets_u_chk.c: Likewise.
39774         * debug/fread_chk.c: Likewise.
39775         * debug/fread_u_chk.c: Likewise.
39776         * debug/gets_chk.c: Likewise.
39777         * debug/obprintf_chk.c: Likewise.
39778         * debug/vasprintf_chk.c: Likewise.
39779         * debug/vdprintf_chk.c: Likewise.
39780         * debug/vsnprintf_chk.c: Likewise.
39781         * debug/vsprintf_chk.c: Likewise.
39782         * malloc/mtrace.c: Likewise.
39783         * misc/error.c: Likewise.
39784         * misc/syslog.c: Likewise.
39785         * stdio-common/asprintf.c: Likewise.
39786         * stdio-common/fxprintf.c: Likewise.
39787         * stdio-common/getw.c: Likewise.
39788         * stdio-common/isoc99_fscanf.c: Likewise.
39789         * stdio-common/isoc99_scanf.c: Likewise.
39790         * stdio-common/isoc99_vfscanf.c: Likewise.
39791         * stdio-common/isoc99_vscanf.c: Likewise.
39792         * stdio-common/isoc99_vsscanf.c: Likewise.
39793         * stdio-common/printf-prs.c: Likewise.
39794         * stdio-common/printf_fp.c: Likewise.
39795         * stdio-common/printf_fphex.c: Likewise.
39796         * stdio-common/printf_size.c: Likewise.
39797         * stdio-common/putw.c: Likewise.
39798         * stdio-common/scanf.c: Likewise.
39799         * stdio-common/sprintf.c: Likewise.
39800         * stdio-common/tmpfile.c: Likewise.
39801         * stdio-common/vfprintf.c: Likewise.
39802         * stdio-common/vfscanf.c: Likewise.
39803         * stdlib/strfmon_l.c: Likewise.
39804         * sunrpc/openchild.c: Likewise.
39805         * sunrpc/xdr_stdio.c: Likewise.
39806         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
39807         * sysdeps/mach/hurd/tmpfile.c: Likewise.
39809 2012-05-24  Roland McGrath  <roland@hack.frob.com>
39811         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
39813         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
39814         in the third column, to generate for the shared library an IFUNC
39815         that uses _dl_vdso_vsym.
39816         * Makerules (COMPILE.c, compile-stdin.c): New variables.
39817         * Makeconfig (object-suffixes-noshared): New variable.
39819         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
39820         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
39821         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
39822         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
39824         [BZ #14132]
39825         * include/sys/time.h (__gettimeofday): Remove macro.
39826         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
39827         * time/gettimeofday.c (__gettimeofday): Remove #undef.
39828         Remove INTDEF.
39829         (__gettimeofday): Add libc_hidden_def.
39830         (gettimeofday): Add libc_hidden_weak.
39831         * sysdeps/mach/gettimeofday.c: Likewise.
39832         * sysdeps/posix/gettimeofday.c: Likewise.
39833         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
39834         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
39835         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
39836         (__gettimeofday_internal): Remove strong_alias.
39837         (__gettimeofday): Add libc_hidden_def.
39838         (gettimeofday): Add libc_hidden_weak.
39839         * sysdeps/unix/syscalls.list (gettimeofday):
39840         Remove __gettimeofday_internal alias.
39842 2012-05-24  Daniel Jacobowitz  <drow@false.org>
39843             H.J. Lu  <hongjiu.lu@intel.com>
39845         [BZ #12495]
39846         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
39847         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
39848         (largebin_index_32_big): New.
39849         (largebin_index): Use it for 16-byte alignment.
39850         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
39851         correction with front_misalign.
39853 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
39855         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
39856         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
39857         Likewise.
39858         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
39859         Likewise.
39860         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
39861         Likewise.
39862         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
39863         Likewise.
39864         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
39865         Likewise.
39866         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
39867         Likewise.
39868         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
39869         Likewise.
39870         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
39871         Likewise.
39872         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
39873         Likewise.
39874         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
39875         Likewise.
39876         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
39877         Likewise.
39878         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
39879         Likewise.
39881         * scripts/data/c++-types-x32-linux-gnu.data: New file.
39882         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
39884 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
39886         [BZ #10846]
39887         [BZ #14036]
39888         * math/libm-test.inc (exp_test): Add test from bug 14036.
39889         (pow_test): Add test from bug 10846.
39891         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
39892         and other flags.
39893         (special_function): Do not include flags in test name.
39894         (parse_args): Likewise.
39895         * sysdeps/i386/fpu/libm-test-ulps: Update.
39896         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39897         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
39898         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
39899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39901         * math/gen-libm-test.pl (%beautify): Add entries for underflow
39902         exceptions.
39903         * math/libm-test.inc ("Philosophy"): Update comment about
39904         exception testing.
39905         (UNDERFLOW_EXCEPTION): New macro.
39906         (UNDERFLOW_EXCEPTION_OK): Likewise.
39907         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
39908         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
39909         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
39910         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
39911         (INVALID_EXCEPTION_OK): Update value.
39912         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39913         (OVERFLOW_EXCEPTION_OK): Likewise.
39914         (IGNORE_ZERO_INF_SIGN): Likewise.
39915         (test_exceptions): Handle underflow exceptions.
39916         (acos_test): Update for underflow exception expectations.
39917         (cexp_test): Likewise.
39918         (clog_test): Likewise.
39919         (clog10_test): Likewise.
39920         (csqrt_test): Likewise.
39921         (ctan_test): Likewise.
39922         (ctanh_test): Likewise.
39923         (exp_test): Likewise.
39924         (exp10_test): Likewise.
39925         (exp2_test): Likewise.
39926         (expm1_test): Likewise.
39927         (fma_test): Likewise.
39928         (j0_test): Likewise.
39929         (jn_test): Likewise.
39930         (nexttoward_test): Likewise.
39931         (pow_test): Likewise.
39932         (scalbn_test): Likewise.
39933         (scalbln_test): Likewise.
39934         (tan_test): Likewise.
39935         (y1_test): Likewise.
39936         * sysdeps/i386/fpu/libm-test-ulps: Update.
39937         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39939 2012-05-23  David S. Miller  <davem@davemloft.net>
39941         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
39942         (__libc_sigaction): Remove unused local variables.
39944 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
39946         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
39948 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
39950         mktime: avoid signed integer overflow
39951         * time/mktime.c (__mktime_internal): Do not mishandle the case
39952         where diff == INT_MIN.
39954         mktime: simplify computation of average
39955         * time/mktime.c (ranged_convert): Use new time_t_avg function
39956         instead of rolling our own (probably-slower) code.
39958         mktime: do not assume signed right shift propagates sign bit
39959         * time/mktime.c (isdst_differ): New static function.
39960         (__mktime_internal): No need to normalize tm_isdst now.
39961         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
39962         tm_isdst values.
39964         mktime: merge another wrapv change from gnulib
39965         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
39966         from some compilers.
39968         mktime: remove incorrect attempt at unusual arithmetics
39969         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
39970         The code didn't really work on such machines anyway.
39971         (TYPE_MINIMUM): Assume two's complement.
39972         (twos_complement_arithmetic): Verify that long_int and time_t
39973         are two's complement (or unsigned, in the latter case).
39975         mktime: check signed shifts on long_int and time_t, too
39976         * time/mktime.c (SHR): Check that shifts work as desired
39977         on the types long_int and time_t too, as SHR is used on
39978         such types.
39980         mktime: do not assume 'long' is wide enough
39981         * time/mktime.c (verify): Move decl up.
39982         (long_int): New type.
39983         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
39984         to remove assumption in the code that 'long' is wide enough to
39985         store year values.  This assumption is not true on x32 and on
39986         some non-glibc platforms.
39988         mktime: merge wrapv change from gnulib
39989         * time/mktime.c (WRAPV): New macro.
39990         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
39991         (guess_time_tm, __mktime_internal): Do not assume that signed
39992         integer overflow wraps around; modern compilers generate code
39993         where this assumption is no longer valid.
39995 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
39997         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
39998         Replace "jmp L(pseudo_end)" with "ret".
39999         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
40000         Likewise.
40002 2012-05-23  Andreas Jaeger  <aj@suse.de>
40004         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
40005         * sysdeps/unix/sysv/linux/poll.c: Remove file.
40007 2012-05-23  Andreas Jaeger  <aj@suse.de>
40008             Maximilian Attems  <max@stro.at>
40010         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
40011         New macros.
40013 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
40015         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
40016         code so that pseudo_end is just ret and the stack pointer is
40017         correct also for static library in error case.
40019 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
40021         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
40022         move to syscalls.list.
40023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
40024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
40025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
40026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
40028         * manual/install.texi (Running make install): Do not mention Linux
40029         kernel version for which pt_chown is not needed.
40030         (Linux): Do not mention problems with nscd with 2.0 kernels.
40031         * INSTALL: Regenerated.
40033 2012-05-23  Andreas Jaeger  <aj@suse.de>
40035         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
40036         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
40037         macro.
40038         * sysdeps/unix/sysv/linux/s390/bits/mman.h
40039         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40040         * sysdeps/unix/sysv/linux/sh/bits/mman.h
40041         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40042         * sysdeps/unix/sysv/linux/i386/bits/mman.h
40043         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40044         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
40045         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40046         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
40047         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40048         * sysdeps/unix/sysv/linux/bits/in.h
40049         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
40051 2012-05-22  Roland McGrath  <roland@hack.frob.com>
40053         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
40054         (PREPARE_VERSION): Just use assert instead, it will be elided
40055         under [NDEBUG] anyway.
40057 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
40059         * sysdeps/unix/sysv/linux/Makefile: Include
40060         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
40061         (sysdep_routines): Remove sysctl.
40062         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
40063         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
40064         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
40065         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
40066         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
40068 2012-05-22  Andreas Jaeger  <aj@suse.de>
40070         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
40071         that pseudo_end is just ret and the stack pointer is correct also
40072         for static library in error case.
40074 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
40076         [BZ #14122]
40077         * nss/nsswitch.c (defconfig_entries): New variable.
40078         (__nss_database_lookup): Don't leak defconfig entries.
40079         (nss_parse_service_list): Don't leak on error paths.
40080         (free_database_entries): New function.
40081         (free_defconfig): New function.
40082         (free_mem): Move common code to free_database_entries.
40084 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
40086         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
40087         Add arch_prctl.
40088         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
40090         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
40091         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
40092         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
40093         New macro.
40094         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
40095         (INTERNAL_SYSCALL_TYPES): Likewise.
40096         (LOAD_ARGS_TYPES_[1-6]): Likewise.
40097         (LOAD_REGS_TYPES_[1-6]): Likewise.
40098         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
40099         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
40101 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40103         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
40104         copysignl for GLIBC_2_0.
40105         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
40106         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
40107         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
40108         logbl for GLIBC_2_0.
40109         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
40110         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
40112 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
40114         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
40115         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
40117         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
40118         Use "neg %eax".
40120         * time/mktime.c: Update copyright years.
40122 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
40124         mktime: merge comment-quoting-style change from gnulib
40125         * time/mktime.c: Quote 'like this' in comments.
40126         The GNU coding standards suggest that we no longer quote `like this',
40127         as "`" and "'" are typically rendered asymmetrically nowadays.
40128         The typical gnulib style is to quote 'like this' when quoting
40129         code, and "like this" when quoting English.
40131         * time/mktime.c (compile-command): Add "-I.".
40133         mktime: merge mktime-internal.h change from gnulib
40134         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
40136         mktime: merge time_r change from gnulib
40137         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
40139         mktime: merge DEBUG change from gnulib
40140         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
40141         case system <time.h> has a #define.
40143         mktime: merge <sys/types.h> change from gnulib
40144         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
40145         since <time.t> is now guaranteed to define time_t.
40147         mktime: merge HAVE_CONFIG_H change from gnulib
40148         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
40150 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
40152         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
40153         Use "neg %eax".
40155         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
40156         __rlim_t cast.
40157         (struct rusage): Use anonymous union to pad each field to
40158         __syscall_slong_t.
40160 2012-05-21  David S. Miller  <davem@davemloft.net>
40162         * Makefules (o-iterator): Remove .s cases.
40163         (compile-command.s): Delete.
40164         (COMPILE.s): Delete.
40165         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
40167 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
40169         * configure.in (libc_cv_predef_stack_protector): Only consider
40170         "foobar" and "__stack_chk_fail" lines in libc_undefs.
40171         * configure: Regenerated.
40173 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
40175         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
40176         New macro.  Use R*LP on int and pointer.
40177         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
40178         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
40179         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
40180         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
40182         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
40183         [__WORDSIZE_TIME64_COMPAT32] instead of
40184         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
40185         (struct utmp): Likewise.
40186         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
40187         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
40188         Renamed to ...
40189         (__WORDSIZE_TIME64_COMPAT32): This.
40190         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
40191         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
40192         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
40193         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
40194         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
40195         (__WORDSIZE_TIME64_COMPAT32): New macro.
40197 2012-05-21  Andreas Jaeger  <aj@suse.de>
40199         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
40200         only if [SHARED]. Add prototype for __wcschr_ia32.
40202 2012-05-21  Roland McGrath  <roland@hack.frob.com>
40204         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
40205         of %rbp unmolested in the jmp_buf while mangling the low bits.
40206         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
40207         unmolested high bits of %rbp while demangling the low bits.
40208         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
40210 2012-05-21  Andreas Jaeger  <aj@suse.de>
40212         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
40213         * sunrpc/svc_simple.c: Use it for registerrpc.
40214         * sunrpc/xcrypt.c: Use it for passwd2des.
40216         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
40218 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
40220         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
40221         Don't define if [__SYSCALL_WORDSIZE != 32].
40222         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
40223         New macro.
40225 2012-05-21  Bruno Haible  <bruno@clisp.org>
40226             Andreas Jaeger  <aj@suse.de>
40228         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
40229         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
40230         inptr and inend for must_buffer_ch.
40231         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
40232         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
40233         * stdio-common/Makefile (tests): Remove bug15.
40234         (bug15-ENV): Remove macro.
40235         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
40236         anymore.
40238 2012-05-19  Andreas Jaeger  <aj@suse.de>
40239             Roland McGrath  <roland@hack.frob.com>
40241         * manual/contrib.texi: Completely rewritten. It contains now an
40242         alphabetical list of contributors and their contributions.
40244 2012-05-21  Richard Henderson  <rth@twiddle.net>
40246         * misc/getauxval.c (__getauxval): Use unsigned long int.
40247         * misc/sys/auxv.h: Include <sys/cdefs.h>.
40248         (getauxval): Use unsigned long int.
40250 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
40252         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
40254 2012-05-21  Roland McGrath  <roland@hack.frob.com>
40256         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
40257         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
40258         __alignof__ (long double).
40260 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40262         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40264 2012-05-20  Richard Henderson  <rth@twiddle.net>
40266         * misc/getauxval.c: New file.
40267         * misc/sys/auxv.h: New file.
40268         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
40269         (routines): Add getauxval.
40270         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
40271         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
40272         * elf/dl-sysdep.c (_dl_auxv): Remove.
40273         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
40274         * elf/dl-support.c (_dl_auxv): New variable.
40275         (_dl_aux_init): Initialize it.
40276         * manual/startup.texi (Auxiliary Vector): New node.
40277         * sysdeps/generic/bits/hwcap.h: New file.
40278         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
40279         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
40280         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
40281         * sysdeps/sparc/sysdep.h: ... here.  Include it.
40282         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
40283         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
40284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40285         Update.
40286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
40287         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
40288         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
40289         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
40290         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
40291         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
40292         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
40293         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
40295 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40297         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40299 2012-05-19  David S. Miller  <davem@davemloft.net>
40301         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40303 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
40305         [BZ #14123]
40306         * math/s_ccosh.c: Include <float.h>
40307         (__ccosh): Avoid internal overflow calculating sinh and cosh
40308         values before multiplying by sin and cos values.
40309         * math/s_ccoshf.c: Likewise.
40310         * math/s_ccoshl.c: Likewise.
40311         * math/s_csin.c: Likewise.
40312         * math/s_csinf.c: Likewise.
40313         * math/s_csinl.c: Likewise.
40314         * math/s_csinh.c: Likewise.
40315         * math/s_csinhf.c: Likewise.
40316         * math/s_csinhl.c: Likewise.
40317         * math/libm-test.inc (ccos_test): Add more tests.
40318         (ccosh_test): Likewise.
40319         (csin_test): Likewise.
40320         (csinh_test): Likewise.
40321         * sysdeps/i386/fpu/libm-test-ulps: Update.
40322         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40324 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
40326         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
40327         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
40329         * sysdeps/x86_64/x32/_itoa.h: Add comment.
40331 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
40333         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
40334         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
40335         * sysdeps/powerpc/soft-fp/Versions: Likewise.
40336         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
40337         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
40338         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
40339         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
40340         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
40341         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
40342         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
40343         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
40344         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
40345         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
40346         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
40347         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
40348         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
40349         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
40350         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
40351         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
40352         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
40353         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
40354         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
40355         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
40356         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
40357         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
40358         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
40359         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
40360         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
40361         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
40362         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
40363         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
40365 2012-05-18  Andreas Jaeger  <aj@suse.de>
40367         * csu/.gitignore: Delete.
40369 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
40371         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
40372         (timex): Use __syscall_slong_t.
40374 2012-05-18  Andreas Jaeger  <aj@suse.de>
40375             Carlos O'Donell  <carlos_odonell@mentor.com>
40377         * manual/install.texi (Configuring and compiling): Update
40378         description about files modified in the source directory.
40379         * INSTALL: Regenerated.
40381 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
40383         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
40384         value.  Use "or" to set return value to -1.
40385         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
40386         negate return value.
40388 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
40390         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
40391         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
40392         failure if the compiler has Graphite support disabled.
40393         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
40394         Likewise.
40395         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
40396         (CFLAGS-memmove.c): Likewise.
40397         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
40398         Likewise.
40400 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
40402         * sysdeps/x86_64/x32/_itoa.h: New file.
40404         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
40405         getdents system call only if kernel and user dirents have the
40406         same d_ino and d_off.
40408         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
40409         LLONG_MAX != LONG_MAX.
40410         (_itoa_word): Use _ITOA_WORD_TYPE on value.
40411         (_fitoa_word): Likewise.
40413         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
40414         years.
40415         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
40416         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
40417         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
40419         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
40420         include <bits/wordsize.h>.  Check __x86_64__ instead of
40421         __WORDSIZE.
40422         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
40423         if __x86_64__ is defined.  Use anonymous union on fpstate.
40425         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
40426         anonymous union.
40428 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
40430         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
40431         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
40432         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
40433         Refer to _rtld_local_ro instead of _rtld_global_ro.
40434         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
40435         Likewise.
40436         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
40437         Likewise.
40438         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
40439         Likewise.
40440         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
40441         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
40442         of _rtld_global, and rtld_progname instead of _dl_argv[0].
40444         * sysdeps/powerpc/powerpc32/dl-machine.c
40445         (__elf_machine_runtime_setup) [PROF]: Don't reference
40446         _dl_prof_resolve.
40448 2012-05-18  Andreas Jaeger  <aj@suse.de>
40450         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
40451         function only available for GCCs before 3.4 since GCC 3.4
40452         introduced a builtin.
40453         (lrint): Likewise.
40454         (llrintf): Likewise.
40455         (llrint): Likewise.
40456         (fmaxf): Likewise.
40457         (fmax): Likewise.
40458         (fminf): Likewise.
40459         (fmin): Likewise.
40460         (rint): Likewise.
40461         (rintf): Likewise.
40462         (nearbyint): Likewise.
40463         (nearbyintf): Likewise.
40464         (ceil): Likewise.
40465         (ceilf): Likewise.
40466         (floor): Likewise.
40467         (floorf): Likewise.
40469 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
40471         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
40472         on both fields and cast pointer to __syscall_ulong_t.
40474         * bits/types.h (__fsword_t): New type.
40475         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
40476         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
40477         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40478         (__FSWORD_T_TYPE): Likewise.
40479         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40480         (__FSWORD_T_TYPE): Likewise.
40481         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40482         (__FSWORD_T_TYPE): Likewise.
40483         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
40484         (__FSWORD_T_TYPE): Likewise.
40485         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
40486         __SWORD_TYPE with __fsword_t.
40487         (statfs64): Likewise.
40489 2012-05-17  David S. Miller  <davem@davemloft.net>
40491         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
40493 2012-05-17  Andreas Jaeger  <aj@suse.de>
40495         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
40496         warning.
40498 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
40500         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
40502 2012-05-17  Andreas Jaeger  <aj@suse.de>
40504         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
40505         when it is used.
40507 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
40509         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
40511 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
40513         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
40514         * sysdeps/x86_64/tst-mallocalign1.c: New file.
40516 2012-05-17  Andreas Jaeger  <aj@suse.de>
40517             Carlos O'Donell  <carlos_odonell@mentor.com>
40519         [BZ #14059]
40520         * sysdeps/x86_64/multiarch/init-arch.h
40521         (bit_YMM_Usable): Rename to...
40522         (bit_AVX_Usable): ... this.
40523         (bit_FMA4_Usable): New macro.
40524         (bit_XMM_state): New macro.
40525         (bit_YMM_state): New macro.
40526         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
40527         [__ASSEMBLER__] (index_AVX_Usable): ... this.
40528         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
40529         (CPUID_OSXSAVE): New macro.
40530         (CPUID_AVX): New macro.
40531         (CPUID_FMA4): New macro.
40532         (index_YMM_Usable): Rename to...
40533         (index_AVX_Usable): ... this.
40534         (HAS_AVX): Use HAS_ARCH_FEATURE.
40535         (HAS_FMA4): Likewise.
40536         (HAS_YMM_USABLE): Remove.
40537         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40538         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
40539         are present.
40540         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
40541         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
40542         * sysdeps/x86_64/multiarch/Makefile: Likewise.
40543         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
40544         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
40546 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
40548         * math/libm-test.c: Support platforms without multiple rounding modes.
40549         * math/bug-nextafter.c: Support platforms without FP exceptions.
40550         * math/bug-nexttoward.c: Likewise.
40551         * math/test-fenv.c: Likewise.
40552         * math/test-misc.c: Likewise.
40553         * stdlib/bug-getcontext.c: Likewise.
40555 2012-05-17  Andreas Jaeger  <aj@suse.de>
40557         * manual/examples/search.c (critter_cmp): Change signature to
40558         avoid warnings.
40559         * manual/string.texi (Collation Functions): Likewise.
40561 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40563         * bits/types.h: Fold copyright years.
40564         * bits/typesizes.h: Likewise.
40565         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
40566         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
40567         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
40568         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
40569         * time/time.h: Likewise.
40571 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
40573         [BZ #208]
40574         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
40575         in instead of returning them.  Return void.
40576         (__libc_mallinfo): Accumulate over all arenas.
40577         (__malloc_stats): Adjust for change in int_mallinfo interface.
40579 2012-05-16  Roland McGrath  <roland@hack.frob.com>
40581         [BZ #10375]
40582         * configure.in (NM): Add AC_CHECK_TOOL for it.
40583         (libc_extra_cflags): New substituted variable.
40584         Check for -fstack-protector being used implicitly.
40585         * configure: Regenerated.
40586         * config.make.in (config-extra-cflags): New variable,
40587         gets @libc_extra_cflags@.
40588         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
40590         [BZ #10375]
40591         * configure.in: Check for _FORTIFY_SOURCE being predefined.
40592         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
40593         * configure: Regenerated.
40594         * config.make.in (CPPUNDEFS): New substituted variable.
40595         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
40596         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
40597         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
40599 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40601         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
40602         (mq_attr): Use __syscall_slong_t.
40604 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40606         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
40607         Check __x86_64__ instead of __WORDSIZE.
40608         (_STAT_VER_LINUX): Likewise.
40609         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
40610         __syscall_ulong_t and __syscall_slong_t.
40611         (stat64): Likewise.
40613 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40615         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
40617 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40619         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
40621 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40623         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
40624         __syscall_ulong_t.
40626         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
40627         include <bits/wordsize.h>.  Check __x86_64__ instead of
40628         __WORDSIZE.
40629         (greg_t): Use "__extension__ long long int" if __x86_64__ is
40630         defined.
40631         (mcontext_t): Replace "unsigned long" with "unsigned long long".
40633         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
40634         include <bits/wordsize.h>.  Check __x86_64__ instead of
40635         __WORDSIZE.
40636         (user_regs_struct): Use "__extension__ unsigned long long"
40637         instead of "unsigned long" if __x86_64__ is defined.
40638         (user): Likewise.  Pad after pointer field if __ILP32__ is
40639         defined.
40641 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
40643         * configure.in (makeinfo): Require version 4.5 or later.  Allow
40644         versions 5 to 9.
40645         * configure: Regenerated.
40646         * manual/install.texi (texinfo): Increase version requirement to
40647         4.5 or later.
40648         * INSTALL: Regenerated.
40650         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
40652 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40654         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
40656         * sysdeps/x86_64/x32/ffs.c: New file.
40658         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
40659         __syscall_ulong_t.
40660         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
40661         defined.  Use __syscall_ulong_t.
40662         (shminfo): Use __syscall_ulong_t.
40663         (shm_info): Likewise.
40665         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
40666         __syscall_ulong_t.
40668         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
40669         <bits/wordsize.h>.
40670         (msgqnum_t): Use __syscall_ulong_t.
40671         (msglen_t): Likewise.
40672         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
40673         __syscall_ulong_t.
40675         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
40676         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
40678         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
40680         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
40681         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
40683         * sysvipc/sys/msg.h (msgbuf): Replace long int with
40684         __syscall_slong_t.
40686         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
40687         include <bits/wordsize.h>.  Check __x86_64__ instead of
40688         __WORDSIZE.
40690         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
40691         "unsigned long long int" if __x86_64__ is defined.
40692         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
40694         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
40695         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
40696         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
40698         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
40699         <stdint.h>.
40700         (GET_PC): Cast to uintptr_t first.
40701         (GET_FRAME): Likewise.
40702         (GET_STACK): Likewise.
40704         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
40705         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
40706         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
40707         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
40708         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
40709         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
40710         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
40711         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
40712         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
40713         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
40714         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
40715         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
40716         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
40717         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
40718         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
40719         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
40720         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
40721         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
40722         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
40723         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
40724         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
40725         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
40726         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
40727         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
40728         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
40729         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
40730         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
40731         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
40732         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
40734 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
40736         * Makerules (+depfiles): Also collect depfiles from .oS in
40737         $(extra-objs).
40738         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
40739         .oS, $(libnldbl-routines)).
40741         * Makerules (native-compile-mkdep-flags): Define.
40742         * sunrpc/Makefile (extra-objs): Add $(addprefix
40743         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
40744         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
40745         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
40746         calling $(make-target-directory).
40748 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40750         * bits/types.h (__snseconds_t): Removed.
40751         * time/time.h (struct timespec): Replace __snseconds_t with
40752         __syscall_slong_t.
40753         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
40754         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
40755         Likewise.
40756         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40757         (__SNSECONDS_T_TYPE): Likewise.
40758         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40759         (__SNSECONDS_T_TYPE): Likewise.
40760         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40761         (__SNSECONDS_T_TYPE): Likewise.
40763 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40765         * sysdeps/mach/hurd/bits/typesizes.h
40766         (__SYSCALL_SLONG_TYPE): New macro.
40767         (__SYSCALL_ULONG_TYPE): Likewise.
40769 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40771         * bits/types.h (__syscall_slong_t): New type.
40772         (__syscall_ulong_t): Likewise.
40774         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
40775         (__SYSCALL_ULONG_TYPE): Likewise.
40776         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40777         (__SYSCALL_SLONG_TYPE): Likewise.
40778         (__SYSCALL_ULONG_TYPE): Likewise.
40779         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40780         (__SYSCALL_SLONG_TYPE): Likewise.
40781         (__SYSCALL_ULONG_TYPE): Likewise.
40782         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40783         (__SYSCALL_SLONG_TYPE): Likewise.
40784         (__SYSCALL_ULONG_TYPE): Likewise.
40786 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40788         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
40789         Add sigaltstack-offsets.sym.
40790         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
40791         <sigaltstack-offsets.h>.
40792         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
40793         longjmp_msg pointer.
40794         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
40795         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
40796         signal stack.
40797         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
40799 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
40801         * elf/stackguard-macros.h: Remove file.
40802         * sysdeps/generic/stackguard-macros.h: New file.
40803         * sysdeps/i386/stackguard-macros.h: Likewise.
40804         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
40805         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
40806         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
40807         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
40808         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
40809         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
40810         * sysdeps/x86_64/stackguard-macros.h: Likewise.
40811         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
40812         <elf/stackguard-macros.h>.
40814         [BZ #14109]
40815         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
40816         __aligned__ in attribute.
40817         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
40818         (gregset_t): Likewise.
40820 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40822         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
40823         * sysdeps/x86_64/64/Implies-after: Here.  New file.
40824         * sysdeps/x86_64/x32/Implies-after: New file.
40826 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40828         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
40829         and access return value for _dl_profile_fixup.  Use R10_LP to
40830         load frame size.
40832 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40834         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
40836 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40838         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
40839         * sysdeps/x86_64/x32/sysdep.h: New file.
40841 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40843         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
40844         * sysdeps/x86_64/setjmp.S: Likewise.
40846 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40848         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
40849         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
40850         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
40851         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
40852         remove unused global constant.
40854 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
40856         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
40857         include of <not-cancel.h>.
40859 2012-05-15  Roland McGrath  <roland@hack.frob.com>
40861         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
40863 2012-05-15  Jeff Law  <law@redhat.com>
40864             Andreas Jaeger  <aj@suse.de>
40866         [BZ #13594]
40867         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
40868         out from...
40869         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
40870         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
40871         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
40872         code changing __hst_map_handle.map.
40874 2012-05-15  Roland McGrath  <roland@hack.frob.com>
40876         * configure.in (sysnames): Look for Implies-before and Implies-after
40877         files.
40878         * configure: Regenerated.
40880 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40882         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
40883         8-byte data alignment with LP_SIZE alignment.
40885 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40887         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
40888         into R10_LP.
40890 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40892         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
40894 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40896         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
40897         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
40898         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
40899         Likewise.
40900         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
40902 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40904         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
40905         (stackinfo_sub_sp): Likewise.
40907 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40909         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
40910         RAX_LP.
40912 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40914         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
40915         into R*_LP.
40917 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40919         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
40920         sizes into R*_LP.
40922 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40924         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
40926 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40928         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
40929         into R11_LP and load __x86_64_shared_cache_size_half into
40930         R8_LP.
40932 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40934         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
40935         R8_LP.
40937 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40939         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
40940         logb for POWER7.
40941         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
40942         logbf for POWER7.
40943         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
40944         logbl for POWER7.
40945         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
40946         powerpc32/power7/fpu/s_logb.c via #include.
40947         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
40948         powerpc32/power7/fpu/s_logbf.c via #include.
40949         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
40950         powerpc32/power7/fpu/s_logbl.c via #include.
40952 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
40954         * README.libm: Remove file.
40956 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40958         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
40959         count for x32.  Use R*_LP and omit operand-size suffix.
40961 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40963         * shlib-versions: Move x86_64-.*-linux.* entries to ...
40964         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
40965         * sysdeps/x86_64/x32/shlib-versions: New file.
40967 2012-05-14  Roland McGrath  <roland@hack.frob.com>
40969         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
40970         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
40971         Use _dl_fatal_printf instead.
40973 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
40975         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
40976         set if not set by the user.  Do not allow for being unset.
40977         * sysdeps/unix/sysv/linux/configure: Regenerated.
40979 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40981         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
40982         the `q' suffix from lea and replace .quad with ASM_ADDR.
40984 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40986         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
40987         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
40988         instead of $17.
40989         (PTR_DEMANGLE): Likewise.
40991 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40993         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
40994         (LP_OP): Likewise.
40995         (ASM_ADDR): Likewise.
40996         (RAX_LP): Likewise.
40997         (RBP_LP): Likewise.
40998         (RBX_LP): Likewise.
40999         (RCX_LP): Likewise.
41000         (RDI_LP): Likewise.
41001         (RSI_LP): Likewise.
41002         (RSP_LP): Likewise.
41003         (R8_LP): Likewise.
41004         (R9_LP): Likewise.
41005         (R10_LP): Likewise.
41006         (R10_LP): Likewise.
41007         (R11_LP): Likewise.
41008         (R12_LP): Likewise.
41009         (R13_LP): Likewise.
41010         (R14_LP): Likewise.
41011         (R15_LP): Likewise.
41013 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
41015         * sysdeps/x86_64/x32/dl-machine.h: New file.
41017 2012-05-14  Andreas Jaeger  <aj@suse.de>
41019         * manual/Makefile (subdir): Remove export of subdir.
41020         (all): Remove target.
41021         (.PHONY): Remove all from list.
41022         (mkinstalldirs): Remove.
41023         (.PHONY): Remove installdirs from list.
41024         ($(inst_infodir)/libc.info): Use make-target-directory.
41025         (installdirs): Remove.
41026         (subdir_%): Remove.
41027         (glibc-targets): Remove.
41028         (lib): Remove.
41029         (stubs): Remove.
41030         ($(objpfx)stubs ../po/manual.pot): Remove.
41031         ($(objpfx)stamp%): Remove.
41032         (make-target-directory): Remove.
41033         (subdir_install): Remove.
41034         (routines): Remove.
41035         (aux): Remove.
41036         (sources): Remove.
41037         (objects): Remove.
41038         (headers): Remove.
41040         [BZ #13750]
41041         * manual/.gitignore: Remove, it's not needed anymore.
41042         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
41043         all files in it.
41044         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
41045         directory.
41046         (texis): Renamed to $(objpfx)texis.
41047         (texis-path): New, contains path to generated files.
41048         (chapters.%): Use texis-path for complete path, add extra argument
41049         libc-texinfo.sh.
41050         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
41051         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
41052         (summary,texi, stamp-summary): Use complete path of
41053         files. Generate files in build dir.
41054         (dir-add.texi): Build in build dir.
41055         (libm-err.texi,stamp-libm-err): Likewise.
41056         (version.texi, stamp-version): Likewise.
41057         (.%c.texi): Likewise.
41058         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
41059         (mostlyclean): Remove target.
41060         (realclean): Remove target.
41061         (generated): Add new variable with contents from mostlyclean and
41062         realclean, remove entries duplicated in common-mostlyclean, add
41063         stamp-libm-err and stamp-version.
41064         (generated-dirs): Add libc directory.
41065         ($(inst_infodir)/libc.info): Install files from build dir.
41067         * manual/install.texi (Configuring and compiling): Adjust since
41068         the info files are not part of the tar ball anymore.
41070 2012-05-14  Andreas Jaeger  <aj@suse.de>
41072         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
41073         variable.
41075 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
41077         [BZ #13717]
41078         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
41079         to 2.2.0 where earlier.
41080         * sysdeps/unix/sysv/linux/configure: Regenerated.
41081         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
41082         Remove conditional code.
41083         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
41084         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
41085         Remove conditional code.
41086         [!__NR_lchown]: Likewise.
41087         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41088         [__NR_lchown]: Likewise.
41089         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
41090         comment referencing __ASSUME_LCHOWN_SYSCALL.
41091         * sysdeps/unix/sysv/linux/i386/sigaction.c
41092         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41093         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41094         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
41095         Remove conditional code.
41096         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
41097         (__protocol_available): Remove #if 0 code.
41098         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
41099         conditional code.
41100         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
41101         * sysdeps/unix/sysv/linux/kernel-features.h
41102         (__ASSUME_GETCWD_SYSCALL): Don't define.
41103         (__ASSUME_REALTIME_SIGNALS): Likewise.
41104         (__ASSUME_PREAD_SYSCALL): Likewise.
41105         (__ASSUME_PWRITE_SYSCALL): Likewise.
41106         (__ASSUME_POLL_SYSCALL): Likewise.
41107         (__ASSUME_LCHOWN_SYSCALL): Likewise.
41108         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
41109         non-SPARC.
41110         (__ASSUME_SIOCGIFNAME): Don't define.
41111         (__ASSUME_MSG_NOSIGNAL): Likewise.
41112         (__ASSUME_SENDFILE): Define unconditionally.
41113         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
41114         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
41115         conditional code.
41116         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
41117         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
41118         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
41119         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41120         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
41121         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
41122         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
41124         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41125         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
41127         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41128         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
41130         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41131         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
41133         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41134         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
41136         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41137         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
41139         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41140         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
41142         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41143         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
41145         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41146         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41147         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
41148         Remove conditional code.
41149         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41150         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
41151         Remove conditional code.
41152         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41153         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
41154         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
41155         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
41156         Remove conditional code.
41157         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41158         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
41159         Remove conditional code.
41160         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41161         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
41162         Remove conditional code.
41163         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41164         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
41165         Remove conditional code.
41166         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41167         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
41168         Remove conditional code.
41169         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41170         * sysdeps/unix/sysv/linux/sh/pwrite64.c
41171         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41172         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41173         * sysdeps/unix/sysv/linux/sigaction.c
41174         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41175         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41176         * sysdeps/unix/sysv/linux/sigpending.c
41177         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41178         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41179         * sysdeps/unix/sysv/linux/sigprocmask.c
41180         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41181         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41182         * sysdeps/unix/sysv/linux/sigsuspend.c
41183         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41184         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41185         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
41186         (__libc_missing_rt_sigs): Remove.
41187         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
41188         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
41189         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
41190         Remove conditional code.
41191         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
41192         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
41193         return 1.
41194         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
41195         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
41196         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
41197         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
41199 2012-05-14  Andreas Jaeger  <aj@suse.de>
41201         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
41202         it's not used in glibc.
41203         (__coshm1): Likewise.
41204         (__acosh1p): Likewise.
41205         (__sgn): Likewise.
41207         * manual/string.texi (Copying and Concatenation): Add missing
41208         variable in concat example.
41209         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
41211 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
41213         [BZ #14103]
41214         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
41215         __builtin_clzl with __builtin_clzll.
41217 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
41219         [BZ #14104]
41220         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
41221         libc_freeres_ptr.
41223 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41225         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
41226         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
41227         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
41228         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
41230 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
41232         * NEWS: Update ia64 info.
41234 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
41236         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
41237         used as bcopy.
41239 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
41241         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
41242         * sysdeps/unix/syscalls.list (dup3): Likewise.
41243         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
41244         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
41246 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
41248         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
41249         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
41251 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
41253         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
41254         thread pointer.
41255         (TLS_IE): Use mov/add instead of movq/addq to load thread
41256         pointer.
41257         (TLS_GD_PREFIX): New.
41258         (TLS_GD): Use it.
41260 2012-05-11  David S. Miller  <davem@davemloft.net>
41262         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
41263         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
41264         (_FPU_SETCW): Likewise.
41266 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
41268         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
41269         is 32-byte aligned.
41271 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
41273         [BZ #11837]
41274         * iconvdata/gb18030.c: Update tables.
41275         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
41276         characters specially.
41277         (BODY for TO_LOOP): Add encoding of missing ranges.
41279 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
41281         [BZ #13673]
41282         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
41283         * sysdeps/mach/hurd/dup3.c: Likewise.
41284         * sysdeps/mach/hurd/readlinkat.c: Likewise.
41285         * sysdeps/powerpc/memmove.c:: Likewise.
41287 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
41289         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
41290         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
41292 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
41294         * elf/elf.h (R_X86_64_RELATIVE64): New.
41295         (R_X86_64_NUM): Updated.
41296         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
41297         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
41298         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
41299         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
41300         tst-quad1pie tst-quad2pie
41301         (modules-names): Add tst-quadmod1 tst-quadmod2.
41302         ($(objpfx)tst-quad1): New dependency.
41303         ($(objpfx)tst-quad2): Likewise.
41304         ($(objpfx)tst-quad1pie): Likewise.
41305         ($(objpfx)tst-quad2pie): Likewise.
41306         * sysdeps/x86_64/tst-quad1.c: New file.
41307         * sysdeps/x86_64/tst-quad1pie.c: New file.
41308         * sysdeps/x86_64/tst-quad2.c: Likewise.
41309         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
41310         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
41311         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
41312         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
41313         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
41315 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41317         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
41318         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
41319         * streams/stropts.h (t_scalar_t): Define type.
41321         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
41322         (_PATH_PRESERVE): Set to "/var/lib".
41323         (_PATH_RWHODIR): Set to "/var/spool/rwho".
41325         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
41326         instead of int.
41328         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
41329         if __dir_mkfile succeeded.
41331         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
41332         checking for _hurd_dtablesize.  Unlock it right after having
41333         finished _hurd_dtable allocation.
41335 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41337         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
41338         * sysdeps/mach/hurd/configure: Regenerated.
41339         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
41340         special-casing to...
41341         * sysdeps/gnu/configure.in: ... this new file.
41342         * sysdeps/unix/sysv/linux/configure: Regenerated.
41343         * sysdeps/gnu/configure: New generated file.
41345         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
41346         for Linux: use nsec instead of usec, as well as:
41347         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
41348         members of type struct timespec.
41349         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
41350         New macros.
41351         (struct stat64): Likewise.
41352         (_STATBUF_ST_NSEC): New macro.
41353         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
41355         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
41356         __strtoul_internal rather than strtoul.
41358 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
41360         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
41361         and reject them.
41363 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41365         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
41366         which preserves existing values.
41367         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
41369 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
41371         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
41372         TIMEOUT values.  Return EINVAL for NFDS values either negative or
41373         greater than FD_SETSIZE.
41375 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41377         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
41378         allocated, call __vm_protect to finish enabling the existing space, and
41379         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
41380         allocate the remainder.
41382 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
41384         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
41385         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
41387 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41389         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
41390         sysdeps/mach/hurd/readlink.c.
41392         * posix/tst-sysconf.c (posix_options): Only use
41393         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
41394         _POSIX_SYNCHRONIZED_IO when they are defined
41395         * sysdeps/mach/hurd/bits/posix_opt.h:
41396         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
41397         (_XOPEN_REALTIME): Undefine macro.
41398         (_XOPEN_REALTIME_THREADS): Undefine macro.
41399         (_XOPEN_SHM): Undefine macro.
41400         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
41401         macro to -1.
41402         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
41403         macro to -1.
41404         (_POSIX_ASYNC_IO): Undefine macro.
41405         (_POSIX_PRIORITIZED_IO): Undefine macro.
41406         (_POSIX_SPIN_LOCKS): Define macro to -1.
41408         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
41409         SA_NODEFER, SA_RESETHAND.
41410         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
41411         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
41412         F_DUPFD_CLOEXEC.
41414 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41416         * elf/Makefile (pldd-modules): Define unconditionally.
41418 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41420         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
41422 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41424         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
41425         Return ENOENT when name is empty.
41426         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
41428 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41430         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
41432         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
41434 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41436         Fix mlock in all cases except non-readable pages.
41437         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
41438         instead of VM_PROT_ALL as parameter to __vm_wire function.
41440         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
41441         (__mkdir): When path is `/', just fail with EEXIST.
41442         * sysdeps/mach/hurd/mkdirat.c: Likewise.
41444 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41446         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
41447         <sys/uio.h> (for writev).
41448         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
41449         and <sys/param.h> (for MIN).
41451 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
41453         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
41454         REQUESTED_TIME.  Properly set the remaining time and return EINTR
41455         if interrupted.
41457 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41459         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
41460         Depend on against $(link-rpcuserlibs).
41462 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41464         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
41465         (__libc_stack_end): Do not use attribute_relro.
41466         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
41467         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
41468         to libthread-provided value.
41469         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
41470         attribute_relro.
41472 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41474         [BZ #3748]
41475         * bits/libc-lock.h (__libc_once_get): New macro.
41476         * sysdeps/mach/bits/libc-lock.h: Likewise.
41477         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
41478         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
41479         instead of using implementation details.
41481         * libio/fileops.c: Unconditionally include <kernel-features.h>.
41482         * libio/freopen.c: Likewise.
41483         * libio/freopen64.c: Likewise.
41484         * misc/syslog.c: Likewise.
41485         * nscd/connections.c: Likewise.
41486         * nscd/netgroupcache.c: Likewise.
41487         * sysdeps/posix/getcwd.c: Likewise.
41489 2012-05-10  Roland McGrath  <roland@hack.frob.com>
41491         * math/w_ilogbf.c: Add #include <limits.h>.
41493 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41495         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
41496         path instead of returning without unlocking.
41498         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
41499         immediate-write ioctls.
41500         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
41502 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41504         * sysdeps/mach/hurd/i386/init-first.c (init): Use
41505         __builtin_frame_address instead of making assumptions about the
41506         location of the return address relative to DATA.  Force early load of
41507         the return address.
41508         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
41509         __builtin_frame_address.
41511         dup3 for GNU Hurd.
41512         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
41513         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
41514         implement dup3 and do some further code clean-ups.
41515         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
41516         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
41518 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41520         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
41522         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
41523         HURD_CRITICAL_END around holding _hurd_dtable_lock.
41524         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
41525         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
41526         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
41527         d->port.lock.
41529         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
41530         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
41531         when handler == SIG_ERR, not when handler != SIG_ERR.
41533 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41535         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
41536         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
41537         definitions.
41539         accept4 for GNU Hurd.
41540         * include/sys/socket.h (__libc_accept4): New prototype.
41541         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
41542         to implement __libc_accept4.
41543         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
41544         __libc_accept4.
41545         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
41547         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
41548         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
41549         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
41550         signal-defines.sym.
41552 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41554         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
41556 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41558         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
41559         assertion on O_CLOEXEC flag.
41560         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
41561         * hurd/intern-fd.c: Likewise.
41562         * hurd/port2fd.c: Likewise.
41564 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41566         [BZ #3906]
41567         * bits/in.h (IPV6_PKTINFO): Define new macro.
41568         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
41570 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41572         [BZ #13954]
41573         [BZ #13955]
41574         [BZ #13956]
41575         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
41576         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41577         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
41578         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
41579         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41580         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
41581         * math/libm-test.inc (logb_test) : Additional logb tests.
41583 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
41584             Andreas Jaeger  <aj@suse.de>
41586         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
41587         * configure: Regenerated.
41588         * config.h.in (LINK_OBSOLETE_RPC): New macro.
41589         * config.make.in (link-obsolete-rpc): New substituted variable.
41590         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
41591         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
41592         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
41593         (shared-only-routines): Don't set it under [link-obsolete-rpc],
41594         so that libc.a contains the symbols.
41595         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
41596         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
41597         * sunrpc/auth_none.c: Likewise.
41598         * sunrpc/auth_unix.c: Likewise.
41599         * sunrpc/authdes_prot.c: Likewise.
41600         * sunrpc/authuxprot.c: Likewise.
41601         * sunrpc/clnt_gen.c: Likewise.
41602         * sunrpc/clnt_perr.c: Likewise.
41603         * sunrpc/clnt_raw.c: Likewise.
41604         * sunrpc/clnt_simp.c: Likewise.
41605         * sunrpc/clnt_tcp.c: Likewise.
41606         * sunrpc/clnt_udp.c: Likewise.
41607         * sunrpc/clnt_unix.c: Likewise.
41608         * sunrpc/des_crypt.c: Likewise.
41609         * sunrpc/des_soft.c: Likewise.
41610         * sunrpc/get_myaddr.c: Likewise.
41611         * sunrpc/key_call.c: Likewise.
41612         * sunrpc/key_prot.c: Likewise.
41613         * sunrpc/netname.c: Likewise.
41614         * sunrpc/pm_getmaps.c: Likewise.
41615         * sunrpc/pm_getport.c: Likewise.
41616         * sunrpc/pmap_clnt.c: Likewise.
41617         * sunrpc/pmap_prot.c: Likewise.
41618         * sunrpc/pmap_prot2.c: Likewise.
41619         * sunrpc/pmap_rmt.c: Likewise.
41620         * sunrpc/publickey.c: Likewise.
41621         * sunrpc/rpc_cmsg.c: Likewise.
41622         * sunrpc/rpc_common.c: Likewise.
41623         * sunrpc/rpc_dtable.c: Likewise.
41624         * sunrpc/rpc_prot.c: Likewise.
41625         * sunrpc/rpc_thread.c: Likewise.
41626         * sunrpc/rtime.c: Likewise.
41627         * sunrpc/svc.c: Likewise.
41628         * sunrpc/svc_auth.c: Likewise.
41629         * sunrpc/svc_raw.c: Likewise.
41630         * sunrpc/svc_run.c: Likewise.
41631         * sunrpc/svc_tcp.c: Likewise.
41632         * sunrpc/svc_udp.c: Likewise.
41633         * sunrpc/svc_unix.c: Likewise.
41634         * sunrpc/svcauth_des.c: Likewise.
41635         * sunrpc/xcrypt.c: Likewise.
41636         * sunrpc/xdr.c: Likewise.
41637         * sunrpc/xdr_array.c: Likewise.
41638         * sunrpc/xdr_float.c: Likewise.
41639         * sunrpc/xdr_intXX_t.c: Likewise.
41640         * sunrpc/xdr_mem.c: Likewise.
41641         * sunrpc/xdr_rec.c: Likewise.
41642         * sunrpc/xdr_ref.c: Likewise.
41643         * sunrpc/xdr_sizeof.c: Likewise.
41644         * sunrpc/xdr_stdio.c: Likewise.
41646 2012-05-10  Roland McGrath  <roland@hack.frob.com>
41648         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
41649         change.  Update copyright years.
41651 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
41653         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
41655 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
41656             Joseph Myers  <joseph@codesourcery.com>
41657             Paul Pluzhnikov  <ppluzhnikov@google.com>
41659         [BZ #14012]
41660         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
41661         requiring rpcgen.
41662         [cross-compiling] (extra-libs): Likewise.
41663         [cross-compiling] (extra-libs-others): Likewise.
41664         [cross-compiling] (librpcsvc-routines): Likewise.
41665         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
41666         [cross-compiling] (omit-deps): Likewise.
41667         (sunrpc-CPPFLAGS): New variable.
41668         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
41669         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
41670         (cross-rpcgen-objs): New variable.
41671         (extra-objs): Append $(cross-rpcgen-objs).
41672         ($(cross-rpcgen-objs)): New rule.
41673         ($(objpfx)cross-rpcgen): Likewise.
41674         (rpcgen-cmd): Define to use $(built-program-file).  Expand
41675         comment.
41676         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
41677         ($(objpfx)x%.stmp): Likewise.
41678         * sunrpc/proto.h [IS_IN_build] (_): Define.
41679         [IS_IN_build] (_libc_intl_domainname): Likewise.
41681 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
41683         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
41684         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
41685         and R_X86_64_TPOFF64.
41687 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
41689         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
41690         sysdeps/unix/sysv/syscalls.list.
41691         (stime): Likewise.
41692         (utime): Likewise.
41693         * sysdeps/unix/sysv/syscalls.list: Remove file.
41695 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
41697         [BZ #3440]
41698         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
41699         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
41700         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
41701         (__LC_IDENTIFICATION): Make these macros useful in #if
41702         expressions, as required by C99.
41704 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
41706         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
41707         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
41708         after this.
41710 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
41712         * stdlib/longlong.h: Updated from GCC.
41714 2012-05-09  Andreas Jaeger  <aj@suse.de>
41716         * nscd/nscd.c (run_modes): Make named enum, reorder so that
41717         default is first entry.
41718         (run_mode): Set type.
41719         (main): Remove informal message about syslog.
41720         (options): Fix typo.
41722         [BZ #14053]
41723         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
41724         to asm.
41725         (lrint): Likewise.
41726         (llrintf): Likewise.
41727         (llrint): Likewise.
41728         (rint): Likewise.
41729         (rintf): Likewise.
41730         (nearbyint): Likewise.
41731         (nearbyintf): Likewise.
41733 2012-05-09  Andreas Jaeger  <aj@suse.de>
41734             Pedro Alves  <palves@redhat.com>
41736         * nscd/nscd.c (run_mode): Use enum.
41737         (main): Cleanup coding style issue.
41739 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
41740             Andreas Jaeger  <aj@suse.de>
41742         * nscd/nscd.c (go_background): Replaced with...
41743         (run_mode): ... this.
41744         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
41745         (options): Add -F --foreground.
41746         (main): Implement it.
41747         (parse_opt): Parse it.
41749 2012-05-09  Andreas Jaeger  <aj@suse.de>
41751         [BZ #14083]
41752         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
41753         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
41754         -Wconversion warning.
41755         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
41756         Likewise.
41758 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
41760         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
41761         == 0.
41762         (LC_ALL): Use macro-int-constant.
41763         (LC_COLLATE): Likewise.
41764         (LC_CTYPE): Likewise.
41765         (LC_MESSAGES): Likewise.
41766         (LC_MONETARY): Likewise.
41767         (LC_NUMERIC): Likewise.
41768         (LC_TIME): Likewise.
41769         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
41770         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
41771         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41772         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
41773         Specify type.
41774         [C99-based standards] (float_t): Expect type.
41775         [C99-based standards] (double_t): Expect type.
41776         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
41777         type.
41778         [C99-based standards] (HUGE_VALL): Likewise.
41779         [C99-based standards] (INFINITY): Likewise.
41780         [C99-based standards] (NAN): Likewise.
41781         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
41782         [C99-based standards] (FP_NAN): Likewise.
41783         [C99-based standards] (FP_NORMAL): Likewise.
41784         [C99-based standards] (FP_SUBNORMAL): Likewise.
41785         [C99-based standards] (FP_ZERO): Likewise.
41786         [C99-based standards] (FP_FAST_FMA): Use
41787         optional-macro-int-constant.  Specify type.  Require == 1.
41788         [C99-based standards] (FP_FAST_FMAF): Likewise.
41789         [C99-based standards] (FP_FAST_FMAL): Likewise.
41790         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
41791         [C99-based standards] (FP_ILOGBNAN): Likewise.
41792         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
41793         Specify type.
41794         [C99-based standards] (MATH_ERREXCEPT): Likewise.
41795         [C99-based standards] (math_errhandling): Specify type.
41796         [ISO99 || ISO11] (signgam): Do not allow.
41797         [non-C99-based standards] (copysignf): Do not allow.
41798         [non-C99-based standards] (exp2f): Likewise.
41799         [non-C99-based standards] (log2f): Likewise.
41800         [non-C99-based standards] (modff): Allow.
41801         [non-C99-based standards] (erff): Do not allow.
41802         [non-C99-based standards] (erfcf): Likewise.
41803         [non-C99-based standards] (gammaf): Likewise.
41804         [non-C99-based standards] (hypotf): Likewise.
41805         [non-C99-based standards] (j0f): Likewise.
41806         [non-C99-based standards] (j1f): Likewise.
41807         [non-C99-based standards] (jnf): Likewise.
41808         [non-C99-based standards] (lgammaf): Likewise.
41809         [non-C99-based standards] (tgammaf): Likewise.
41810         [non-C99-based standards] (y0f): Likewise.
41811         [non-C99-based standards] (y1f): Likewise.
41812         [non-C99-based standards] (ynf): Likewise.
41813         [non-C99-based standards] (isnanf): Likewise.
41814         [non-C99-based standards] (acoshf): Likewise.
41815         [non-C99-based standards] (asinhf): Likewise.
41816         [non-C99-based standards] (atanhf): Likewise.
41817         [non-C99-based standards] (cbrtf): Likewise.
41818         [non-C99-based standards] (expm1f): Likewise.
41819         [non-C99-based standards] (ilogbf): Likewise.
41820         [non-C99-based standards] (log1pf): Likewise.
41821         [non-C99-based standards] (logbf): Likewise.
41822         [non-C99-based standards] (nextafterf): Likewise.
41823         [non-C99-based standards] (remainderf): Likewise.
41824         [non-C99-based standards] (rintf): Likewise.
41825         [non-C99-based standards] (scalbf): Likewise.
41826         [non-C99-based standards] (copysignl): Likewise.
41827         [non-C99-based standards] (exp2l): Likewise.
41828         [non-C99-based standards] (log2l): Likewise.
41829         [non-C99-based standards] (modfl): Allow.
41830         [non-C99-based standards] (erfl): Do not allow.
41831         [non-C99-based standards] (erfcl): Likewise.
41832         [non-C99-based standards] (gammal): Likewise.
41833         [non-C99-based standards] (hypotl): Likewise.
41834         [non-C99-based standards] (j0l): Likewise.
41835         [non-C99-based standards] (j1l): Likewise.
41836         [non-C99-based standards] (jnl): Likewise.
41837         [non-C99-based standards] (lgammal): Likewise.
41838         [non-C99-based standards] (tgammal): Likewise.
41839         [non-C99-based standards] (y0l): Likewise.
41840         [non-C99-based standards] (y1l): Likewise.
41841         [non-C99-based standards] (ynl): Likewise.
41842         [non-C99-based standards] (isnanl): Likewise.
41843         [non-C99-based standards] (acoshl): Likewise.
41844         [non-C99-based standards] (asinhl): Likewise.
41845         [non-C99-based standards] (atanhl): Likewise.
41846         [non-C99-based standards] (cbrtl): Likewise.
41847         [non-C99-based standards] (expm1l): Likewise.
41848         [non-C99-based standards] (ilogbl): Likewise.
41849         [non-C99-based standards] (log1pl): Likewise.
41850         [non-C99-based standards] (logbl): Likewise.
41851         [non-C99-based standards] (nextafterl): Likewise.
41852         [non-C99-based standards] (remainderl): Likewise.
41853         [non-C99-based standards] (rintl): Likewise.
41854         [non-C99-based standards] (scalbl): Likewise.
41855         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41856         [non-C99-based standards] (FP_*): Do not allow.
41857         [C99-based standards] (FP_*): Change to
41858         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
41859         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41860         allow.
41861         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
41862         (SIG_ERR): Likewise.
41863         [X/Open-based standards] (SIG_HOLD): Likewise.
41864         (SIG_IGN): Likewise.
41865         (SIGABRT): Use macro-int-constant.  Specify type.  Require
41866         positive value.
41867         (SIGFPE): Likewise.
41868         (SIGILL): Likewise.
41869         (SIGINT): Likewise.
41870         (SIGSEGV): Likewise.
41871         (SIGTER): Likewise.
41872         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
41873         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
41874         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
41875         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
41876         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
41877         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
41878         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
41879         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
41880         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
41881         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
41882         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
41883         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
41884         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
41885         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
41886         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
41887         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
41888         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
41889         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
41890         [X/Open-based standards] (SIGTRAP): Likewise.
41891         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
41892         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
41893         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
41894         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
41895         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41896         allow.
41898 2012-05-08  Ian Wienand  <ianw@vmware.com>
41900         [BZ #14080]
41901         * time/tzset.c (__tzset_parse_tz): Update default rules for
41902         daylight time changes in the Energy Policy Act of 2005.
41904 2012-05-09  Andreas Jaeger  <aj@suse.de>
41906         [BZ #13983]
41907         * elf/ldconfig.c (parse_conf): Change string to make clear that
41908         ldconfig only issued a warning if ld.so.conf does not exist.
41910 2012-05-08  David S. Miller  <davem@davemloft.net>
41912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
41913         movxtod instead of popping the value on the stack.
41915         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41917 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
41919         * config.h.in: Add HAVE_ARM_PCS_VFP.
41921 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
41923         [BZ #13979]
41924         * include/features.h: Warn if user requests __FORTIFY_SOURCE
41925         checking but the checks are disabled for any reason.
41927 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
41929         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
41930         and ELF64_R_TYPE with ELFW(R_TYPE).
41932 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
41934         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
41935         (ulimit): Likewise.
41937         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
41938         (settimeofday): Likewise.
41940 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
41942         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
41943         a struct th_u2 inside the union, and move tu_block/tu_code into
41944         a new th_u3 union of tu_block/tu_code inside of that.  Move
41945         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
41946         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
41947         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
41948         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
41949         (th_stuff): Change to th_u1.tu_stuff.
41950         (th_data): Define.
41951         (th_msg): Change to th_u1.th_u2.tu_data.
41953 2012-05-07  David S. Miller  <davem@davemloft.net>
41955         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41957         [BZ #14074]
41958         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
41959         (SETUP_PIC_REG): Use it.
41960         (SETUP_PIC_REG_LEAF): Use it.
41962 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
41964         [BZ #13885]
41965         [BZ #13923]
41966         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41967         USE_AS_EXPM1L.
41968         (EXPL_FINITE): Likewise.
41969         (FLDLOG): Likewise.
41970         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
41971         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
41972         e_expl.S.
41973         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41974         USE_AS_EXPM1L.
41975         (EXPL_FINITE): Likewise.
41976         (FLDLOG): Likewise.
41977         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
41978         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
41979         e_expl.S.
41980         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
41981         test of -max_value argument for long double.
41982         * sysdeps/i386/fpu/libm-test-ulps: Update.
41983         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41985 2012-05-06  David S. Miller  <davem@davemloft.net>
41987         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
41988         quad soft-float symbols whose references which are compiler
41989         generated.
41990         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
41992 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
41994         [BZ #13884]
41995         [BZ #13914]
41996         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41997         USE_AS_EXP10L.
41998         (EXPL_FINITE): Likewise.
41999         (FLDLOG): Likewise.
42000         (c0): Likewise.
42001         (c1): Likewise.
42002         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
42003         Adjust comments for base varying.
42004         (__expl_finite): Change alias to EXPL_FINITE.
42005         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
42006         e_expl.S.
42007         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
42008         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
42009         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
42010         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
42011         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42012         USE_AS_EXP10L.
42013         (EXPL_FINITE): Likewise.
42014         (FLDLOG): Likewise.
42015         (c0): Likewise.
42016         (c1): Likewise.
42017         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
42018         Adjust comments for base varying.
42019         (__expl_finite): Change alias to EXPL_FINITE.
42020         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
42021         tests for bugs.
42022         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42024         [BZ #14064]
42025         * math/libm-test.inc (check_float_internal): Correct ulp
42026         calculation for subnormal expected results.
42028 2012-05-06  Andreas Jaeger  <aj@suse.de>
42030         * Makeconfig (+math-flags): New, set to -frounding-math.
42031         (+cflags): Add +math-flags so that all of glibc gets compiled with
42032         it.
42034         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
42036 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
42038         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
42039         Disable one test.
42041         [BZ #13787]
42042         [BZ #13922]
42043         [BZ #14036]
42044         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
42045         (__ieee754_expl): Allow for and saturate large arguments.
42046         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
42047         (u_threshold): Likewise.
42048         (__exp): Call __ieee754_exp before checking for overflow and
42049         underflow.
42050         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
42051         (u_threshold): Likewise.
42052         (__expf): Call __ieee754_expf before checking for overflow and
42053         underflow.
42054         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
42055         (u_threshold): Likewise.
42056         (__expl): Call __ieee754_expl before checking for overflow and
42057         underflow.
42058         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
42059         (__ieee754_expl): Allow for and saturate large arguments.
42060         * math/libm-test.inc (exp_test): Add another test.  Do not allow
42061         missing overflow exception on overflow.
42062         (expm1_test): Do not allow missing overflow exception on overflow.
42064         * sysdeps/i386/fpu/e_expl.c: Move to ...
42065         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
42066         rather than using inline asm.
42067         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
42068         * sysdeps/x86_64/fpu/e_expl.S: Copy from
42069         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
42071         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
42072         (nice): Likewise.
42073         (poll): Likewise.
42074         (signal): Likewise.
42075         (time): Likewise.
42076         (times): Likewise.
42078 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
42080         * sysdeps/unix/syscalls.list (adjtime): Add entry from
42081         sysdeps/unix/common/syscalls.list.
42082         (fchmod): Likewise.
42083         (fchown): Likewise.
42084         (ftruncate): Likewise.
42085         (getrusage): Likewise.
42086         (gettimeofday): Likewise.
42087         (setpgid): Likewise.
42088         (setregid): Likewise.
42089         (setreuid): Likewise.
42090         (sigaction): Likewise.
42091         (truncate): Likewise.
42092         (vhangup): Likewise.
42093         * sysdeps/unix/common/syscalls.list: Remove file.
42094         * sysdeps/unix/bsd/Implies: Don't include unix/common.
42095         * sysdeps/unix/sysv/linux/Implies: Likewise.
42097 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
42099         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
42100         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
42101         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
42102         Moved to ...
42103         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
42104         Here.
42105         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
42106         to ...
42107         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
42108         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
42109         to ...
42110         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
42111         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
42112         to ...
42113         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
42114         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
42115         to ...
42116         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
42117         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
42118         to ...
42119         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
42120         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
42121         to ...
42122         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
42123         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
42124         to ...
42125         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
42126         Here.
42127         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
42128         to ...
42129         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
42130         Here.
42131         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
42132         to ...
42133         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
42134         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
42135         Moved to ...
42136         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
42137         Here.
42138         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
42139         to ...
42140         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
42142 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
42144         * sysdeps/unix/common/bits/dirent.h: Remove file.
42145         * sysdeps/unix/common/bits/fcntl.h: Likewise.
42147         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
42148         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
42149         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
42150         * sysdeps/unix/bsd/isatty.c: Likewise.
42151         * sysdeps/unix/bsd/tcdrain.c: Likewise.
42152         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
42153         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
42155 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42157         [BZ #13563]
42158         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
42159         long double comparison inaccuracies.
42160         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
42161         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42163 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
42165         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
42166         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
42168 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
42170         [BZ #14049]
42171         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
42172         nonzero digits before rounding a hex value.
42173         * stdlib/tst-strtod.c (tests): Add another test.
42175 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42177         * sysdeps/s390/fpu/libm-test-ulps: Update.
42179 2012-05-03  Andreas Jaeger  <aj@suse.de>
42181         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
42182         does not get optimized out.
42183         (malloc_opt_barrier): New.
42185 2012-05-03  Andreas Jaeger  <aj@suse.de>
42186             Roland McGrath  <roland@hack.frob.com>
42188         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
42189         intermediate file deletion.
42190         (generated): Add .symlist files.
42192 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
42194         [BZ #13775]
42195         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
42196         Redirect under this condition.
42197         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
42198         [__USE_GNU] (__dprintf_chk): Not under this condition.
42199         [__USE_GNU] (__vdprintf_chk): Likewise.
42200         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
42201         under this condition.
42202         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
42203         [__USE_XOPEN2K8] (dprintf): Define under this condition.
42204         [__USE_XOPEN2K8] (vdprintf): Likewise.
42205         [__USE_GNU] (__dprintf_chk): Not under this condition.
42206         [__USE_GNU] (__vdprintf_chk): Likewise.
42207         [__USE_GNU] (dprintf): Likewise.
42208         [__USE_GNU] (vdprintf): Likewise.
42210 2012-05-03  Roland McGrath  <roland@hack.frob.com>
42212         * elf/Makefile (common-generated): Set this instead of generated for
42213         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
42214         $(all-built-dso)-derived lists.
42216 2012-05-03  Andreas Jaeger  <aj@suse.de>
42218         * sysdeps/i386/fpu/libm-test-ulps: Update.
42220         * FAQ: Removed.
42221         * FAQ.in: Likewise.
42222         * scripts/gen-FAQ.pl: Likewise.
42223         * manual/install.texi (Installation): Point to online location of
42224         FAQ.
42225         * Makefile (files-for-dist): Remove FAQ.
42226         (FAQ): Remove.
42228 2012-05-02  Allan McRae  <allan@archlinux.org>
42230         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
42231         (LDFLAGS-reldepmod5.so): Likewise.
42232         (LDFLAGS-reldep6mod1.so): Likewise.
42233         (LDFLAGS-reldep6mod4.so): Likewise.
42234         (LDFLAGS-reldep8mod3.so): Likewise.
42235         (LDFLAGS-unload4mod1.so): Likewise.
42236         (LDFLAGS-unload4mod2.so): Likewise.
42237         (LDFLAGS-tst-initorder): Likewise.
42238         (LDFLAGS-tst-initordera2.so): Likewise.
42239         (LDFLAGS-tst-initordera3.so): Likewise.
42240         (LDFLAGS-tst-initordera4.so): Likewise.
42241         (LDFLAGS-tst-initorderb2.so): Likewise.
42242         (LDFLAGS-noload): Likewise.
42243         (LDFLAGS-next): Likewise.
42244         (LDFLAGS-order2mod1.so): Likewise.
42245         (LDFLAGS-order2mod2.so): Likewise.
42246         (LDFLAGS-tst-initorder2): Likewise.
42247         (LDFLAGS-tst-initorder2a.so): Likewise.
42248         (LDFLAGS-tst-initorder2b.so): Likewise.
42249         (LDFLAGS-tst-initorder2c.so): Likewise.
42250         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
42252 2012-05-02  David S. Miller  <davem@davemloft.net>
42254         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42256 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
42258         [BZ #14055]
42259         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
42261 2012-05-02  Andreas Jaeger  <aj@suse.de>
42263         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
42264         since we manipulate rounding mode.
42265         (CPPFLAGS-test-idouble.c): Likewise.
42266         (CPPFLAGS-test-ifloat.c): Likewise.
42267         (CFLAGS-test-ldouble.c): Likewise.
42268         (CFLAGS-test-double.c): Likewise.
42269         (CFLAGS-test-float.c): Likewise.
42270         (CFLAGS-test-misc.c): Likewise.
42271         (CFLAGS-test-test-fenv.c): Likewise.
42273 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42275         [BZ #2550]
42276         [BZ #2570]
42277         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
42278         comparisons to determine direction to adjust input.
42280 2012-05-01  Roland McGrath  <roland@hack.frob.com>
42282         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
42283         output to the target.
42285         * scripts/localplt.awk: New file.
42286         * elf/Makefile ($(objpfx)check-localplt): Target removed.
42287         (check-localplt-CFLAGS): Variable removed.
42288         ($(all-built-dso:=.jmprel)): New static pattern rule.
42289         (generated): Add those targets.
42290         (localplt-built-dso): New variable.
42291         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
42293         * elf/check-localplt.c: File removed.
42295         * scripts/check-execstack.awk: New file.
42296         * elf/Makefile ($(objpfx)check-execstack): Target removed.
42297         (check-execstack-CFLAGS): Variable removed.
42298         ($(objpfx)check-execstack.h): Target removed.
42299         ($(objpfx)execstack-default): New target.
42300         (generated): Add that instead of check-execstack.h.
42301         ($(all-built-dso:=.phdr)): New static pattern rule.
42302         (generated): Add those targets.
42303         * elf/check-execstack.c: File removed.
42305         * scripts/check-textrel.awk: New file.
42306         * elf/Makefile ($(objpfx)check-textrel): Target removed.
42307         (check-textrel-CFLAGS): Variable removed.
42308         (all-built-dso): Use := to define.o
42309         ($(all-built-dso:=.dyn)): New static pattern rule.
42310         (generated): Add those targets.
42311         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
42312         * config.make.in (READELF): New substituted variable.
42313         * elf/check-textrel.c: File removed.
42315 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
42317         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42318         allow.
42319         * conform/data/ctype.h-data [C99-based standards] (isblank):
42320         Expect function.
42321         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
42322         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
42323         [ISO || ISO99 || ISO11] (*_t): Do not allow.
42324         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
42325         Specify type.  Require positive value.
42326         (EILSEQ): Likewise.
42327         (ERANGE): Likewise.
42328         [ISO || POSIX] (EILSEQ): Do not expect.
42329         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
42330         Specify type.  Require positive value.
42331         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
42332         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
42333         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
42334         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
42335         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
42336         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
42337         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
42338         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
42339         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
42340         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
42341         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
42342         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
42343         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
42344         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
42345         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
42346         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
42347         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
42348         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
42349         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
42350         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
42351         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
42352         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
42353         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
42354         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
42355         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
42356         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
42357         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
42358         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
42359         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
42360         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
42361         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
42362         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
42363         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
42364         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
42365         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
42366         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
42367         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
42368         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
42369         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
42370         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
42371         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
42372         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
42373         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
42374         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
42375         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
42376         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
42377         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
42378         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
42379         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
42380         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
42381         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
42382         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
42383         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
42384         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
42385         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
42386         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
42387         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
42388         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
42389         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
42390         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
42391         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
42392         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
42393         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
42394         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
42395         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
42396         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
42397         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
42398         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
42399         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
42400         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
42401         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
42402         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
42403         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
42404         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
42405         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
42406         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
42407         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
42408         Require >= 2.
42409         (FLT_ROUNDS): Expect as macro, not constant.
42410         (FLT_MANT_DIG): Use macro-int-constant.
42411         (DBL_MANT_DIG): Likewise.
42412         (LDBL_MANT_DIG): Likewise.
42413         (FLT_DIG): Likewise.
42414         (DBL_DIG): Likewise.
42415         (LDBL_DIG): Likewise.
42416         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
42417         (DBL_MIN_EXP): Likewise.
42418         (LDBL_MIN_EXP): Likewise.
42419         (FLT_MAX_EXP): Use macro-int-constant.
42420         (DBL_MAX_EXP): Likewise.
42421         (LDBL_MAX_EXP): Likewise.
42422         (FLT_MAX_10_EXP): Likewise.
42423         (DBL_MAX_10_EXP): Likewise.
42424         (LDBL_MAX_10_EXP): Likewise.
42425         (FLT_MAX): Use macro-constant.
42426         (DBL_MAX): Likewise.
42427         (LDBL_MAX): Likewise.
42428         (FLT_EPSILON): Use macro-constant.  Give upper bound.
42429         (DBL_EPSILON): Likewise.
42430         (LDBL_EPSILON): Likewise.
42431         (FLT_MIN): Likewise.
42432         (DBL_MIN): Likewise.
42433         (LDBL_MIN): Likewise.
42434         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
42435         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
42436         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
42437         [ISO11] (FLT_HAS_SUBNORM): Likewise.
42438         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
42439         [ISO11] (DBL_DECIMAL_DIG): Likewise.
42440         [ISO11] (FLT_DECIMAL_DIG): Likewise.
42441         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
42442         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
42443         [ISO11] (FLT_TRUE_MIN): Likewise.
42444         [ISO11] (LDBL_TRUE_MIN): Likewise.
42445         [ISO || ISO99 || ISO11] (*_t): Do not allow.
42446         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
42447         (SCHAR_MIN): Use macro-int-constant.  Specify type.
42448         (SCHAR_MAX): Likewise.
42449         (UCHAR_MAX): Likewise.
42450         (CHAR_MIN): Likewise.
42451         (CHAR_MAX): Likewise.
42452         (MB_LEN_MAX): Use macro-int-constant.
42453         (SHRT_MIN): Use macro-int-constant.  Specify type.
42454         (SHRT_MAX): Likewise.
42455         (USHRT_MAX): Likewise.
42456         (INT_MAX): Likewise.
42457         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
42458         bound negative.
42459         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
42460         bound with "U".
42461         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
42462         bound with "L".
42463         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
42464         bound negative.  Suffix upper bound with "L".
42465         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
42466         bound with "UL".
42467         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
42468         Specify type.
42469         [C99-based standards] (LLONG_MAX): Likewise.
42470         [C99-based standards] (ULLONG_MAX): Likewise.
42471         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
42472         == 0.
42473         [ISO11] (max_align_t): Require type.
42474         [ISO || ISO99 || ISO11] (*_t): Do not allow.
42476         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
42477         from $CFLAGS, without defining away __attribute__ calls.
42478         (checknamespace): Use $CFLAGS_namespace.
42480         * conform/conformtest.pl (@keywords): Only include C99 keywords
42481         for standards based on C99 or C11.
42483         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
42484         Disable tests.
42485         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
42486         UNIX98]: Likewise.
42488         * conform/conformtest.pl: Handle "macro-int-constant" and test for
42489         usability of symbols in #if.
42491         * conform/conformtest.pl: If macro or constant types start
42492         "promoted:", expect the symbol to be of the following type
42493         promoted by the integer promotions.
42495         * conform/conformtest.pl: Parse all "constant" and "macro" lines
42496         in one place.  Also handle "macro-constant".
42498         * conform/conformtest.pl: Only accept expected macro values with
42499         "==".  Parse all "macro" lines in one place.
42500         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
42502         * conform/conformtest.pl: Handle braced types on "constant" lines
42503         instead of handling "typed-constant".
42504         * conform/data/signal.h-data: Use "constant" instead of
42505         "typed-constant".
42507         * conform/conformtest.pl: Handle "optional-" at start of lines in
42508         one place rather than duplicating several cases.  Handle each
42509         format of "macro" line with initial "optional-".
42511         * conform/conformtest.pl: Only accept expected constant or
42512         optional-constant values with "==".  Parse all "constant" lines in
42513         one place.  Parse all "optional-constant" lines in one place.
42514         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
42515         * conform/data/fmtmsg.h-data: Likewise.
42516         * conform/data/netinet/in.h-data: Likewise.
42517         * conform/data/tar.h-data: Likewise.
42518         * conform/data/limits.h-data: Use "==" form on "constant" and
42519         "optional-constant" lines.
42521         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
42522         Use -std=c99 for XOPEN2K.
42523         (@knownproblems): Remove.
42524         (newtoken): Don't check %isknown.
42526         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
42527         Do not expect macro.
42528         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
42529         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
42530         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
42531         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
42532         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
42533         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
42534         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
42535         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
42536         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
42537         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
42538         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
42539         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
42540         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
42541         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
42542         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
42543         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
42544         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
42545         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
42546         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
42547         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
42548         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
42549         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
42550         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
42551         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
42552         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
42553         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
42554         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
42555         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
42556         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
42557         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
42558         [XPG3] (acosh): Likewise.
42559         [XPG3] (asinh): Likewise.
42560         [XPG3] (atanh): Likewise.
42561         [XPG3] (cbrt): Likewise.
42562         [XPG3] (expm1): Likewise.
42563         [XPG3] (ilogb): Likewise.
42564         [XPG3] (log1p): Likewise.
42565         [XPG3] (logb): Likewise.
42566         [XPG3] (nextafter): Likewise.
42567         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
42568         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
42569         [XPG3] (remainder): Likewise.
42570         [XPG3] (rint): Likewise.
42571         [XPG3 || XPG4 || UNIX98] (round): Likewise.
42572         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
42573         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
42574         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
42575         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
42576         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
42577         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
42578         [UNIX98 || XOPEN2K] (scalb): Expect.
42579         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
42580         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
42581         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
42582         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
42583         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
42584         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
42585         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
42586         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
42587         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
42588         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
42589         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
42590         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
42591         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
42592         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
42593         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
42594         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
42595         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
42596         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
42597         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
42598         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
42599         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
42600         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
42601         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
42602         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
42603         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
42604         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
42605         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
42606         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
42607         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
42608         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
42609         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
42610         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
42611         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
42612         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
42613         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
42614         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
42615         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
42616         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
42617         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
42618         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
42619         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
42620         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
42621         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
42622         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
42623         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
42624         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
42625         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
42626         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
42627         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
42628         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
42629         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
42630         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
42631         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
42632         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
42633         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
42634         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
42635         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
42636         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
42637         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
42638         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
42639         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
42640         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
42641         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
42642         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
42643         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
42644         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
42645         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
42646         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
42647         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
42648         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
42649         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
42650         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
42651         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
42652         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
42653         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
42654         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
42655         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
42656         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
42657         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
42658         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
42659         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
42660         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
42661         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
42662         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
42663         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
42664         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
42665         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
42666         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
42667         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
42668         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
42669         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
42670         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
42671         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
42672         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
42673         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
42674         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
42675         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
42676         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
42677         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
42678         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
42679         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
42680         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
42681         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
42682         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
42683         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
42684         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
42685         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
42686         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
42687         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
42688         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
42689         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
42690         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
42691         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
42692         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
42693         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
42694         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
42695         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
42696         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
42697         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
42698         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
42699         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
42700         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
42701         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
42702         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
42703         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
42704         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
42705         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
42706         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
42707         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
42708         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
42709         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
42710         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
42711         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
42712         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
42713         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
42714         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
42715         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
42717         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
42718         _XOPEN_SOURCE_EXTENDED for XPG4.
42720         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
42722         * Makeconfig (localtime): Remove variable.
42723         (inst_localtime-file): Likewise.
42725 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
42727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
42728         Update.
42729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42730         Update.
42731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
42732         Update.
42733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
42734         Update.
42735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
42736         Update.
42737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
42738         Update.
42739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42740         Update.
42741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
42742         Update.
42743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42744         Update.
42746 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
42748         [BZ #2550]
42749         [BZ #2570]
42750         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
42751         comparisons to determine direction to adjust input.
42752         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
42753         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
42754         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
42755         Likewise.
42756         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
42757         Likewise.
42758         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
42759         Likewise.
42760         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
42761         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
42762         Likewise.
42763         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
42764         Likewise.
42765         * math/libm-test.inc (nexttoward_test): Add more tests.
42767 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
42769         [BZ #14040]
42770         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
42771         in version GLIBC_2.1, not GLIBC_2.0.
42772         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
42773         Likewise.
42775 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
42777         [BZ #13942]
42778         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
42779         (1 - x) * (1 + x).
42780         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
42781         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
42782         * math/libm-test.inc (acos_test): Add more tests.
42783         (asin_test): Likewise.
42784         * sysdeps/i386/fpu/libm-test-ulps: Update.
42785         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42787         [BZ #14034]
42788         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
42789         of square root.
42790         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
42791         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
42792         * math/libm-test.inc (acos_test_tonearest): New function.
42793         (acos_test_towardzero): Likewise.
42794         (acos_test_downward): Likewise.
42795         (acos_test_upward): Likewise.
42796         (asin_test_tonearest): Likewise.
42797         (asin_test_towardzero): Likewise.
42798         (asin_test_downward): Likewise.
42799         (asin_test_upward): Likewise.
42800         (main): Call the new functions.
42801         * sysdeps/i386/fpu/libm-test-ulps: Update.
42802         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42804         [BZ #13884]
42805         [BZ #13924]
42806         * math/e_exp10.c: Include <float.h>.
42807         (__ieee754_exp10): Handle underflow here rather than multiplying
42808         large negative argument by M_LN10.
42809         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
42810         of __ieee754_expf.
42811         * math/e_exp10l.c: Include <float.h>.
42812         (__ieee754_exp10l): Handle underflow here rather than multiplying
42813         large negative argument by M_LN10l.
42814         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
42815         spurious overflow exception on underflow.
42817 2012-04-29  Marek Polacek  <polacek@redhat.com>
42819         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
42820         (__fortify_function): New macro.
42821         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
42822         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
42823         __extern_always_inline.
42824         * libio/bits/stdio2.h: Likewise.
42825         * libio/bits/stdio.h: Likewise.
42826         * string/string.h: Likewise.
42827         * string/bits/string3.h: Likewise.
42828         * include/stdio.h: Likewise.
42829         * stdlib/bits/stdlib.h: Likewise.
42830         * stdlib/stdlib.h: Likewise.
42831         * rt/bits/mqueue2.h: Likewise.
42832         * rt/mqueue.h: Likewise.
42833         * posix/bits/unistd.h: Likewise.
42834         * posix/unistd.h: Likewise.
42835         * io/bits/poll2.h: Likewise.
42836         * io/bits/fcntl2.h: Likewise.
42837         * io/fcntl.h: Likewise.
42838         * io/sys/poll.h: Likewise.
42839         * misc/bits/syslog.h: Likewise.
42840         * misc/bits/syslog-ldbl.h: Likewise.
42841         * misc/sys/syslog.h: Likewise.
42842         * socket/bits/socket2.h: Likewise.
42843         * socket/sys/socket.h: Likewise.
42844         * debug/tst-chk1.c: Likewise.
42845         * wcsmbs/bits/wchar2.h: Likewise.
42846         * wcsmbs/bits/wchar-ldbl.h: Likewise.
42847         * wcsmbs/wchar.h: Likewise.
42849 2012-04-29  Andreas Jaeger  <aj@suse.de>
42851         * Makerules (tests): Remove enable-check-abi protection.
42852         (check-abi-warn): Remove.
42853         (check-abi-%): Remove check-abi-warn usage.
42855         * configure.in: Remove check-abi configure option.
42856         * configure: Regenerated.
42857         * config.make.in (enable-check-abi): Remove.
42859 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
42861         [BZ #14033]
42862         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
42863         double functions to double *_finite functions.
42865         [BZ #13941]
42866         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
42867         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
42868         LDBL_MIN_EXP.
42869         * stdio-common/Makefile (tests): Add tst-sprintf3.
42870         * stdio-common/tst-sprintf3.c: New file.
42872         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
42873         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
42875 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
42877         * conform/conformtest.pl: Remove duplicate typed-constant
42878         handling.
42880 2012-04-28  David S. Miller  <davem@davemloft.net>
42882         * Makerules (%.abilist): Add vpath on sysdep_dirs.
42883         (check-abi-%): Remove AWK script prerequisite and explicit
42884         abilist directory.
42885         (check-abi): Rewrite to just diff the symlist with the abilist.
42886         (config-tls, config-abi-config): Delete, no longer used.
42887         (update-abi-%): Remove AWK script and explicit abilist directory.
42888         (update-abi): Rewrite to simply compare and conditionally copy the
42889         symlist and the sysdep abilist file.  Remove update-abi-config
42890         checks.
42891         * abilist/ld.abilist: Remove.
42892         * abilist/libBrokenLocale.abilist: Remove.
42893         * abilist/libanl.abilist: Remove.
42894         * abilist/libcrypt.abilist: Remove.
42895         * abilist/libdl.abilist: Remove.
42896         * abilist/librt.abilist: Remove.
42897         * abilist/libthread_db.abilist: Remove.
42898         * abilist/libutil.abilist: Remove.
42899         * scripts/extract-abilist.awk: Remove.
42900         * scripts/merge-abilist.awk: Remove.
42901         * sysdeps/generic/libcidn.abilist: New file.
42902         * sysdeps/generic/libnss_compat.abilist: New file.
42903         * sysdeps/generic/libnss_db.abilist: New file.
42904         * sysdeps/generic/libnss_dns.abilist: New file.
42905         * sysdeps/generic/libnss_files.abilist: New file.
42906         * sysdeps/generic/libnss_hesiod.abilist: New file.
42907         * sysdeps/generic/libnss_nis.abilist: New file.
42908         * sysdeps/generic/libnss_nisplus.abilist: New file.
42909         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
42910         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
42911         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
42912         file.
42913         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
42914         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
42915         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
42916         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
42917         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
42918         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
42919         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
42920         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
42921         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
42922         file.
42923         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
42924         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
42925         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
42926         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
42927         file.
42928         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
42929         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
42930         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
42931         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
42932         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
42933         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
42934         file.
42935         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
42936         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
42937         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
42938         file.
42939         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
42940         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
42941         New file.
42942         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
42943         New file.
42944         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
42945         New file.
42946         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
42947         New file.
42948         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
42949         New file.
42950         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
42951         New file.
42952         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
42953         New file.
42954         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
42955         New file.
42956         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
42957         New file.
42958         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
42959         New file.
42960         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
42961         New file.
42962         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
42963         New file.
42964         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
42965         New file.
42966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
42967         file.
42968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
42969         New file.
42970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
42971         New file.
42972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
42973         file.
42974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
42975         New file.
42976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
42977         New file.
42978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
42979         file.
42980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
42981         New file.
42982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42983         New file.
42984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
42985         New file.
42986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
42987         New file.
42988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
42989         New file.
42990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
42991         New file.
42992         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
42993         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
42994         file.
42995         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
42996         New file.
42997         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
42998         file.
42999         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
43000         file.
43001         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
43002         file.
43003         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
43004         file.
43005         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
43006         file.
43007         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
43008         New file.
43009         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
43010         file.
43011         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
43012         file.
43013         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
43014         New file.
43015         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
43016         file.
43017         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
43018         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
43019         file.
43020         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
43021         New file.
43022         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
43023         file.
43024         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
43025         file.
43026         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
43027         file.
43028         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
43029         file.
43030         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
43031         file.
43032         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
43033         New file.
43034         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
43035         file.
43036         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
43037         file.
43038         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
43039         New file.
43040         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
43041         file.
43042         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
43043         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
43044         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
43045         file.
43046         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
43047         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
43048         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
43049         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
43050         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
43051         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
43052         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
43053         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
43054         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
43055         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
43056         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
43057         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
43058         file.
43059         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
43060         New file.
43061         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
43062         file.
43063         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
43064         file.
43065         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
43066         file.
43067         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
43068         file.
43069         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
43070         file.
43071         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
43072         New file.
43073         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
43074         New file.
43075         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
43076         file.
43077         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
43078         New file.
43079         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
43080         file.
43081         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
43082         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
43083         file.
43084         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
43085         New file.
43086         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
43087         file.
43088         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
43089         file.
43090         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
43091         file.
43092         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
43093         file.
43094         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
43095         file.
43096         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
43097         New file.
43098         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
43099         New file.
43100         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
43101         file.
43102         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
43103         New file.
43104         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
43105         file.
43107 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
43109         * conform/conformtest.pl: Fix typo in handling typed-constant from
43110         allow-header.
43112 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
43114         * README: Cut down references to pre-2.6 Linux kernels and
43115         Linuxthreads.  Update lists of configurations in libc and ports
43116         and sort alphabetically.  Say "or newer" with Linux kernel version
43117         requirements.
43119         * config.h.in [IS_IN_build]: Allow compiling without optimization.
43121 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43123         [BZ #887]
43124         * math/libm-test.inc (logb_test_downward): New test to expose
43125         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
43126         rounding mode.
43128 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
43130         [BZ #14027]
43131         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
43132         to be done.
43133         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
43134         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
43136 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
43138         * sysdeps/unix/i386/brk.S: Remove file.
43139         * sysdeps/unix/i386/dl-brk.S: Likewise.
43140         * sysdeps/unix/i386/pipe.S: Likewise.
43141         * sysdeps/unix/i386/sigreturn.S: Likewise.
43142         * sysdeps/unix/i386/syscall.S: Likewise.
43143         * sysdeps/unix/i386/vfork.S: Likewise.
43144         * sysdeps/unix/i386/wait.S: Likewise.
43146         * sysdeps/unix/common/tcsendbrk.c: Move to ...
43147         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
43149         * configure.in (arm*-none*): Do not allow without
43150         --enable-hacker-mode.
43151         (netbsd*): Remove case setting base_os.
43152         (386bsd*): Likewise.
43153         (freebsd*): Likewise.
43154         (bsdi*): Likewise.
43155         (osf*): Likewise.
43156         (sunos*): Likewise.
43157         (ultrix*): Likewise.
43158         (newsos*): Likewise.
43159         (dynix*): Likewise.
43160         (*bsd*): Likewise.
43161         (sysv*): Likewise.
43162         (isc*): Likewise.
43163         (esix*): Likewise.
43164         (sco*): Likewise.
43165         (minix*): Likewise.
43166         (irix4*): Likewise.
43167         (irix6*): Likewise.
43168         (solaris[2-9]*): Likewise.
43169         (none): Likewise.
43170         * configure: Regenerated.
43172 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43174         [BZ #11521]
43175         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
43176         overflow or cancellation in calculating denominator.
43177         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
43178         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
43179         down expression to avoid unexpected rounding in newer GCCs.
43180         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
43182 2012-04-26  David S. Miller  <davem@davemloft.net>
43184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
43185         long-double compat symbols.
43186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
43187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
43188         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
43189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
43190         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
43191         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
43192         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
43193         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
43194         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
43195         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
43196         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
43197         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
43198         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
43200 2012-04-25  David S. Miller  <davem@davemloft.net>
43202         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
43203         HWCAP_* values only after the memory barriers have been defined.
43204         (atomic_full_barrier): Define.
43205         (atomic_read_barrier): Define.
43206         (atomic_write_barrier): Define.
43208 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43210         * shlib-versions: Add libgcc_s version information.
43211         * sysdeps/generic/libgcc_s.h: Remove.
43212         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
43213         libgcc_s.h.
43214         * sysdeps/gnu/unwind-resume.c: Likewise.
43215         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
43217 2012-04-25  David S. Miller  <davem@davemloft.net>
43219         * sysdeps/unix/sparc/brk.S: Delete.
43220         * sysdeps/unix/sparc/dl-brk.S: Delete.
43221         * sysdeps/unix/sparc/pipe.S: Delete.
43222         * sysdeps/unix/sparc/sysdep.S: Delete.
43223         * sysdeps/unix/sparc/sysdep.h: Delete.
43224         * sysdeps/unix/sparc/vfork.S: Delete.
43225         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
43226         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
43227         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
43228         (ret_ERRVAL, r0, r1, MOVE): Define.
43229         (JUMPTARGET): Remove.
43230         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
43231         sysdeps/unix/sparc/sysdep.h
43232         (ENTRY, END): Remove.
43233         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43235 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
43237         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
43238         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
43239         -DIS_IN_build.
43241         * timezone/README: Update upstream location and email address for
43242         tzcode and tzdata.
43243         * timezone/zdump.c: Update from tzcode 2012b.
43244         * timezone/zic.c: Likewise.
43246         * configure.in (libc_cv_as_needed): Remove test.
43247         * configure: Regenerated.
43248         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
43249         conditional definition.
43250         [$(have-as-needed) != yes] (no-as-needed): Likewise.
43251         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
43252         * config.make.in (have-as-needed): Remove variable.
43254 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
43255             Paul Pluzhnikov  <ppluzhnikov@google.com>
43257         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
43258         strings correctly.
43260 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
43262         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
43263         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
43264         * sysdeps/sh/strlen.S: Likewise.
43266 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
43268         * sysdeps/unix/fork.S: Remove file.
43269         * sysdeps/unix/i386/fork.S: Likewise.
43270         * sysdeps/unix/sparc/fork.S: Likewise.
43272         * sysdeps/unix/system.c: Remove file.
43273         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
43275         * sysdeps/unix/getegid.S: Remove file.
43276         * sysdeps/unix/geteuid.S: Likewise.
43278 2012-04-24  Roland McGrath  <roland@hack.frob.com>
43280         * scripts/check-localplt.awk: New file.
43281         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
43282         of diff.
43283         * scripts/data/localplt-generic.data: Add a comment.
43285         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
43286         NODE when __dir_mkfile failed.
43287         * sysdeps/mach/hurd/symlinkat.c: Likewise.
43288         Reported by Ludovic Courtès <ludo@gnu.org>.
43290 2012-04-24  Andreas Jaeger  <aj@suse.de>
43292         * Makerules (common-clean): Also remove gen-as-const-headers
43293         files.
43295 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
43297         * Makerules (native-compile): Do not change working directory for
43298         build.  Use $(OUTPUT_OPTION) in command.
43299         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
43301 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43303         [BZ #13886]
43304         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
43305         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
43306         * math/libm-test.inc (floor_test): Add more tests.
43307         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
43309 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
43311         * sysdeps/unix/getdents.c: Remove file.
43312         * sysdeps/unix/sysv/getdents.c: Likewise.
43313         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
43315         * sysdeps/unix/syscalls.list (madvise): Add syscall from
43316         sysdeps/unix/mman/syscalls.list.
43317         (mmap): Likewise.
43318         (mprotect): Likewise.
43319         (msync): Likewise.
43320         (munmap): Likewise.
43321         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
43322         * sysdeps/unix/mman/syscalls.list: Remove.
43323         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
43325         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
43326         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
43327         * configure: Regenerated.
43328         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
43329         $(libgcc_s_suffix).
43330         * config.make.in (libgcc_s_suffix): Remove variable.
43332 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
43334         * sysdeps/unix/sysv/gethostname.c: Move to ...
43335         * sysdeps/posix/gethostname.c: ... here.
43337         * sysdeps/unix/execve.S: Remove file.
43339         * sysdeps/unix/_exit.S: Remove file.
43341 2012-04-23  Andreas Jaeger  <aj@suse.de>
43343         [BZ #13739]
43344         * manual/Makefile: Remove make dist support, there's no
43345         need for a stand-alone documentation tar ball.
43346         (TEXI2DVI): Define always, it's not in Makeconfig.
43347         (dist): Removed.
43348         (tar-it): Removed.
43349         (edition): Removed.
43350         (glibc-doc-$(edition).tar): Removed
43351         (%.Z): Removed.
43352         (%.gz): Removed.
43353         (%.uu): Removed.
43354         (ETAGS): Remove, it's in Makeconfig.
43355         (move-if-change): Remove, it's in Makeconfig.
43357 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
43359         [BZ #13970]
43360         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
43361         (strtod, strtof, strtold, strtol, strtoul, strtoq)
43362         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
43363         (strtod_l, strtof_l, strtold_l): Remove __wur.
43364         It is not necessarily an error to ignore strtol's return value.
43365         One can reliably look at the stored endptr to decide whether
43366         the number had valid syntax.
43368 2012-04-21  Andreas Jaeger  <aj@suse.de>
43370         [BZ #13739]
43371         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
43373 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
43375         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
43376         * sysdeps/unix/sysv/Versions: Remove file.
43378 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
43380         [BZ #13927]
43381         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43383 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
43385         [BZ #7064]
43386         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
43387         version from __vm86.
43389 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
43391         * sysdeps/unix/common/lxstat.c: Remove file.
43392         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
43394         * sysdeps/unix/sysv/Makefile: Remove file.
43396         * sysdeps/unix/sysv/direct.h: Remove file.
43398         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
43399         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
43400         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
43401         * sysdeps/unix/sysv/bits/signum.h: Likewise.
43402         * sysdeps/unix/sysv/bits/stat.h: Likewise.
43403         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
43404         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
43406         * sysdeps/unix/sysv/setrlimit.c: Remove file.
43408         * sysdeps/unix/xmknod.c: Remove file.
43409         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
43411         * sysdeps/unix/sysv/settimeofday.c: Remove file.
43413         * sysdeps/unix/sysv/i386/time.S: Remove file.
43415         * sysdeps/unix/fxstat.c: Remove file.
43416         * sysdeps/unix/xstat.c: Likewise.
43417         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
43419         * sysdeps/unix/sysv/sigaction.c: Remove file.
43421         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
43422         (sysdep_headers): Remove variable.
43423         [termio.h not in sysdep_headers] (generated): Likewise.
43424         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
43425         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
43426         * sysdeps/unix/sysv/tcdrain.c: Likewise.
43427         * sysdeps/unix/sysv/tcflow.c: Likewise.
43428         * sysdeps/unix/sysv/tcflush.c: Likewise.
43429         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
43430         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
43431         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
43432         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
43433         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
43435         * sysdeps/unix/siglist.c: Remove file.
43437         * sysdeps/unix/getppid.S: Remove file.
43439         * sysdeps/unix/mkdir.c: Remove file.
43440         * sysdeps/unix/rmdir.c: Likewise.
43442 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
43444         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
43445         ERR_MAX value.
43446         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
43447         errlist-compat value.
43449 2012-04-18  David S. Miller  <davem@davemloft.net>
43451         * sysdeps/generic/memcopy.h (reg_char): Delete.
43452         * debug/strcat_chk.c: Use char, not reg_char.
43453         * debug/strcpy_chk.c: Likewise.
43454         * debug/strncat_chk.c: Likewise.
43455         * debug/strncpy_chk.c: Likewise.
43456         * string/memchr.c: Likewise.
43457         * string/memrchr.c: Likewise.
43458         * string/rawmemchr.c: Likewise.
43459         * string/strcat.c: Likewise.
43460         * string/strchr.c: Likewise.
43461         * string/strchrnul.c: Likewise.
43462         * string/strcmp.c: Likewise.
43463         * string/strcpy.c: Likewise.
43464         * string/strncat.c: Likewise.
43465         * string/strncmp.c: Likewise.
43466         * string/strncpy.c: Likewise.
43468 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
43470         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
43471         __builtin_memcopy is called when src and dest ranges are known to not
43472         overlap.
43474 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
43476         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
43477         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
43478         fwd_align_merge macro call.
43479         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
43480         bwd_align_merge macro call.
43481         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
43483 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
43485         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
43486         bwd_align_merge macros.
43487         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
43488         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
43489         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
43491 2012-04-18  David S. Miller  <davem@davemloft.net>
43493         * sysdeps/sparc/sparc64/memcopy.h: Delete.
43495 2012-04-18  Andreas Jaeger  <aj@suse.de>
43497         [BZ# 6794]
43498         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
43499         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
43500         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43502         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
43503         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
43504         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43506         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
43507         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
43508         Adjust for changed ldbl-128 files.
43510         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
43511         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
43512         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43514 2012-04-17  David S. Miller  <davem@davemloft.net>
43516         * sysdeps/sparc/sparc32/memcopy.h: Delete.
43518 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
43520         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
43521         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
43522         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
43523         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
43524         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
43525         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
43527 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43529         [BZ #6794]
43530         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
43531         * math/libm-test.inc: Add ilogb errno and exception tests.
43532         * math/w_ilogb.c: New file: ilogb wrapper.
43533         * math/w_ilogbf.c: New file: ilogbf wrapper.
43534         * math/w_ilogbl.c: New file: ilogbl wrapper.
43535         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
43536         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
43537         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
43538         exception being thrown with 0.0 as argument.
43539         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
43540         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
43541         exception being thrown with 0.0 as argument.
43542         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
43543         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
43544         exception being thrown with 0.0 as argument.
43545         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
43546         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
43547         exception being thrown with 0.0 as argument.
43548         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
43549         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
43550         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
43551         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
43552         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
43553         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
43554         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
43555         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
43556         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
43558 2012-04-17  Petr Baudis  <pasky@ucw.cz>
43560         * include/sys/uio.h: Change __vector to __iovec to avoid clash
43561         with altivec.
43563 2012-04-16  Marek Polacek  <polacek@redhat.com>
43565         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
43567 2012-04-16  Marek Polacek  <polacek@redhat.com>
43569         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
43570         operands of fdivp instruction.
43572 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
43574         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
43575         * elf/tst-auditmod3b.c: Likewise.
43576         * elf/tst-auditmod4b.c: Likewise.
43577         * elf/tst-auditmod5b.c: Likewise.
43578         * elf/tst-auditmod6b.c: Likewise.
43579         * elf/tst-auditmod6c.c: Likewise.
43580         * elf/tst-auditmod7b.c: Likewise.
43581         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
43582         * sysdeps/x86_64/preconfigure.in: Likewise.
43583         * sysdeps/x86_64/preconfigure: Regenerated.
43585 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
43587         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
43588         __ILP32__.
43590 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
43592         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43593         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
43595 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
43597         [BZ #13973]
43598         * locale/iso-639.def: Fix gl language name. Spotted by
43599         Yaron Shahrabani.
43601 2012-04-12  Roland McGrath  <roland@hack.frob.com>
43603         [BZ #2074]
43604         * libio/libio.h (__io_write_fn): Update comment.
43606 2012-04-12  Petr Baudis  <pasky@ucw.cz>
43608         [BZ #2074]
43609         * stdio.texi (Hook Functions): The user provided writer function
43610         is not allowed to return -1.
43612 2012-04-11  David S. Miller  <davem@davemloft.net>
43614         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43616 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
43618         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
43619         Add a leading slash to rtkaio.
43621 2012-04-11  Jim Meyering  <meyering@redhat.com>
43623         [BZ #11959]
43624         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
43625         It is not necessarily an error to ignore fwrite's return
43626         value.  One can reliably use ferror to test for errors after
43627         the fact.
43629 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
43631         * bits/types.h (__snseconds_t): New type.
43632         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
43634         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
43635         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43636         (__SNSECONDS_T_TYPE): Likewise.
43637         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43638         (__SNSECONDS_T_TYPE): Likewise.
43639         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43640         (__SNSECONDS_T_TYPE): Likewise.
43642 2012-04-10  Andreas Jaeger  <aj@suse.de>
43644         [BZ #2636]
43645         * manual/time.texi (Processor Time): Return type of times is
43646         elapsed real time since an arbitrary point in the past.
43647         (CPU Time): Move CLK_TCK from here...
43648         (Processor Time): ...to here.  Correct description.
43649         * manual/conf.texi (Constants for Sysconf): Correct description of
43650         _SC_CLK_TCK.
43652 2012-04-10  David S. Miller  <davem@davemloft.net>
43654         [BZ #13967]
43655         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
43656         where the is a gap between DT_REL(A) and DT_JMPREL.
43658 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
43660         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
43661         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
43662         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
43664 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
43666         * elf/dl-support.c (_dl_inhibit_cache): New variable.
43667         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
43668         (dl_main): Handle --inhibit-cache.
43669         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
43670         _dl_inhibit_cache.
43671         * elf/dl-load.c (_dl_map_object): Use it.
43672         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
43674 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
43676         [BZ #13872]
43677         * sysdeps/i386/fpu/e_powl.S (p78): New object.
43678         (__ieee754_powl): Saturate large exponents rather than testing for
43679         overflow of y*log2(x).
43680         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43681         * math/libm-test.inc (pow_test): Do not permit spurious overflow
43682         exceptions.
43684         [BZ #11521]
43685         * math/s_ctan.c: Include <float.h>.
43686         (__ctan): Avoid internal overflow or cancellation in calculating
43687         denominator.
43688         * math/s_ctanf.c: Likewise.
43689         * math/s_ctanl.c: Likewise.
43690         * math/s_ctanh.c: Likewise.
43691         * math/s_ctanhf.c: Likewise.
43692         * math/s_ctanhl.c: Likewise.
43693         * math/libm-test.inc (ctan_test): Add more tests.
43694         (ctanh_test): Likewise.
43695         * sysdeps/i386/fpu/libm-test-ulps: Update.
43696         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43698 2012-04-09  Andreas Jaeger  <aj@suse.de>
43700         [BZ #6894]
43701         * manual/filesys.texi (Directory Entries): Mention that d_namlen
43702         is an optional BSD extension.
43704         [BZ #10254]
43705         * manual/stdio.texi (Opening Streams): Document additional fopen
43706         parameters.
43708 2012-04-09  Roland McGrath  <roland@hack.frob.com>
43710         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
43711         %eax without telling the compiler.
43713 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
43715         [BZ # 13963]
43716         * manual/install.texi: Use sourceware.org.
43718 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
43720         [BZ #13873]
43721         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
43722         (__ieee754_pow): Generate overflow and underflow using huge*huge
43723         and tiny*tiny rather than just returning constant infinity or zero
43724         for large exponents.
43725         * math/libm-test.inc (pow_test): Require overflow exceptions for
43726         applicable cases of large exponents.
43728         [BZ #706]
43729         * sysdeps/i386/fpu/e_pow.S (p10): New object.
43730         (__ieee754_pow): Use iterative multiplication algorithm only for
43731         integer exponents with absolute value below 1024.  Check for odd
43732         integer exponents when using algorithm for real exponents.
43733         * math/libm-test.inc (pow_test): Add more tests.
43734         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43736 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
43738         [BZ #13705]
43739         * math/libm-test.inc (exp_test): Do not allow overflow exception
43740         on underflow test.
43742 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
43744         [BZ #13705]
43745         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
43746         instead of __kernel_standard_f.
43748 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
43750         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
43751         * sysdeps/x86_64/memset_chk.S: Likewise.
43753 2012-04-08  Andreas Jaeger  <aj@suse.de>
43755         [BZ #10153]
43756         * manual/startup.texi (Environment Access): Describe return value
43757         for putenv and setenv.
43759         [BZ #6895]
43760         * manual/filesys.texi (Directory Entries): Add description for
43761         DT_LNK.
43763         [BZ #6890]
43764         * manual/filesys.texi (Directory Entries): Clarify that it's file
43765         system not operating system in the description of DT_UNKNOWN.
43767         [BZ #6578]
43768         * manual/syslog.texi (closelog): Fix reference, it's openlog.
43770 2012-04-08  Stephen Compall  <s11@member.fsf.org>
43772         [BZ #6649]
43773         * manual/llio.texi (Opening and Closing Files): Add cross
43774         reference to explain mode argument.
43776 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
43778         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
43779         * sysdeps/x86_64/memset_chk.S: Likewise.
43781 2012-04-07  David S. Miller  <davem@davemloft.net>
43783         * elf/elf.h (R_SPARC_WDISP10): Define.
43784         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
43785         R_SPARC_SIZE32.
43786         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
43787         R_SPARC_SIZE64 and R_SPARC_H34.
43789 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
43791         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
43792         conditions and remove no longer applicable assertion.
43794 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
43796         * bits/byteswap.h: Include <features.h>.
43797         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
43798         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
43800 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
43802         * bits/byteswap.h (__bswap_16): Removed.
43803         Include <bits/byteswap-16.h> to get __bswap_16.
43804         * sysdeps/i386/bits/byteswap.h: Likewise.
43805         * sysdeps/s390/bits/byteswap.h: Likewise.
43806         * sysdeps/x86_64/bits/byteswap.h: Likewise.
43807         * bits/byteswap-16.h: New file.
43808         * sysdeps/i386/bits/byteswap-16.h: Likewise.
43809         * sysdeps/s390/bits/byteswap-16.h: Likewise.
43810         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
43811         * string/Makefile (headers): Add bits/byteswap-16.h.
43813 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
43815         [BZ #13895]
43816         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
43817         extra indirection.
43818         * nss/Makefile (tests-static, tests): Add tst-nss-static.
43819         * nss/tst-nss-static.c: New.
43821 2012-04-06  Robert Millan  <rmh@gnu.org>
43823         [BZ #6486]
43824         * manual/llio.texi (File Position Primitive): lseek
43825         refers to WHENCE when it really means OFFSET.
43827 2012-04-06  Andreas Jaeger  <aj@suse.de>
43829         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
43830         strncmp declarations.
43832         * abilist/libc.abilist: Add __poll and __ppoll.
43834 2012-04-05  David S. Miller  <davem@davemloft.net>
43836         * scripts/check-local-headers.sh: Accept a host triplet in the
43837         path matched by the exclude regexp.
43839         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
43840         definition.
43841         * sysdeps/powerpc/powerpc32/dl-machine.h
43842         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
43843         * sysdeps/s390/s390-32/dl-machine.h
43844         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43845         * sysdeps/sparc/sparc32/dl-machine.h
43846         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43847         * sysdeps/sparc/sparc64/dl-machine.h
43848         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43850         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
43851         lazy binding.
43852         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
43853         undefined symbol errors.
43855         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
43856         DT_NEEDED entries.
43858 2012-04-05  Michael Matz  <matz@suse.de>
43860         [BZ #13592]
43861         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
43863 2012-04-05  Andreas Jaeger  <aj@suse.de>
43865         [BZ #13908]
43866         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
43867         comment.
43869 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43871         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
43872         which ROUND is no valid rounding mode.
43874 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43876         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
43877         read again.
43878         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
43880 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43882         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
43883         an exception using FPU order intentionally.
43885 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43887         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
43888         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
43889         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
43890         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
43892 2012-04-05  Simon Josefsson  <simon@josefsson.org>
43894         [BZ #12340]
43895         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
43896         EINVAL when BUFLEN is too smal.
43898 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
43900         [BZ #13553]
43901         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
43902         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
43904 2012-04-03  Andreas Jaeger  <aj@suse.de>
43906         [BZ #13938]
43907         * manual/setjmp.texi (System V contexts): Fix sentence.
43909         [BZ #13926]
43910         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
43911         New macro for this case.
43912         [!__GNUC__] (__bswap_64): New inline function for this case.
43913         * sysdeps/x86_64/bits/byteswap.h: Likewise.
43914         * bits/byteswap.h: Likewise.
43915         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
43916         ull, guard with __GLIBC_HAVE_LONG_LONG.
43918         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
43919         __GLIBC_HAVE_LONG_LONG.
43921         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
43922         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
43924 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43926         [BZ #13691]
43927         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
43928         inptr and inend, rather than using last_ch.
43930 2012-04-02  David S. Miller  <davem@davemloft.net>
43932         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
43933         * stdio-common/printf-parse.h (read_int): Change return type to
43934         'int', return -1 on INT_MAX overflow.
43935         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
43936         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
43937         overflows INT_MAX.  Check for overflow of in-format-string precision
43938         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
43939         SIZE_MAX not INT_MAX for integer overflow test.
43940         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
43941         skip the construct in the format string but do not record anything.
43942         * stdio-common/bug22.c: Adjust to test both width/prevision
43943         INT_MAX overflow as well as total length INT_MAX overflow.  Check
43944         explicitly for proper errno values.
43946 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
43948         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
43949         CHAR_MAX.
43950         * string/test-strcmp.c [! WIDE]: Likewise.
43951         * time/tst-mktime2.c: Likewise for INT_MAX.
43952         * string/test-string.h: #include <sys/param.h> for MIN.
43954         * csu/init-first.c (__libc_init_first): Call __ctype_init.
43955         * sysdeps/i386/init-first.c (init): Likewise.
43956         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
43957         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
43958         * sysdeps/sh/init-first.c (init): Likewise.
43960 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
43962         * po/ru.po: Update from translation team.
43963         * po/vi.po: Likewise.
43965 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
43967         * resolv/nss_dns/dns-host.c: Merge copyright years.
43969 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43971         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
43972         Optimize memcpy with prefetch if
43973         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
43974         src, dst pointers have unequal 16 byte alignments.
43976 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
43978         [BZ #13928]
43979         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
43980         from a CNAME entry and return the minimum ttl for the query.
43981         (gaih_getanswer_slice): Likewise.
43983 2012-03-30  Jeff Law  <law@redhat.com>
43985         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
43986         due to long keys.
43987         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
43988         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
43990         * resolv/nss_dns/dns-host.c: Update copyright year.
43992 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
43994         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
43995         requests to save a system call.  Fix check that all bytes are sent.
43997         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
43998         comments for sendmmsg.
44000 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
44002         [BZ #13691]
44003         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
44004         with only 1 character between 0x0041 and 0x01b0.
44005         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
44006         * wcsmbs/tst-mbsnrtowcs.c: New file.
44008 2012-03-29  David S. Miller  <davem@davemloft.net>
44010         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
44011         small copies by hand.
44013 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44015         [BZ #13761]
44016         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
44017         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
44018         group memberships.
44020 2012-03-28  David S. Miller  <davem@davemloft.net>
44022         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
44023         that branches into memcpy.
44024         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
44025         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
44026         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
44027         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
44028         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
44029         bits.
44030         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
44031         implementation too.
44032         * sysdeps/sparc/mempcpy.S: New file.
44034         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
44035         the IFUNC routine in the libc case.
44036         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
44038         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
44039         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
44040         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
44041         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
44042         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
44043         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
44044         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
44045         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
44047         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
44048         loop to 256 bytes instead of 64 bytes and fix test signedness.
44050         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
44051         * sysdeps/sparc/sparc32/Makefile: rather than here...
44052         * sysdeps/sparc/sparc64/Makefile: and here.
44054 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
44056         * malloc/mallocbug.c: Avoid warnings about unused variables.
44058 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
44060         [BZ #13760]
44061         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
44062         in the right place. Discard and retry query if response is
44063         larger than input buffer size.
44065 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
44067         [BZ #369]
44068         [BZ #2678]
44069         [BZ #3866]
44070         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
44071         x for large integer exponent.
44072         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
44073         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
44074         sign of result as needed afterwards.
44075         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
44076         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
44077         result for underflowing pow the same as for overflow.
44078         (__kernel_standard_l): Handle powl overflow and underflow here
44079         rather than calling __kernel_standard.
44080         * math/libm-test.inc (pow_test): Add more tests.
44082         [BZ #3868]
44083         [BZ #13879]
44084         [BZ #13910]
44085         [BZ #13911]
44086         [BZ #13912]
44087         [BZ #13913]
44088         [BZ #13915]
44089         [BZ #13916]
44090         [BZ #13917]
44091         [BZ #13918]
44092         [BZ #13919]
44093         [BZ #13920]
44094         [BZ #13921]
44095         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
44096         * sysdeps/ieee754/k_standard.c: Include <float.h>.
44097         (__kernel_standard_l): New function.
44098         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
44099         __kernel_standard.
44100         * math/w_acosl.c (__acosl): Likewise.
44101         * math/w_asinl.c (__asinl): Likewise.
44102         * math/w_atan2l.c (__atan2l): Likewise.
44103         * math/w_atanhl.c (__atanhl): Likewise.
44104         * math/w_coshl.c (__coshl): Likewise.
44105         * math/w_exp10l.c (__exp10l): Likewise.
44106         * math/w_exp2l.c (__exp2l): Likewise.
44107         * math/w_fmodl.c (__fmodl): Likewise.
44108         * math/w_hypotl.c (__hypotl): Likewise.
44109         * math/w_j0l.c (__j0l, __y0l): Likewise.
44110         * math/w_j1l.c (__j1l, __y1l): Likewise.
44111         * math/w_jnl.c (__jnl, __ynl): Likewise.
44112         * math/w_lgammal.c (__lgammal): Likewise.
44113         * math/w_log10l.c (__log10l): Likewise.
44114         * math/w_log2l.c (__log2l): Likewise.
44115         * math/w_logl.c (__logl): Likewise.
44116         * math/w_powl.c (__powl): Likewise.
44117         * math/w_remainderl.c (__remainderl): Likewise.
44118         * math/w_scalbl.c (sysv_scalbl): Likewise.
44119         * math/w_sinhl.c (__sinhl): Likewise.
44120         * math/w_sqrtl.c (__sqrtl): Likewise.
44121         * math/w_tgammal.c (__tgammal): Likewise.
44122         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
44123         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
44124         * math/libm-test.inc (acos_test): Add more tests.
44125         (acosh_test): Likewise.
44126         (asin_test): Likewise.
44127         (atanh_test): Likewise.
44128         (exp_test): Likewise.
44129         (exp10_test): Likewise.
44130         (exp2_test): Likewise.
44131         (expm1_test): Likewise.
44132         (lgamma_test): Likewise.
44133         (log_test): Likewise.
44134         (log10_test): Likewise.
44135         (log1p_test): Likewise.
44136         (log2_test): Likewise.
44137         (pow_test): Do not allow some spurious overflow exceptions.
44138         (sqrt_test): Add more tests.
44139         (tgamma_test): Likewise.
44140         (y0_test): Likewise.
44141         (y1_test): Likewise.
44142         (yn_test): Likewise.
44144 2012-03-27  Anton Blanchard  <anton@samba.org>
44146         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
44147         MAP_HUGETLB.
44148         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44149         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
44150         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44152 2012-03-27  David S. Miller  <davem@davemloft.net>
44154         * conform/Makefile: Run run-conformtest.sh using $(BASH).
44156         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
44157         have-as-vis3 check.
44159 2012-03-27  Andreas Jaeger  <aj@suse.de>
44161         * sysdeps/x86_64/elf/configure.in: Moved to ...
44162         * sysdeps/x86_64/configure.in: ... here.
44163         * sysdeps/x86_64/elf/start.S: Moved to ...
44164         * sysdeps/x86_64/start.S: ... here.
44165         * sysdeps/x86_64/elf/configure: Delete.
44167         * sysdeps/x86_64/configure.in: Merge contents from
44168         sysdeps/i386/configure.in (without i686 check).
44170         * sysdeps/i386/elf/Versions: Merge into ...
44171         * sysdeps/i386/Versions: ... this.
44172         * sysdeps/i386/elf/Versions: Delete file.
44173         * sysdeps/i386/elf/start.S: Moved to ...
44174         * sysdeps/i386/start.S: ...here.
44175         * sysdeps/i386/elf/configure.in: Merge into...
44176         * sysdeps/i386/configure.in: ...here.
44177         * sysdeps/i386/elf/configure.in: Delete file.
44178         * sysdeps/i386/elf/configure: Delete file.
44180         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
44181         * debug/backtracesyms.c: ... here.
44182         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
44183         * debug/backtracesymsfd.c: ... here.
44184         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
44185         * sysdeps/generic/ifunc-sel.h: ... here.
44187         * sysdeps/unix/i386/start.c: Delete file.
44188         * sysdeps/unix/sparc/start.c: Delete file.
44189         * sysdeps/unix/start.c: Delete file.
44191         * sysdeps/sh/elf/configure.in: Moved to ...
44192         * sysdeps/sh/configure.in: ... here.
44193         * sysdeps/sh/elf/start.S: Moved to ...
44194         * sysdeps/sh/start.S: ... here.
44195         * sysdeps/sh/elf/configure: Delete file.
44197         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
44198         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
44199         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
44200         * sysdeps/powerpc/powerpc64/entry.h: ... here.
44201         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
44202         * sysdeps/powerpc/powerpc64/start.S: here.
44203         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
44204         * sysdeps/powerpc/powerpc64/Makefile: ... this.
44205         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
44206         * sysdeps/powerpc/powerpc64/configure.in: ... this.
44207         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
44209         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
44210         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
44211         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
44212         * sysdeps/powerpc/powerpc32/start.S: ... here.
44213         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
44214         * sysdeps/powerpc/powerpc32/configure.in: ... this.
44215         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
44217         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
44218         * sysdeps/powerpc/ifunc-sel.h: ... here.
44219         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
44220         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
44222         * sysdeps/sparc/elf/configure.in: Moved to ...
44223         * sysdeps/sparc/configure.in: ... here.
44224         * sysdeps/sparc/elf/configure: Delete file.
44225         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
44226         * sysdeps/sparc/sparc32/start.S: ... here.
44227         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
44228         * sysdeps/sparc/sparc64/start.S: ... here.
44229         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
44230         * sysdeps/sparc/sparc32/Makefile: ... this.
44231         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
44232         * sysdeps/sparc/sparc64/Makefile: ... this.
44234         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
44235         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
44236         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
44237         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
44238         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
44239         * sysdeps/s390/s390-32/setjmp.S: ... here.
44240         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
44241         * sysdeps/s390/s390-32/configure.in: ... here.
44242         * sysdeps/s390/s390-32/elf/configure: Delete file.
44243         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
44244         * sysdeps/s390/s390-32/start.S: ... here.
44246         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
44247         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
44248         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
44249         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
44250         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
44251         * sysdeps/s390/s390-64/setjmp.S: ... here.
44252         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
44253         * sysdeps/s390/s390-64/configure.in: ... here
44254         * sysdeps/s390/s390-64/elf/configure: Delete file.
44255         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
44256         * sysdeps/s390/s390-64/start.S: ... here.
44257         * sysdeps/s390/s390-64/elf/configure: Delete.
44259         * configure.in: Remove support for elf directories in sysdeps.
44261         * configure: Regenerated.
44262         * sysdeps/i386/configure: Regenerated.
44263         * sysdeps/powerpc/powerpc32/configure: Regenerated.
44264         * sysdeps/powerpc/powerpc64/configure: Regenerated.
44265         * sysdeps/s390/s390-32/configure: Regenerated.
44266         * sysdeps/s390/s390-64/configure: Regenerated.
44267         * sysdeps/sh/configure: Regenerated.
44268         * sysdeps/sparc/configure: Regenerated.
44269         * sysdeps/x86_64/configure: Regenerated.
44271 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
44273         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44275         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
44276         denormal result into account.
44278 2012-03-25  Roland McGrath  <roland@hack.frob.com>
44280         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
44281         Reported by Allan McRae <allan@archlinux.org>.
44283 2012-03-23  Jeff Law  <law@redhat.com>
44285         * nss/getnssent.c (__nss_getent): Fix typo.
44287 2012-03-23  David S. Miller  <davem@davemloft.net>
44289         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44291 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
44293         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
44294         to pad to uint64_t for each field.
44295         (dl_tls_index): Replace unsigned long with uint64_t.
44297 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
44298         Paul Pluzhnikov  <ppluzhnikov@google.com>
44300         [BZ #6528]
44301         * grp/Makefile (otherlibs): Don't set it.
44302         * inet/Makefile (otherlibs): Likewise.
44303         * login/Makefile (otherlibs): Likewise.
44304         * nscd/Makefile (otherlibs): Likewise.
44305         * posix/Makefile (otherlibs): Likewise.
44306         * pwd/Makefile (otherlibs): Likewise.
44307         * rt/Makefile (otherlibs): Likewise.
44308         * sunrpc/Makefile (otherlibs): Likewise.
44309         * nss/Makefile (otherlibs): Likewise.
44310         Add libnss_files to routines and static-only-routines.
44311         ($(objpfx)getent): Remove rule.
44312         * resolv/Makefile: Add libnss_dns and libresolv to routines and
44313         static-only-routines.
44315 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
44317         [BZ #13892]
44318         * math/s_cexp.c: Include <float.h>.
44319         (__cexp): Handle exp result overflowing not necessarily
44320         overflowing both real and imaginary parts of result.
44321         * math/s_cexpf.c: Likewise.
44322         * math/s_cexpl.c: Likewise.
44323         * math/libm-test.inc (cexp_test): Add more tests.
44324         * sysdeps/i386/fpu/libm-test-ulps: Update.
44325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44327 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
44329         * include/link.h (ELFW): New macro.
44330         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
44331         Replace ELF64_R_TYPE with ELFW(R_TYPE).
44333 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
44335         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
44336         with uint64_t.
44338 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
44340         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
44341         declaration.
44342         (struct La_x32_retval): Likewise.
44344 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
44346         * sysdeps/x86_64/preconfigure.in: New file.
44347         * sysdeps/x86_64/preconfigure: New generated file.
44349 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
44351         [BZ #13824]
44352         * math/e_exp2l.c: Include <float.h>.
44353         (__ieee754_exp2l): Handle overflow and underflow cases
44354         separately.  Only pass fractional part of argument to
44355         __ieee754_expl.
44356         * math/libm-test.inc (exp2_test): Add more tests.
44358         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
44359         negating x to take absolute value.
44360         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
44361         Likewise.
44362         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
44363         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
44364         Likewise.
44365         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
44366         computing low part if x was negated.
44367         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
44369 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
44371         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
44372         la_x32_gnu_pltexit.
44373         (pltexit): Cast int_retval to ptrdiff_t.
44374         * elf/tst-auditmod3b.c: Likewise.
44375         * elf/tst-auditmod4b.c: Likewise.
44376         * elf/tst-auditmod5b.c: Likewise.
44377         * elf/tst-auditmod6b.c: Likewise.
44378         * elf/tst-auditmod6c.c: Likewise.
44379         * elf/tst-auditmod7b.c: Likewise.
44381         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
44382         and x32_gnu_pltexit.
44384         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
44385         __ELF_NATIVE_CLASS.
44386         (La_x32_regs): New macro.
44387         (La_x32_retval): Likewise.
44388         (la_x32_gnu_pltenter): New function prototype.
44389         (la_x32_gnu_pltexit): Likewise.
44391 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
44393         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
44394         exponent.
44396         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44398         * configure.in (libc_cv_cc_nofma): Check for option to disable
44399         generation of FMA instructions.
44400         * configure: Regenerate.
44401         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
44402         * sysdeps/ieee754/dbl-64/Makefile: New file.
44403         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
44404         Remove brandred-fma4.
44405         (CFLAGS-brandred-fma4.c): Remove.
44406         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
44407         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
44408         define.
44409         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
44410         define.
44412 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
44414         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
44415         LLONG_MAX != LONG_MAX.
44416         (_itoa_word): Use _ITOA_WORD_TYPE on value.
44417         (_fitoa_word): Likewise.
44418         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
44419         LLONG_MAX != LONG_MAX.
44420         * stdio-common/_itowa.h: Include <_itoa.h>.
44421         (_itowa_word): Use _ITOA_WORD_TYPE on value.
44422         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
44423         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
44424         only if not defined.
44425         (_ITOA_WORD_TYPE): Likewise.
44426         (_itoa_word): Use _ITOA_WORD_TYPE on value.
44427         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
44429 2012-03-21  David S. Miller  <davem@davemloft.net>
44431         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44433 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
44435         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
44436         of x86_64 when setting libc_cv_slibdir, libdir and
44437         libc_cv_localedir.
44438         * sysdeps/unix/sysv/linux/configure: Regenerated.
44440 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
44442         * manual/lang.texi (Old Varargs): Remove section.
44443         (How Variadic): Update menu.
44444         (va_start): Do not mention varargs.h.
44446 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
44447             Joseph Myers  <joseph@codesourcery.com>
44449         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
44450         link test.
44451         * configure: Regenerated.
44453 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
44455         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
44456         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
44457         conformtest.pl
44459 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
44461         * NOTES: Remove.
44462         * Makefile (files-for-dist): Remove NOTES.
44463         (NOTES): Remove rule.
44464         * README: Don't refer to NOTES.
44465         * manual/creature.texi: Don't include macros.texi.
44466         * manual/intro.texi (creature.texi): Remove comment referring to
44467         NOTES.
44469         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
44470         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
44471         * configure: Regenerated.
44472         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
44473         LIBC_TRY_CC_OPTION.
44474         (libc_cv_as_i686): Likewise.
44475         (libc_cv_cc_avx): Likewise.
44476         (libc_cv_cc_sse2avx): Likewise.
44477         (libc_cv_cc_fma4): Likewise.
44478         (libc_cv_cc_novzeroupper): Likewise.
44479         * sysdeps/i386/configure: Regenerated.
44481         [BZ #13883]
44482         * sysdeps/i386/fpu/s_cexp.S: Remove.
44483         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
44484         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
44485         * math/libm-test.inc (cexp_test): Add more tests.
44486         * sysdeps/i386/fpu/libm-test-ulps: Update.
44487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44489 2012-03-21  Allan McRae  <allan@archlinux.org>
44491         * timezone/Makefile: Do not install iso3166.tab and zone.tab
44493 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
44495         [BZ #13871]
44496         * math/w_exp2.c: Do not include <float.h>.
44497         (o_threshold, u_threshold): Remove.
44498         (__exp2): Calculate result before checking finiteness and calling
44499         __kernel_standard.
44500         * math/w_exp2f.c: Likewise.
44501         * math/w_exp2l.c: Likewise.
44502         * math/libm-test.inc (exp2_test): Require overflow exception for
44503         1e6 input.
44505         [BZ #3866]
44506         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
44507         range of signed 64-bit integers before using fistpll.  Remove
44508         checks for whether integers fit in mantissa bits.
44509         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
44510         the range of signed 32-bit integers before using fistpl.  Remove
44511         checks for whether integers fit in mantissa bits.
44512         * sysdeps/i386/fpu/e_powl.S (p64): New object.
44513         (__ieee754_powl): Test for y outside the range of signed 64-bit
44514         integers before using fistpll.  Reduce 64-bit values to 63-bit
44515         ones as needed.
44516         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
44517         divide-by-zero is raised for zero to large negative powers.
44518         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
44519         (__ieee754_powl): Test for y outside the range of signed 64-bit
44520         integers before using fistpll.  Reduce 64-bit values to 63-bit
44521         ones as needed.
44522         * math/libm-test.inc (pow_test): Add more tests.
44524 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
44526         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
44527         <stdio-common/_itoa.h>.
44528         * debug/segfault.c: Likewise.
44529         * elf/dl-cache.c: Likewise.
44530         * elf/dl-minimal.c: Likewise.
44531         * elf/dl-misc.c: Likewise.
44532         * elf/dl-sysdep.c: Likewise.
44533         * elf/dl-version.c: Likewise.
44534         * elf/rtld.c: Likewise.
44535         * hurd/hurdsock.c: Likewise.
44536         * hurd/lookup-retry.c: Likewise.
44537         * malloc/malloc.c: Likewise.
44538         * malloc/mtrace.c: Likewise.
44539         * nscd/nscd_getgr_r.c: Likewise.
44540         * nscd/nscd_getpw_r.c: Likewise.
44541         * nscd/nscd_getserv_r.c: Likewise.
44542         * posix/getopt_init.c: Likewise.
44543         * posix/wordexp.c: Likewise.
44544         * stdio-common/_itoa.c: Likewise.
44545         * stdio-common/printf_fphex.c: Likewise.
44546         * stdio-common/vfprintf.c: Likewise.
44547         * string/_strerror.c: Likewise.
44548         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
44549         * sysdeps/i386/i686/hp-timing.h: Likewise.
44550         * sysdeps/mach/_strerror.c: Likewise.
44551         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
44552         * sysdeps/mach/hurd/sethostid.c: Likewise.
44553         * sysdeps/mach/hurd/xmknodat.c: Likewise.
44554         * sysdeps/mach/xpg-strerror.c: Likewise.
44555         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
44556         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
44557         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
44558         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
44559         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
44560         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
44561         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
44562         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
44563         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
44564         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
44565         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
44566         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
44567         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
44568         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
44569         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
44570         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
44571         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
44572         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
44573         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
44574         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
44575         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
44577         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
44579         * stdio-common/_itoa.h: Moved to ...
44580         * sysdeps/generic/_itoa.h: Here.
44582         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
44584         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
44585         instead of "_itoa.h" and "_itowa.h".
44586         * stdio-common/vfprintf.: Likewise.
44588 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
44590         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
44591         <bits/wordsize.h>.
44592         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
44593         (__signbit): Likwise.
44594         (llrintf): Likwise.
44595         (llrint): Likwise.
44597 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
44599         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
44600         __WORDSIZE != 64.
44602 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
44604         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
44605         OVERFLOW_EXCEPTION_OK.
44606         * math/libm-test.inc ("Philosophy"): Update comment about
44607         exception testing.
44608         (OVERFLOW_EXCEPTION): Define.
44609         (OVERFLOW_EXCEPTION_OK): Likewise.
44610         (INVALID_EXCEPTION_OK): Renumber.
44611         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
44612         (IGNORE_ZERO_INF_SIGN): Likewise.
44613         (test_exceptions): Handle FE_OVERFLOW.
44614         (exp10_test): Expect overflow exceptions.
44615         (exp2_test): Likewise.
44616         (expm1_test): Likewise.
44617         (nextafter_test): Likewise.
44618         (pow_test): Likewise.
44619         (scalbn_test): Likewise.
44620         (scalbln_test): Likewise.
44622 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44624         * sysdeps/x86_64/bits/atomic.h
44625         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
44626         64bit integer.
44627         (atomic_exchange_acq): Likewise.
44628         (__arch_exchange_and_add_body): Likewise.
44629         (__arch_add_body): Likewise.
44630         (atomic_add_negative): Likewise.
44631         (atomic_add_zero): Likewise.
44633 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44635         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
44636         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
44638 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44640         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
44641         Check __x86_64__ instead of __WORDSIZE.
44643 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44645         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
44647 2012-03-19  David S. Miller  <davem@davemloft.net>
44649         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44651         * sysdeps/sparc/fpu/fenv_private.h: New file.
44652         * sysdeps/sparc/fpu/math_private.h: Use it.
44653         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
44654         Remove.
44655         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
44656         (libc_feholdexcept_setroundl): Remove.
44657         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
44658         Remove.
44659         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
44660         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
44662 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44664         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
44665         int64_t instead of long int.
44666         (INSERT_WORDS64): Likwise.
44668 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44670         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
44671         _Unwind_GetCFA return to _Unwind_Ptr first.
44673 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
44675         [BZ #13629]
44676         * math/s_clog.c: Include <float.h>.
44677         (__clog): Scale large or subnormal inputs.
44678         * math/s_clogf.c: Likewise.
44679         * math/s_clogl.c: Likewise.
44680         * math/s_clog10.c: Include <float.h>.
44681         (M_LOG10_2): Define.
44682         (__clog10): Scale large or subnormal inputs.
44683         * math/s_clog10f.c: Likewise.
44684         * math/s_clog10l.c: Likewise.
44685         * math/libm-test.inc (clog_test): Add more tests.
44686         (clog10_test): Likewise.
44687         * sysdeps/i386/fpu/libm-test-ulps: Update.
44688         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44690         [BZ #11451]
44691         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
44692         x and y.
44693         * math/libm-test.inc (atan2_test): Add another test.
44695         * Makerules (common-objdir-compile): Remove.
44696         * sysdeps/unix/Makefile (config-generated): Do not add
44697         $(unix-generated) to variable.
44698         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
44699         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
44700         Remove rule.
44701         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
44702         Likewise.
44703         [generic bits/local_lim.h] (before-compile): Do not append to
44704         variable.
44705         [generic bits/local_lim.h] (common-generated): Likewise.
44706         [generic sys/param.h] (before-compile): Do not append to variable.
44707         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
44708         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
44709         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
44710         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
44711         include.
44712         [generic sys/param.h] (sys/param.h-includes): Remove variable.
44713         [generic sys/param.h] (sys/param.h-includes): Remove rule.
44714         [generic sys/param.h] ($(addprefix
44715         $(common-objpfx),$(sys/param.h-includes))): Likewise.
44716         [generic sys/param.h] (common-generated): Do not append to
44717         variable.
44718         [generic sys/param.h] (sysdep_headers): Likewise.
44719         [generic bits/errno.h] (before-compile): Do not append to
44720         variable.
44721         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
44722         rule.
44723         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
44724         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
44725         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
44726         [generic bits/errno.h] (common-generated): Do not append to
44727         variable.
44728         [generic bits/ioctls.h] (before-compile): Do not append to
44729         variable.
44730         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
44731         rule.
44732         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
44733         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
44734         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
44735         rule.
44736         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
44737         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
44738         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
44739         [generic bits/ioctls.h] (common-generated): Do not append to
44740         variable.
44741         [generic sys/syscall.h] (syscall.h): Remove variable.
44742         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
44743         rule.
44744         [generic sys/syscall.h] (before-compile): Do not append to
44745         variable.
44746         [generic sys/syscall.h] (common-generated): Likewise.
44747         * sysdeps/unix/errnos-tmpl.c: Remove file.
44748         * sysdeps/unix/errnos.awk: Likewise.
44749         * sysdeps/unix/ioctls-tmpl.c: Likewise.
44750         * sysdeps/unix/ioctls.awk: Likewise.
44751         * sysdeps/unix/mk-local_lim.c: Likewise.
44752         * sysdeps/unix/snarf-ioctls: Likewise.
44754 2012-03-19  Richard Henderson  <rth@twiddle.net>
44756         * sysdeps/i386/fpu/fenv_private.h: New file.
44757         * sysdeps/i386/fpu/math_private.h: Use it.
44758         (math_opt_barrier, math_force_eval): Remove.
44759         (libc_feholdexcept_setround_53bit): Remove.
44760         (libc_feupdateenv_53bit): Remove.
44761         * sysdeps/x86_64/fpu/math_private.h: Likewise.
44762         (math_opt_barrier, math_force_eval): Remove.
44763         (libc_feholdexcept): Remove.
44764         (libc_feholdexcept_setround): Remove.
44765         (libc_fetestexcept, libc_fesetenv): Remove.
44766         (libc_feupdateenv_test): Remove.
44767         (libc_feupdateenv, libc_feholdsetround): Remove.
44768         (libc_feresetround): Remove.
44770         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
44771         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
44773         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
44774         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
44775         (libc_feupdateenv_testl): New.
44776         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
44777         (libc_feupdateenv_testf): New.
44778         (libc_feupdateenv): Use libc_feupdateenv_test.
44779         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
44780         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
44782         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
44783         (libc_feholdsetroundf, libc_feholdsetroundl): New.
44784         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
44785         (libc_feresetround_noex): New.
44786         (libc_feresetround_noexf): New.
44787         (libc_feresetround_noexl): New.
44788         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
44789         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
44790         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
44791         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
44792         SET_RESTORE_ROUND.
44793         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
44794         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
44795         (__cos): Likewise.
44796         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
44797         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
44798         SET_RESTORE_ROUND_NOEX.
44799         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
44800         SET_RESTORE_ROUND_NOEXF.
44801         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
44802         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
44803         (libc_feholdsetroundf): New.
44804         (libc_feresetround, libc_feresetroundf): New.
44806         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
44807         (libc_feholdexcept_setround_53bit): Convert from macro to function.
44808         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
44810         * sysdeps/generic/math_private.h: Include <fenv.h>.
44811         (default_libc_feholdexcept): New.
44812         (default_libc_feholdexcept_setround): New.
44813         (default_libc_fesetenv, default_libc_feupdateenv): New.
44814         (libc_feholdexcept): Only define if undefined.
44815         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
44816         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
44817         (libc_feholdexcept_setroundl): Likewise.
44818         (libc_feholdexcept_setround_53bit): Likewise.
44819         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
44820         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
44821         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
44822         (libc_feupdateenv_53bit): Likewise.
44823         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
44824         (libc_feholdexcept): Convert from macro to inline function.
44825         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
44826         (libc_fesetenv, libc_feupdateenv): Likewise.
44828         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
44829         not previously defined.
44830         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
44831         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
44832         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
44833         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
44834         * sysdeps/ieee754/flt-32/math_private.h: New file.
44835         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
44836         math_private.h below SET_FLOAT_WORD.
44837         (__isnan, __isinf_ns, __finite): Remove.
44838         (__isnanf, __isinf_nsf, __finitef): Remove.
44840 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
44842         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44844 2012-03-17  David S. Miller  <davem@davemloft.net>
44846         [BZ #6471]
44847         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
44848         for 2.16.
44850 2012-03-16  David S. Miller  <davem@davemloft.net>
44852         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
44853         warnings.
44855         [BZ #6471]
44856         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
44857         properly.
44858         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
44859         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
44860         sysdep_routines when subdir is sysvipc.
44861         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
44862         __getshmlba helper.
44864         * sysdeps/sparc/fpu/libm-test/ulps: Update.
44866 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44868         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
44869         [__LP64__].
44871 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44873         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
44874         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
44875         (__lround): Renamed to ...
44876         (__llround): This.  Replace long int with long long int.
44877         Define lround functions as aliases of llround functions.
44878         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
44880 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44882         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
44883         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
44884         adresses to uintptr_t.  Replace "long int" and "unsigned long
44885         int" with "greg_t" on va_arg.
44887 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44889         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
44890         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
44892         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
44893         Move e_machine check before EI_CLASS check.  Handle x32
44894         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
44895         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
44896         SKIP_EM_IA_64 and include
44897         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
44899         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
44900         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
44901         (add_system_dir): New macro.
44903         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
44904         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
44906 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
44908         [BZ #2551]
44909         [BZ #2552]
44910         [BZ #2553]
44911         [BZ #2554]
44912         [BZ #2562]
44913         [BZ #2563]
44914         [BZ #2565]
44915         [BZ #2566]
44916         [BZ #2576]
44917         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
44918         (y0): Likewise.
44919         * math/w_j0f.c (j0f): Likewise.
44920         (y0f): Likewise.
44921         * math/w_j0l.c (__j0l): Likewise.
44922         (__y0l): Likewise.
44923         * math/w_j1.c (j1): Likewise.
44924         (y1): Likewise.
44925         * math/w_j1f.c (j1f): Likewise.
44926         (y1f): Likewise.
44927         * math/w_j1l.c (__j1l): Likewise.
44928         (__y1l): Likewise.
44929         * math/w_jn.c (jn): Likewise.
44930         (yn): Likewise.
44931         * math/w_jnf.c (jnf): Likewise.
44932         (ynf): Likewise.
44933         * math/w_jnl.c (__jnl): Likewise.
44934         (__ynl): Likewise.
44935         * math/libm-test.inc (j0_test): Add more tests.
44936         (j1_test): Likewise.
44937         (jn_test): Likewise.  Add trailing semicolon to existing test.
44938         (y0_test): Likewise.
44939         (y1_test): Likewise.
44940         * sysdeps/i386/fpu/libm-test-ulps: Update.
44941         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44943         [BZ #13851]
44944         [BZ #13854]
44945         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
44946         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
44947         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
44948         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
44949         (__tanl): Set errno for infinite argument.
44950         * sysdeps/i386/fpu/mptan.c: Remove.
44951         * sysdeps/i386/fpu/s_tan.S: Likewise.
44952         * sysdeps/i386/fpu/s_tanl.S: Likewise.
44953         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
44954         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
44955         * math/libm-test.inc (tan_test): Add more tests and enable more
44956         tests for double and long double.
44957         * sysdeps/i386/fpu/libm-test-ulps: Update.
44958         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44960 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
44962         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
44963         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
44965 2012-03-16  Roland McGrath  <roland@hack.frob.com>
44967         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
44968         * configure.in: Use it for both main tree and add-ons.
44969         * configure: Regenerated.
44971 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44973         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
44975 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
44977         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
44978         in comment.
44980         [BZ #13851]
44981         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
44982         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
44983         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
44984         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
44985         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
44986         infinite argument.
44987         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
44988         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
44989         != 0 for prec == 2.
44990         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
44991         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
44992         * sysdeps/i386/fpu/s_cosl.S: Likewise.
44993         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
44994         * sysdeps/i386/fpu/s_sinl.S: Likewise.
44995         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
44996         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
44997         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
44998         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
44999         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
45000         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
45001         * math/libm-test.inc (cos_test): Add more tests and enable more
45002         tests for long double.
45003         (sin_test): Likewise.
45004         (sincos_test): Likewise.
45005         * sysdeps/i386/fpu/libm-test-ulps: Update.
45006         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45008 2012-03-16  David S. Miller  <davem@davemloft.net>
45010         * sysdeps/sparc/fpu/math_private.h: New file.
45012 2012-03-15  David S. Miller  <davem@davemloft.net>
45014         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
45015         file.
45016         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
45017         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
45018         file.
45019         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
45020         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
45021         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
45022         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
45023         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
45024         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
45025         sysdep routines.
45026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
45028         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
45029         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
45031         * sysdeps/sparc/sparc-ifunc.h: New file.
45032         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
45033         sparc-ifunc.h
45034         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
45035         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
45036         Likewise.
45037         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
45038         Likewise.
45039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
45040         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
45041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
45042         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
45043         Likewise.
45044         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
45045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
45046         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
45047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
45048         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
45049         Likewise.
45050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
45051         Likewise.
45052         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
45053         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
45054         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
45055         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
45056         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
45057         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
45058         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
45059         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
45060         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
45061         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
45062         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
45063         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
45064         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
45065         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
45066         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
45067         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
45068         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
45069         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
45070         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
45071         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
45072         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
45073         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
45074         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
45075         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
45077 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
45079         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
45080         scaling.
45081         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45083 2012-03-15  Andreas Jaeger  <aj@suse.de>
45085         [BZ #13852]
45086         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
45087         ieee754/flt-32 implementation for sin, cos and sincos.
45088         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
45089         * sysdeps/i386/fpu/s_cosf.S: Likewise.
45090         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
45091         * sysdeps/i386/fpu/s_sinf.S: Likewise.
45092         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
45093         ieee754/flt-32 implementation for tan.
45095         * math/libm-test.inc (cos_test): Enable some large input tests for
45096         float as well
45097         (sin_test): Likewise.
45098         (sincos_test): Likewise.
45099         (tan_test): Add tests for large input.
45101         * sysdeps/i386/fpu/libm-test-ulps: Update.
45103 2012-03-15  Andreas Jaeger  <aj@suse.de>
45105         [BZ #13658]
45106         * math/libm-test.inc (cos_test): Add more test cases.
45107         (sin_test): Likewise.
45108         (sincos_test): Likewise.
45110 2012-03-15  Andreas Jaeger  <aj@suse.de>
45112         [BZ #13837]
45113         * math/libm-test.inc (cos_test): Add a test case for large input
45114         value.
45115         (sin_test): Likewise.
45116         (sincos_test): Likewise.
45118 2012-03-15  Andreas Jaeger  <aj@suse.de>
45119             Joseph Myers  <joseph@codesourcery.com>
45121         [BZ #13658]
45122         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
45123         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
45124         * sysdeps/i386/fpu/branred.c: Likewise.
45125         * sysdeps/i386/fpu/dosincos.c: Likewise.
45126         * sysdeps/i386/fpu/mpa.c: Likewise.
45127         * sysdeps/i386/fpu/s_cos.S: Likewise.
45128         * sysdeps/i386/fpu/s_sin.S: Likewise.
45129         * sysdeps/i386/fpu/s_sincos.S: Likewise.
45130         * sysdeps/i386/fpu/sincos32.c: Likewise.
45132         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
45133         Define.
45134         (libc_feupdateenv_53bit): Define.
45135         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
45136         Define.
45137         (libc_feupdateenv_53bit): Define.
45139         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
45140         53 bit (without extend i386 double precision).
45142         * math/libm-test.inc (sincos_test): Add tests for large input.
45143         (sin): Likewise.
45144         (cos): Likewise.
45146         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
45148 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
45150         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45152 2012-03-15  David S. Miller  <davem@davemloft.net>
45154         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
45155         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
45156         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
45157         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
45158         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
45159         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
45160         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
45161         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
45162         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
45163         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
45164         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
45165         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
45166         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
45167         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
45168         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
45169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
45170         file.
45171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
45172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
45173         file.
45174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
45175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
45176         file.
45177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
45178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
45179         file.
45180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
45181         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
45182         fmin/fmax sysdep routines.
45183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
45185 2012-03-14  David S. Miller  <davem@davemloft.net>
45187         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
45188         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
45189         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
45190         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
45191         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
45192         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
45193         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
45194         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
45195         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
45196         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
45197         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
45198         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
45199         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
45200         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
45201         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
45202         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
45203         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
45204         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
45205         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
45206         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
45207         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
45208         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
45209         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
45210         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
45211         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
45212         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
45213         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
45214         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
45215         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
45216         routines.
45217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
45218         file.
45219         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
45220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
45221         file.
45222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
45223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
45224         file.
45225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
45226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
45227         file.
45228         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
45229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
45230         file.
45231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
45232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
45233         file.
45234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
45235         file.
45236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
45237         file.
45238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
45239         file.
45240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
45241         New file.
45242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
45243         file.
45244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
45245         file.
45246         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
45247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
45248         file.
45249         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
45250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
45251         file.
45252         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
45253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
45254         file.
45255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
45256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
45257         VIS3 routines.
45259         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
45260         New file.
45262         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45264         * sysdeps/sparc/configure.in: New file.
45265         * sysdeps/sparc/configure: Generate.
45266         * configure.in (libc_cv_sparc_as_vis3): Substitute.
45267         * configure: Regenerate.
45268         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
45269         * config.make.in (have-as-vis3): New.
45270         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
45271         available use -Av9d instead of -Av9a.
45272         * sysdeps/sparc/sparc64/Makefile: Likewise.
45273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
45274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
45275         New file.
45276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
45277         file.
45278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
45279         New file.
45280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
45281         file.
45282         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
45283         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
45284         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
45285         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
45286         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
45288         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
45289         fzeros/fnegs to load 0x80000000 into a float register instead of
45290         using the stack.
45291         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
45293 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
45295         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45296         bits/syscall.h.
45297         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
45298         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
45299         ($(inst_includedir)/bits/syscall.h): Remove rule.
45300         ($(objpfx)bits/syscall.d): Include instead of
45301         $(objpfx)syscall-list.d.
45302         (generated): Change syscall-list.h and syscall-list.d to
45303         bits/syscall.h and bits/syscall.d.
45305 2012-03-14  Roland McGrath  <roland@hack.frob.com>
45307         [BZ #13846]
45308         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
45310 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
45312         [BZ #13841]
45313         * math/s_csqrt.c: Include <float.h>.
45314         (__csqrt): Scale large or subnormal inputs.
45315         * math/s_csqrtf.c: Likewise.
45316         * math/s_csqrtl.c: Likewise.
45317         * math/libm-test.inc (csqrt_test): Add more tests.
45318         * sysdeps/i386/fpu/libm-test-ulps: Update.
45319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45321         [BZ #13840]
45322         * math/libm-test.inc (hypot_test): Add more tests.
45324 2012-03-13  David S. Miller  <davem@davemloft.net>
45326         [BZ #13840]
45327         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
45328         double-precision for the calculation instead of scaling.
45330 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
45332         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
45333         manipulate bits before adding and subtracting TWO52[sx].
45334         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
45335         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
45336         Likewise.
45337         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
45339 2012-03-13  David S. Miller  <davem@davemloft.net>
45341         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
45342         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
45343         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
45344         rtld-global-offsets.h
45345         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45347         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
45348         large parameters.
45350         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
45352         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
45353         'err' in the ifdef scope in which it is actually used.
45355         * nss/nss_db/db-init.c: Include string.h
45357 2012-03-12  David S. Miller  <davem@davemloft.net>
45359         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45360         masking out of the most significant byte of random value used.
45361         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45362         Fix coding style in previous change.
45364         * sysdeps/unix/sysv/linux/kernel-features.h
45365         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
45366         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
45367         expression.
45368         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
45369         later.
45371 2012-03-11  David S. Miller  <davem@davemloft.net>
45373         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
45374         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
45375         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
45376         for 'resultvar' otherwise things get truncated on 64-bit.
45378         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45379         Fix masking out of the most significant byte of random value used.
45381         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45383 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
45385         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45387 2012-03-09  David S. Miller  <davem@davemloft.net>
45389         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
45390         variables with appropriate CPP guards.
45391         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
45392         from the frame pointer, not the stack pointer.  Correct layout
45393         comments.  Fix test on resulting framesize and the management of
45394         the outregs buffer for pltexit.  Preserve floating point return
45395         values across _dl_call_pltexit call.
45396         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
45397         framesize and the management of the outregs buffer for pltexit.
45398         Preserve floating point return values across _dl_call_pltexit
45399         call.
45400         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
45401         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
45402         (la_sparc64_gnu_pltexit): New functions.
45403         (print_exit): Fix format string for return register value.
45405 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
45407         * sunrpc/Makefile (others): Add rpcgen.
45408         ($(objpfx)rpcgen): Remove special build rule and dependency on
45409         libc.
45410         * sunrpc/rpcgen.c: New file.
45412 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
45414         [BZ #13673]
45415         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
45416         * stdio-common/bug-vfprintf-nargs.c: Likewise.
45417         * sysdeps/i386/crti.S: Likewise.
45418         * sysdeps/i386/crtn.S: Likewise.
45419         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
45420         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
45421         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
45422         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
45423         * sysdeps/sh/crti.S: Likewise.
45424         * sysdeps/sh/crtn.S: Likewise.
45425         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
45427         [BZ #13673]
45428         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
45429         with URL.
45430         * locale/programs/locfile-kw.gperf: Likewise.
45431         * locale/programs/charmap-kw.h: Regenerated.
45432         * locale/programs/locfile-kw.h: Likewise.
45434         [BZ #13673]
45435         * intl/plural.y: Replace FSF snail mail address with URL.
45436         * intl/plural.c: Regenerated.
45438 2012-03-09  Richard Henderson  <rth@twiddle.net>
45440         * include/math_private.h: Remove file.
45441         * math/math_private.h: Move file ...
45442         * sysdeps/generic/math_private.h: ... here.
45444         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
45445         * sysdeps/powerpc/fpu/math_private.h: Likewise.
45446         * sysdeps/x86_64/fpu/math_private.h: Likewise.
45448         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
45449         and <math_private.h>.
45450         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
45451         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
45452         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
45453         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
45454         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
45455         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
45456         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
45457         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45458         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45459         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45460         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45461         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45462         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45463         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45464         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45465         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45466         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45467         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45468         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45469         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45470         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45471         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45472         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45473         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45474         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
45475         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45476         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45477         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45478         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45479         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45480         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45481         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45482         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
45483         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45484         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45485         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45486         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45487         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45488         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45489         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45490         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
45491         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45492         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
45493         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
45494         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
45495         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45496         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
45497         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
45498         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45499         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45500         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
45501         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
45502         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
45503         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45504         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
45505         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45506         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45507         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
45508         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
45509         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
45510         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45511         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
45512         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45513         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45514         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
45515         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
45516         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
45517         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
45518         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
45519         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
45520         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
45521         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45522         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
45523         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45524         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
45525         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
45526         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
45527         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
45528         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
45529         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
45530         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
45531         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
45532         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
45533         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
45534         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
45535         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
45536         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
45537         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
45538         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45539         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45540         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45541         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45542         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45543         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45544         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45545         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45546         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45547         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45548         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45549         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45550         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45551         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45552         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45553         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45554         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
45555         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45556         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45557         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45558         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
45559         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45560         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
45561         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
45562         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45563         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
45564         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
45565         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45566         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
45567         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
45568         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
45569         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
45570         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
45571         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
45572         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45573         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
45574         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
45575         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
45576         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45577         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
45578         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
45579         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
45580         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
45581         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
45582         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
45583         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
45584         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
45585         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
45586         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
45587         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
45588         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
45589         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
45590         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45591         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
45592         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
45593         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
45594         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
45595         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
45596         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
45597         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
45598         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
45599         * sysdeps/ieee754/k_standard.c: Likewise.
45600         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45601         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45602         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45603         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45604         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45605         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45606         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45607         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45608         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45609         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45610         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45611         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45612         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45613         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45614         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45615         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45616         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
45617         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45618         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45619         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
45620         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
45621         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
45622         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
45623         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
45624         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
45625         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
45626         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
45627         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
45628         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
45629         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
45630         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
45631         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
45632         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
45633         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
45634         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
45635         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
45636         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
45637         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
45638         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
45639         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
45640         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
45641         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
45642         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
45643         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
45644         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
45645         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
45646         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
45647         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
45648         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
45649         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
45650         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
45651         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
45652         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
45653         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
45654         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45655         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
45656         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
45657         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
45658         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
45659         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
45660         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
45661         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
45662         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
45663         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45664         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45665         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45666         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45667         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45668         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45669         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45670         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45671         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45672         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45673         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45674         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45675         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45676         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
45677         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45678         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45679         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
45680         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
45681         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
45682         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
45683         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
45684         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
45685         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
45686         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
45687         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
45688         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
45689         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
45690         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
45691         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
45692         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
45693         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
45694         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
45695         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
45696         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
45697         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
45698         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
45699         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
45700         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
45701         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
45702         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
45703         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
45704         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
45705         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
45706         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
45707         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
45708         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
45709         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
45710         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
45711         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
45712         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
45713         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45714         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
45715         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45716         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
45717         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45718         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45719         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
45720         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45721         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
45722         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45723         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
45724         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45725         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
45726         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
45727         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
45728         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
45729         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
45730         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
45731         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
45732         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
45733         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
45734         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
45735         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
45736         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
45737         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
45738         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
45739         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
45740         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
45741         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
45742         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
45743         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
45744         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
45745         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
45746         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
45747         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
45748         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
45749         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
45750         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
45751         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
45752         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
45753         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
45754         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
45755         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
45756         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
45757         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
45758         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
45759         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
45760         * sysdeps/ieee754/s_lib_version.c: Likewise.
45761         * sysdeps/ieee754/s_matherr.c: Likewise.
45762         * sysdeps/ieee754/s_signgam.c: Likewise.
45763         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45764         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45765         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
45766         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
45767         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
45768         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
45769         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
45770         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
45771         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
45772         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
45773         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
45774         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
45775         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
45776         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
45777         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
45778         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
45779         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
45780         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
45781         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
45782         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45783         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45785 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
45787         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
45788         * sunrpc/rpc_main.c: Likewise.
45789         * sunrpc/rpc_svcout.c: Likewise.
45791 2012-03-09  David S. Miller  <davem@davemloft.net>
45793         * include/math_private.h: New file.
45795 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
45797         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
45798         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
45799         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
45800         from <bits/socket_type.h>.
45801         (enum __socket_type): Don't define here.
45802         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
45803         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45804         bits/socket_type.h.
45806         [BZ #13566]
45807         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
45808         checking __USE_GNU.
45810         * Makerules ($(inst_includedir)/%.h): New rule.
45811         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
45812         (install-others): Remove variable setting.
45813         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
45815 2012-03-08  Richard Henderson  <rth@twiddle.net>
45817         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
45818         from macro to inline function; merge with the
45819         !__LIBC_INTERNAL_MATH_INLINES version.
45820         (__ieee754_sqrtf): Likewise.
45822         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
45823         to inline function.
45824         (__rintf, __floor, __floorf): Likewise.
45826         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
45827         macro to inline function.
45828         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
45830         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
45831         not <math/math_private.h>.
45833 2012-03-08  David S. Miller  <davem@davemloft.net>
45835         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
45836         copyright year.
45837         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
45839 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
45841         * resolv/gai_misc.c (handle_requests): Fix struct timespec
45842         normalization.
45843         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
45844         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
45846 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
45848         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
45849         be defined individually, they must be defined as a block.  Define
45850         S for printing a string instead of hidint the different by using a
45851         macro for adding the 'l'.
45852         * stdio-common/tst-fphex-wide.c: Adjust.
45854 2012-03-07  Marek Polacek  <polacek@redhat.com>
45856         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
45858 2012-03-08  Marek Polacek  <polacek@redhat.com>
45860         [BZ #13806]
45861         * stdio-common/Makefile (tests): Add tst-fphex-wide.
45862         * stdio-common/tst-fphex.c: Define a few macros to make the
45863         test reusable.  Use them.
45864         * stdio-common/tst-fphex-wide.c: New file.
45866 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
45868         [BZ #6911]
45869         * manual/macros.texi (gnusystems): New macro.
45870         (nongnusystems): Likewise.
45871         (gnulinuxhurdsystems): Likewise.
45872         (gnuhurdsystems): Likewise..
45873         (gnulinuxsystems): Likewise.
45874         * manual/charset.texi: Use new macros or @theglibc{} to refer to
45875         variants of the GNU system, not "GNU system".
45876         * manual/conf.texi: Likewise.
45877         * manual/errno.texi: Likewise.  Update example of errno macro
45878         expansion.
45879         * manual/filesys.texi: Likewise.
45880         (getumask): Document as specific to GNU/Hurd.
45881         * manual/install.texi: Likewise.  Reword some references to
45882         GNU/Linux.
45883         * manual/intro.texi: Likewise.
45884         * manual/io.texi: Likewise.
45885         (File Name Portability): Detail which constraints are inapplicable
45886         to all GNU systems and which are only inapplicable to GNU/Hurd.
45887         * manual/job.texi: Likewise.
45888         * manual/llio.texi: Likewise.
45889         (O_NOCTTY): Document as present on GNU/Linux.
45890         * manual/maint.texi: Likewise.
45891         * manual/memory.texi: Likewise.
45892         * manual/pattern.texi: Likewise.
45893         * manual/pipe.texi: Likewise.
45894         * manual/process.texi: Likewise.
45895         * manual/resource.texi: Likewise.
45896         (RUSAGE_CHILDREN): Remove statement about specifying a particular
45897         child on GNU/Hurd.
45898         * manual/setjmp.texi: Likewise.
45899         * manual/signal.texi: Likewise.
45900         * manual/startup.texi: Likewise.
45901         * manual/stdio.texi: Likewise.
45902         * manual/terminal.texi: Likewise.
45903         (ONLCR): Document as POSIX.
45904         (OXTABS): Document availability on GNU/Linux as XTABS.
45905         (ONOEOT): Document availability separately from other bits.
45906         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
45907         * manual/time.texi: Likewise.
45908         * manual/users.texi: Likewise.
45909         * INSTALL: Regenerated.
45910         * sysdeps/gnu/errlist.c: Regenerated.
45912         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
45913         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
45914         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
45915         puts.
45916         * configure: Regenerated.
45918 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
45920         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
45921         default includes instead of AC_HEADER_CHECK.
45922         * sysdeps/i386/configure: Regenerated.
45924         [BZ #10716]
45925         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
45926         * math/s_cacoshf.c (__cacoshf): Likewise.
45927         * math/s_cacoshl.c (__cacoshl): Likewise.
45928         * math/s_casinh.c (__casinh): Set signs of result from argument.
45929         * math/s_casinhf.c (__casinhf): Likewise.
45930         * math/s_casinhl.c (__casinhl): Likewise.
45931         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
45932         (casinh_test): Add more tests.
45933         * sysdeps/i386/fpu/libm-test-ulps: Update.
45934         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45936 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
45938         * po/zh_TW.po: Update from translation team.
45940         * login/Makefile (distribute): Remove variable.
45941         * catgets/Makefile: Likewise.
45942         * mach/Makefile: Likewise.
45943         * malloc/Makefile: Likewise.
45944         * misc/Makefile: Likewise.
45945         * iconv/Makefile: Likewise.
45946         * nscd/Makefile: Likewise.
45947         * hurd/Makefile: Likewise.
45948         * manual/Makefile: Likewise.
45949         * locale/Makefile: Likewise.
45950         * intl/Makefile: Likewise.
45951         * conform/Makefile: Likewise.
45952         * nss/Makefile: Likewise.
45953         * time/Makefile: Likewise.
45954         * soft-fp/Makefile: Likewise.
45955         * dirent/Makefile: Likewise.
45956         * gmon/Makefile: Likewise.
45957         * po/Makefile: Likewise.
45958         * rt/Makefile: Likewise.
45959         * socket/Makefile: Likewise.
45960         * math/Makefile: Likewise.
45961         * signal/Makefile: Likewise.
45962         * debug/Makefile: Likewise.
45963         * elf/Makefile: Likewise.
45964         * timezone/Makefile: Likewise.
45965         * stdlib/Makefile: Likewise.
45966         * iconvdata/Makefile: Likewise.
45967         * sunrpc/Makefile: Likewise.
45968         * io/Makefile: Likewise.
45969         * argp/Makefile: Likewise.
45970         * inet/Makefile: Likewise.
45971         * hesiod/Makefile: Likewise.
45972         * grp/Makefile: Likewise.
45973         * csu/Makefile: Likewise.
45974         * wctype/Makefile: Likewise.
45975         * crypt/Makefile: Likewise.
45976         * libio/Makefile: Likewise.
45977         * string/Makefile: Likewise.
45978         * nis/Makefile: Likewise.
45979         * resolv/Makefile: Likewise.
45980         * stdio-common/Makefile: Likewise.
45981         * wcsmbs/Makefile: Likewise.
45982         * dlfcn/Makefile: Likewise.
45983         * posix/Makefile: Likewise.
45985         [BZ #6959]
45986         * timezone/Makefile: Don't install timezone files, just the programs
45987         and scripts.
45989 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
45991         * nss/databases.def: Add missing gshadow entry.
45993         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
45995 2012-03-06  Marek Polacek  <polacek@redhat.com>
45997         [BZ #13726]
45998         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
45999         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
46000         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
46001         * stdio-common/tst-long-dbl-fphex.c: New file.
46003 2012-03-06  David S. Miller  <davem@davemloft.net>
46005         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46006         (set_obp_int): New function.
46007         (get_obp_int): New function.
46008         (__get_clockfreq_via_dev_openprom): Likewise.
46009         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
46010         Avoid unused variable warnings on 'val' and use builtin_expect.
46011         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
46012         __builtin_expect.
46013         (INLINE_CLONE_SYSCALL): Likewise.
46015 2012-03-05  David S. Miller  <davem@davemloft.net>
46017         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46019 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
46021         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46023         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
46024         only for |x| >= 40.
46025         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46027 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
46029         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
46030         Replace gettimeofday with __vdso_gettimeofday.
46032         * sysdeps/unix/sysv/linux/x86_64/init-first.c
46033         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
46034         __vdso_clock_gettime and __vdso_getcpu.
46036         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
46037         time with __vdso_time.
46039 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
46041         * manual/lang.texi (size_t): Note types to which size_t may be
46042         equivalent with the GNU C Library, but do not describe when
46043         differences between them are significant.
46045 2012-03-05  Andreas Jaeger  <aj@suse.de>
46047         * sysdeps/i386/fpu/libm-test-ulps: Update.
46049 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
46051         [BZ #3976]
46052         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
46053         (__ieee754_pow): Save and restore rounding mode and use
46054         round-to-nearest for main computations.
46055         * math/libm-test.inc (pow_test_tonearest): New function.
46056         (pow_test_towardzero): Likewise.
46057         (pow_test_downward): Likewise.
46058         (pow_test_upward): Likewise.
46059         (main): Call the new functions.
46060         * sysdeps/i386/fpu/libm-test-ulps: Update.
46061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46063         [BZ #3976]
46064         * math/libm-test.inc (cosh_test_tonearest): New function.
46065         (cosh_test_towardzero): Likewise.
46066         (cosh_test_downward): Likewise.
46067         (cosh_test_upward): Likewise.
46068         (sinh_test_tonearest): Likewise.
46069         (sinh_test_towardzero): Likewise.
46070         (sinh_test_downward): Likewise.
46071         (sinh_test_upward): Likewise.
46072         (main): Call the new functions.
46073         * sysdeps/i386/fpu/libm-test-ulps: Update.
46074         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46076 2012-03-05  Tom de Vries  <tom@codesourcery.com>
46078         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
46079         default stack guard is set in last bytes.
46080         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
46082 2012-03-05  Kees Cook  <keescook@chromium.org>
46084         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
46086         [BZ #13656]
46087         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
46088         possibly allocate from heap instead of stack.
46089         * stdio-common/bug-vfprintf-nargs.c: New file.
46090         * stdio-common/Makefile (tests): Add nargs overflow test.
46092 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
46094         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46096 2012-03-03  Marek Polacek  <polacek@redhat.com>
46098         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
46099         * math/math_private.h: Likewise.
46100         * stdlib/tst-strtod.c: Likewise.
46101         * sysdeps/i386/i486/bits/atomic.h: Likewise.
46102         * sysdeps/x86_64/bits/atomic.h: Likewise.
46104 2012-03-02  David S. Miller  <davem@davemloft.net>
46106         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
46107         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
46108         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
46109         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
46110         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
46111         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
46112         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
46113         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
46115 2012-03-02  Roland McGrath  <roland@hack.frob.com>
46117         [BZ #13792]
46118         * manual/examples/README: New file, says the example source files
46119         can be used under GPL>=2.
46120         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
46121         line containing just "*/".
46122         * manual/examples/add.c: Add copyright header (GPL>=2).
46123         * manual/examples/argp-ex1.c: Likewise.
46124         * manual/examples/argp-ex2.c: Likewise.
46125         * manual/examples/argp-ex3.c: Likewise.
46126         * manual/examples/argp-ex4.c: Likewise.
46127         * manual/examples/atexit.c: Likewise.
46128         * manual/examples/db.c: Likewise.
46129         * manual/examples/dir.c: Likewise.
46130         * manual/examples/dir2.c: Likewise.
46131         * manual/examples/execinfo.c: Likewise.
46132         * manual/examples/filecli.c: Likewise.
46133         * manual/examples/filesrv.c: Likewise.
46134         * manual/examples/fmtmsgexpl.c: Likewise.
46135         * manual/examples/genpass.c: Likewise.
46136         * manual/examples/inetcli.c: Likewise.
46137         * manual/examples/inetsrv.c: Likewise.
46138         * manual/examples/isockad.c: Likewise.
46139         * manual/examples/longopt.c: Likewise.
46140         * manual/examples/memopen.c: Likewise.
46141         * manual/examples/memstrm.c: Likewise.
46142         * manual/examples/mkfsock.c: Likewise.
46143         * manual/examples/mkisock.c: Likewise.
46144         * manual/examples/mygetpass.c: Likewise.
46145         * manual/examples/pipe.c: Likewise.
46146         * manual/examples/popen.c: Likewise.
46147         * manual/examples/rprintf.c: Likewise.
46148         * manual/examples/search.c: Likewise.
46149         * manual/examples/select.c: Likewise.
46150         * manual/examples/setjmp.c: Likewise.
46151         * manual/examples/sigh1.c: Likewise.
46152         * manual/examples/sigusr.c: Likewise.
46153         * manual/examples/stpcpy.c: Likewise.
46154         * manual/examples/strdupa.c: Likewise.
46155         * manual/examples/strftim.c: Likewise.
46156         * manual/examples/strncat.c: Likewise.
46157         * manual/examples/subopt.c: Likewise.
46158         * manual/examples/swapcontext.c: Likewise.
46159         * manual/examples/termios.c: Likewise.
46160         * manual/examples/testopt.c: Likewise.
46161         * manual/examples/testpass.c: Likewise.
46162         * manual/examples/timeval_subtract.c: Likewise.
46164         [BZ #13792]
46165         * manual/time.texi (Elapsed Time): Move timeval_subtract example
46166         function to ...
46167         * manual/timeval_subtract.c.texi: ... here, new file.
46169 2012-03-02  David S. Miller  <davem@davemloft.net>
46171         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
46173 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
46175         [BZ #3976]
46176         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
46177         (__sin): Save and restore rounding mode and use round-to-nearest
46178         for all computations.
46179         (__cos): Save and restore rounding mode and use round-to-nearest
46180         for all computations.
46181         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
46182         <fenv.h>.
46183         (tan): Save and restore rounding mode and use round-to-nearest for
46184         all computations.
46185         * math/libm-test.inc (cos_test_tonearest): New function.
46186         (cos_test_towardzero): Likewise.
46187         (cos_test_downward): Likewise.
46188         (cos_test_upward): Likewise.
46189         (sin_test_tonearest): Likewise.
46190         (sin_test_towardzero): Likewise.
46191         (sin_test_downward): Likewise.
46192         (sin_test_upward): Likewise.
46193         (tan_test_tonearest): Likewise.
46194         (tan_test_towardzero): Likewise.
46195         (tan_test_downward): Likewise.
46196         (tan_test_upward): Likewise.
46197         (main): Call the new functions.
46198         * sysdeps/i386/fpu/libm-test-ulps: Update.
46199         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46201         [BZ #10135]
46202         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
46203         small n, then large n, before computing and testing k+n.
46204         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
46205         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
46206         Likewise.
46207         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
46208         Likewise.
46209         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
46210         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
46211         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
46212         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
46213         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
46214         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
46215         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
46216         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
46217         * math/libm-test.inc (scalbn_test): Add more tests.
46218         (scalbln_test): Likewise.
46220         * manual/filesys.texi (mode_t): Describe constraints on size and
46221         signedness, not exact equivalence to a particular type.
46222         (ino_t): Likewise.
46223         (ino64_t): Likewise.
46224         (dev_t): Likewise.
46225         (nlink_t): Likewise.
46226         (blkcnt_t): Likewise.
46227         (blkcnt64_t): Likewise.
46228         * manual/llio.texi (off_t): Likewise.
46230         [BZ #3976]
46231         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
46232         (__ieee754_exp): Save and restore rounding mode and use
46233         round-to-nearest for all computations.
46234         * math/libm-test.inc (exp_test_tonearest): New function.
46235         (exp_test_towardzero): Likewise.
46236         (exp_test_downward): Likewise.
46237         (exp_test_upward): Likewise.
46238         (main): Call the new functions.
46239         * sysdeps/i386/fpu/libm-test-ulps: Update.
46240         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46242 2012-03-01  Chris Demetriou  <cgd@google.com>
46244         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
46245         have predictable order.
46247 2012-03-01  David S. Miller  <davem@davemloft.net>
46249         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
46251         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
46252         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
46253         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
46254         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
46256         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
46257         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
46258         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
46259         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
46260         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
46261         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
46262         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
46263         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
46264         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
46266         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46268         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
46269         * sysdeps/sparc/fpu/libm-test-ulps: to here.
46270         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
46272         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
46273         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46274         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
46275         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
46276         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
46277         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
46278         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
46279         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
46280         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
46281         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
46282         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
46283         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46284         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46285         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
46286         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46287         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46288         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
46289         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
46290         * sysdeps/sparc/elf/configure: Regenerated.
46292 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
46294         * configure.in (AS, LD): Require binutils 2.20 or later.
46295         * configure: Regenerated.
46296         * manual/install.texi (Tools for Compilation): Give binutils 2.20
46297         as required minimum version.
46298         * INSTALL: Regenerated.
46300         [BZ #2541]
46301         [BZ #4108]
46302         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
46303         before squaring exponent.
46304         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
46305         bottom long double and 27 bits of top long double before squaring
46306         exponent.
46307         * math/libm-test.inc (erfc_test): Add more tests.
46308         * sysdeps/i386/fpu/libm-test-ulps: Update.
46309         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46310         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46312 2012-03-01  Kai Tietz  <ktietz@redhat.com>
46314         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
46315         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
46316         containing bit-fields.
46317         * soft-fp/extended.h (_FP_UNION_E): Likewise.
46318         * soft-fp/single.h (_FP_UNION_S): Likewise.
46319         * soft-fp/double.h (_FP_UNION_D): Likewise.
46321 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
46323         [BZ #13786]
46324         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
46325         not include ../strcmp.S.
46326         [USE_AS_STRNCASECMP_L]: Likewise.
46327         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
46328         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
46329         * sysdeps/i386/i686/multiarch/strncase_l-c.c
46330         (__strncasecmp_l_ia32): Define as alias to
46331         __strncasecmp_l_nonascii.
46333         [BZ #5794]
46334         * math/libm-test.inc (expm1_test): Add test for bug 5794.
46335         * sysdeps/i386/fpu/libm-test-ulps: Update.
46336         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46338         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
46339         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46341 2012-02-29  Jeff Law  <law@redhat.com>
46343         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
46344         out of bounds read.
46346 2012-02-29  Marek Polacek  <polacek@redhat.com>
46348         [BZ #13706]
46349         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
46350         * elf/Makefile: Add rules to run tst-unused-dep.out.
46352 2012-02-28  David S. Miller  <davem@davemloft.net>
46354         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
46355         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
46356         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
46357         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
46358         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
46359         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
46361 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
46363         * math/libm-test.inc (llround_test): Move one test from
46364         lround_test.  Use TEST_f_L in moved test.
46365         (lround_test): Move misplaced test to llround_test.  Add testcase
46366         from bug 2561.
46368 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
46370         * sysdeps/x86_64/fpu/e_expf.S: New file.
46371         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
46373 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
46375         [BZ #13637]
46376         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
46377         of remain_len that may cause incomplete multi-byte character and
46378         false match.
46379         * posix/bug-regex33.c: New file.
46380         * posix/Makefile (tests): Add bug-regex33.
46382 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
46384         * manual/macros.texi: New file.
46385         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
46386         * manual/libc.texinfo: Include macros.texi.
46387         * manual/creatute.texi: Likewise.
46388         * manual/install.texi: Likewise.
46389         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
46390         @glibcadj{} in references to the GNU C Library.
46391         * manual/charset.texi: Likewise.
46392         * manual/conf.texi: Likewise.
46393         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
46394         when not using those macros.
46395         * manual/creature.texi: Likewise.
46396         * manual/crypt.texi: Likewise.
46397         * manual/errno.texi: Likewise.
46398         * manual/filesys.texi: Likewise.
46399         * manual/header.texi: Likewise.
46400         * manual/install.texi: Likewise.
46401         * manual/intro.texi: Likewise.
46402         * manual/io.texi: Likewise.
46403         * manual/job.texi: Likewise.
46404         * manual/lang.texi: Likewise.
46405         * manual/libc.texiinfo: Likewise.
46406         * manual/llio.texi: Likewise.
46407         * manual/locale.texi: Likewise.
46408         * manual/maint.texi: Likewise.
46409         * manual/math.texi: Likewise.
46410         * manual/memory.texi: Likewise.
46411         * manual/message.texi: Likewise.
46412         * manual/nss.texi: Likewise.
46413         * manual/pattern.texi: Likewise.
46414         * manual/process.texi: Likewise.
46415         * manual/resource.texi: Likewise.
46416         * manual/search.texi: Likewise.
46417         * manual/setjmp.texi: Likewise.
46418         * manual/signal.texi: Likewise.
46419         * manual/socket.texi: Likewise.
46420         * manual/startup.texi: Likewise.
46421         * manual/stdio.texi: Likewise.
46422         * manual/string.texi: Likewise.
46423         * manual/sysinfo.texi: Likewise.
46424         * manual/syslog.texi: Likewise.
46425         * manual/terminal.texi: Likewise.
46426         * manual/time.texi: Likewise.
46427         * manual/users.texi: Likewise.
46428         * INSTALL: Regenerated.
46429         * NOTES: Regenerated.
46430         * sysdeps/gnu/errlist.c: Regenerated.
46432 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
46434         * include/dirent.h: Include <dirstream.h> before
46435         <dirent/dirent.h>.
46437 2012-02-28  David S. Miller  <davem@davemloft.net>
46439         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
46440         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
46441         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
46442         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
46444 2012-02-27  David S. Miller  <davem@davemloft.net>
46446         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
46447         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
46448         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
46449         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
46451         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
46452         frame pointer instead of stack pointer relative arg slot.
46453         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
46454         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
46455         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
46457 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
46459         [BZ #3992]
46460         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
46462 2012-02-27  David S. Miller  <davem@davemloft.net>
46464         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
46465         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
46466         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
46467         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
46468         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
46469         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
46470         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
46471         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
46473 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
46475         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
46476         later.  Allow versions 5-9.
46477         * configure: Regenerated.
46478         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
46479         required minimum version and 4.6 as recommended version.  Do not
46480         mention bugs in GCC 2.7 and 2.8.
46481         * INSTALL: Regenerated.
46483 2012-02-27  David S. Miller  <davem@davemloft.net>
46485         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
46486         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
46487         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
46488         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
46489         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
46490         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
46491         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
46492         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
46494         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
46495         manipulate bits before adding and subtracting TWO112[sx].
46496         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
46498 2012-02-27  Roland McGrath  <roland@hack.frob.com>
46500         [BZ #13775]
46501         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
46502         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
46503         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
46504         being in POSIX, because they are in 1003.1-2008.
46506         * rt/tst-aio.c: Include <fcntl.h>.
46507         * rt/tst-aio7.c: Likewise.
46508         * rt/tst-aio64.c: Likewise.
46510         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
46512 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
46514         * manual/install.texi (--with-headers): Describe headers as
46515         interface headers, not private headers.
46516         (Specific advice for GNU/Linux systems): Describe use of headers
46517         from "make headers_install", not private headers from older
46518         kernels.
46519         * INSTALL: Regenerated.
46520         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
46521         Change to 2.6.19.
46522         * sysdeps/unix/sysv/linux/configure: Regenerated.
46524         * manual/llio.texi (fclean): Remove documentation.
46526         * manual/Makefile (libc-texi-generated): New variable.  Include
46527         version.texi.
46528         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
46529         $(libc-texi-generated), not duplicated list of files.
46530         (version.texi, stamp-version): New rules.
46531         (realclean): Remove $(libc-texi-generated), not individual files
46532         from that list.  Do not remove dir-add.texinfo.
46533         * manual/libc.texinfo: Comment out uses of edition numbers and
46534         references to printed manual.  Remove last-updated dates.
46535         (EDITION): Comment out.
46536         (ISBN): Likewise.
46537         (VERSION, UPDATED): Remove.
46538         (version.texi): Include.
46540 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
46542         * sysdeps/posix/spawni.c: Include <signal.h>.
46543         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
46544         * sysdeps/pthread/aio_fsync.c: Likewise.
46546 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
46548         * conform/Makefile (tests): Run only when not cross-compiling and
46549         when fast-check is not defined.
46551         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
46552         * conform/data/limits.h-data: Fixes for POSIX2008.
46553         * conform/run-conformtest.sh: Run all tests.
46554         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
46555         headers.
46556         * include/bits/dlfcn.h: Likewise.
46557         * include/langinfo.h: Likewise.
46558         * include/monetary.h: Likewise.
46559         * include/sys/poll.h: Likewise.
46561         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
46562         for __USE_GNU.
46563         * posix/spawn.h: Define __need_sigset_t.
46564         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
46565         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
46566         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
46567         to get sigevent_t only.
46568         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
46569         only for __USE_GNU.
46570         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46571         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
46572         process_vm_writev only for __USE_GNU.
46573         * termios/termios.h: Declare tcgetsid also for POSIX2008.
46575         * conform/Makefile: For now ignore errors from run-conformtest.
46576         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
46577         POSIX to avoid namespace pollution.  Don't prepend headers.
46578         * conform/data/aio.h-data: Fixes for POSIX testing.
46579         * conform/data/fcntl.h-data: Likewise.
46580         * conform/data/glob.h-data: Likewise.
46581         * conform/data/grp.h-data: Likewise.
46582         * conform/data/pthread.h-data: Likewise.
46583         * conform/data/pwd.h-data: Likewise.
46584         * conform/data/signal.h-data: Likewise.
46585         * conform/data/spawn.h-data: Likewise.
46586         * conform/data/stdio.h-data: Likewise.
46587         * conform/data/stdlib.h-data: Likewise.
46588         * conform/data/stropts.h-data: Likewise.
46589         * conform/data/sys/mman.h-data: Likewise.
46590         * conform/data/sys/stat.h-data: Likewise.
46591         * conform/data/sys/types.h-data: Likewise.
46592         * conform/data/sys/wait.h-data: Likewise.
46593         * conform/data/time.h-data: Likewise.
46594         * conform/data/unistd.h-data: Likewise.
46595         * conform/data/utime.h-data: Likewise.
46597         * io/sys/stat.h: fchmod was always in POSIX.
46598         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
46599         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
46600         * rt/aio.h: Define __need_timespec before including <time.h>.
46601         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
46602         struct.  Add forward declaration of pthread_attr_t and use it in
46603         sigevent.
46604         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46605         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46606         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
46607         always remove CLK_TCK definition.
46609 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
46611         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
46613 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
46615         * conform/run-conformtest.sh: New file.
46616         * conform/Makefile: Run run-conformtest for tests.
46617         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
46618         support.
46620         * conform/data/uchar.h-data: New file.
46621         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
46622         * conform/data/arpa/inet.h-data: Likewise.
46623         * conform/data/assert.h-data: Likewise.
46624         * conform/data/complex.h-data: Likewise.
46625         * conform/data/cpio.h-data: Likewise.
46626         * conform/data/ctype.h-data: Likewise.
46627         * conform/data/dirent.h-data: Likewise.
46628         * conform/data/dlfcn.h-data: Likewise.
46629         * conform/data/errno.h-data: Likewise.
46630         * conform/data/fcntl.h-data: Likewise.
46631         * conform/data/float.h-data: Likewise.
46632         * conform/data/fmtmsg.h-data: Likewise.
46633         * conform/data/fnmatch.h-data: Likewise.
46634         * conform/data/ftw.h-data: Likewise.
46635         * conform/data/glob.h-data: Likewise.
46636         * conform/data/grp.h-data: Likewise.
46637         * conform/data/iconv.h-data: Likewise.
46638         * conform/data/inttypes.h-data: Likewise.
46639         * conform/data/langinfo.h-data: Likewise.
46640         * conform/data/libgen.h-data: Likewise.
46641         * conform/data/limits.h-data: Likewise.
46642         * conform/data/locale.h-data: Likewise.
46643         * conform/data/math.h-data: Likewise.
46644         * conform/data/monetary.h-data: Likewise.
46645         * conform/data/mqueue.h-data: Likewise.
46646         * conform/data/ndbm.h-data: Likewise.
46647         * conform/data/net/if.h-data: Likewise.
46648         * conform/data/netdb.h-data: Likewise.
46649         * conform/data/netinet/in.h-data: Likewise.
46650         * conform/data/nl_types.h-data: Likewise.
46651         * conform/data/poll.h-data: Likewise.
46652         * conform/data/pthread.h-data: Likewise.
46653         * conform/data/pwd.h-data: Likewise.
46654         * conform/data/regex.h-data: Likewise.
46655         * conform/data/sched.h-data: Likewise.
46656         * conform/data/search.h-data: Likewise.
46657         * conform/data/semaphore.h-data: Likewise.
46658         * conform/data/setjmp.h-data: Likewise.
46659         * conform/data/signal.h-data: Likewise.
46660         * conform/data/spawn.h-data: Likewise.
46661         * conform/data/stdarg.h-data: Likewise.
46662         * conform/data/stdio.h-data: Likewise.
46663         * conform/data/stdlib.h-data: Likewise.
46664         * conform/data/string.h-data: Likewise.
46665         * conform/data/strings.h-data: Likewise.
46666         * conform/data/stropts.h-data: Likewise.
46667         * conform/data/sys/ipc.h-data: Likewise.
46668         * conform/data/sys/mman.h-data: Likewise.
46669         * conform/data/sys/msg.h-data: Likewise.
46670         * conform/data/sys/resource.h-data: Likewise.
46671         * conform/data/sys/select.h-data: Likewise.
46672         * conform/data/sys/sem.h-data: Likewise.
46673         * conform/data/sys/shm.h-data: Likewise.
46674         * conform/data/sys/socket.h-data: Likewise.
46675         * conform/data/sys/stat.h-data: Likewise.
46676         * conform/data/sys/statvfs.h-data: Likewise.
46677         * conform/data/sys/time.h-data: Likewise.
46678         * conform/data/sys/timeb.h-data: Likewise.
46679         * conform/data/sys/times.h-data: Likewise.
46680         * conform/data/sys/types.h-data: Likewise.
46681         * conform/data/sys/uio.h-data: Likewise.
46682         * conform/data/sys/un.h-data: Likewise.
46683         * conform/data/sys/utsname.h-data: Likewise.
46684         * conform/data/sys/wait.h-data: Likewise.
46685         * conform/data/syslog.h-data: Likewise.
46686         * conform/data/tar.h-data: Likewise.
46687         * conform/data/termios.h-data: Likewise.
46688         * conform/data/utime.h-data: Likewise.
46689         * conform/data/utmpx.h-data: Likewise.
46690         * conform/data/varargs.h-data: Likewise.
46691         * conform/data/wchar.h-data: Likewise.
46692         * conform/data/wctype.h-data: Likewise.
46693         * conform/data/wordexp.h-data: Likewise.
46695         * include/stropts.h: New file.
46696         * include/uchar.h: New file.
46697         * include/aio.h: Changes to allow conformtest.pl to use the headers.
46698         * include/assert.h: Likewise.
46699         * include/ctype.h: Likewise.
46700         * include/dirent.h: Likewise.
46701         * include/dlfcn.h: Likewise.
46702         * include/fcntl.h: Likewise.
46703         * include/fnmatch.h: Likewise.
46704         * include/glob.h: Likewise.
46705         * include/grp.h: Likewise.
46706         * include/libio.h: Likewise.
46707         * include/locale.h: Likewise.
46708         * include/math.h: Likewise.
46709         * include/net/if.h: Likewise.
46710         * include/netdb.h: Likewise.
46711         * include/netinet/in.h: Likewise.
46712         * include/pthread.h: Likewise.
46713         * include/pwd.h: Likewise.
46714         * include/regex.h: Likewise.
46715         * include/sched.h: Likewise.
46716         * include/search.h: Likewise.
46717         * include/setjmp.h: Likewise.
46718         * include/signal.h: Likewise.
46719         * include/stdio.h: Likewise.
46720         * include/stdlib.h: Likewise.
46721         * include/string.h: Likewise.
46722         * include/sys/cdefs.h: Likewise.
46723         * include/sys/mman.h: Likewise.
46724         * include/sys/msg.h: Likewise.
46725         * include/sys/resource.h: Likewise.
46726         * include/sys/select.h: Likewise.
46727         * include/sys/socket.h: Likewise.
46728         * include/sys/stat.h: Likewise.
46729         * include/sys/statvfs.h: Likewise.
46730         * include/sys/time.h: Likewise.
46731         * include/sys/times.h: Likewise.
46732         * include/sys/uio.h: Likewise.
46733         * include/sys/utsname.h: Likewise.
46734         * include/sys/wait.h: Likewise.
46735         * include/termios.h: Likewise.
46736         * include/time.h: Likewise.
46737         * include/ulimit.h: Likewise.
46738         * include/unistd.h: Likewise.
46739         * include/utime.h: Likewise.
46740         * include/wchar.h: Likewise.
46741         * include/wctype.h: Likewise.
46742         * include/wordexp.h: Likewise.
46744         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
46746         * time/time.h: TIME_UTC must be a macro.
46747         Make timespec_get available for ISO C11 only as well.
46749 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
46751         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
46752         Reported by Peng Haitao <penght@cn.fujitsu.com>.
46754 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
46756         * configure.in: Use -o not -a in test for unsupported multi-arch.
46758 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
46760         * manual/texinfo.tex: Update to version 2012-01-19.16.
46762 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
46764         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
46766 2012-02-24  Roland McGrath  <roland@hack.frob.com>
46768         [BZ #13738]
46769         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
46770         * manual/fdl-1.3.texi: New file.
46771         * manual/fdl-1.1.texi: File removed.
46773         [BZ #13738]
46774         * manual/libc.texinfo (FDL_VERSION): New @set.
46775         Use it for mention of FDL in cover text.
46776         (Documentation License): Use it in @include file name.
46778 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46779             Roland McGrath  <roland@hack.frob.com>
46781         [BZ #5461]
46782         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
46783         (not LONG_LONG_MAX and LONG_LONG_MIN.
46784         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
46785         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
46786         name.
46787         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
46789 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46791         [BZ #2547]
46792         [BZ #11365]
46793         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
46794         manipulate bits before adding and subtracting TWO23[sx].
46795         * math/libm-test.inc (nearbyint_test): Add more tests.
46797 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46799         [BZ #2548]
46800         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
46801         bits before adding and subtracting TWO23[sx].
46802         * math/libm-test.inc (rint_test): Add more tests.
46803         (rint_test_tonearest): Likewise.
46804         (rint_test_towardzero): Likewise.
46805         (rint_test_downward): Likewise.
46806         (rint_test_upward: Likewise.
46808 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46810         [BZ #10110]
46811         * include/stdc-predef.h: New file.  Extracted from features.h.
46812         * include/features.h: Include stdc-predef.h.
46813         * Makefile (headers): Add stdc-predef.h.
46814         * CONFORMANCE (Compiler limitations): Update.
46816 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46818         * manual/libc.texinfo (VERSION, UPDATED): Revert.
46820 2012-02-21  David S. Miller  <davem@davemloft.net>
46822         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
46823         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
46825 2012-02-20  David S. Miller  <davem@davemloft.net>
46827         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
46828         using a normal save/restore sequence, rather than allocating a
46829         dummy stack frame just to store a frame pointer and restore.
46830         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46832 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
46834         * manual/install.texi: Fix stray word in line-wrapped comment.
46836 2012-02-20  David S. Miller  <davem@davemloft.net>
46838         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
46839         both binutils and gcc support GOTDATA.
46841         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
46842         "rd %pc" in the PIC register setup sequences.
46844         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
46845         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
46846         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
46847         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
46848         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
46849         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
46850         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46851         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46852         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
46853         (SYSCALL_ERROR_HANDLER): Likewise.
46854         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
46855         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46856         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
46857         (SYSCALL_ERROR_HANDLER): Likewise.
46859         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
46860         (HAVE_GCC_GOTDATA): New.
46861         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
46862         relocation support in both binutils and gcc.
46863         * sysdeps/sparc/elf/configure: Regenerate.
46865         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
46866         * sysdeps/sparc/sparc32/elf/configure: Delete.
46867         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
46868         * sysdeps/sparc/sparc64/elf/configure: Delete.
46869         * sysdeps/sparc/elf/configure.in: New file.
46870         * sysdeps/sparc/elf/configure: Generate.
46872         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
46873         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
46874         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
46875         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
46876         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
46878 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
46880         * manual/install.texi: Do not mention specific glibc version
46881         numbers.
46882         * manual/libc.texinfo (VERSION, UPDATED): Update.
46883         (@copying): Use @copyright{} and range of years.
46885 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
46887         [BZ #13695]
46888         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
46889         [crti.S not in sysdirs] (generated): Do not append.
46890         [crti.S not in sysdirs] (omit-deps): Likewise.
46891         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
46892         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
46893         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
46894         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
46895         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
46896         Likewise.
46897         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
46898         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
46899         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
46900         * csu/defs.awk: Remove file.
46901         * sysdeps/generic/initfini.c: Likewise.
46902         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
46903         variable.
46904         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
46905         Likewise.
46907 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
46909         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
46910         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
46911         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
46912         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
46913         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
46914         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
46915         <bits/epoll.h>.
46916         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
46917         (__EPOLL_PACKED): Define to empty if not defined by
46918         <bits/epoll.h>.
46919         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
46920         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46921         bits/epoll.h.
46923 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
46925         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
46926         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
46927         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
46928         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
46929         <bits/timerfd.h>.
46930         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
46931         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46932         bits/timerfd.h.
46934 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
46936         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
46937         in C locale.
46938         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46939         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
46940         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
46941         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46943 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
46945         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46946         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
46948 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
46950         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
46951         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
46952         defined.
46953         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
46954         Likewise.
46955         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
46956         entry for 2.16.
46958 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
46960         * math/w_acos.c: Use non-signaling floating-point comparisons.
46961         * math/w_acosf.c: Likewise.
46962         * math/w_acosh.c: Likewise.
46963         * math/w_acoshf.c: Likewise.
46964         * math/w_acoshl.c: Likewise.
46965         * math/w_acosl.c: Likewise.
46966         * math/w_asin.c: Likewise.
46967         * math/w_asinf.c: Likewise.
46968         * math/w_asinl.c: Likewise.
46969         * math/w_atanh.c: Likewise.
46970         * math/w_atanhf.c: Likewise.
46971         * math/w_atanhl.c: Likewise.
46972         * math/w_exp2.c: Likewise.
46973         * math/w_exp2f.c: Likewise.
46974         * math/w_exp2l.c: Likewise.
46975         * math/w_j0.c: Likewise.
46976         * math/w_j0f.c: Likewise.
46977         * math/w_j0l.c: Likewise.
46978         * math/w_j1.c: Likewise.
46979         * math/w_j1f.c: Likewise.
46980         * math/w_j1l.c: Likewise.
46981         * math/w_jn.c: Likewise.
46982         * math/w_jnf.c: Likewise.
46983         * math/w_log.c: Likewise.
46984         * math/w_log10.c: Likewise.
46985         * math/w_log10f.c: Likewise.
46986         * math/w_log10l.c: Likewise.
46987         * math/w_log2.c: Likewise.
46988         * math/w_log2f.c: Likewise.
46989         * math/w_log2l.c: Likewise.
46990         * math/w_logf.c: Likewise.
46991         * math/w_logl.c: Likewise.
46992         * math/w_sqrt.c: Likewise.
46993         * math/w_sqrtf.c: Likewise.
46994         * math/w_sqrtl.c: Likewise.
46995         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46996         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
46997         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46998         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
46999         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
47001 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
47003         [BZ #9739]
47004         * manual/string.texi (strnlen): Use correct parameter name in
47005         equivalent expression.
47007 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
47009         [BZ #11174]
47010         * manual/users.texi (seteuid): Consistently use neweuid for
47011         argument name.
47013 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
47015         [BZ #13704]
47016         * manual/nss.texi (Services in the NSS configuration): Correct
47017         list of services in example configuration file.
47019 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
47021         [BZ #11322]
47022         * manual/arith.texi: Remove statements about negative zero
47023         behaving identically to zero.
47025 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
47027         [BZ #5993]
47028         * manual/install.texi: Do not document upgrading from libc5.
47030 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
47032         [BZ #4596]
47033         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
47035 2012-02-18  David S. Miller  <davem@davemloft.net>
47037         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
47038         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
47039         %o7 across the call.
47040         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
47041         instead.
47042         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
47043         SETUP_PIC_REG_LEAF.
47044         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47045         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
47046         * sysdeps/sparc/crtn.S: Likewise.
47048 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
47050         * aout/Makefile: Remove.
47052 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
47054         [BZ #13058]
47055         * manual/examples/argp-ex1.c (main): Format definition in GNU
47056         style.
47057         * manual/examples/argp-ex2.c (main): Likewise.
47058         * manual/examples/argp-ex3.c (main): Likewise.
47059         * manual/examples/argp-ex4.c (main): Likewise.
47060         * manual/examples/longopt.c (main): Use new-style prototype
47061         definition.
47062         * manual/examples/strncat.c (main): Specify return type and use
47063         (void) for arguments.
47064         * manual/examples/subopt.c (main): Use char **argv argument.
47066 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
47068         [BZ #5077]
47069         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
47070         rounding modes.
47072 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
47074         [BZ #6907]
47075         * manual/string.texi (strchr): Change when strchrnul is
47076         recommended.
47078 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
47080         [BZ #174]
47081         * manual/locale.texi (setlocale): Document LOCPATH.
47083 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
47085         [BZ #10210]
47086         * manual/process.texi (execle): Move @dots{} before last argument.
47088 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
47090         [BZ #12047]
47091         * manual/charset.texi (Generic Charset Conversion): Fix typo
47092         (LC_TYPE -> LC_CTYPE).
47094 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
47096         [BZ #5805]
47097         * manual/arith.texi (scalbn): Use @var{} on parameter names.
47098         (scalbnf): Likewise.
47099         (scalbnl): Likewise.
47100         (scalbln): Likewise.
47101         (scalblnf): Likewise.
47102         (scalblnl): Likewise.
47103         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
47104         (vwarnx): Likewise.
47105         (verr): Likewise.
47106         (verrx): Likewise.
47107         * manual/filesys.texi (telldir): Use braces around return type.
47108         * manual/llio.texi (mmap): Add space after comma.
47109         (mmap64): Likewise.
47110         * manual/math.texi (jn): Use @var{} on parameter names.
47111         (jnf): Likewise.
47112         (jnl): Likewise.
47113         (yn): Likewise.
47114         (ynf): Likewise.
47115         (ynl): Likewise.
47116         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
47117         line.
47118         * manual/resource.texi (ulimit): Use @dots{} instead of literal
47119         "...".
47120         (sched_get_priority_min): Remove semicolon on @deftypefun line.
47121         (sched_get_priority_max): Likewise.
47122         * manual/signal.texi (sigvec): Add space after comma.
47123         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
47124         names.
47125         (if_indextoname): Likewise.
47126         (if_freenameindex): Likewise.
47127         (sendto): Use ',' instead of '.' in prototype.
47128         * manual/startup.texi (syscall): Use @dots{} instead of literal
47129         "...".
47130         * manual/stdio.texi (__fpending): Separate initial words of
47131         paragraph from @deftypefun line.
47132         * manual/syslog.texi (syslog): Use @dots{} instead of literal
47133         "...".
47134         (vsyslog): Use @var{} on parameter names.
47135         * manual/terminal.texi (stty): Use @var{} on parameter names.
47136         * manual/users.texi (getutmp): Use @var{} on parameter names.
47137         (getutmpx): Likewise.
47139 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
47141         [BZ #6884]
47142         * manual/stdio.texi (fopen): Fix typos in description of
47143         ",ccs=STRING".
47145 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
47147         [BZ #4026]
47148         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
47149         get clock_id definition.
47151 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
47153         [BZ #4822]
47154         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
47155         (madvise): Cast every argument to void on its own.
47157 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
47159         [BZ #9902]
47160         * manual/startup.texi (Exit Status): Fix typo.
47162 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
47164         [BZ #10140]
47165         * manual/examples/argp-ex1.c: Include <stdlib.h>.
47166         * manual/examples/argp-ex2.c: Likewise.
47167         * manual/examples/argp-ex3.c: Likewise.
47169 2012-02-16  Richard Henderson  <rth@redhat.com>
47171         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
47172         * sysdeps/s390/s390-32/initfini.c: Remove.
47173         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
47174         * sysdeps/s390/s390-64/initfini.c: Remove.
47176 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47178         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
47179         compiler output for sysdeps/generic/initfini.c.
47180         * sysdeps/sh/elf/initfini.c: Remove file.
47182 2012-02-16  David S. Miller  <davem@davemloft.net>
47184         [BZ #11494]
47185         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
47187         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
47188         * sysdeps/sparc/crti.S: New file.
47189         * sysdeps/sparc/crtn.S: New file.
47190         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
47191         * sysdeps/sparc/sparc64/Makefile: Likewise.
47193 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
47195         [BZ #3335]
47196         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
47198 2012-02-15  Roland McGrath  <roland@hack.frob.com>
47200         [BZ #4822]
47201         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
47203         * mach/devstream.c (cookie_io_functions_t): Macro removed.
47204         (write, read, close): Likewise.
47205         Patch by Aurelien Jarno <aurelien@aurel32.net>.
47207 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
47209         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
47210         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
47211         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
47212         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
47213         <bits/signalfd.h>.
47214         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
47215         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47216         bits/signalfd.h.
47218 2012-02-14  Marek Polacek  <polacek@redhat.com>
47220         * sysdeps/x86_64/crti.S: New file.
47221         * sysdeps/x86_64/crtn.S: New file.
47222         * sysdeps/x86_64/elf/initfini.c: Remove file.
47224 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
47226         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
47227         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
47228         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
47229         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
47230         <bits/inotify.h>.
47231         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
47232         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47233         bits/inotify.h.
47235 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
47237         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
47238         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
47239         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
47240         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
47241         <bits/eventfd.h>.
47242         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
47243         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47244         bits/eventfd.h.
47246 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
47248         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
47249         __feraiseexcept instead of feraiseexcept.
47251         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
47252         nanosleep invocations.
47253         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
47254         strings, and add error checking for a nanosleep invocations.
47256 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
47258         Replace FSF snail mail address with URLs, as per GNU coding standards.
47259         Most of the snail mail addresses were wrong anyway, and omitting
47260         them makes the source code easier to maintain.  Almost all of the
47261         changes are to license notices and to locale LC_IDENTIFICATION
47262         addresses, except for this one:
47263         * manual/libc.texinfo: In "Published by", give the FSF's URL,
47264         not its snail mail address.
47266 2012-02-09  Richard Henderson  <rth@twiddle.net>
47268         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
47269         of kernel-features.h.
47271         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
47273 2012-02-08  Marek Polacek  <polacek@redhat.com>
47275         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
47276         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
47277         * sysdeps/gnu/_G_config.h: Likewise.
47278         * sysdeps/generic/_G_config.h: Likewise.
47280 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
47282         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
47283         tests.
47284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47286         * sysdeps/powerpc/powerpc32/crti.S: New file.
47287         * sysdeps/powerpc/powerpc32/crtn.S: New file.
47288         * sysdeps/powerpc/powerpc64/crti.S: New file.
47289         * sysdeps/powerpc/powerpc64/crtn.S: New file.
47291         * Makeconfig (have-initfini): Don't set.
47292         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
47293         * configure.in (nopic_initfini): Don't substitute.
47294         * config.h.in (HAVE_INITFINI): Don't #undef.
47295         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
47296         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
47298 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
47300         Support crti.S and crtn.S provided directly by architectures.
47301         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
47302         [crti.S in sysdirs] (omit-deps): Likewise.
47303         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
47304         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
47305         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
47306         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
47307         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
47308         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
47309         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
47310         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
47311         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
47312         compiler output for sysdeps/generic/initfini.c.
47313         * sysdeps/i386/elf/Makefile: Remove file.
47314         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
47316 2012-02-07  Marek Polacek  <polacek@redhat.com>
47318         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
47319         * sysdeps/gnu/_G_config.h: Likewise.
47320         * sysdeps/mach/hurd/_G_config.h: Likewise.
47322 2012-02-07  Marek Polacek  <polacek@redhat.com>
47324         * math/Makefile (tests): Add tst-CMPLX2.
47325         * math/tst-CMPLX2.c: New file.
47327 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
47329         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47331         * math/libm-test.inc (jn_test): Add missing L suffix.
47333 2012-02-06  Marek Polacek  <polacek@redhat.com>
47335         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
47336         * sysdeps/i386/fpu/e_powf.S: Likewise.
47337         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47338         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
47339         * sysdeps/i386/fpu/e_acosh.S: Likewise.
47340         * sysdeps/i386/fpu/e_pow.S: Likewise.
47341         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
47342         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47343         * sysdeps/i386/fpu/s_expm1.S: Likewise.
47344         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
47345         * sysdeps/i386/fpu/e_log2.S: Likewise.
47346         * sysdeps/i386/fpu/e_log2l.S: Likewise.
47347         * sysdeps/i386/fpu/e_scalb.S: Likewise.
47348         * sysdeps/i386/fpu/e_powl.S: Likewise.
47349         * sysdeps/i386/fpu/s_log1p.S: Likewise.
47350         * sysdeps/i386/fpu/e_log10f.S: Likewise.
47351         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
47352         * sysdeps/i386/fpu/e_logl.S: Likewise.
47353         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
47354         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
47355         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
47356         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
47357         * sysdeps/i386/fpu/e_log2f.S: Likewise.
47358         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47359         * sysdeps/i386/fpu/e_log.S: Likewise.
47360         * sysdeps/i386/fpu/s_cexp.S: Likewise.
47361         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47362         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
47363         * sysdeps/i386/fpu/e_logf.S: Likewise.
47364         * sysdeps/i386/fpu/e_log10l.S: Likewise.
47365         * sysdeps/i386/fpu/e_atanh.S: Likewise.
47366         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
47367         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
47368         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
47369         * sysdeps/i386/fpu/e_log10.S: Likewise.
47370         * sysdeps/i386/fpu/s_frexp.S: Likewise.
47371         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47372         * sysdeps/i386/fpu/s_asinh.S: Likewise.
47373         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
47374         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47375         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
47376         * sysdeps/i386/asm-syntax.h: Likewise.
47377         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47378         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47379         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47380         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
47381         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
47382         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47383         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
47384         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
47385         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47386         * sysdeps/powerpc/sysdep.h: Likewise.
47387         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
47388         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
47390 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
47392         [BZ #411]
47393         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
47395 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
47397         * sysdeps/i386/sysdep.h: Include <features.h>.
47398         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
47399         version.
47401 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
47403         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
47404         Define.
47405         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
47406         LOAD_PIC_REG_STR.
47408 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
47410         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
47411         (SETUP_PIC_REG): Use GET_PC_THUNK.
47412         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
47413         macro.
47415 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
47417         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
47418         for non-PIC compilation.
47419         (SETUP_PIC_REG): Add .p2align directive.
47420         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
47421         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
47422         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
47423         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
47424         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
47425         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
47426         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
47427         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47428         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
47429         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
47430         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
47431         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
47432         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
47433         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
47434         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
47435         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
47436         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
47437         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
47438         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
47439         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
47440         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
47441         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
47442         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
47443         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
47444         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
47445         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
47446         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
47447         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
47448         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
47449         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
47450         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
47451         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47452         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
47453         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
47454         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
47455         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
47456         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
47457         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
47458         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
47459         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
47460         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
47462 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
47464         * math/tst-CMPLX.c: Include <stdio.h>.
47466 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
47468         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
47469         float.
47470         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
47471         * sysdeps/sparc/bits/mathdef.h: Likewise.
47473 2012-01-31  Marek Polacek  <polacek@redhat.com>
47475         * libio/libio.h: Don't define _PARAMS.
47476         * locale/programs/config.h: Don't define PARAMS.
47477         * stdlib/strtol_l.c: Likewise.
47478         (__strtol_l): Remove PARAMS from the prototype.
47480 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
47482         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
47483         names.  Just use the correct names.  Remove unnecessary wrapper
47484         functions.
47485         * malloc/arena.c: Likewise.
47486         * malloc/hooks.c: Likewise.
47488         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
47489         ARENA_TEST says not to.  Simplify test for creation of a new arena.
47490         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
47492 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
47494         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
47495         into tail calls.
47496         (update_get_addr): New function.
47497         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
47498         GET_ADDR_MODULE parameter.
47500 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
47502         * crypt/cert.c: Remove __STDC__ conditionals.
47503         * crypt/crypt-entry.c: Likewise.
47504         * crypt/crypt_util.c: Likewise.
47505         * libio/filedoalloc.c: Likewise.
47506         * libio/fileops.c: Likewise.
47507         * libio/genops.c: Likewise.
47508         * libio/iofclose.c: Likewise.
47509         * libio/iofdopen.c: Likewise.
47510         * libio/iofopen.c: Likewise.
47511         * libio/iofopen64.c: Likewise.
47512         * libio/iogetdelim.c: Likewise.
47513         * libio/iopopen.c: Likewise.
47514         * libio/obprintf.c: Likewise.
47515         * libio/oldfileops.c: Likewise.
47516         * libio/oldiofclose.c: Likewise.
47517         * libio/oldiofdopen.c: Likewise.
47518         * libio/oldiofopen.c: Likewise.
47519         * libio/oldiopopen.c: Likewise.
47520         * libio/wfiledoalloc.c: Likewise.
47521         * libio/wgenops.c: Likewise.
47522         * locale/programs/xmalloc.c: Likewise.
47523         * misc/syslog.c: Likewise.
47524         * stdio-common/xbug.c: Likewise.
47525         * string/memchr.c: Likewise.
47526         * string/memcmp.c: Likewise.
47527         * string/memrchr.c: Likewise.
47528         * string/rawmemchr.c: Likewise.
47529         * sysdeps/posix/getcwd.c: Likewise.
47530         * time/strftime_l.c: Likewise.
47532 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
47534         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
47535         * config.make.in (config-cflags-sse2avx): Define.
47536         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
47537         Fix typo.
47539 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
47541         * scripts/config.guess: Update from upstream config git repository.
47542         * scripts/config.sub: Likewise.
47544 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
47546         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
47547         (EM_NUM): Update.
47548         (R_TILEPRO_*, R_TILEGX_*): New macros.
47550         * scripts/firstversions.awk: Fix bug in version range handling.
47552         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
47554         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
47556         * include/sys/epoll.h: New file.
47557         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
47558         libc_hidden_def.
47560 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
47562         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
47563         Avoid unnecessary __WORDSIZE == 64 test.
47564         (fmaxf): Use VEX format if possible.
47565         (fmax): Likewise.
47566         (fminf): Likewise.
47567         (fmin): Likewise.
47569         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
47570         * math/math_private.h: Remove libc_fegetround* and
47571         libc_fesetround*.
47572         * sysdeps/i386/configure.in: Check for -msse2avx.
47573         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
47574         also if SSE2AVX is defined.
47575         Remove libc_fegetround* and libc_fesetround*.
47576         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
47577         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
47578         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
47579         of HAS_YMM_USABLE.
47580         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47581         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47582         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47583         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47584         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47586         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
47588 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47590         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
47591         size is not set.
47592         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47594 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
47596         [BZ #13618]
47597         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
47598         relocation.
47599         * Makeconfig (libm): Define.
47600         * elf/Makefile: Add rules to build and run tst-relsort1.
47601         * elf/tst-relsort1.c: New file.
47602         * elf/tst-relsort1mod1.c: New file.
47603         * elf/tst-relsort1mod2.c: New file.
47605 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
47607         * math/s_ldexp.c: Remove __STDC__ conditionals.
47608         * math/s_ldexpf.c: Likewise.
47609         * math/s_ldexpl.c: Likewise.
47610         * math/s_nextafter.c: Likewise.
47611         * math/s_nexttowardf.c: Likewise.
47612         * math/s_significand.c: Likewise.
47613         * math/s_significandf.c: Likewise.
47614         * math/s_significandl.c: Likewise.
47615         * math/w_jnl.c: Likewise.
47616         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
47617         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
47618         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
47619         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
47620         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
47621         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47622         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
47623         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
47624         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47625         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47626         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
47627         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47628         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47629         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
47630         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47631         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47632         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
47633         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47634         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47635         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47636         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47637         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47638         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47639         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47640         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47641         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47642         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47643         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47644         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
47645         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47646         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47647         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
47648         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47649         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
47650         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
47651         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47652         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
47653         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
47654         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
47655         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
47656         * sysdeps/ieee754/k_standard.c: Likewise.
47657         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47658         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47659         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
47660         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
47661         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
47662         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
47663         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47664         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
47665         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
47666         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
47667         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
47668         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
47669         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
47670         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
47671         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
47672         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
47673         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
47674         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47675         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47676         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
47677         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47678         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47679         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
47680         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
47681         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47682         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
47683         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47684         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47685         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47686         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
47687         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
47688         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
47689         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
47690         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
47691         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
47692         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
47693         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
47694         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
47695         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
47696         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
47697         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
47698         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
47699         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
47700         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
47701         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
47702         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
47703         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
47704         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47705         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
47706         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
47707         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
47708         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47709         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47710         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
47711         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
47712         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
47713         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
47714         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47715         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47716         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47717         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47718         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
47719         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
47720         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47721         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47722         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47723         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47724         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
47725         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
47726         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47727         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47728         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47729         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47730         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
47731         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
47732         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47733         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
47734         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
47735         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
47736         * sysdeps/ieee754/s_matherr.c: Likewise.
47737         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
47738         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
47739         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47740         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
47742 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
47744         * crypt/md5.h: Remove __STDC__ conditionals.
47745         * libio/libioP.h: Likewise.
47746         * locale/programs/config.h: Likewise.
47747         * sysdeps/generic/sysdep.h: Likewise.
47748         * sysdeps/i386/asm-syntax.h: Likewise.
47749         * sysdeps/s390/asm-syntax.h: Likewise.
47750         * sysdeps/unix/sysdep.h: Likewise.
47751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
47752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
47754 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
47756         * libio/libio.h: Remove __STDC__ conditionals.
47757         * malloc/obstack.h: Likewise.
47758         * math/complex.h: Likewise.
47759         * math/math.h: Likewise.
47760         * sysdeps/generic/_G_config.h: Likewise.
47761         * sysdeps/gnu/_G_config.h: Likewise.
47762         * sysdeps/mach/hurd/_G_config.h: Likewise.
47763         * sysdeps/powerpc/bits/mathdef.h: Likewise.
47764         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
47765         * sysdeps/sparc/bits/mathdef.h: Likewise.
47767 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
47769         [BZ #13583]
47770         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
47771         Clean up HAS_* macros.
47772         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
47773         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
47774         possible.
47775         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
47776         HAS_AVX.
47777         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47778         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47779         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47780         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47781         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47783 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
47785         * elf/tst-unique3.cc (gets): Remove declaration.
47786         * elf/tst-unique3lib.cc (gets): Likewise.
47787         * elf/tst-unique3lib2.cc (gets): Likewise.
47788         * elf/tst-unique4.cc (gets): Likewise.
47790 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
47792         * include/stdio.h: Add C++ protection.  Add gets declarations and
47793         definitions.
47794         * debug/tst-chk1.c: Don't declare gets here.
47795         * stdio-common/tst-gets.c: Likewise.
47797 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
47799         * posix/glob: Remove directory.
47801 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
47803         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
47805 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
47807         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
47808         of the non-standard EPFNOSUPPORT.
47810 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47812         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
47813         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
47814         ANYWHERE set to 1 only on KERN_NO_SPACE error.
47816 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
47818         * wcsmbs/uchar.h: Test __STDC_VERSION__.
47820 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
47822         * nscd/aicache.c (addhstaiX): Do not cache negative results of
47823         transient errors.
47824         * nscd/grpcache.c (cache_addgr): Likewise.
47825         * nscd/hstcache.c (cache_addhst): Likewise.
47826         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47827         * nscd/pwdcache.c (cache_addpw): Likewise.
47828         * nscd/servicescache.c (cache_addserv): Likewise.
47830 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
47832         * malloc/malloc.c: Various cleanups.
47833         * malloc/hooks.c: Likewise.
47835         * stdlib/Makefile (tests): Add bug-fmtmsg1.
47836         * stdlib/bug-fmtmsg1.c: New file.
47838         * stdlib/fmtmsg.c (init): Add missing unlock.
47839         Patch by Peng Haitao <penght@cn.fujitsu.com>.
47841 2012-01-12  Marek Polacek  <polacek@redhat.com>
47843         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
47844         and _GNU_SOURCE.
47846 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
47848         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
47849         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
47850         macro to ensure uniqueness of label name.
47851         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
47852         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
47854 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
47856         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
47858         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
47859         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
47860         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47861         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
47863 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
47865         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
47867         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
47868         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
47869         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
47871         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
47873         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
47874         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
47875         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47876         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
47878         * math/bits/math-finite.h: Add ldexp support.
47880 2012-01-10  Marek Polacek  <polacek@redhat.com>
47882         * locale/programs/localedef.h (show_archive_content): Add noreturn
47883         attribute.
47885 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
47887         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
47889 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
47891         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
47893         * io/Makefile (headers): Add bits/poll2.h.
47895 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
47897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
47898         typo #include statement.
47900 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
47902         * include/sys/cdefs.h: Define __attribute_alloc_size.
47903         * catgets/gencat.c: Add alloc_size attribute and apply consistently
47904         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
47905         * elf/pldd.c: Likewise.
47906         * iconv/iconv_charmap.c: Likewise.
47907         * iconv/iconvconfig.c: Likewise.
47908         * iconv/strtab.c: Likewise.
47909         * locale/programs/locale.c: Likewise.
47910         * locale/programs/localedef.h: Likewise.
47911         * locale/programs/simple-hash.c: Likewise.
47912         * nscd/nscd.h: Likewise.
47913         * nss/makedb.c: Likewise.
47914         * sysdeps/generic/ldconfig.h: Likewise.
47915         * locale/programs/localedef.c: Remove xmalloc prototype.
47916         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
47918 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
47920         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
47921         appropriate.
47923 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
47925         * math/Makefile (tests): Add tst-CMPLX.
47926         * math/tst-CMPLX.c: New file.
47928         * math/complex.h (CMPLXL): Fix typo.
47930         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
47931         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
47932         GLIBC_2.16.
47933         * debug/tst-chk1.c: Add poll and ppoll tests.
47934         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
47935         * include/sys/poll.h: Add hidden proto for ppoll.
47936         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
47937         * sysdeps/mach/hurd/ppoll.c: Likewise.
47938         * io/ppoll.c: Likewise.
47939         * debug/poll_chk.c: New file.
47940         * debug/ppoll_chk.c: New file.
47941         * include/bits/poll2.h: New file.
47942         * io/bits/poll2.h: New file.
47944         [BZ #1350]
47945         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
47947         * configure.in: static is always set to yes.  Remove.
47948         * config.make.in: Don't set build-static.
47949         * Makeconfig: Remove use of build-static.
47950         * dlfcn/Makefile: Likewise.
47951         * elf/Makefile: Likewise.
47952         * math/Makefile: Likewise.
47953         * misc/Makefile: Likewise.
47954         * nptl/Makefile: Likewise.
47955         * sysdeps/mach/hurd/Makefile: Likewise.
47957         * configure.in: PWD_P is not used anymore.
47958         * config.make.in: Remove PWD_P entry.
47960         * configure.in: Remove last remnants of RANLIB.
47961         No need to check for signed size_t anymore.
47962         Don't set libc_commonpagesize and libc_relro_required here for Alpha
47963         and IA-64.
47964         Remove __builtin_expect test because we require at least gcc 3.4.
47965         * aclocal.m4: Likewise.
47967         * wcsmbs/mbrtoc16.c: Implement using towc function.
47968         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
47969         * wcsmbs/wcsmbsload.c: Likewise.
47970         * iconv/gconv_simple.c: Likewise.
47971         * iconv/gconv_int.h: Likewise.
47972         * iconv/gconv_builtin.h: Likewise.
47973         * iconv/iconv_prog.c: Remove CHAR16 handling.
47975         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
47977         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
47979         * configure.in: Remove --with-elf and --enable-bounded options.
47980         Dont set base_machine for ia64.  More non-ELF conditions removed.
47981         Remove testing and setting of leading underscore information.
47982         * config.make.in (build-bounded): Set to no.
47983         * config.h.in: Remove NO_UNDERSCORES entry.
47984         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
47985         them.
47986         * csu/start.c: Remove !NO_UNDERSCORE code.
47987         * locale/localeinfo.h: Likewise.
47988         * sysdeps/generic/machine-gmon.h: Likewise.
47989         * sysdeps/generic/sysdep.h: Likewise.
47990         * sysdeps/i386/sysdep.h: Likewise.
47991         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
47992         * sysdeps/mach/sysdep.h: Likewise.
47993         * sysdeps/s390/s390-32/sysdep.h: Likewise.
47994         * sysdeps/s390/s390-64/sysdep.h: Likewise.
47995         * sysdeps/sh/sysdep.h: Likewise.
47996         * sysdeps/sparc/sparc32/alloca.S: Likewise.
47997         * sysdeps/unix/i386/sysdep.S: Likewise.
47998         * sysdeps/unix/sparc/start.c: Likewise.
47999         * sysdeps/unix/sparc/sysdep.S: Likewise.
48000         * sysdeps/unix/sparc/sysdep.h: Likewise.
48001         * sysdeps/unix/start.c: Likewise.
48002         * sysdeps/unix/x86_64/sysdep.S: Likewise.
48003         * sysdeps/x86_64/sysdep.h: Likewise.
48005 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
48007         [BZ #13553]
48008         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
48009         for non-gcc.
48010         * argp/argp-fmtstream.h: Use const instead __const.
48011         * argp/argp.h: Likewise.
48012         * assert/assert.h: Likewise.
48013         * bits/fenv.h: Likewise.
48014         * bits/sched.h: Likewise.
48015         * bits/sigset.h: Likewise.
48016         * bits/sigthread.h: Likewise.
48017         * catgets/nl_types.h: Likewise.
48018         * conform/data/pthread.h-data: Likewise.
48019         * crypt/crypt-private.h: Likewise.
48020         * crypt/crypt.h: Likewise.
48021         * crypt/crypt_util.c: Likewise.
48022         * ctype/ctype.h: Likewise.
48023         * debug/execinfo.h: Likewise.
48024         * debug/mbsnrtowcs_chk.c: Likewise.
48025         * debug/mbsrtowcs_chk.c: Likewise.
48026         * debug/wcsnrtombs_chk.c: Likewise.
48027         * debug/wcsrtombs_chk.c: Likewise.
48028         * debug/wcstombs_chk.c: Likewise.
48029         * dirent/dirent.h: Likewise.
48030         * dlfcn/dlfcn.h: Likewise.
48031         * elf/neededtest4.c: Likewise.
48032         * grp/grp.h: Likewise.
48033         * gshadow/gshadow.h: Likewise.
48034         * iconv/gconv.h: Likewise.
48035         * iconv/gconv_int.h: Likewise.
48036         * iconv/gconv_simple.c: Likewise.
48037         * iconv/iconv.h: Likewise.
48038         * iconv/loop.c: Likewise.
48039         * iconv/skeleton.c: Likewise.
48040         * include/aio.h: Likewise.
48041         * include/aliases.h: Likewise.
48042         * include/argz.h: Likewise.
48043         * include/arpa/inet.h: Likewise.
48044         * include/assert.h: Likewise.
48045         * include/dirent.h: Likewise.
48046         * include/dlfcn.h: Likewise.
48047         * include/execinfo.h: Likewise.
48048         * include/fcntl.h: Likewise.
48049         * include/fenv.h: Likewise.
48050         * include/glob.h: Likewise.
48051         * include/grp.h: Likewise.
48052         * include/libintl.h: Likewise.
48053         * include/mntent.h: Likewise.
48054         * include/netdb.h: Likewise.
48055         * include/pwd.h: Likewise.
48056         * include/rpc/netdb.h: Likewise.
48057         * include/sched.h: Likewise.
48058         * include/search.h: Likewise.
48059         * include/shadow.h: Likewise.
48060         * include/signal.h: Likewise.
48061         * include/stdio.h: Likewise.
48062         * include/stdlib.h: Likewise.
48063         * include/string.h: Likewise.
48064         * include/sys/socket.h: Likewise.
48065         * include/sys/stat.h: Likewise.
48066         * include/sys/statfs.h: Likewise.
48067         * include/sys/statvfs.h: Likewise.
48068         * include/sys/syslog.h: Likewise.
48069         * include/sys/time.h: Likewise.
48070         * include/sys/uio.h: Likewise.
48071         * include/time.h: Likewise.
48072         * include/unistd.h: Likewise.
48073         * include/utmp.h: Likewise.
48074         * include/wchar.h: Likewise.
48075         * include/wctype.h: Likewise.
48076         * inet/aliases.h: Likewise.
48077         * inet/arpa/inet.h: Likewise.
48078         * inet/netinet/ether.h: Likewise.
48079         * inet/netinet/in.h: Likewise.
48080         * intl/libintl.h: Likewise.
48081         * io/bits/fcntl2.h: Likewise.
48082         * io/fcntl.h: Likewise.
48083         * io/ftw.h: Likewise.
48084         * io/sys/poll.h: Likewise.
48085         * io/sys/stat.h: Likewise.
48086         * io/sys/statfs.h: Likewise.
48087         * io/sys/statvfs.h: Likewise.
48088         * io/utime.h: Likewise.
48089         * libio/bits/stdio.h: Likewise.
48090         * libio/bits/stdio2.h: Likewise.
48091         * libio/libio.h: Likewise.
48092         * libio/libioP.h: Likewise.
48093         * libio/stdio.h: Likewise.
48094         * locale/lc-ctype.c: Likewise.
48095         * locale/locale.h: Likewise.
48096         * login/utmp.h: Likewise.
48097         * malloc/arena.c: Likewise.
48098         * malloc/malloc.c: Likewise.
48099         * malloc/malloc.h: Likewise.
48100         * malloc/mcheck.c: Likewise.
48101         * malloc/mtrace.c: Likewise.
48102         * math/bits/mathcalls.h: Likewise.
48103         * math/fenv.h: Likewise.
48104         * math/math_private.h: Likewise.
48105         * misc/bits/error.h: Likewise.
48106         * misc/bits/syslog.h: Likewise.
48107         * misc/err.h: Likewise.
48108         * misc/error.h: Likewise.
48109         * misc/fstab.h: Likewise.
48110         * misc/mntent.h: Likewise.
48111         * misc/regexp.h: Likewise.
48112         * misc/search.h: Likewise.
48113         * misc/sgtty.h: Likewise.
48114         * misc/sys/mman.h: Likewise.
48115         * misc/sys/syslog.h: Likewise.
48116         * misc/sys/uio.h: Likewise.
48117         * misc/sys/xattr.h: Likewise.
48118         * misc/ttyent.h: Likewise.
48119         * nis/rpcsvc/ypclnt.h: Likewise.
48120         * nss/nss.h: Likewise.
48121         * posix/bits/unistd.h: Likewise.
48122         * posix/fnmatch.h: Likewise.
48123         * posix/glob.h: Likewise.
48124         * posix/sched.h: Likewise.
48125         * posix/spawn.h: Likewise.
48126         * posix/sys/wait.h: Likewise.
48127         * posix/unistd.h: Likewise.
48128         * posix/wordexp.h: Likewise.
48129         * pwd/pwd.h: Likewise.
48130         * resolv/netdb.h: Likewise.
48131         * resource/sys/resource.h: Likewise.
48132         * rt/aio.h: Likewise.
48133         * rt/bits/mqueue2.h: Likewise.
48134         * rt/mqueue.h: Likewise.
48135         * shadow/shadow.h: Likewise.
48136         * signal/signal.h: Likewise.
48137         * socket/send.c: Likewise.
48138         * socket/sendto.c: Likewise.
48139         * socket/sys/socket.h: Likewise.
48140         * stdio-common/printf.h: Likewise.
48141         * stdlib/bits/stdlib.h: Likewise.
48142         * stdlib/fmtmsg.h: Likewise.
48143         * stdlib/monetary.h: Likewise.
48144         * stdlib/stdlib.h: Likewise.
48145         * stdlib/ucontext.h: Likewise.
48146         * streams/stropts.h: Likewise.
48147         * string/argz.h: Likewise.
48148         * string/bits/string2.h: Likewise.
48149         * string/string.h: Likewise.
48150         * string/strings.h: Likewise.
48151         * sunrpc/rpc/auth.h: Likewise.
48152         * sunrpc/rpc/auth_des.h: Likewise.
48153         * sunrpc/rpc/clnt.h: Likewise.
48154         * sunrpc/rpc/netdb.h: Likewise.
48155         * sunrpc/rpc/pmap_clnt.h: Likewise.
48156         * sunrpc/rpc/xdr.h: Likewise.
48157         * sysdeps/generic/inttypes.h: Likewise.
48158         * sysdeps/generic/net/if.h: Likewise.
48159         * sysdeps/generic/sys/swap.h: Likewise.
48160         * sysdeps/gnu/net/if.h: Likewise.
48161         * sysdeps/gnu/utmpx.h: Likewise.
48162         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
48163         * sysdeps/i386/i486/bits/string.h: Likewise.
48164         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
48165         * sysdeps/s390/bits/string.h: Likewise.
48166         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
48167         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
48168         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
48169         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
48170         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
48171         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
48172         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
48173         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
48174         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
48175         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
48176         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
48177         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
48178         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
48179         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
48180         * sysdeps/unix/sysv/linux/readv.c: Likewise.
48181         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
48182         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
48183         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48184         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
48185         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
48186         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
48187         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
48188         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
48189         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
48190         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
48191         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
48192         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
48193         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48194         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
48195         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
48196         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
48197         * sysvipc/sys/ipc.h: Likewise.
48198         * sysvipc/sys/msg.h: Likewise.
48199         * sysvipc/sys/sem.h: Likewise.
48200         * sysvipc/sys/shm.h: Likewise.
48201         * termios/termios.h: Likewise.
48202         * time/sys/time.h: Likewise.
48203         * time/time.h: Likewise.
48204         * wcsmbs/bits/wchar2.h: Likewise.
48205         * wcsmbs/uchar.h: Likewise.
48206         * wcsmbs/wchar.h: Likewise.
48207         * wctype/wctype.h: Likewise.
48209         [BZ #13551]
48210         * Makeconfig: Remove all but ELF support including AIX support.
48211         * Makerules: Likewise.
48212         * config.h.in: Likewise.
48213         * config.make.in: Likewise.
48214         * configure: Likewise.
48215         * configure.in: Likewise.
48216         * csu/Makefile: Likewise.
48217         * csu/version.c: Likewise.
48218         * debug/Makefile: Likewise.
48219         * dlfcn/Makefile: Likewise.
48220         * elf/Makefile: Likewise.
48221         * extra-lib.mk: Likewise.
48222         * iconv/Makefile: Likewise.
48223         * include/libc-symbols.h: Likewise.
48224         * include/shlib-compat.h: Likewise.
48225         * resolv/Makefile: Likewise.
48226         * resolv/res_libc.c: Likewise.
48227         * rt/Makefile: Likewise.
48228         * sysdeps/i386/asm-syntax.h: Likewise.
48229         * sysdeps/i386/sysdep.h: Likewise.
48230         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
48231         * sysdeps/mach/sysdep.h: Likewise.
48232         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
48233         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
48234         * sysdeps/s390/asm-syntax.h: Likewise.
48235         * sysdeps/s390/s390-32/sysdep.h: Likewise.
48236         * sysdeps/s390/s390-64/sysdep.h: Likewise.
48237         * sysdeps/sh/sysdep.h: Likewise.
48238         * sysdeps/unix/sparc/sysdep.h: Likewise.
48239         * sysdeps/wordsize-32/divdi3.c: Likewise.
48240         * sysdeps/x86_64/sysdep.h: Likewise.
48242         * argp/Versions: Remove _argp_unlock_xxx.
48244         [BZ #13559]
48245         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
48246         * abilist/libBrokenLocale.abilist: Likewise.
48247         * abilist/libanl.abilist: Likewise.
48248         * abilist/libc.abilist: Likewise.
48249         * abilist/libcrypt.abilist: Likewise.
48250         * abilist/libdl.abilist: Likewise.
48251         * abilist/libm.abilist: Likewise.
48252         * abilist/libnsl.abilist: Likewise.
48253         * abilist/libpthread.abilist: Likewise.
48254         * abilist/libresolv.abilist: Likewise.
48255         * abilist/librt.abilist: Likewise.
48256         * abilist/libthread_db.abilist: Likewise.
48257         * abilist/libutil.abilist: Likewise.
48258         * abilist/libnss_db.abilist: New file.
48260         * scripts/abilist.awk: Add support for indirect functions.
48262         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
48264         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
48266         * shlib-versions: Remove entries for ports architectures.
48268         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
48269         files in ports.
48270         * elf/stackguard-macros.h: Remove support for IA-64.
48271         * elf/tst-auditmod1.c: Likewise.
48272         * sysdeps/generic/ldsodefs.h: Likewise.
48274         * sysdeps/unix/sysv/linux/configure.in: Ports should define
48275         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
48276         configure files.
48278         [BZ #13552]
48279         * configure.in: Remove --enable-omitfp support.
48280         * FAQ.in: Adjust.
48281         * config.make.in: Likewise.
48282         * Makeconfig: Likewise.
48283         * manual/install.texi: Likewise.
48285         In case anyone cares, the IA-64 architecture could move to ports.
48286         * sysdeps/ia64/*: Removed.
48287         * sysdeps/unix/sysv/linux/ia64/*: Removed.
48288         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
48290         [BZ #13555]
48291         * configure.in: Remove entries for unsupported architectures.
48293         [BZ #13533]
48294         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
48295         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
48296         routines.
48297         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
48298         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
48299         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
48300         fall back to using wcrtomb.
48301         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
48302         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
48303         renaming.
48304         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
48305         * wcsmbs/tst-c16c32-1.c: New file.
48307         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
48308         local variable.
48310         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
48312         * elf/tst-unique3.cc: Add explicit declaration of gets.
48313         * elf/tst-unique3lib.cc: Likewise.
48314         * elf/tst-unique3lib2.cc: Likewise.
48315         * elf/tst-unique4.cc: Likewise.
48317         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
48319 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
48321         [BZ #13566]
48322         * assert/assert.h (static_assert): Don't define for C++.
48323         * libio/stdio.h (gets): Do declare for C++ <= C++11.
48324         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
48326 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
48328         * iconv/loop.c (single loop): Fix assertion in storing of
48329         remaining bytes.
48331         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
48333 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
48335         * posix/getconf.c: Update copyright year.
48336         * nss/getent.c: Likewise.
48337         * nss/makedb.c: Likewise.
48338         * iconv/iconvconfig.c: Likewise.
48339         * iconv/iconv_prog.c: Likewise.
48340         * elf/ldconfig.c: Likewise.
48341         * elf/pldd.c: Likewise.
48342         * elf/sotruss.ksh: Likewise.
48343         * catgets/gencat.c: Likewise.
48344         * csu/version.c: Likewise.
48345         * elf/ldd.bash.in: Likewise.
48346         * elf/sprof.c (print_version): Likewise.
48347         * locale/programs/locale.c: Likewise.
48348         * locale/programs/localedef.c: Likewise.
48349         * login/programs/pt_chown.c: Likewise.
48350         * nscd/nscd.c (print_version): Likewise.
48351         * debug/xtrace.sh: Likewise.
48352         * malloc/memusage.sh: Likewise.
48353         * malloc/mtrace.pl: Likewise.
48354         * debug/catchsegv.sh: Likewise.
48356 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
48358         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
48359         pure attribute.
48361 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
48363         [BZ #13533]
48364         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
48365         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
48366         transformations.
48367         * iconv/gconv_int.h: Likewise.
48368         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
48369         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
48370         from libc for GLIBC_2.16.
48371         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
48372         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
48373         * wcsmbs/uchar.h: Really define mbstate_t.
48374         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
48375         * wcsmbs/c16rtomb.c: New file.
48376         * wcsmbs/mbrtoc16.c: New file.
48377         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
48378         for C/POSIX locale.
48379         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
48380         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
48382         * wcsmbs/wchar.h: Add missing __restrict.
48384 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
48386         [BZ #13532]
48387         * time/Makefile (routines): Add timespec_get.
48388         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
48389         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
48390         timespec for ISO C11.
48391         * time/timespec_get.c: New file.
48392         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
48393         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
48395         [BZ #13531]
48396         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
48397         * stdlib/stdlib.h: Declare aligned_alloc.
48398         * Versions.def: Add GLIBC_2.16 for libc.
48399         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
48401         [BZ 13527]
48402         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
48403         ISO C11.
48405         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
48406         code.
48408         [BZ #13528]
48409         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
48411         [BZ #13529]
48412         * assert/assert.h (static_assert): Define.
48414         * version.h: Update for 2.16 development version.
48416         [BZ #13526]
48417         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
48418         _ISOC11_SOURCE.
48420         * version.h (RELEASE): Bump for 2.15 release.
48421         * include/features.h (__GLIBC_MINOR__): Bump to 15.
48423         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
48424         Patch by Marek Polacek <mpolacek@redhat.com>.
48426         * bits/byteswap.h: Protect long long constants with __extension__.
48427         * sysdeps/i386/bits/byteswap.h: Likewise.
48428         * sysdeps/ia64/bits/byteswap.h: Likewise.
48429         * sysdeps/s390/bits/byteswap.h: Likewise.
48430         * sysdeps/x86_64/bits/byteswap.h: Likewise.
48432 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48434         [BZ #13540]
48435         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
48436         destination buffer.
48437         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
48439 2011-12-23  Marek Polacek  <polacek@redhat.com>
48441         * elf/dl-addr.c (determine_info): Add inline keyword.
48442         * elf/tst-auditmod4b.c (check_avx): Likewise.
48443         * elf/tst-auditmod6b.c (check_avx): Likewise.
48444         * elf/tst-auditmod6c.c (check_avx): Likewise.
48445         * elf/tst-auditmod7b.c (check_avx): Likewise.
48447 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
48449         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
48450         !__SSE_MATH__.
48452 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48454         [BZ #13540]
48455         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
48456         processing for last bytes.
48458 2011-08-06  Bruno Haible  <bruno@clisp.org>
48460         [BZ #13061]
48461         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
48462         U+0385, not to U+1FEE.
48464         [BZ #13062]
48465         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
48466         entry for U+00A5 U+0301.
48468 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
48470         [BZ #13166]
48471         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
48472         buffer for the output is too small.
48474         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
48475         optimization.
48477         [BZ #13185]
48478         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
48479         SSE flags if possible.
48481 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48483         [BZ #13540]
48484         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
48485         processing for last bytes.
48487 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
48489         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
48490         (syscall-list-default-options, syscall-list-default-condition)
48491         (syscall-list-includes): Define.
48492         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
48493         list of ABIs and options and #if conditions for each ABI.  Do not
48494         handle common syscalls between ABIs specially.
48495         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
48496         Remove.
48497         (syscall-list-variants, syscall-list-32bit-options)
48498         (syscall-list-32bit-condition, syscall-list-64bit-options)
48499         (syscall-list-64bit-condition): Define.
48500         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
48501         (syscall-list-variants, syscall-list-32bit-options)
48502         (syscall-list-32bit-condition, syscall-list-64bit-options)
48503         (syscall-list-64bit-condition): Define.
48504         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
48505         Remove.
48506         (syscall-list-variants, syscall-list-32bit-options)
48507         (syscall-list-32bit-condition, syscall-list-64bit-options)
48508         (syscall-list-64bit-condition): Define.
48509         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
48510         Remove.
48511         (syscall-list-variants, syscall-list-32bit-options)
48512         (syscall-list-32bit-condition, syscall-list-64bit-options)
48513         (syscall-list-64bit-condition): Define.
48515 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
48517         * locale/iso-639.def: Add brx entry.
48519         [BZ #13328]
48520         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
48521         Proposed by Mariusz_Cukr <marcukr@op.pl>.
48523         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
48524         __feraiseexcept_renamed.
48526 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
48528         [BZ #13538]
48529         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
48530         EPOLLET with unsigned values.
48531         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48532         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
48534         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
48535         to large cancellation.
48536         * math/s_cacoshf.c: Likewise.
48537         * math/s_cacoshl.c: Likewise.
48539 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
48541         [BZ #13305]
48542         [BZ #12786]
48543         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
48544         * math/s_cacoshf.c: Likewise.
48545         * math/s_cacoshl.c: Likewise.
48547 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
48549         [BZ #13439]
48550         * iconv/gconv.h: Define __GCONV_SWAP.
48551         * iconvdata/unicode.c: The swap bit must be stored in __flags.
48552         * iconvdata/utf-16.c: Likewise.
48553         * iconvdata/utf-32.c: Likewise.
48555 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
48557         [BZ #13524]
48558         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
48559         numerator after shifting it by one limb.
48561 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
48563         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
48564         under [__USE_EXTERN_INLINES].
48566 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
48568         [BZ #13446]
48569         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
48571 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48573         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
48574         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
48575         optimized code.
48576         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
48577         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
48578         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
48579         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
48580         for strncasecmp/strncasecmp_l compilation.
48581         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
48582         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
48584 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
48586         [BZ #13484]
48587         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
48588         of __asm__.
48590 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
48592         [BZ #13506]
48593         * time/tzfile.c (__tzfile_read): Check values from file header.
48595 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
48597         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
48598         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
48599         * powerpc/powerpc32/dl-start.S: Likewise.
48600         * powerpc/powerpc32/elf/start.S: Likewise.
48601         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
48602         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
48603         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
48604         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
48605         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
48606         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
48607         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
48608         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
48609         * powerpc/powerpc32/fpu/s_round.S: Likewise.
48610         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
48611         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
48612         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
48613         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
48614         * powerpc/powerpc32/memset.S: Likewise.
48615         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
48616         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
48617         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
48618         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
48619         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
48620         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
48621         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
48622         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
48623         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
48624         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
48625         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
48626         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
48627         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
48629 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48631         * math/libm-test.inc: Added more nearbyint tests.
48632         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
48633         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
48634         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
48635         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
48637 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
48639         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
48640         FD_CLOEXEC.
48642 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48644         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
48645         Add wcscpy-ssse3 wcscpy-c.
48646         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
48647         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
48648         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
48649         * sysdeps/x86_64/wcschr.S: New file.
48650         * sysdeps/x86_64/wcsrchr.S: New file.
48651         * string/test-strcmp.c: Remove checking of wcscmp function for
48652         wrong alignments.
48653         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
48654         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
48655         wcsrchr-sse2 wcsrchr-c.
48656         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
48657         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
48658         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
48659         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
48660         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
48661         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
48662         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
48663         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
48664         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
48665         * wcsmbc/wcschr.c (WCSCHR): New macro.
48667 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48669         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
48670         * wcsmbs/test-wcsrchr.c: New file.
48671         * string/test-strrchr.c: Add wcsrchr support.
48672         (WIDE): New macro.
48673         * wcsmbs/test-wcscpy.c: New file.
48674         * string/test-strcpy.c: Add wcscpy support.
48675         (WIDE): New macro.
48677 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
48679         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
48680         the inner loop.
48682 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
48684         [BZ #13472]
48685         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
48687 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
48689         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
48690         Minor optimizations.
48692         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
48693         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
48694         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
48696 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
48698         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
48699         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
48700         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
48701         for gcc to avoid warnings.
48702         * inet/Makefile (tests): Add tst-checks.
48703         * inet/tst-checks.c: New file.
48705         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
48706         warning.
48708         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
48709         __wmemcmp_sse2.
48711         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
48712         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
48714         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
48716 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
48718         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
48719         problem.
48721         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
48723 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
48725         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
48726         conditional on GCC version.
48727         (__arch_compare_and_exchange_val_8_acq)
48728         (__arch_compare_and_exchange_val_16_acq)
48729         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
48730         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
48731         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
48733 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
48735         * sysdeps/sh/backtrace.c: New file.
48737 2011-12-02  Andreas Schwab  <schwab@redhat.com>
48739         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
48740         parenthesis.
48742 2011-12-01  Andreas Schwab  <schwab@redhat.com>
48744         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
48745         falling back to utime.
48747 2011-11-30  Andreas Schwab  <schwab@redhat.com>
48749         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
48750         expectations for float.
48752 2011-11-29  Andreas Schwab  <schwab@redhat.com>
48754         * locale/weight.h (findidx): Add parameter len.
48755         * locale/weightwc.h (findidx): Likewise.
48756         * posix/fnmatch_loop.c (FCT): Adjust caller.
48757         * posix/regcomp.c (build_equiv_class): Likewise.
48758         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
48759         * posix/regexec.c (check_node_accept_bytes): Likewise.
48760         * string/strcoll_l.c (STRCOLL): Likewise.
48761         * string/strxfrm_l.c (STRXFRM): Likewise.
48763 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
48765         * Makefile.in: Remove CVSOPT handling.
48766         * configure.in: Remove use of AC_REVISION.
48767         * iconvdata/Makefile (distribute): No need to filter out CVS.
48768         * scripts/list-sources.sh: Remove CVS, subversion and monotone
48769         handling.
48771 2011-11-16  Andreas Schwab  <schwab@redhat.com>
48773         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
48774         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
48775         [USE_AS_STRNCASECMP_L]: Likewise.
48776         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
48777         NO_TLS_DIRECT_SEG_REFS.
48778         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
48779         Fix argument offsets for non-PIC.
48780         [USE_AS_STRNCASECMP_L]: Likewise.
48781         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
48782         NO_TLS_DIRECT_SEG_REFS.
48784 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
48786         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
48787         O_CLOEXEC.
48788         * locale/loadlocale.c (_nl_load_locale): Likewise.
48790 2011-11-15  Andreas Schwab  <schwab@redhat.com>
48792         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
48793         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
48794         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
48795         (SYSCALL_GETTIME): Set errno on error.
48797         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
48798         count references to noai6ai_cached.
48800 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
48802         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
48804         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
48805         FD_CLOEXEC for /proc/self/maps.
48807         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
48808         FD_CLOEXEC for /proc/meminfo.
48810         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
48811         gai.conf.
48813         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
48814         FD_CLOEXEC for given file.
48816         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
48818         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
48819         FD_CLOEXEC for /etc/hosts.
48820         (_gethtent): Likewise.
48822         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
48824         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
48825         cancellation and set FD_CLOEXEC for /etc/netgroup.
48827         * nss/nss_files/files-key.c (search): Don't allow cancellation when
48828         reading /etc/publickey.
48830         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
48831         allow cancellation when reading /etc/group.
48833         * nss/nss_files/files-alias.c (internal_setent): Don't allow
48834         cancellation.
48835         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
48837         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
48838         when using data file.
48840         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
48842         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
48843         (write_nis_obj): Use "c" and "e" in fopen.
48845         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
48847         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
48849         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
48851         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
48853         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
48854         locale.alias.
48856         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
48858         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
48860         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
48862         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
48863         file parsing and set FD_CLOEXEC.
48865 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
48867         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
48869 2011-11-14  Andreas Schwab  <schwab@redhat.com>
48871         * malloc/arena.c (arena_get2): Don't call reused_arena when
48872         _int_new_arena failed.
48874 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
48876         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
48877         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
48878         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
48879         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
48880         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48881         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
48882         to compile strcasecmp and strncasecmp.
48883         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
48884         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
48886         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
48888 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
48890         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
48891         locale-defines.sym to gen-as-const-headers.
48892         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
48893         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
48894         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
48895         to compile strcasecmp and strncasecmp.
48896         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
48897         strcasecmp_l and strncasecmp_l.
48898         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
48899         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
48900         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
48901         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
48902         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
48903         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
48904         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
48905         * sysdeps/i386/i686/multiarch/strncase.S: New file.
48906         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
48907         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
48908         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
48910 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
48912         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
48913         result of SYSDEP_GETTIME_CPU to retval.
48914         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
48915         parameter list to macro.  Remove trailing semicolon.  Adjust users.
48917         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
48918         variable.
48920         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
48921         mantissa words.
48922         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
48924         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
48925         from unused variable.
48927         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
48928         DWARF definitions.
48929         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
48930         for assembling.
48932         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
48933         over namespaces.
48935         * sunrpc/rpc_prot.c (rejected): Fix case value.
48937         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
48938         unsigned long long int to avoid warnings in shift.
48940         * posix/regex_internal.c (re_string_reconstruct): Actually use result
48941         of use of trans.
48942         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
48943         variable tmp.
48945         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
48946         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
48947         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
48949         * nis/nis_table.c (nis_list): Use variable of correct type for
48950         result of __follow_path call.
48952 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48954         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
48955         of math functions ceil, trunc, floor, round, and sqrt, when
48956         avaliable on the platform.
48957         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
48958         name clash.
48959         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
48960         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
48961         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
48963 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
48965         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
48966         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
48968 2011-11-11  Roland McGrath  <roland@hack.frob.com>
48970         * include/unistd.h: Fix __readlink return type.
48971         Reported by Chris Metcalf <cmetcalf@tilera.com>.
48973 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
48975         * stdlib/ucontext.h: Undo last change for makecontext.
48977 2011-11-11  Andreas Schwab  <schwab@redhat.com>
48979         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
48981         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
48982         * setjmp/setjmp.h: Mark functions as non-leaf.
48983         * setjmp/bits/setjmp2.h: Likewise.
48984         * stdlib/ucontext.h: Likewise.
48986 2011-11-10  Andreas Schwab  <schwab@redhat.com>
48988         * malloc/arena.c (_int_new_arena): Don't increment narenas.
48989         (reused_arena): Don't check arena limit.
48990         (arena_get2): Atomically check arena limit.
48992 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
48994         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
48995         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
48997         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
48998         instructions.
49000 2011-11-07  Andreas Schwab  <schwab@redhat.com>
49002         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
49003         handler when locking.
49005         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
49006         Fix size of allocated buffer.
49008 2011-11-04  Andreas Schwab  <schwab@redhat.com>
49010         [BZ #10103]
49011         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
49012         declarations for long double functions.
49013         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
49015         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
49017 2011-11-03  Andreas Schwab  <schwab@redhat.com>
49019         * nscd/nscd.c (main): Don't start AVC thread until credentials are
49020         installed.
49022         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
49023         is disabled.
49025 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49027         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
49029 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
49031         * include/alloca.h (stackinfo_alloca_round): Define.
49032         (extend_alloca): Use it.
49033         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
49034         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
49035         here.
49037         * scripts/check-local-headers.sh: Ignore libaudit.h.
49039         * nscd/Makefile (extra-objs): Make recursively expanded.
49041 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
49043         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
49044         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
49046         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
49047         * posix/tst-rfc3484-2.c: Likewise.
49048         * posix/tst-rfc3484-3.c: Likewise.
49050         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
49051         process_vm_writev.
49052         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
49053         process_vm_writev.
49054         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
49055         process_vm_writev from libc using GLIBC_2.15 version.
49057         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
49059 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
49061         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
49062         stack usage.
49064 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
49066         [BZ #13367]
49067         * nss/getent.c (initgroups_keys): Show error message in case no group
49068         names are given.
49070         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
49071         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
49072         __bump_nl_timestamp.
49073         * nscd/connections (nscd_init): When host database is served open
49074         netlink socket and request notification about configuration changes.
49075         (main_loop_poll): Track netlink file descriptor and bump timestamp
49076         in case data becomes available.
49077         (main_loop_epoll): Likewise.
49078         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
49079         (database_pers_head): Add extra_data fileds.
49080         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
49081         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
49082         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
49083         Adjust caller.
49084         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
49085         in6ai data, call __free_in6ai.
49086         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
49087         Add -DHAVE_NETLINK.
49088         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
49089         interface information.  Reuse previous data if netlink timestamp
49090         is not changed.
49091         (__bump_nl_timestamp): New function.
49092         (__free_in6ai): New function.
49094 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
49096         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
49097         close_not_cancel_no_status here.
49098         (__check_pf): Reorganize code a bit to not call close twice if OOM.
49100 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
49102         [BZ #13276]
49103         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
49104         return value.
49106         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
49107         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
49108         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
49110 2011-07-03  Andreas Jaeger  <aj@suse.de>
49112         [BZ #10709]
49113         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
49114         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
49115         * math/libm-test.inc (sin_test): Add test case.
49117 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
49119         [BZ #13337]
49120         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
49121         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
49123         * elf/chroot_canon.c (chroot_canon): Cleanups.
49125         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
49127         [BZ #13335]
49128         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
49129         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
49131         * string/test-strchr.c: Make usable for strchrnul testing.
49132         * string/test-strchrnul.c: New file.
49133         * string/Makefile (strop-tests): Add strchrnul.
49135         * po/it.po: Update from translation team.
49136         * po/es.po: Likewise.
49138 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
49140         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
49141         the three constants needed as parameters.  Drop the others.
49142         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
49143         __m128i_strloadu_tolower.
49144         Create and initialize variable zero and use it in all the places
49145         where _mm_setzero_si128 was used.
49147         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
49148         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
49149         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
49150         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
49151         anymore.
49152         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
49153         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
49154         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
49155         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
49156         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
49157         __mpranred, __mptan.
49158         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
49159         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
49160         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
49161         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
49162         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
49163         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
49164         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
49165         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
49166         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
49168 2011-10-28  Andreas Schwab  <schwab@redhat.com>
49170         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
49171         redefine if SHARED.
49172         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
49174         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
49175         wide char related routines to wcsmbs subdir.
49177 2011-10-27  Andreas Schwab  <schwab@redhat.com>
49179         [BZ #13344]
49180         * misc/sys/cdefs.h (__THROWNL): Define.
49181         * posix/unistd.h: Use __THREADNL instead of __THREAD
49182         for memory synchronization functions.
49184 2011-10-26  Roland McGrath  <roland@hack.frob.com>
49186         [BZ #13349]
49187         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
49188         doesn't exist.
49189         * manual/stdio.texi (Obstack Streams): Node removed.
49191 2011-10-26  Andreas Schwab  <schwab@redhat.com>
49193         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
49194         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
49195         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
49197         * math/math_private.h (math_force_eval): Allow non-addressable
49198         arguments.
49199         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
49201 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
49203         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
49204         file is not needed.
49206         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
49207         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
49208         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49209         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49210         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49211         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49212         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49213         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
49214         Add AVX variants.
49215         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
49216         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
49217         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
49218         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
49219         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
49220         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
49221         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
49222         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
49223         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
49224         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
49225         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
49226         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
49227         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
49228         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
49229         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
49230         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
49231         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
49232         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
49233         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
49235         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
49236         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
49238         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
49239         place.  Use VEX encoding when compiling for AVX.
49241 2011-10-25  Andreas Schwab  <schwab@redhat.com>
49243         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
49244         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
49246         * string/test-strchr.c (do_test): Don't generate NUL bytes.
49248 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
49250         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
49251         useless if() expression.
49252         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49253         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
49254         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
49255         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49256         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
49257         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
49258         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
49259         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49260         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
49261         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49262         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
49263         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
49264         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
49265         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
49266         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
49267         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
49268         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49269         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49270         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
49272         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
49274 2011-10-25  Andreas Schwab  <schwab@redhat.com>
49276         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
49277         condition.
49278         * elf/dl-fini.c (_dl_sort_fini): Likewise.
49280 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
49282         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
49283         .text section.  Avoid duplicate constants.
49284         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
49285         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49286         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49287         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49288         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49289         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49290         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49291         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49292         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
49293         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
49294         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
49295         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
49296         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
49297         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
49298         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
49299         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
49300         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
49301         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
49302         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49303         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49304         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
49305         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
49306         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
49307         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
49308         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
49309         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
49310         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
49311         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
49312         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
49313         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
49314         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
49315         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
49316         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
49317         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
49318         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
49319         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
49320         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
49321         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
49322         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
49323         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
49324         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
49325         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
49326         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
49327         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
49328         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
49330 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
49332         * sysdeps/x86_64/dla.h: Move to ...
49333         * sysdeps/x86_64/fpu/dla.h: ...here.
49334         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
49335         situations.  Use __builtin_fma only for gcc 4.6 and up.
49337         * config.make.in: Add have-mfma4 entry.
49338         * configure.in: Substitute libc_cv_cc_fma4.
49339         * math/Makefile (dbl-only-routines): Add sincostab.
49340         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
49341         Use __sincostab not sincos.
49342         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
49343         name is a macro.
49344         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49345         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49346         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49347         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
49348         using __copysign.
49349         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
49350         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
49351         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
49352         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
49353         and __inv.
49354         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
49355         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
49356         __copysign.
49357         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
49358         define aliases when function name is a macro.
49359         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
49360         sysdeps/ieee754/dbl-64/sincos.tbl.
49361         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
49362         fma4-enabled routines.
49363         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
49364         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
49365         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
49366         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
49367         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
49368         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
49369         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
49370         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
49371         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
49372         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
49373         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
49374         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
49375         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
49376         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
49377         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
49378         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
49379         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
49380         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
49381         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
49382         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
49383         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
49384         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
49385         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
49386         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
49387         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
49388         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
49389         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
49390         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
49391         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
49392         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
49394         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
49395         rename.
49396         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49397         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49398         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49399         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49400         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49401         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49402         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49403         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49405 2011-10-24  Andreas Schwab  <schwab@redhat.com>
49407         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
49409 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
49411         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
49413         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
49414         prediction.
49415         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
49417         * string/strnlen.c: Don't define STRNLEN, reverse logic.
49418         Remove unused variable magic_bits.
49419         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
49421         * string/strnlen.c: Define and use STRNLEN macro.
49422         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
49423         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
49424         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
49425         * wcsmbs/wcslen.c: Define and use WCSLEN.
49426         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
49427         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
49428         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
49429         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
49430         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
49431         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
49432         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
49434 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49436         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49437         strnlen-sse2-no-bsf.
49438         Rename strlen-no-bsf to strlen-sse2-no-bsf.
49439         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
49440         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
49441         Add strnlen support.
49442         (USE_AS_STRNLEN): New macro.
49443         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
49444         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
49445         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
49446         * sysdeps/x86_64/wcslen.S: New file.
49448 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
49450         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
49451         XMM-moves are used for copying on small sizes.
49453 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49455         * wcsmbs/Makefile (strop-tests): Add wcschr.
49456         * wcsmbs/test-wcschr.c: New file.
49457         * string/test-strchr.c: Update.
49458         Add wcschr support.
49459         (WIDE): New macro.
49461 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49463         * wcsmbs/Makefile (strop-tests): Add wcslen.
49464         * wcsmbs/test-wcslen.c: New file.
49465         * string/test-strlen.c: Update.
49466         Add wcslen support.
49467         (WIDE): New macro.
49469 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
49471         * po/it.po: Update from translation team.
49473 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49475         * sysdeps/x86_64/wcscmp.S: Update.
49476         Fix wrong comparison semantics.
49477         wcscmp shall use signed comparison not unsigned.
49478         Don't use substraction to avoid overflow bug.
49479         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
49480         * wcsmbc/wcscmp.c: Likewise.
49481         * string/test-strcmp.c: Likewise.
49482         Add new tests to check cases with negative values.
49484 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
49486         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
49487         * sysdeps/x86_64/dla.h: ...here.  New file.
49488         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
49489         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49490         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49491         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49492         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49493         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49494         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49495         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49496         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49498 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
49500         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
49501         __ynl_finite aliases.
49503 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
49505         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49507         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
49508         define DLA_FMA.
49509         [DLA_FMA] (EMULV): Use DLA_FMA.
49510         [DLA_FMA] (MUL12): Use EMULV.
49511         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
49512         that are not needed.
49513         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49514         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49515         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49516         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49517         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49518         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49519         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49521 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
49523         * math/s_nan.c: Undef __nan.
49524         * math/s_nanf.c: Undef __nanf.
49525         * math/s_nanl.c: Undef __nanl.
49526         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
49527         "math_private.h".
49529 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
49531         * math/s_catan.c: Add branch predictions.
49532         * math/s_catanf.c: Likewise.
49533         * math/s_catanh.c: Likewise.
49534         * math/s_catanhf.c: Likewise.
49535         * math/s_catanhl.c: Likewise.
49536         * math/s_catanl.c: Likewise.
49537         * math/s_cexp.c: Likewise.
49538         * math/s_cexpf.c: Likewise.
49539         * math/s_cexpl.c: Likewise.
49540         * math/s_clog.c: Likewise.
49541         * math/s_clog10.c: Likewise.
49542         * math/s_clog10f.c: Likewise.
49543         * math/s_clog10l.c: Likewise.
49544         * math/s_clogf.c: Likewise.
49545         * math/s_clogl.c: Likewise.
49546         * math/s_csqrt.c: Likewise.
49547         * math/s_csqrtf.c: Likewise.
49548         * math/s_csqrtl.c: Likewise.
49549         * math/s_ctanf.c: Likewise.
49550         * math/s_ctanh.c: Likewise.
49551         * math/s_ctanhf.c: Likewise.
49552         * math/s_ctanhl.c: Likewise.
49553         * math/s_ctanl.c: Likewise.
49555         * math/math_private.h: Define __nan, __nanf, __nanl.
49556         * math/s_cacosh.c: Include <math_private.h>.
49557         * math/s_cacoshl.c: Likewise.
49558         * math/s_casinh.c: Likewise.
49559         * math/s_casinhf.c: Likewise.
49560         * math/s_casinhl.c: Likewise.
49561         * math/s_ccos.c: Rely entire on ccosh.
49562         * math/s_ccosf.c: Rely entire on ccoshf.
49563         * math/s_ccosl.c: Rely entirely on ccoshl.
49564         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
49565         Remove tests for FE_INVALID.
49566         * math/s_ccoshf.c: Likewise.
49567         * math/s_ccoshl.c: Likewise.
49568         * math/s_csin.c: Likewise.
49569         * math/s_csinf.c: Likewise.
49570         * math/s_csinh.c Likewise.
49571         * math/s_csinhf.c: Likewise.
49572         * math/s_csinhl.c: Likewise.
49573         * math/s_csinl.c: Likewise.
49574         * math/s_ctan.c: Likewise.
49575         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
49576         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
49577         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
49579 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
49581         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
49582         compilation problems.
49584         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
49585         __builtin_expect.
49587 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
49589         * sysdeps/i386/configure.in: Test for -mfma4 option.
49590         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
49591         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
49592         COMMON_CPUID_INDEX_80000001.
49593         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
49594         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
49595         use it if FMA3 is not supported.
49596         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
49598         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
49599         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49601 2011-10-20  Andreas Schwab  <schwab@redhat.com>
49603         [BZ #12892]
49604         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
49605         it would create a cycle with a link time dependency.
49607 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
49609         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
49610         instruction.
49611         * string/Makefile (strop-tests): Add rawmemchr.
49612         * string/test-rawmemchr.c: New file.
49614         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
49615         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
49616         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
49617         when compiling str{,n}casecmp and when AVX is available.  Hook up
49618         new optimized code in initializers.
49620 2011-10-19  Andreas Schwab  <schwab@redhat.com>
49622         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
49623         __feraiseexcept instead of feraiseexcept.
49625 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
49627         * math/math_private.h: Define defaults for libc_fetestexcept and
49628         libc_feupdateenv.
49629         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
49630         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
49631         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
49632         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
49633         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
49634         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
49635         libc_fetestexcept and libc_feupdateenv.
49637         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
49638         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
49639         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
49640         * sysdeps/x86_64/fpu/math_private.h: Define special version of
49641         libc_feholdexcept_setround.
49643         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
49644         Add s_nearbyint-c and s_nearbyintf-c.
49645         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
49646         nearbyintf inlines.
49647         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
49648         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
49649         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
49650         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
49652         * math/math_private.h: Define defaults for libc_fegetround,
49653         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
49654         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
49655         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
49656         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
49657         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
49658         standard functions.
49659         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
49660         Remove comments and hacks for old compiler versions.
49661         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
49662         libc_fegetround, libc_fesetround, libc_feholdexcept, and
49663         libc_feholdexceptl.
49665 2011-10-18  Andreas Schwab  <schwab@redhat.com>
49667         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
49668         (__feraiseexcept_renamed): Add __NTH.
49669         (feraiseexcept): Add __NTH.  Rename local variables to fix
49670         namespace violations.
49672 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
49674         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
49676         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
49678         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
49679         recently added interfaces.
49680         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
49682         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
49683         about macro parameter expansion.
49685         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
49686         __NO_MATH_INLINES is defined.  Cleanups.
49688         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
49689         and __floorf is target has SSE4.1.
49690         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
49691         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
49692         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
49693         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
49695         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
49696         name.
49697         (floorf): Likewise.
49699         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
49701 2011-10-17  Andreas Schwab  <schwab@redhat.com>
49703         * misc/sys/cdefs.h: Fix last change.
49705         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
49706         database lookup.
49708 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
49710         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
49712         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
49713         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49714         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
49715         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
49716         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49717         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
49718         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
49719         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
49720         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
49721         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
49722         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
49723         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
49724         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
49725         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
49726         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
49727         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
49728         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
49729         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
49730         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
49731         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
49732         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
49733         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
49735         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
49736         ceil, ceilf, floor, floorf.
49738         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
49739         Perform IRELATIVE relocations last.
49741         * elf/do-rel.h: Add another parameter nrelative, replacing the
49742         local variable with the same name.  Change name of the function
49743         to end in Rel or Rela (uppercase).
49744         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
49745         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
49746         elf_dynamic_do_##reloc function.
49748 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
49750         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
49751         is sufficient, at least on modern CPUs.
49753         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
49755         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
49756         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
49758         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
49759         __expl_finite.
49760         * math/bits/math-finite.h: Add entries for exp.
49761         * math/e_expl.c: Add __*_finite alias.
49762         * sysdeps/i386/fpu/e_exp.S: Likewise.
49763         * sysdeps/i386/fpu/e_expf.S: Likewise.
49764         * sysdeps/i386/fpu/e_expl.c: Likewise.
49765         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49766         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
49767         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
49768         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
49769         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
49770         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
49771         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
49773         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
49774         is sufficient, at least on modern CPUs.
49776         * ctype/ctype-info.c (__ctype_init): Define.
49777         * include/ctype.h (__ctype_init): Declare.
49778         (__ctype_b_loc): The variable is always initialized.
49779         (__ctype_toupper_loc): Likewise.
49780         (__ctype_tolower_loc): Likewise.
49781         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
49782         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
49784 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
49786         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
49788         * configure.in: Also look in $cxxmachine/include for C++ system
49789         headers.
49791 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49793         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
49794         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
49795         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
49796         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
49797         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
49798         (USE_AS_WMEMCMP): New macro.
49799         Fixing indents.
49800         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
49801         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
49802         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
49803         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
49804         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49805         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
49806         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
49807         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
49808         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
49809         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
49810         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
49811         (USE_AS_WMEMCMP): New macro.
49812         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
49813         * sysdeps/string/test-memcmp.c: Update.
49814         Fix simple_wmemcmp.
49815         Add new tests.
49816         * wcsmbs/wmemcmp.c: Update.
49817         (WMEMCMP): New macro.
49818         Fix overflow bug.
49820 2011-10-12  Andreas Jaeger  <aj@suse.de>
49822         [BZ #13268]
49823         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
49825 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
49827         * libio/iofwide.c (do_length): Avoid warning.
49829         * ctype/ctype.h (__isctype_f): Add missing __THROW.
49831 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
49833         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
49835         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
49836         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
49837         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
49838         * sysdeps/i386/i686/fpu/e_log.S: New file.
49839         * sysdeps/i386/i686/fpu/e_logf.S: New file.
49840         * sysdeps/i386/i686/fpu/e_logl.S: New file.
49842         * ctype/ctype.h: Add support for inlined isXXX functions when
49843         compiling C++ code.
49845 2011-10-14  Andreas Schwab  <schwab@redhat.com>
49847         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49849         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
49851 2011-10-13  Roland McGrath  <roland@hack.frob.com>
49853         [BZ #13291]
49854         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
49856 2011-10-13  Andreas Schwab  <schwab@redhat.com>
49858         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
49859         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
49860         feraiseexcept.
49862         * sysdeps/x86_64/memrchr.S: Check for zero size.
49864         * string/stratcliff.c: Add memrchr tests.
49866 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49868         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49869         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
49870         rawmemchr-sse2 rawmemchr-sse2-bsf.
49871         * sysdeps/i386/i686/multiarch/memchr.S: New file.
49872         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
49873         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
49874         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
49875         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
49876         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
49877         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
49878         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
49879         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
49880         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
49881         * string/memrchr.c (MEMRCHR): New macro.
49883 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
49885         Add integration with gcc's -ffinite-math-only and optimize wrapper
49886         functions in libm.
49887         * Versions.def: Define GLIBC_2.15 version for libm.
49888         * math/Makefile (headers): Add bits/math-finite.h.
49889         * math/bits/math-finite.h: New file.
49890         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
49891         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
49892         * math/e_acoshl.c: Add __*_finite alias.
49893         * math/e_acosl.c: Likewise.
49894         * math/e_asinl.c: Likewise.
49895         * math/e_atan2l.c: Likewise.
49896         * math/e_atanhl.c: Likewise.
49897         * math/e_coshl.c: Likewise.
49898         * math/e_exp10.c: Likewise.
49899         * math/e_exp10f.c: Likewise.
49900         * math/e_exp10l.c: Likewise.
49901         * math/e_exp2l.c: Likewise.
49902         * math/e_fmodl.c: Likewise.
49903         * math/e_gammal_r.c: Likewise.
49904         * math/e_hypotl.c: Likewise.
49905         * math/e_j0l.c: Likewise.
49906         * math/e_j1l.c: Likewise.
49907         * math/e_jnl.c: Likewise.
49908         * math/e_lgammal_r.c: Likewise.
49909         * math/e_log10l.c: Likewise.
49910         * math/e_log2l.c: Likewise.
49911         * math/e_logl.c: Likewise.
49912         * math/e_powl.c: Likewise.
49913         * math/e_sinhl.c: Likewise.
49914         * math/e_sqrtl.c: Likewise.
49915         * math/e_scalb.c: Completely rewritten and optimized.
49916         * math/e_scalbf.c: Likewise.
49917         * math/e_scalbl.c: Likewise.
49918         * math/w_acos.c: Likewise.
49919         * math/w_acosf.c: Likewise.
49920         * math/w_acosl.c: Likewise.
49921         * math/w_acosh.c: Likewise.
49922         * math/w_acoshf.c: Likewise.
49923         * math/w_acoshl.c: Likewise.
49924         * math/w_asin.c: Likewise.
49925         * math/w_asinf.c: Likewise.
49926         * math/w_asinl.c: Likewise.
49927         * math/w_atan2.c: Likewise.
49928         * math/w_atan2f.c: Likewise.
49929         * math/w_atan2l.c: Likewise.
49930         * math/w_atanh.c: Likewise.
49931         * math/w_atanhf.c: Likewise.
49932         * math/w_atanhl.c: Likewise.
49933         * math/w_exp10.c: Likewise.
49934         * math/w_exp10f.c: Likewise.
49935         * math/w_exp10l.c: Likewise.
49936         * math/w_fmod.c: Likewise.
49937         * math/w_fmodf.c: Likewise.
49938         * math/w_fmodl.c: Likewise.
49939         * math/w_j0.c: Likewise.
49940         * math/w_j0f.c: Likewise.
49941         * math/w_j0l.c: Likewise.
49942         * math/w_j1.c: Likewise.
49943         * math/w_j1f.c: Likewise.
49944         * math/w_j1l.c: Likewise.
49945         * math/w_jn.c: Likewise.
49946         * math/w_jnf.c: Likewise.
49947         * math/w_log.c: Likewise.
49948         * math/w_logf.c: Likewise.
49949         * math/w_logl.c: Likewise.
49950         * math/w_log10.c: Likewise.
49951         * math/w_log10f.c: Likewise.
49952         * math/w_log10l.c: Likewise.
49953         * math/w_log2.c: Likewise.
49954         * math/w_log2f.c: Likewise.
49955         * math/w_log2l.c: Likewise.
49956         * math/w_pow.c: Likewise.
49957         * math/w_powf.c: Likewise.
49958         * math/w_powl.c: Likewise.
49959         * math/w_remainder.c: Likewise.
49960         * math/w_remainderf.c: Likewise.
49961         * math/w_remainderl.c: Likewise.
49962         * math/w_scalb.c: Likewise.
49963         * math/w_scalbf.c: Likewise.
49964         * math/w_scalbl.c: Likewise.
49965         * math/w_sqrt.c: Likewise.
49966         * math/w_sqrtf.c: Likewise.
49967         * math/w_sqrtl.c: Likewise.
49968         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
49969         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
49970         used.
49971         * math/math_private.h: Declare __kernel_standard_f.
49972         * math/w_cosh.c: Remove cruft and optimize a bit.
49973         * math/w_coshf.c: Likewise.
49974         * math/w_coshl.c: Likewise.
49975         * math/w_exp2.c: Likewise.
49976         * math/w_exp2f.c: Likewise.
49977         * math/w_exp2l.c: Likewise.
49978         * math/w_hypot.c: Likewise.
49979         * math/w_hypotf.c: Likewise.
49980         * math/w_hypotl.c: Likewise.
49981         * math/w_lgamma.c: Likewise.
49982         * math/w_lgamma_r.c: Likewise.
49983         * math/w_lgammaf.c: Likewise.
49984         * math/w_lgammaf_r.c: Likewise.
49985         * math/w_lgammal.c: Likewise.
49986         * math/w_lgammal_r.c: Likewise.
49987         * math/w_sinh.c: Likewise.
49988         * math/w_sinhf.c: Likewise.
49989         * math/w_sinhl.c: Likewise.
49990         * math/w_tgamma.c: Likewise.
49991         * math/w_tgammaf.c: Likewise.
49992         * math/w_tgammal.c: Likewise.
49993         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49994         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49995         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
49996         Minor optimizations.  Pretty printing.  Remove cruft.
49997         * sysdeps/i386/fpu/e_acosf.S: Likewise.
49998         * sysdeps/i386/fpu/e_acosh.S: Likewise.
49999         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
50000         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
50001         * sysdeps/i386/fpu/e_acosl.c: Likewise.
50002         * sysdeps/i386/fpu/e_asin.S: Likewise.
50003         * sysdeps/i386/fpu/e_asinf.S: Likewise.
50004         * sysdeps/i386/fpu/e_atan2.S: Likewise.
50005         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
50006         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
50007         * sysdeps/i386/fpu/e_atanh.S: Likewise.
50008         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
50009         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
50010         * sysdeps/i386/fpu/e_exp10.S: Likewise.
50011         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
50012         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
50013         * sysdeps/i386/fpu/e_exp2.S: Likewise.
50014         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
50015         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
50016         * sysdeps/i386/fpu/e_fmod.S: Likewise.
50017         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
50018         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
50019         * sysdeps/i386/fpu/e_hypot.S: Likewise.
50020         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
50021         * sysdeps/i386/fpu/e_log.S: Likewise.
50022         * sysdeps/i386/fpu/e_log10.S: Likewise.
50023         * sysdeps/i386/fpu/e_log10f.S: Likewise.
50024         * sysdeps/i386/fpu/e_log10l.S: Likewise.
50025         * sysdeps/i386/fpu/e_log2.S: Likewise.
50026         * sysdeps/i386/fpu/e_log2f.S: Likewise.
50027         * sysdeps/i386/fpu/e_log2l.S: Likewise.
50028         * sysdeps/i386/fpu/e_logf.S: Likewise.
50029         * sysdeps/i386/fpu/e_logl.S: Likewise.
50030         * sysdeps/i386/fpu/e_pow.S: Likewise.
50031         * sysdeps/i386/fpu/e_powf.S: Likewise.
50032         * sysdeps/i386/fpu/e_powl.S: Likewise.
50033         * sysdeps/i386/fpu/e_remainder.S: Likewise.
50034         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
50035         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
50036         * sysdeps/i386/fpu/e_scalb.S: Likewise.
50037         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
50038         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
50039         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
50040         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
50041         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
50042         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
50043         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50044         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50045         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
50046         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
50047         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
50048         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
50049         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
50050         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50051         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
50052         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
50053         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
50054         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50055         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
50056         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
50057         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50058         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
50059         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
50060         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50061         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50062         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
50063         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
50064         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50065         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50066         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
50067         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
50068         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
50069         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
50070         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
50071         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
50072         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50073         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
50074         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50075         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
50076         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
50077         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
50078         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
50079         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
50080         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
50081         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
50082         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
50083         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
50084         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
50085         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
50086         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50087         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
50088         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
50089         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
50090         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
50091         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
50092         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
50093         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
50094         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
50095         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50096         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
50097         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
50098         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
50099         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
50100         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
50101         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
50102         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
50103         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
50104         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50105         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50106         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
50107         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
50108         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
50109         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
50110         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
50111         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
50112         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
50113         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
50114         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
50115         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
50116         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
50117         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
50118         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
50119         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
50120         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50121         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
50122         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50123         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
50124         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
50125         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50126         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50127         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
50128         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50129         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
50130         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
50131         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
50132         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50133         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
50134         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50135         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
50136         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50137         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
50138         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
50139         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
50140         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
50141         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
50142         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
50143         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
50144         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
50145         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
50146         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
50147         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
50148         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
50149         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50150         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
50151         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
50152         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
50153         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
50154         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
50155         (__isnanf): Likewise.
50156         (__isinf_ns): Likewise.
50157         (__isinf_nsf): Likewise.
50158         (__finite): Likewise.
50159         (__finitef): Likewise.
50160         (__ieee754_sqrt): Define as macro.
50161         (__ieee754_sqrtf): Define as macro.
50162         (__ieee754_sqrtl): Define as macro.
50163         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
50164         inlined copy.
50165         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
50166         __FINITE_MATH_ONLY__ consistent.
50167         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
50169 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
50171         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
50172         of rawmemchr.
50174         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
50176 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
50178         * po/ja.po: Update from translation team.
50180 2011-10-08  Roland McGrath  <roland@hack.frob.com>
50182         * locale/programs/locarchive.c (prepare_address_space): New function.
50183         (create_archive, enlarge_archive, open_archive): Use it.
50185         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
50186         inside [SHARED], where it is used.
50188         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
50190         * nss/getent.c (netgroup_keys): Remove unused variable.
50191         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
50193 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
50195         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
50196         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
50197         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
50198         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
50199         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
50200         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
50201         * math/Makefile (libm-calls): Add s_isinf_ns.
50202         * math/divtc3.c: Use __isinf_nsl instead of isinf.
50203         * math/multc3.c: Likewise.
50204         * math/s_casin.c: Likewise.
50205         * math/s_casinf.c: Likewise.
50206         * math/s_casinl.c: Likewise.
50207         * math/s_ccos.c: Likewise.
50208         * math/s_ccosf.c: Likewise.
50209         * math/s_ccosl.c: Likewise.
50210         * math/s_ctan.c: Likewise.
50211         * math/s_ctanf.c: Likewise.
50212         * math/s_ctanh.c: Likewise.
50213         * math/s_ctanhf.c: Likewise.
50214         * math/s_ctanhl.c: Likewise.
50215         * math/s_ctanl.c: Likewise.
50216         * math/w_fmod.c: Likewise.
50217         * math/w_fmodf.c: Likewise.
50218         * math/w_fmodl.c: Likewise.
50219         * math/w_remainder.c: Likewise.
50220         * math/w_remainderf.c: Likewise.
50221         * math/w_remainderl.c: Likewise.
50222         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
50223         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
50224         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
50225         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
50226         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
50227         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
50228         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
50229         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
50231         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
50232         of the number.
50233         * stdio-common/printf_fphex.c: Likewise.
50234         * stdio-common/printf_size.c: Likewise.
50236         * math/e_exp10.c: Include math_private.h using <...> not "...".
50237         * math/e_exp10f.c: Likewise.
50238         * math/e_exp10l.c: Likewise.
50239         * math/e_exp2l.c: Likewise.
50240         * math/e_j0l.c: Likewise.
50241         * math/e_j1l.c: Likewise.
50242         * math/e_jnl.c: Likewise.
50243         * math/e_lgammal_r.c: Likewise.
50244         * math/e_rem_pio2l.c: Likewise.
50245         * math/e_scalb.c: Likewise.
50246         * math/e_scalbf.c: Likewise.
50247         * math/e_scalbl.c: Likewise.
50248         * math/k_cosl.c: Likewise.
50249         * math/k_sinl.c: Likewise.
50250         * math/k_tanl.c: Likewise.
50251         * math/s_cacoshf.c: Likewise.
50252         * math/s_catan.c: Likewise.
50253         * math/s_catanf.c: Likewise.
50254         * math/s_catanh.c: Likewise.
50255         * math/s_catanhf.c: Likewise.
50256         * math/s_catanhl.c: Likewise.
50257         * math/s_catanl.c: Likewise.
50258         * math/s_ccosh.c: Likewise.
50259         * math/s_ccoshf.c: Likewise.
50260         * math/s_ccoshl.c: Likewise.
50261         * math/s_cexp.c: Likewise.
50262         * math/s_cexpf.c: Likewise.
50263         * math/s_cexpl.c: Likewise.
50264         * math/s_clog.c: Likewise.
50265         * math/s_clog10.c: Likewise.
50266         * math/s_clog10f.c: Likewise.
50267         * math/s_clog10l.c: Likewise.
50268         * math/s_clogf.c: Likewise.
50269         * math/s_clogl.c: Likewise.
50270         * math/s_csin.c: Likewise.
50271         * math/s_csinf.c: Likewise.
50272         * math/s_csinh.c: Likewise.
50273         * math/s_csinhf.c: Likewise.
50274         * math/s_csinhl.c: Likewise.
50275         * math/s_csinl.c: Likewise.
50276         * math/s_csqrt.c: Likewise.
50277         * math/s_csqrtf.c: Likewise.
50278         * math/s_csqrtl.c: Likewise.
50279         * math/s_ctan.c: Likewise.
50280         * math/s_ctanf.c: Likewise.
50281         * math/s_ctanh.c: Likewise.
50282         * math/s_ctanhf.c: Likewise.
50283         * math/s_ctanhl.c: Likewise.
50284         * math/s_ctanl.c: Likewise.
50285         * math/s_ldexp.c: Likewise.
50286         * math/s_ldexpf.c: Likewise.
50287         * math/s_ldexpl.c: Likewise.
50288         * math/s_significand.c: Likewise.
50289         * math/s_significandf.c: Likewise.
50290         * math/s_significandl.c: Likewise.
50291         * math/w_acos.c: Likewise.
50292         * math/w_acosf.c: Likewise.
50293         * math/w_acosh.c: Likewise.
50294         * math/w_acoshf.c: Likewise.
50295         * math/w_acoshl.c: Likewise.
50296         * math/w_acosl.c: Likewise.
50297         * math/w_asin.c: Likewise.
50298         * math/w_asinf.c: Likewise.
50299         * math/w_asinl.c: Likewise.
50300         * math/w_atan2.c: Likewise.
50301         * math/w_atan2f.c: Likewise.
50302         * math/w_atan2l.c: Likewise.
50303         * math/w_atanh.c: Likewise.
50304         * math/w_atanhf.c: Likewise.
50305         * math/w_atanhl.c: Likewise.
50306         * math/w_cosh.c: Likewise.
50307         * math/w_coshf.c: Likewise.
50308         * math/w_coshl.c: Likewise.
50309         * math/w_dremf.c: Likewise.
50310         * math/w_exp10.c: Likewise.
50311         * math/w_exp10f.c: Likewise.
50312         * math/w_exp10l.c: Likewise.
50313         * math/w_exp2.c: Likewise.
50314         * math/w_exp2f.c: Likewise.
50315         * math/w_fmod.c: Likewise.
50316         * math/w_fmodf.c: Likewise.
50317         * math/w_fmodl.c: Likewise.
50318         * math/w_hypot.c: Likewise.
50319         * math/w_hypotf.c: Likewise.
50320         * math/w_hypotl.c: Likewise.
50321         * math/w_j0.c: Likewise.
50322         * math/w_j0f.c: Likewise.
50323         * math/w_j0l.c: Likewise.
50324         * math/w_j1.c: Likewise.
50325         * math/w_j1f.c: Likewise.
50326         * math/w_j1l.c: Likewise.
50327         * math/w_jn.c: Likewise.
50328         * math/w_jnf.c: Likewise.
50329         * math/w_jnl.c: Likewise.
50330         * math/w_lgamma.c: Likewise.
50331         * math/w_lgamma_r.c: Likewise.
50332         * math/w_lgammaf.c: Likewise.
50333         * math/w_lgammaf_r.c: Likewise.
50334         * math/w_lgammal.c: Likewise.
50335         * math/w_lgammal_r.c: Likewise.
50336         * math/w_log.c: Likewise.
50337         * math/w_log10.c: Likewise.
50338         * math/w_log10f.c: Likewise.
50339         * math/w_log10l.c: Likewise.
50340         * math/w_log2.c: Likewise.
50341         * math/w_log2f.c: Likewise.
50342         * math/w_log2l.c: Likewise.
50343         * math/w_logf.c: Likewise.
50344         * math/w_logl.c: Likewise.
50345         * math/w_pow.c: Likewise.
50346         * math/w_powf.c: Likewise.
50347         * math/w_powl.c: Likewise.
50348         * math/w_remainder.c: Likewise.
50349         * math/w_remainderf.c: Likewise.
50350         * math/w_remainderl.c: Likewise.
50351         * math/w_scalb.c: Likewise.
50352         * math/w_scalbf.c: Likewise.
50353         * math/w_scalbl.c: Likewise.
50354         * math/w_sinh.c: Likewise.
50355         * math/w_sinhf.c: Likewise.
50356         * math/w_sinhl.c: Likewise.
50357         * math/w_sqrt.c: Likewise.
50358         * math/w_sqrtf.c: Likewise.
50359         * math/w_sqrtl.c: Likewise.
50360         * math/w_tgamma.c: Likewise.
50361         * math/w_tgammaf.c: Likewise.
50362         * math/w_tgammal.c: Likewise.
50364         * po/ja.po: Update from translation team.
50366 2011-09-29  Andreas Jaeger  <aj@suse.de>
50368         [BZ #13179]
50369         * sunrpc/netname.c (netname2host): Fix logic.
50371         [BZ #6779]
50372         [BZ #6783]
50373         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
50374         correctly.
50375         * math/w_remainder.c (__remainder): Likewise.
50376         * math/w_remainderf.c (__remainderf): Likewise.
50377         * math/libm-test.inc (remainder_test): Add test cases.
50379 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50381         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
50382         sdiv_qrnnd.
50384 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
50386         * string/test-memcmp.c: Avoid unncessary #defines.
50387         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
50389 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50391         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
50392         Use new sse2 version for core i3 - i7 as it's faster
50393         than sse42 version.
50394         (bit_Prefer_PMINUB_for_stringop): New.
50395         * sysdeps/x86_64/rawmemchr.S: Update.
50396         Replace with faster SSE2 version.
50397         * sysdeps/x86_64/memrchr.S: New file.
50398         * sysdeps/x86_64/memchr.S: Update.
50399         Replace with faster SSE2 version.
50401 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
50403         * elf/dl-load.c (lose): Add cast to avoid warning.
50405 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
50407         * po/ca.po: Update from translation team.
50409         * inet/getnetgrent_r.c: Hook up nscd.
50410         * nscd/Makefile (routines): Add nscd_netgroup.
50411         (nscd-modules): Add netgroupcache.
50412         (CFLAGS-netgroupcache.c): Define.
50413         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
50414         (cache_search): Add const to second parameter.
50415         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
50416         INNETGR.
50417         (dbs): Add netgrdb entry.
50418         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
50419         (verify_persistent_db): Handle netgrdb.
50420         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
50421         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
50422         GETFDNETGR.
50423         (netgroup_response_header): Define.
50424         (innetgroup_response_header): Define.
50425         (datahead): Add netgroup_response_header and innetgroup_response_header
50426         elements.
50427         * nscd/nscd.conf: Add entries for netgroup cache.
50428         * nscd/nscd.h (dbtype): Add netgrdb.
50429         (_PATH_NSCD_NETGROUP_DB): Define.
50430         (netgroup_iov_disabled): Declare.
50431         (xmalloc, xcalloc, xrealloc): Move declarations here.
50432         (cache_search): Adjust prototype.
50433         Add netgroup-related prototypes.
50434         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
50435         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
50436         (__nscd_innetgr): Declare.
50437         * nscd/selinux.c (perms): Use access_vector_t as element type and
50438         add netgroup-related initializers.
50439         * nscd/netgroupcache.c: New file.
50440         * nscd/nscd_netgroup.c: New file.
50441         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
50442         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
50443         For four parameters use innetgr.
50444         * nss/nss_files/files-init.c: Add definition and callback for netgr.
50445         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
50446         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
50447         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
50449         * nscd/connections.c (register_traced_file): Don't register file
50450         for disabled databases.
50452 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
50454         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
50456         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
50457         from tree and freeing node.
50459 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
50461         * nss/nsswitch.c (__nss_database_lookup): Handle
50462         nss_parse_service_list out of memory case.
50464 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
50466         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
50467         out of memory case.
50469 2011-10-04  Andreas Schwab  <schwab@redhat.com>
50471         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
50472         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
50473         pass it down.
50474         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
50475         elf_machine_rela, elf_machine_lazy_rel.
50476         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
50477         (ELF_DYNAMIC_DO_REL): Likewise.
50478         (ELF_DYNAMIC_DO_RELA): Likewise.
50479         (ELF_DYNAMIC_RELOCATE): Likewise.
50480         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
50481         to ELF_DYNAMIC_DO_REL.
50482         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
50483         (dl_main): In trace mode always set __RTLD_NOIFUNC.
50484         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
50485         elf_machine_rela.
50486         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
50487         skip_ifunc, don't call ifunc function if non-zero.
50488         (elf_machine_rela): Likewise.
50489         (elf_machine_lazy_rel): Likewise.
50490         (elf_machine_lazy_rela): Likewise.
50491         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
50492         (elf_machine_lazy_rel): Likewise.
50493         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
50494         Likewise.
50495         (elf_machine_lazy_rel): Likewise.
50496         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50497         Likewise.
50498         (elf_machine_lazy_rel): Likewise.
50499         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
50500         (elf_machine_lazy_rel): Likewise.
50501         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
50502         (elf_machine_lazy_rel): Likewise.
50503         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
50504         (elf_machine_lazy_rel): Likewise.
50505         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
50506         (elf_machine_lazy_rel): Likewise.
50507         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
50508         (elf_machine_lazy_rel): Likewise.
50509         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
50510         (elf_machine_lazy_rel): Likewise.
50512 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
50514         * nss/nss_files/files-init.c (_nss_files_init): Use static
50515         initialization for all the *_traced_file variables.
50517 2011-09-28  Andreas Schwab  <schwab@redhat.com>
50519         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50521 2011-09-27  Roland McGrath  <roland@hack.frob.com>
50523         [BZ #13226]
50524         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
50526 2011-09-27  Andreas Schwab  <schwab@redhat.com>
50528         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
50529         Reread the line before reparsing it.
50531 2011-09-26  Andreas Schwab  <schwab@redhat.com>
50533         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
50535 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
50536             Maxim Kuvyrkov  <maxim@codesourcery.com>
50537             Joseph Myers  <joseph@codesourcery.com>
50539         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
50540         if needed for __stack_chk_guard.
50542 2011-09-19  Roland McGrath  <roland@hack.frob.com>
50544         * sysdeps/posix/spawni.c (script_execute): Always define it.
50545         It will be optimized away if unused.
50546         (maybe_script_execute): New function.
50547         (__spawni): Call it.
50549         * Makerules: Don't include tls.make.
50550         (config-tls): Always set to thread.
50551         * tls.make.c: File removed.
50553 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
50555         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
50556         * config.make.in (CPPFLAGS-config): New substituted variable.
50558 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
50560         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
50562         [BZ #13192]
50563         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
50564         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
50566 2011-09-15  Roland McGrath  <roland@hack.frob.com>
50568         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
50569         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
50570         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
50571         (CALL_FAIL): Likewise.
50572         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
50573         (CALL_FAIL): Macro removed.
50574         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
50576 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
50578         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
50579         for __FINITE_MATH_ONLY__ == 1.
50581 2011-09-15  Andreas Schwab  <schwab@redhat.com>
50583         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
50584         __ieee754_sqrt instead of sqrt.
50585         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
50586         __ieee754_sqrtf instead of sqrtf.
50587         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
50588         __floorf instead of floorf.
50589         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
50590         __floorf, __truncf instead of floorf, truncf.
50592 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
50594         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
50596         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
50597         __extern_always_inline.
50598         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
50599         32-bit.
50601 2011-09-14  Andreas Schwab  <schwab@redhat.com>
50603         * elf/rtld.c (dl_main): Also relocate in dependency order when
50604         doing symbol dependency testing.
50606 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
50608         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50609         Always define `refsym'.
50611 2011-09-13  Andreas Schwab  <schwab@redhat.com>
50613         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
50614         (__FD_ELT): Renamed from __FDELT.
50615         * misc/bits/select2.h (__FD_ELT): Likewise.
50616         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
50617         __FD_MASK instead of __FDELT, __FDMASK.
50618         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
50619         Likewise.
50620         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
50621         Likewise.
50623         * elf/Makefile (gen-ldd): Fix pattern.
50625         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
50626         (init_tls): Likewise.
50628 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
50630         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
50632 2011-09-12  Andreas Schwab  <schwab@redhat.com>
50634         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
50635         `struct cmsghdr *' instead of `void *'.
50636         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
50637         Likewise.
50639 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
50641         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
50642         if non-absolute.
50643         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
50644         ldd_rewrite_script.
50646 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
50648         * configure.in: Remove --with-tls option.
50649         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
50650         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
50651         out in case it is missing.
50652         * sysdeps/ia64/elf/configure.in: Likewise.
50653         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
50654         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
50655         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
50656         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
50657         * sysdeps/sh/elf/configure.in: Likewise.
50658         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
50659         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
50660         * sysdeps/x86_64/elf/configure.in: Likewise.
50661         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
50662         * sysdeps/mach/hurd/tls.h: Likewise.
50664         [BZ #13067]
50665         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
50667         [BZ #13090]
50668         * configure.in: Fix use of AC_INIT.
50670         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
50672 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
50674         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
50675         __set_errno.
50676         * malloc/hooks.c: Likewise.
50678         [BZ #11929]
50679         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
50680         variables statically.
50681         (narenas): Initialize.
50682         (list_lock): Initialize.
50683         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
50684         initializtion of main_arena and list_lock.  Small cleanups.
50685         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
50686         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
50687         Add initializers to main_arena and mp_.
50688         (malloc_state): Remove pagesize member.  Change all users to use
50689         GLRO(dl_pagesize).
50691         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
50692         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
50693         is always initialized.
50695         * malloc/malloc.c: Removed unused configurations and dead code.
50696         * malloc/arena.c: Likewise.
50697         * malloc/hooks.c: Likewise.
50698         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
50700         * include/tls.h: Removed.  USE___THREAD must always be defined.
50701         * bits/libc-tsd.h: Don't handle !USE___THREAD.
50702         * elf/dl-libc.c: Likewise.
50703         * elf/dl-tsd.c: Likewise.
50704         * include/errno.h: Likewise.
50705         * include/netdb.h: Likewise.
50706         * include/resolv.h: Likewise.
50707         * inet/herrno-loc.c: Likewise.
50708         * inet/herrno.c: Likewise.
50709         * malloc/arena.c: Likewise.
50710         * malloc/hooks.c: Likewise.
50711         * malloc/malloc.c: Likewise.
50712         * resolv/res-state.c: Likewise.
50713         * resolv/res_libc.c: Likewise.
50714         * sysdeps/i386/dl-machine.h: Likewise.
50715         * sysdeps/ia64/dl-machine.h: Likewise.
50716         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
50717         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
50718         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
50719         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
50720         * sysdeps/sh/dl-machine.h: Likewise.
50721         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
50722         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
50723         * sysdeps/unix/i386/sysdep.S: Likewise.
50724         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
50725         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
50726         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
50727         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
50728         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
50729         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
50730         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
50731         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
50732         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50733         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
50734         * sysdeps/unix/x86_64/sysdep.S: Likewise.
50735         * sysdeps/x86_64/dl-machine.h: Likewise.
50736         * tls.make.c: Likewise.
50738         * configure.in: Remove --with-__thread option.  Make tests for
50739         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
50740         tls_model attribute fail if no support is available.  Remove
50741         USE_IN_LIBIO.
50742         * Makeconfig: Adjust for dropped configure option.  All features are
50743         now mandatory.
50744         * Makerules: Likewise.
50745         * Versions.def: Likewise.
50746         * argp/argp-fmtstream.c: Likewise.
50747         * argp/argp-fmtstream.h: Likewise.
50748         * argp/argp-help.c: Likewise.
50749         * assert/assert.c: Likewise.
50750         * config.h.in: Likewise.
50751         * config.make.in: Likewise.
50752         * configure: Likewise.
50753         * configure.in: Likewise.
50754         * csu/Versions: Likewise.
50755         * csu/init.c: Likewise.
50756         * elf/tst-audit2.c: Likewise.
50757         * elf/tst-tls10.c: Likewise.
50758         * elf/tst-tls10.h: Likewise.
50759         * elf/tst-tls11.c: Likewise.
50760         * elf/tst-tls12.c: Likewise.
50761         * elf/tst-tls14.c: Likewise.
50762         * elf/tst-tlsmod11.c: Likewise.
50763         * elf/tst-tlsmod12.c: Likewise.
50764         * elf/tst-tlsmod13.c: Likewise.
50765         * elf/tst-tlsmod13a.c: Likewise.
50766         * elf/tst-tlsmod14a.c: Likewise.
50767         * elf/tst-tlsmod15b.c: Likewise.
50768         * elf/tst-tlsmod16a.c: Likewise.
50769         * elf/tst-tlsmod16b.c: Likewise.
50770         * elf/tst-tlsmod7.c: Likewise.
50771         * elf/tst-tlsmod8.c: Likewise.
50772         * elf/tst-tlsmod9.c: Likewise.
50773         * gmon/gmon.c: Likewise.
50774         * grp/fgetgrent_r.c: Likewise.
50775         * grp/putgrent.c: Likewise.
50776         * hurd/fopenport.c: Likewise.
50777         * include/libc-symbols.h: Likewise.
50778         * include/tls.h: Likewise.
50779         * intl/gettextP.h: Likewise.
50780         * intl/loadinfo.h: Likewise.
50781         * locale/global-locale.c: Likewise.
50782         * locale/localeinfo.h: Likewise.
50783         * mach/devstream.c: Likewise.
50784         * malloc/arena.c: Likewise.
50785         * malloc/set-freeres.c: Likewise.
50786         * misc/err.c: Likewise.
50787         * misc/getttyent.c: Likewise.
50788         * misc/mntent_r.c: Likewise.
50789         * posix/getopt.c: Likewise.
50790         * posix/wordexp.c: Likewise.
50791         * pwd/fgetpwent_r.c: Likewise.
50792         * resolv/Versions: Likewise.
50793         * resolv/res_hconf.c: Likewise.
50794         * shadow/fgetspent_r.c: Likewise.
50795         * shadow/putspent.c: Likewise.
50796         * stdio-common/printf_fphex.c: Likewise.
50797         * stdio-common/tmpfile.c: Likewise.
50798         * stdlib/abort.c: Likewise.
50799         * stdlib/fmtmsg.c: Likewise.
50800         * sunrpc/auth_unix.c: Likewise.
50801         * sunrpc/clnt_perr.c: Likewise.
50802         * sunrpc/clnt_tcp.c: Likewise.
50803         * sunrpc/clnt_udp.c: Likewise.
50804         * sunrpc/clnt_unix.c: Likewise.
50805         * sunrpc/openchild.c: Likewise.
50806         * sunrpc/svc_simple.c: Likewise.
50807         * sunrpc/svc_tcp.c: Likewise.
50808         * sunrpc/svc_udp.c: Likewise.
50809         * sunrpc/svc_unix.c: Likewise.
50810         * sunrpc/xdr.c: Likewise.
50811         * sunrpc/xdr_array.c: Likewise.
50812         * sunrpc/xdr_rec.c: Likewise.
50813         * sunrpc/xdr_ref.c: Likewise.
50814         * sunrpc/xdr_stdio.c: Likewise.
50816 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
50818         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50820 2011-07-03  Andreas Jaeger  <aj@suse.de>
50822         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
50823         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
50824         regenerate with gen-libm-tests.pl.
50826 2010-05-12  Petr Baudis  <pasky@suse.cz>
50828         [BZ #11589]
50829         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
50830         around j0() zero points by switching to j1().
50831         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50832         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50833         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50834         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50836 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
50838         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
50839         instead of 0.
50840         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
50841         instead of 0.
50842         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50843         Patch in part by Pavel Roskin <proski@gnu.org>.
50845         [BZ #13138]
50846         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
50847         realloc.
50848         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
50849         Free memory block if necessary.
50851         [BZ #12847]
50852         * libio/genops.c (INTDEF): For string streams the _lock pointer can
50853         be NULL.  Don't lock in this case.
50855 2011-09-09  Roland McGrath  <roland@hack.frob.com>
50857         * elf/elf.h (ELFOSABI_GNU): New macro.
50858         (ELFOSABI_LINUX): Define to that.
50860 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
50862         * string/strncat.c (strncat): Undef the symbol in case it has been
50863         defined in bits/string.h.
50865 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
50867         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
50869         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
50870         link map.
50872 2011-08-17  Andreas Jaeger  <aj@suse.de>
50874         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
50876 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
50877             Ian Lance Taylor  <iant@google.com>
50879         * math/libm-test.inc (lround_test): New testcase.
50880         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
50882 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
50884         * Makefile: Remove support for automatic cvs check-ins.
50885         * Makerules: Likewise.
50886         * config.make.in: Likewise.
50887         * configure.in: Likewise.
50888         * intl/Makefile: Likewise.
50889         * locale/Makefile: Likewise.
50890         * po/Makefile: Likewise.
50891         * posix/Makefile: Likewise.
50892         * sysdeps/gnu/Makefile: Likewise.
50893         * sysdeps/mach/hurd/Makefile: Likewise.
50894         * sysdeps/sparc/sparc32/Makefile: Likewise.
50896         [BZ #13118]
50897         * posix/Makefile (bug-regex32-ENV): Define.
50898         Patch by John Stanley <jpsinthemix@verizon.net>.
50900         * misc/Makefile (headers): Add bits/select2.h.
50901         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
50902         * misc/bits/select2.h: New file.
50903         * include/bits/select2.h: New file.
50904         * debug/Makefile (routines): Add fdelt_chk.
50905         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
50906         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
50907         FD_ISSET.
50908         * debug/fdelt_chk.c: New file.
50910         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
50911         * wcsmbs/test-wmemcmp.c: Likewise.
50912         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
50913         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
50915 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50917         * string/Makefile (strop-tests): Add memcmp.
50918         * string/test-wmemcmp.c: New file.
50919         * string/test-memcmp.c: Add wmemcmp support.
50921 2011-09-08  Roland McGrath  <roland@hack.frob.com>
50923         [BZ #13153]
50924         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
50925         2011-07-19 change.
50927         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
50928         garbage value in a __mach_port_mod_refs call in the cases of the
50929         task-self and thread-self ports.
50931 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50933         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
50935 2011-09-08  Andreas Schwab  <schwab@redhat.com>
50937         * elf/dl-load.c (lose): Check for non-null L.
50939 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
50941         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
50943         * elf/dl-libc.c (dlerror_run): Pass back error code from
50944         dl_catch_error.
50946         [BZ #13123]
50947         * elf/dl-load.c (lose): Free l_origin if it is valid.
50949         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
50950         names.
50951         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
50952         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
50953         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
50954         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
50955         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
50956         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
50958 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50960         * sysdeps/powerpc/fpu/e_hypot.c: New file.
50961         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
50962         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
50963         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
50964         * sysdeps/powerpc/fpu/k_cosf.c: New file.
50965         * sysdeps/powerpc/fpu/k_sinf.c: New file.
50966         * sysdeps/powerpc/fpu/s_cosf.c: New file.
50967         * sysdeps/powerpc/fpu/s_sinf.c: New file.
50968         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
50969         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
50971 2011-08-15  Alan Modra  <amodra@gmail.com>
50973         [BZ #13092]
50974         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
50975         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
50976         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
50977         ppc_mcount to static-only-routines.
50978         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
50979         __mcount_internal.
50980         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
50981         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
50983 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
50985         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
50986         for finite and infinity parameters.
50988 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
50990         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
50991         and add nop instructions for throughput optimization.
50992         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
50994 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
50996         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
50997         aligned copy for power7 with vector-scalar instructions.
50998         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
51000 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
51002         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
51003         AVX check.
51005 2011-09-07  Andreas Schwab  <schwab@redhat.com>
51007         [BZ #13144]
51008         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
51009         last change.
51011 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
51013         * sysdeps/unix/sysv/linux/x86_64/init-first.c
51014         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
51015         syscall wrapper around clock_gettime in __vdso_clock_gettime.
51016         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
51017         clock_gettime.
51019 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
51021         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
51022         Forgot to demangle the pointer.
51024         * sysdeps/i386/sysdep.h: Define atom_text_section.
51025         * sysdeps/x86_64/sysdep.h: Likewise.
51026         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
51027         section with atom_text_section.
51028         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
51029         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
51030         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
51031         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
51032         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
51034         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
51035         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
51036         already be defined.  Change to take two parameters and don't assign
51037         result to variable.  Adjust all users.
51038         Define INTERNAL_GETTIME if not already defined.
51039         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
51040         call.
51041         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
51042         HAVE_CLOCK_GETTIME_VSYSCALL.
51043         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
51045         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
51046         gettimeofday vsyscall, just use time.
51048 2011-09-06  Andreas Schwab  <schwab@redhat.com>
51050         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
51051         <errno.h>.
51053 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
51055         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
51056         syscall on x86-64.
51057         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
51058         syscall.
51059         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
51060         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
51061         syscall if possible.
51063 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
51065         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
51066         e_ident.  Don't pass to find_mapsXX.
51067         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
51069 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51071         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51072         strchr-sse2-no-bsf strrchr-sse2-no-bsf
51073         * sysdeps/x86_64/multiarch/strchr.S: Update.
51074         Check bit_slow_BSF bit.
51075         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
51076         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
51077         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
51079 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
51081         [BZ #13134]
51082         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
51083         before glibc 2.15.
51084         (tryshell): Define.
51085         (__spawni): Change last parameter to be flag.  Test
51086         SPAWN_XFLAGS_USE_PATH flag to use path or not.
51087         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
51088         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
51089         * posix/spawni.c: Likewise.
51090         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
51091         * posix/spawnp.c: Likewise.  Change normal version to use
51092         SPAWN_XFLAGS_USE_PATH.
51093         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
51094         SPAWN_XFLAGS_TRY_SHELL.
51096         [BZ #13150]
51097         * posix/glob.h: Remove gcc 1.x support.
51099         [BZ #13068]
51100         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
51102 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51104         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51105         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
51106         strrchr-sse2-bsf
51107         * sysdeps/i386/i686/multiarch/strchr.S: New file.
51108         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
51109         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
51110         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
51111         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
51112         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
51114 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51116         * sysdeps/x86_64/wcscmp.S: New file.
51118         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
51119         wcscmp-c wcscmp-sse2
51120         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
51121         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
51122         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
51123         * wcsmbs/wcscmp.c: Allow renaming.
51125 2011-09-05  David S. Miller  <davem@davemloft.net>
51127         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
51128         stack slot, rather than the struct return pointer slot.
51129         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
51130         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
51131         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
51132         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
51134 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
51136         * po/ja.po: Update from translation team.
51138         [BZ #13144]
51139         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
51140         kernel in 64-bit binaries.
51142 2011-09-01  David S. Miller  <davem@davemloft.net>
51144         * elf/elf.h (HWCAP_SPARC_*): Move to..
51145         * sysdeps/sparc/sysdep.h: this new file and add new values.
51146         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
51147         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
51148         _DL_HWCAP_COUNT to 24.
51149         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
51150         entries.
51151         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
51152         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
51153         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
51154         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
51155         instead of magic constants.
51156         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51158 2011-08-31  David S. Miller  <davem@davemloft.net>
51160         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
51161         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
51162         Reimplement to do errno handling inline.
51163         (SYSCALL_ERROR_HANDLER): New macro.
51164         (__SYSCALL_STRING): Do not do errno handling in asm.
51165         (__CLONE_SYSCALL_STRING): Delete.
51166         (__INTERNAL_SYSCALL_STRING): Delete.
51167         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
51168         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
51169         (PSEUDO): Reimplement to do errno handling inline.
51170         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
51171         (SYSCALL_ERROR_HANDLER): New macro.
51172         (__SYSCALL_STRING): Do not do errno handling in asm.
51173         (__CLONE_SYSCALL_STRING): Delete.
51174         (__INTERNAL_SYSCALL_STRING): Delete.
51175         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
51176         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
51177         i386.
51178         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
51179         (inline_syscall*): Add 'err' argument.
51180         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
51181         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
51182         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
51183         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
51185         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
51186         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
51188 2011-08-30  Andreas Schwab  <schwab@redhat.com>
51190         * elf/rtld.c (dl_main): Relocate objects in dependency order.
51192 2011-08-29  Jiri Olsa <jolsa@redhat.com>
51194         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
51195         directive.
51197 2011-08-24  David S. Miller  <davem@davemloft.net>
51199         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
51201 2011-08-24  Andreas Schwab  <schwab@redhat.com>
51203         * elf/Makefile: Add rules to build and run unload8 test.
51204         * elf/unload8.c: New file.
51205         * elf/unload8mod1.c: New file.
51206         * elf/unload8mod1x.c: New file.
51207         * elf/unload8mod2.c: New file.
51208         * elf/unload8mod3.c: New file.
51210         * elf/dl-close.c (_dl_close_worker): Reset private search list if
51211         it wasn't used.
51213 2011-08-23  David S. Miller  <davem@davemloft.net>
51215         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
51216         subtract stack bias.
51217         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
51218         %sp not %fp in calculations.
51219         (_JMPBUF_UNWINDS_ADJ): Likewise.
51221         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
51222         (aio_suspend): Call it to force an exception region around the
51223         AIO_MISC_WAIT() invocation.
51225 2011-08-23  Andreas Schwab  <schwab@redhat.com>
51227         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
51228         backslash.
51230 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
51232         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
51233         protection macro.
51234         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
51235         and <dl-machine.h>.
51236         (Elf64_FuncDesc): Remove.
51238 2011-08-22  David S. Miller  <davem@davemloft.net>
51240         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
51241         sigaltstack check, add missing cfi directives.
51242         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
51243         missing cfi directives, and sigaltstack handling.
51245 2011-08-16  Andreas Schwab  <schwab@redhat.com>
51247         [BZ #11724]
51248         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
51249         object is seen twice.
51250         * elf/dl-fini.c (_dl_sort_fini): Likewise.
51252         * elf/Makefile (distribute): Add tst-initorder2.c.
51253         (tests): Add tst-initorder2.
51254         (modules-names): Add tst-initorder2a tst-initorder2b
51255         tst-initorder2c tst-initorder2d.  Add rules to build them.
51256         ($(objpfx)tst-initorder2.out): New rule.
51257         * elf/tst-initorder2.c: New file.
51258         * elf/tst-initorder2.exp: New file.
51260 2011-08-22  Andreas Schwab  <schwab@redhat.com>
51262         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
51264         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
51265         dependencies back to end of function.
51267         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
51268         $(elfobjdir)/ld.so.
51270 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
51272         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
51273         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
51274         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
51275         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
51276         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
51277         of __vdso_gettimeofday.
51278         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
51279         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
51280         attribute_hidden.
51281         (_libc_vdso_platform_setup): Remove initialization of
51282         __vdso_gettimeofday and __vdso_time.
51284 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
51286         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
51287         and fgetc_unlocked.
51288         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
51289         getc_unlocked.
51291         * elf/dl-open.c (add_to_global): Report additions to the global scope
51292         for LD_DEBUG=scopes.
51293         (dl_open_worker): Also print scope of newly loaded dependencies.
51294         (_dl_show_scope): Indicate if there is no scope.
51296         [BZ #13114]
51297         * stdio-common/Makefile (tests): Add bug24.
51298         * stdio-common/bug24.c: New file.
51300 2011-08-19  Andreas Jaeger  <aj@suse.de>
51302         [BZ #13114]
51303         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
51304         non-existant file when using close-on-exec mode.
51306 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
51308         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
51309         the very first instruction.
51311         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
51312         the CFI state in the end.
51313         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
51314         inclusion of dl-trampoline.h.
51315         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
51317 2011-08-19  Andreas Schwab  <schwab@redhat.com>
51319         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
51320         expectations for long double.
51322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
51323         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
51325 2011-08-14  David S. Miller  <davem@davemloft.net>
51327         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
51328         artificual limit depends upon the system page size.
51330 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
51332         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
51333         * resolv/Makefile: Define CFLAGS-libresolv.
51335 2011-08-17  Andreas Schwab  <schwab@redhat.com>
51337         * nss/makedb.c (compute_tables): Make variables used in nested
51338         function static.
51340 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
51342         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
51343         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
51344         if buffer was too small.
51346         * elf/pldd.c (main): Attach to all threads in the process.
51347         Rewrite /proc handling to use *at functions.
51349 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
51351         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
51352         specifies first scope to show.
51353         (dl_open_worker): Update callers.  Move printing scope of new
51354         object to before the relocation.
51355         * elf/rtld.c (dl_main): Update _dl_show_scope call.
51356         * sysdeps/generic/ldsodefs.h: Update declaration.
51358         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
51359         string for the scope number.
51361 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
51363         * nscd/servicescache.c (cache_addserv): Make sure written is always
51364         initialized.
51366 2011-08-14  Roland McGrath  <roland@hack.frob.com>
51368         * sysdeps/i386/i486/bits/atomic.h
51369         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
51370         statement expression, so as to suppress "set but not used" warning.
51371         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
51373         * string/strncat.c (STRNCAT): Use prototype definition.
51375         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
51376         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
51377         -Iprograms here.
51378         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
51379         (localedef-modules): Add localedef.
51380         (locale-modules): Add locale.
51382         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
51383         * elf/rtld.c (dl_main): Invert order of assignment in last change,
51384         to avoid a warning.
51386 2011-08-14  David S. Miller  <davem@davemloft.net>
51388         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
51389         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
51391 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
51393         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
51394         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
51395         * elf/rtld.c (dl_main): Set l_name of vDSO.
51396         Call _dl_show_scope when DL_DEBUG_SCOPES.
51397         (process_dl_debug): Recognize scopes flag and also set it for all.
51398         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
51399         Declare _dl_show_scope.
51401         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
51402         (do_dlopen): Pass caller_dlopen to dl_open.
51403         (__libc_dlopen_mode): Initialize caller_dlopen.
51405         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
51406         of libc.  Make tolower call locale-independent.  Optimize a bit by
51407         using isdigit instead of isalnum.
51408         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
51410 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
51412         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
51413         was a dependency or dynamically loaded.
51415 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
51417         * intl/l10nflist.c: Allow architecture-specific pop function.
51418         * sysdeps/x86_64/l10nflist.c: New file.
51420         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
51421         classification.
51423 2011-08-10  Andreas Schwab  <schwab@redhat.com>
51425         * include/dirent.h: Add libc_hidden_proto for scandirat and
51426         scandirat64.  Don't declare __scandirat64.
51427         * dirent/scandirat.c: Add libc_hidden_def.
51428         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
51429         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
51431 2011-08-10  David S. Miller  <davem@davemloft.net>
51433         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
51434         enum.
51435         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51436         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51437         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51439 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
51441         * Versions.def [libc]: Add GLIBC_2.15.
51442         * dirent/Makefile (routines): Add scandirat and scandirat64.
51443         * dirent/Versions [libc]: Export scandirat and scandirat64 for
51444         GLIBC_2.15.
51445         * dirent/dirent.h: Declare scandirat and scandirat64.
51446         * dirent/scandirat.c: New file.
51447         * dirent/scandirat64.c: New file.
51448         * sysdeps/wordsize-64/scandirat.c: New file.
51449         * sysdeps/wordsize-64/scandirat64.c: New file.
51450         * dirent/opendir.c: Define opendirat.
51451         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
51452         using scandirat.
51453         * dirent/scandir64.c: Adjust for scandir.c change.
51454         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
51455         __scandirat64, and __scandir_cancel_handler.
51456         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
51457         additional parameter and use openat instead of open (outside of ld.so).
51458         Add new __opendir as wrapper around __opendirat.
51459         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
51460         here without requiring old scandirat implementation.
51462 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
51464         * dirent/scandir.c (cancel_handler): Renamed to
51465         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
51466         defined.  Adjust users.
51467         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
51468         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
51470 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
51472         * string/test-string.h (IMPL): Use __STRING to expand name and then
51473         stringify it.
51475         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
51476         of cleanups.
51478 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51480         * string/Makefile: Update.
51481         (strop-tests): Append strncat.
51482         * string/test-wcscmp.c: New file.
51483         New comprehensive test for wcscmp.
51484         * string/test-strcmp.c: Update.
51485         (WIDE): New define.
51487 2011-07-22  Andreas Schwab  <schwab@redhat.com>
51489         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
51490         line.
51492 2011-07-26  Andreas Schwab  <schwab@redhat.com>
51494         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
51495         encoding to ACE if AI_IDN.
51497 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
51499         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
51500         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
51502 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51504         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
51505         Fix overflow bug in strncat.
51506         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
51508         * string/test-strncat.c: Update.
51509         Add new tests for checking overflow bugs.
51511 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51513         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51514         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
51515         * sysdeps/i386/i686/multiarch/strcat.S: New file.
51516         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
51517         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
51518         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
51519         * sysdeps/i386/i686/multiarch/strncat.S: New file.
51520         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
51521         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
51523         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
51524         (USE_AS_STRCAT): Define.
51525         Add strcat and strncat support.
51526         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
51528 2011-07-25  Andreas Schwab  <schwab@redhat.com>
51530         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
51531         __n bigger than INT_MAX+1.
51532         (__strncmp_g): Likewise.
51534 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
51536         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
51537         * libio/stido.h: Likewise.
51539         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
51540         (AF_NFC): Define.
51541         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
51542         (AF_NFC): Define.
51544         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
51545         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51546         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51547         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
51548         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51550         [BZ #13021]
51551         * scripts/test-installation.pl: Don't expect libnss_test1 to be
51552         installed.
51554         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
51555         typo.
51556         (_dl_x86_64_save_sse): Likewise.
51558 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
51560         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
51561         OSXSAVE.
51562         (_dl_x86_64_save_sse): Likewise.
51564         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
51566         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
51568 2011-07-21  Andreas Schwab  <schwab@redhat.com>
51570         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
51571         change.
51572         (_dl_x86_64_save_sse): Use correct AVX check.
51574 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51576         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
51577         bug in strncpy/strncat.
51578         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
51580 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
51582         * string/tester.c (test_strcat): Add tests for different alignments
51583         of source and destination.
51584         (test_strncat): Likewise.
51586 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
51588         [BZ #12852]
51589         * posix/glob.c (glob): Check passed in values before using them in
51590         expressions to avoid some overflows.
51591         (glob_in_dir): Likewise.
51593         [BZ #13007]
51594         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
51595         check for AVX enablement so that we don't crash with old kernels and
51596         new hardware.
51597         * elf/tst-audit4.c: Add same checks here.
51598         * elf/tst-audit6.c: Likewise.
51600         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
51602 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
51604         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
51606 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
51608         * po/cs.po: Update from translation team.
51609         * po/bg.po: Likewise.
51611 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
51613         * misc/sys/cdefs.h: Add support for const attribute.
51614         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
51615         to gnu_dev_{major,minor,makedev} functions.
51617 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
51619         * intl/dcigettext.c (get_output_charset): Add missing bracket.
51621 2011-07-20  Andreas Schwab  <schwab@redhat.com>
51623         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
51624         strlen results.
51626 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51628         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
51629         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
51630         register in order to avoid conflicts with the soft frame pointer
51631         being held in r11 when necessary.
51632         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
51633         (INTERNAL_VSYSCALL_NCS): Likewise.
51635 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
51637         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
51638         * elf/dl-fini.c (_dl_fini): Adjust caller.
51639         * elf/dl-close.c (_dl_close_worker): Likewise.
51640         * sysdeps/generic/ldsodefs.h: Adjust declaration.
51642 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
51644         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
51645         "aux_cache->nlibs < 0".
51647         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
51648         in the reload-count case.
51650 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51652         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51653         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
51654         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
51655         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
51656         * sysdeps/x86_64/multiarch/strcat.S: New file.
51657         * sysdeps/x86_64/multiarch/strncat.S: New file.
51658         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
51659         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
51660         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
51661         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
51662         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
51663         (USE_AS_STRCAT): Define.
51664         Add strcat and strncat support.
51665         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
51666         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
51667         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
51668         * string/strncat.c: Update.
51669         (USE_AS_STRNCAT): Define.
51670         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51671         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
51672         and i7.
51673         * sysdeps/x86_64/multiarch/init-arch.h
51674         (bit_Prefer_PMINUB_for_stringop): New.
51675         (index_Prefer_PMINUB_for_stringop): Likewise.
51676         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
51677         bit_Prefer_PMINUB_for_stringop.
51679 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
51681         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
51682         buffer64.
51683         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
51684         of casting of buffer.
51685         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
51686         buffer32 and buffer64.
51687         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
51688         writes instead of casting of buffer.
51689         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
51690         buffer32.
51691         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
51692         casting of buffer.
51694 2011-07-19  Andreas Schwab  <schwab@redhat.com>
51696         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
51698 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
51700         * nscd/nscd.c (termination_handler): Don't do anything for a database
51701         if it has not yet been initialized.
51703 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
51705         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
51707 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
51709         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
51711 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
51713         * po/nl.po: Update from translation team.
51714         * po/sv.po: Likewise.
51716 2011-07-16  Roland McGrath  <roland@hack.frob.com>
51718         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
51719         now disallowed by GCC.
51721         * configure.in (use-default-link): Default to yes if a test -shared
51722         link meets our qualifications.
51723         * configure: Regenerated.
51725         * config.make.in (output-format): New variable.
51726         * configure.in: Check for ld --print-output-format support.
51727         * configure: Regenerated.
51728         * Makerules ($(common-objpfx)format.lds)
51729         [$(output-format) != unknown]: Just use $(output-format),
51730         instead of the linker-script munging.
51732 2011-07-14  Roland McGrath  <roland@hack.frob.com>
51734         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
51735         of $(common-objpfx)shlib.lds.
51736         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
51738         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
51739         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
51741         * configure.in (-z relro check): Adjust test code to add a large
51742         writable data section after it.
51743         * configure: Regenerated.
51745 2011-07-11  Roland McGrath  <roland@hack.frob.com>
51747         * configure.in (-z relro check): Fix test code to make the variable
51748         truly const.
51749         * configure: Regenerated.
51751 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
51753         * nscd/nscd.h (struct traced_file): Define.
51754         (struct database_dyn): Remove inotify_descr, reset_res, and filename
51755         elements.  Add traced_files.
51756         (inotify_fd): Declare.
51757         (register_traced_file): Declare.
51758         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
51759         (inotify_fd): Export.
51760         (resolv_conf_descr): Remove.
51761         (nscd_init): Move inotify descriptor creation to main.
51762         Don't register files for notification here.
51763         (register_traced_file): New function.
51764         (invalidate_cache): Don't use reset_res to determine whether to call
51765         res_init, go through the list of registered files.
51766         (main_loop_poll): The inotify descriptors are now stored in the
51767         structures for the traced files.
51768         (main_loop_epoll): Likewise
51769         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
51770         to __nss_disable_nscd.
51771         * nscd/cache.c (prune_cache): There is no single inotify descriptor
51772         for a database anymore.  Check the records for all the registered
51773         files instead.
51774         * nss/Makefile (libnss_files-routines): Add files-init.
51775         (libnss_db-routines): Add db-init.
51776         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
51777         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
51778         * nss/nss_db/db-init.c: New file.
51779         * nss/nss_files/files-init.c: New file.
51780         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
51781         __nss_lookup_function.
51782         (__nss_lookup_function): Call nss_load_library.
51783         (nss_load_all_libraries): New function.
51784         (__nss_disable_nscd): Take parameter with callback function for files
51785         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
51786         used for the cached services.
51787         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
51788         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
51789         options for features to all the files in nscd.
51791         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
51793 2011-07-10  Roland McGrath  <roland@hack.frob.com>
51795         * csu/elf-init.c (__libc_csu_init): Comment typo.
51797 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
51799         * po/pl.po: Update from translation team.
51800         * po/ja.po: Likewise.
51801         * po/ru.po: Likewise.
51802         * po/ko.po: Likewise.
51803         * po/fr.po: Likewise.
51805 2011-07-09  Roland McGrath  <roland@hack.frob.com>
51807         * configure.in (.ctors/.dtors header and trailer check):
51808         Use an empirical test on a built program.
51809         * configure: Regenerated.
51811         * configure.in (-z relro check): Use an empirical test on a built DSO.
51812         Detect, but do not require, on ia64.
51813         * configure: Regenerated.
51815         * configure.in (READELF): Find it with AC_CHECK_TOOL.
51816         Update tests that use readelf to use $READELF instead.
51817         * configure: Regenerated.
51819 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
51821         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
51822         if the result is not used.
51824 2011-07-05  Andreas Jaeger  <aj@suse.de>
51826         [BZ#9696]
51827         * stdlib/tst-strtod.c: Add testcase.
51829 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
51831         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
51832         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
51833         The latter has a higher limit.  Take additional parameter to pass to
51834         the new function.
51835         (__pathconf): Pass file to __statfs_link_max.
51836         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
51837         __statfs_link_max.
51838         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
51839         __statfs_link_max.
51841         [BZ #12868]
51842         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
51843         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51844         Handle Lustre.
51845         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
51846         (__statfs_filesize_max): Likewise.
51847         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
51849 2011-07-05  Andreas Jaeger  <aj@suse.de>
51851         * resolv/res_comp.c (dn_skipname): Remove unused variable.
51853 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
51855         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
51856         `status' variable.
51857         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
51858         Likewise.
51860 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
51862         * Makefile (strop-tests): Add strncat.
51863         * string/test-strncat.c: New file.
51865 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
51867         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
51869 2011-06-21  Andreas Jaeger  <aj@suse.de>
51871         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
51872         Copy rule from iconvdata/Makefile.
51874 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
51876         [BZ #12922]
51877         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
51878         but no long options are defined, just return 'W'.
51880 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
51882         [BZ #9696]
51883         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
51885 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
51887         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
51888         netgroups to read.
51889         (innetgr): Likewise.
51891 2011-07-05  Roland McGrath  <roland@hack.frob.com>
51893         * config.make.in (install_root): Default to $(DESTDIR).
51895 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
51897         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
51899 2011-07-02  Roland McGrath  <roland@hack.frob.com>
51901         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
51903         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
51904         containing directory rather than embedding absolute directory names.
51906         * scripts/check-local-headers.sh: Rewritten using awk.
51907         Match by word, not by line.  Print error messages for matches.
51908         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
51910         * Makerules [shlib-lds-flags empty]:
51911         ($(common-objpfx)libc_pic.opts): New target.
51912         ($(common-objpfx)libc_pic.os.clean): New target.
51913         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
51915         * config.make.in (OBJCOPY): New variable.
51916         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
51917         * configure: Regenerated.
51919         * config.make.in (use-default-link): New variable.
51920         * configure.in (use_default_link): Grok --with-default-link to set it.
51921         * configure: Regenerated.
51922         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
51923         (shlib-lds, shlib-lds-flags): Define to empty.
51925         * Makerules (shlib-lds): New variable.
51926         (shlib-lds-flags): New variable.
51927         (build-shlib, build-moduile, build-module-asneeded): Use it.
51928         ($(common-objpfx)libc.so): Use $(shlib-lds).
51929         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
51930         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
51932         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
51933         DT_FLAGS/DT_FLAGS_1 with zero flags.
51935         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
51936         linker script munging.
51938 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
51940         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
51941         as 128-bit value.
51942         * crypt/sha512.c (sha512_process_block): Perform total addition using
51943         128-bit if possible.
51944         (__sha512_finish_ctx): Likewise.
51945         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
51946         as 64-bit value.
51947         * crypt/sha256.c (SWAP64): Define.
51948         (sha256_process_block): Perform total addition using 64-bit if
51949         possible.
51950         (__sha256_finish_ctx): Likewise.
51952 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
51954         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
51955         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51956         * nscd/hstcache.c (cache_addhst): Likewise.
51957         * nscd/grpcache.c (cache_addgr): Likewise.
51958         * nscd/aicache.c (addhstaiX): Likewise
51959         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
51961 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
51963         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
51964         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51965         * nscd/hstcache.c (cache_addhst): Likewise.
51966         * nscd/grpcache.c (cache_addgr): Likewise.
51967         * nscd/aicache.c (addhstaiX): Likewise
51969 2011-07-01  Andreas Schwab  <schwab@redhat.com>
51971         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
51972         domain only when needed.
51974 2011-06-30  Andreas Schwab  <schwab@redhat.com>
51976         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
51977         is always restored.
51979 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
51981         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
51982         are re-adding the entry.
51983         * nscd/servicescache.c (cache_addserv): Likewise.
51985 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
51987         * sysdeps/generic/dl-irel.h: fix protection against multiple
51988         inclusions.
51989         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
51991 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
51993         [BZ #12935]
51994         * malloc/memusage.sh: Fix quoting in message.
51995         * debug/xtrace.sh: Likewise.
51997         * configure.in: Remove support for --experimental-malloc option, make
51998         it the default.
51999         * config.make.in: Likewise.
52000         * malloc/Makefile: Likewise.
52002 2011-06-27  Andreas Schwab  <schwab@redhat.com>
52004         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
52005         two-byte characters.
52007 2011-06-27  Roland McGrath  <roland@hack.frob.com>
52009         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
52010         AC_CACHE_CHECK invocation.
52011         * configure: Regenerated.
52013         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
52015 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
52017         [BZ #12350]
52018         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
52019         bit from old_res_options.
52021         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
52023         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
52024         value type for setfct.
52026 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
52028         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
52029         __gettimeofday instead of gettimeofday.
52031 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
52033         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
52035 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
52037         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
52039         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
52040         info.
52042 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
52044         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52045         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
52046         strcpy-sse2-unaligned strncpy-sse2-unaligned
52047         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
52048         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
52049         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
52050         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
52051         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
52052         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
52053         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
52054         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
52055         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
52056         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
52057         (STRCPY): Support SSE2 and SSSE3 versions.
52059 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
52061         [BZ #12874]
52062         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
52063         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
52064         kernels which artificially limit size of requests.
52066 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
52068         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52069         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
52070         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
52071         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
52072         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
52073         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
52074         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
52075         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
52076         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
52077         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
52078         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
52079         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
52080         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
52081         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
52082         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
52083         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52084         Enable unaligned load optimization for Intel Core i3, i5 and i7
52085         processors.
52086         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
52087         Define.
52088         (index_Fast_Unaligned_Load): Define.
52089         (HAS_FAST_UNALIGNED_LOAD): Define.
52091 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
52093         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
52095 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
52097         [BZ #12907]
52098         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
52099         until it is clear that the information is realy needed.
52100         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
52102 2011-06-22  Andreas Schwab  <schwab@redhat.com>
52104         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
52106 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
52108         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
52109         /sys/devices/system/cpu/online if it is usable.
52111         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
52112         reading the information from the /proc filesystem to once a second.
52114 2011-06-21  Andreas Jaeger  <aj@suse.de>
52116         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
52117         NULL after inclusion of kernel headers.
52119 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
52121         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
52122         calls to internal_setent.
52124         [BZ #12885]
52125         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
52126         addresses using gethostbyname4_r ignore IPv4 addresses.
52128         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
52129         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
52131         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
52133 2011-06-20  David S. Miller  <davem@davemloft.net>
52135         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
52136         inclusions.
52137         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
52139         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
52140         (elf_irel): Use it.
52141         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
52142         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
52143         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
52144         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
52145         * sysdeps/x86_64/dl-irel.h: Likewise.
52147         * elf/dl-runtime.c: Use elf_ifunc_invoke.
52148         * elf/dl-sym.c: Likewise.
52150 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
52152         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
52153         need to dereference resplen2.
52155 2011-06-14  Andreas Schwab  <schwab@redhat.com>
52157         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
52159 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
52161         * Makeconfig: Define vardbdir and inst_vardbdir.
52162         * nss/Makefile: Add rules to install db-Makefile.
52164         * nss/nss_db/db-XXX.c: Cleanup.
52166         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
52167         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
52168         GLIBC_PRIVATE.
52169         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
52170         * nss/makedb.c: Implement -g option to specify that value strings
52171         are generated and should not be added to table iterated over for
52172         get*ent calls.
52173         * nss/nss_db/db-initgroups.c: New file.
52175         * nss/getent.c: Add support for initgroups lookups through getgrouplist
52176         interface.
52178         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
52179         (internal_getgrouplist): Adjust to name change.
52180         Update use_initgroups_entry if this is not the first call.
52181         * nss/databases.def: Add initgroups entry.
52183         * nss/makedb.c (compute_tables): Check result of multiple hash table
52184         sizes to minimize maximum chain length.
52186 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
52188         * Versions.def: Add entry for libnss_db.
52189         * shlib-versions: Likewise.
52190         * nss/Makefile: Add rules to build libnss_db.
52191         * nss/Versions: Add libnss_db information.  Organize libnss_files
52192         entries better.
52193         * nss/db-Makefile: Add gshadow support.  Change rules for the new
52194         makedb progra.  Some minor improvements to generate smaller files.
52195         * nss/nss_db/nss_db.h: Move NSS database header data structures to
52196         here from...
52197         * nss/makedb.c: ...here.
52198         Improve database format to be smaller and require less memory at
52199         runtime.
52200         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
52201         db anymore.
52202         * nss/nss_db/db-netgrp.c: Likewise.
52203         * nss/nss_db/db-open.c: Likewise.
52204         * nss/nss_files/flies-XXX.x: Adjust comments.
52205         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
52206         * nss/nss_files/files-grp.c: Likewise.
52207         * nss/nss_files/files-hosts.c: Likewise.
52208         * nss/nss_files/files-network.c: Likewise.
52209         * nss/nss_files/files-proto.c: Likewise.
52210         * nss/nss_files/files-pwd.c: Likewise.
52211         * nss/nss_files/files-rpc.c: Likewise.
52212         * nss/nss_files/files-service.c: Likewise.
52213         * nss/nss_files/files-sgrp.c: Likewise.
52214         * nss/nss_files/files-spwd.c: Likewise.
52215         * nss/nss_db/db-alias.c: Removed.
52216         * nss/nss_db/dummy-db.h: Removed.
52218 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
52220         * nss/makedb.c: Rewritten to not use database library.
52221         * nss/Makefile: Update to build new makedb program.
52223 2011-06-14  Andreas Jaeger  <aj@suse.de>
52225         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
52226         memset declaration.
52228 2011-06-10  Andreas Schwab  <schwab@redhat.com>
52230         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
52231         tmpbuf.
52233 2011-06-10  Roland McGrath  <roland@hack.frob.com>
52235         * Makerules (shlib.lds): Fail if the linker script comes out empty.
52236         * elf/Makefile ($(objpfx)ld.so): Likewise.
52238         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
52239         Don't list ld.so twice in dependencies.
52241         * posix/bug-regex31.c: Include <stdlib.h>.
52243         * nscd/hstcache.c (cache_addhst): Remove unused variable.
52245         * nis/nss_compat/compat-spwd.c
52246         (getspent_next_nss_netgr): Remove unused variable.
52247         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
52249         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
52250         nonmembers" output to use the right array.
52252         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
52254         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
52256         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
52257         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
52258         * catgets/gencat.c (read_input_file): Likewise.
52259         * locale/programs/locarchive.c (enlarge_archive): Likewise.
52261         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
52262         variable definition inside #if's controlling its use.
52264         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
52266         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
52268         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
52270         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
52271         unreachable code.
52273         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
52275         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
52276         * configure: Regenerated.
52278         * Makerules: Revert last change.
52279         * elf/Makefile: Likewise.
52281 2011-06-09  Roland McGrath  <roland@hack.frob.com>
52283         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
52284         * elf/Makefile ($(objpfx)librtld.os): Likewise.
52285         (reloc-link): Likewise.
52287 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
52289         * elf/Makefile: Add rules to build pldd.
52290         * elf/pldd.c: New file.
52291         * elf/pldd-xx.c: New file.
52293 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
52295         * version.h: Update for 2.15 development version.
52297 2011-06-07  David S. Miller  <davem@davemloft.net>
52299         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
52300         ifuncs.
52301         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
52302         elf_machine_lazy_rel): Likewise.
52303         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
52304         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
52305         elf_machine_lazy_rel): Likewise.
52306         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
52307         dl_hwcap via passed in argument.
52308         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
52309         Likewise.
52311 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52313         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
52315 2011-06-06  Roland McGrath  <roland@hack.frob.com>
52317         [BZ #12849]
52318         * manual/fdl-1.1.texi: New file, verbatim from:
52319         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
52320         * manual/lgpl-2.1.texi: New file, verbatim from:
52321         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
52322         * manual/Makefile (licenses): New variable, list those new file names.
52323         (texis): Use it.
52324         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
52326         * manual/fdl.texi: File removed.
52327         * manual/lesser.texi: File removed.
52328         * manual/libc.texinfo (Copying, Documentation License):
52329         Use new @include file names, put @appendix directive before @include.
52331 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
52333         [BZ #12841]
52334         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
52335         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
52336         (mq_open): Add __NTH.
52338 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
52340         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52341         Assume Intel Core i3/i5/i7 processor if AVX is available.
52343 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
52345         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
52346         typo.
52348 2011-05-31  Andreas Schwab  <schwab@redhat.com>
52350         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
52351         memory.  Use alloca_account.  Fix memory leak when retrying.
52353 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
52355         * version.h (RELEASE): Bump for 2.14 release.
52356         * include/features.h (__GLIBC_MINOR__): Bump to 14.
52358         * config.make.in (RANLIB): Remove entry.
52360 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
52362         * po/Makefile (po-sed-cmd): Add ksh to extensions.
52363         (libc.pot): Work around missing support for .ksh extension in xgettext.
52365         [BZ #12684]
52366         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
52367         if both request failed.
52368         (send_dg): In case of server errors clear resplen or *resplen2.
52370         [BZ #12454]
52371         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
52372         when there are multiple maps.
52373         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
52374         (_dl_fini): Remove test here.
52376         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
52378 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
52380         [BZ #12350]
52381         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
52382         bit from old_res_options.
52383         (gaih_inet): Likewise.
52385         [BZ #11099]
52386         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
52387         as signed.
52389         * resolv/res_init.c (res_setoptions): Make the code more compact.
52391         [BZ #11558]
52392         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
52393         set RES_USEVC.
52395         [BZ #11634]
52396         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
52398         * malloc/malloc.h: Mark malloc hook variables as deprecated.
52400         [BZ #11781]
52401         * malloc/malloc.h: Declare malloc hook variables as volatile.
52403         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
52404         in last patch.
52406         [BZ #11799]
52407         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
52408         raise in the comment.
52409         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
52410         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
52411         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
52413 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
52415         [BZ #12811]
52416         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
52417         grow the buffers more if it already has to be sufficient.
52418         (build_wcs_upper_buffer): Likewise.
52419         * posix/regexec.c (check_matching): Likewise.
52420         (clean_state_log_if_needed): Likewise.
52421         (extend_buffers): Don't enlarge buffers beyond size of the input
52422         buffer.
52423         Patches mostly by Emil Wojak <emil@wojak.eu>.
52424         * posix/bug-regex32.c: New file.
52425         * posix/Makefile (tests): Add bug-regex32.
52427         * locale/findlocale.c (_nl_find_locale): Return right away if
52428         _nl_explode_name failed.
52429         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
52431         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
52433         * debug/xtrace.sh: Unify messages.
52434         * malloc/memusage.sh: Likewise.
52436         [BZ #12813]
52437         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
52438         time symbol from vDSO.  Substitute with vsyscall if not available.
52439         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
52440         __vdso_time.
52442         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
52443         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
52444         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
52445         Add sendmmsg and internal_sendmmsg.
52446         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
52447         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
52448         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
52450         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
52451         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
52452         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
52454 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
52456         [BZ #12813]
52457         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
52458         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
52459         available.
52460         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
52461         __vdso_getcpu.
52463         [BZ #12814]
52464         * iconvdata/Makefile (tests): Add bug-iconv9.
52465         * iconvdata/bug-iconv9.c: New file.
52467 2011-05-27  Andreas Schwab  <schwab@redhat.com>
52469         [BZ #12814]
52470         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
52472 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
52474         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
52475         (struct user_regs_struct): Change intcs field back to cs.
52477 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
52479         * po/ja.po: Update from translation team.
52481 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
52483         [BZ #12795]
52484         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
52485         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
52487 2011-05-20  Andreas Schwab  <schwab@redhat.com>
52489         * stdlib/longlong.h: Update from GCC.
52491 2011-05-23  Andreas Schwab  <schwab@redhat.com>
52493         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
52494         parameter name.
52495         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
52496         Add parameter name.
52497         (__sysconf): Pass it down.
52499 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
52501         [BZ #12671]
52502         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
52503         some situations.
52504         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
52505         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
52506         add in in __libc_use_alloca calls.  Adjust callers.
52507         (glob): Use malloc in some situations.
52509         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
52510         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
52511         pltexit.
52513 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
52515         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
52516         and CLOCK_BOOTTIME_ALARM.
52518         [BZ #12782]
52519         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
52520         is returned.
52522         * string/_strerror.c (__strerror_r): Print negative errors as signed
52523         numbers.
52525         [BZ #12777]
52526         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
52527         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
52528         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
52530         * configure.in: Fix typo in redirection and correct removal of test
52531         files in two cases.
52533         [BZ #12788]
52534         * locale/setlocale.c (new_composite_name): Fix test to check for
52535         identical name of all categories.
52537         [BZ #12792]
52538         * libio/filedoalloc.c (local_isatty): New function.
52539         (_IO_file_doallocate): Use local_isatty.
52540         * stdio-common/perror.c (perror): In case a new stream is used
52541         forward the stream error.
52542         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
52543         error flag.
52545 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
52547         [BZ #11869]
52548         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
52549         alloca.
52550         * include/alloca.h (extend_alloca_account): Define.
52552         [BZ #11857]
52553         * posix/regex.h: Fix comments with documentation of user-accessible
52554         fields after compilation and describe correct free'ing of pattern
52555         after re_compile_pattern.
52556         Patch by Reuben Thomas <rrt@sc3d.org>.
52558 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
52560         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
52561         and -mno-altivec to prevent the compiler from using Altivec and/or
52562         VSX instructions when the corresponding registers are not available.
52564 2011-05-19  Andreas Schwab  <schwab@redhat.com>
52566         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
52568 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
52570         * libio/freopen.c (freopen): Use __dup2, not dup2.
52571         * libio/freopen64.c (freopen64): Likewise.
52573 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
52575         [BZ #12775]
52576         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
52577         * math/Makefile (tests): Add test-powl.
52578         (CFLAGS-test-powl.c): Define.
52579         * math/test-powl.c: New file.
52581 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
52583         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
52585 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
52587         [BZ #11837]
52588         * iconvdata/gb18030.c: Update to GB18020-2005.
52590 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
52592         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
52593         RE_SYNTAX_POSIX_AWK): Update to match recent development.
52594         Patch by Aharon Robbins <arnold@skeeve.com>.
52596         [BZ #11892]
52597         * stdlib/putenv.c (putenv): Don't always create copy of the variable
52598         on the stack.
52600         [BZ #11895]
52601         * misc/pselect.c (__pselect): Handle timeout value errors hidden
52602         through underflows.
52604         [BZ #12766]
52605         * misc/error.c (error_at_line): Ensure file_name and old_file_name
52606         point to strings before performing equality test for error_one_per_line
52607         mode.
52609         [BZ #11697]
52610         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
52612         [BZ #11820]
52613         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
52614         (struct user_fpregs_struct): Avoid __uint*_t types.
52616         [BZ #6420]
52617         * malloc/mtrace.c (tr_where): Add additional parameter to point to
52618         symbol info.  Use it instead of calling _dl_addr locally.
52619         (lock_and_info): New function.
52620         (tr_freehook): Call lock_and_info and pass symbol info as additional
52621         parameter to tr_where.
52622         (tr_mallochook): Likewise.
52623         (tr_reallochook): Likewise.
52624         (tr_memalignhook): Likewise.
52626         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
52627         used and couldn't be at all thread-safe.
52629 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
52631         * libio/freopen.c (freopen): Don't close old file descriptor
52632         before the new one is opened.  Instead dup the new file descriptor
52633         to the old one after the new stream is created.
52634         * libio/freopen64.c (freopen64): Likewise.
52635         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
52636         * libio/fileops.c (_IO_new_file_close_it): Handle new
52637         _IO_FLAGS2_NOCLOSE flag.
52638         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
52639         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
52640         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
52641         _IO_FLAGS2_NOCLOSE flag.
52642         * include/unistd.h: Add hidden_proto for dup3.
52643         Define __have_dup3.
52644         * io/dup3.c: Define hidden symbol.
52645         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
52647         [BZ #7101]
52648         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
52649         when an incomplete long option is used.
52650         * posix/tst-getopt_long1.c: New file.
52651         * posix/Makefile (tests): Add tst-getopt_long1.
52653         [BZ #10138]
52654         * scripts/config.guess: Update from autoconf-2.68.
52655         * scripts/config.sub: Likewise.
52657         [BZ #10157]
52658         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
52659         tests into ...
52660         (has_cpuclock): ...this.  New function.
52661         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
52662         macro here based on has_cpuclock code.
52664         [BZ #10149]
52665         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52666         First byte (not low byte) is now always NUL.
52667         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
52669         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52670         Use non-cancelable interfaces.
52672         [BZ #9809]
52673         * locale/iso-639.def: Add entry for Sorani.
52675         [BZ #11901]
52676         * include/stdlib.h: Move include protection to the right place.
52677         Define abort_msg_s.  Declare __abort_msg with it.
52678         * stdlib/abort.c (__abort_msg): Adjust type.
52679         * assert/assert.c (__assert_fail_base): New function.  Majority
52680         of code from __assert_fail.  Allocate memory for __abort_msg with
52681         mmap.
52682         (__assert_fail): Now call __assert_fail_base.
52683         * assert/assert-perr.c: Remove bulk of implementation.  Use
52684         __assert_fail_base.
52685         * include/assert.hL Declare __assert_fail_base.
52686         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
52687         mmap.
52688         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
52690 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
52692         [BZ #11952]
52693         [BZ #12453]
52694         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
52695         until all modules are registered in the DTV.
52696         * elf/Makefile: Add rules to build and run tst-tls19.
52697         * elf/tst-tls19.c: New file.
52698         * elf/tst-tls19mod1.c: New file.
52699         * elf/tst-tls19mod2.c: New file.
52700         * elf/tst-tls19mod3.c: New file.
52701         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
52703         [BZ #12083]
52704         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
52705         correctly.
52707         [BZ #12601]
52708         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
52709         two-byte sequence errors.
52710         * iconvdata/Makefile (tests): Add bug-iconv8.
52711         * iconvdata/bug-iconv8.c: New file.
52713         [BZ #12626]
52714         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
52715         buf2 definition.
52717         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
52719         [BZ #12432]
52720         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
52721         (dummy_getcfa): New function.
52722         (init): Get _Unwind_GetCFA address, use dummy if not found.
52723         (backtrace_helper): In recursion check, also check whether CFA changes.
52724         (__backtrace): Completely initialize arg.
52726         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
52727         storing incomplete byte sequence in state object.  Avoid testing for
52728         guaranteed too small input if we know there is enough data available.
52730 2011-05-11  Andreas Schwab  <schwab@redhat.com>
52732         * Makeconfig (+link-pie): Indent.
52733         * Rules (binaries-pie): Define if $(have-fpie) and
52734         $(build-shared).
52735         (binaries-shared): Also filter out $(binaries-pie).
52736         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
52737         * nscd/Makefile (others-pie): Add nscd.
52738         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
52739         ($(objpfx)nscd): Remove command override.
52740         * login/Makefile (others-pie): Add pt_chown.
52741         ($(objpfx)pt_chown): Remove command override.
52742         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
52743         remove command overrides.
52745 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
52747         * libio/tst_putwc.c: Fix error messages.
52749         [BZ #12724]
52750         * libio/fileops.c (_IO_new_file_close_it): Always flush when
52751         currently writing and seek to current position when not.
52752         * libio/Makefile (tests): Add bug-fclose1.
52753         * libio/bug-fclose1.c: New file.
52755 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
52757         [BZ #12511]
52758         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
52759         don't set DF_1_NODELETE here.
52760         (do_lookup_x): When entering new entry test for copy relocation
52761         and if necessary set DF_1_NODELETE flag.
52762         * elf/tst-unique4.cc: New file.
52763         * elf/tst-unique4.h: New file.
52764         * elf/tst-unique4lib.cc: New file.
52765         * elf/Makefile: Add rules to build and run tst-unique4.
52766         Patch by Piotr Bury <pbury@goahead.com>.
52768 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
52770         [BZ #12052]
52771         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
52773         [BZ #12625]
52774         * misc/mntent_r.c (addmntent): Flush the stream after the output
52776         [BZ #12393]
52777         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
52778         (is_trusted_path_normalize): Skip initial colon.  Append slash
52779         to empty buffer.  Duplicate is_trusted_path code but allow
52780         constructed patch to be prefix.
52781         (is_dst): Allow $ORIGIN followed by /.
52782         (_dl_dst_substitute): Correct clearing of check_for_trusted.
52783         Correct testing of result of is_trusted_path_normalize
52784         (decompose_rpath): Fix warning.
52786 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
52788         [BZ #11257]
52789         * grp/initgroups.c (internal_getgrouplist): When we found the service
52790         list through the initgroups entry in nsswitch.conf do not always
52791         continue on a successful lookup.  Don't always use the
52792         __nss_group_database value if it is set.
52793         * nss/nsswitch.conf (initgroups): Change action for successful db
52794         lookup to continue for compatibility.
52796 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
52798         [BZ #11532]
52799         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
52800         and CP774 modules.
52801         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
52802         and CP774 modules.
52803         * iconvdata/tst-tables.sh: Likewise.
52804         * iconvdata/cp770.c: New file.
52805         * iconvdata/cp771.c: New file.
52806         * iconvdata/cp772.c: New file.
52807         * iconvdata/cp773.c: New file.
52808         * iconvdata/cp774.c: New file.
52809         * iconvdata/testdata/CP770: New file.
52810         * iconvdata/testdata/CP770..UTF8: New file.
52811         * iconvdata/testdata/CP771: New file.
52812         * iconvdata/testdata/CP771..UTF8: New file.
52813         * iconvdata/testdata/CP772: New file.
52814         * iconvdata/testdata/CP772..UTF8: New file.
52815         * iconvdata/testdata/CP773: New file.
52816         * iconvdata/testdata/CP773..UTF8: New file.
52817         * iconvdata/testdata/CP774: New file.
52818         * iconvdata/testdata/CP774..UTF8: New file.
52820         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
52821         END CHARMAP line.
52822         * iconvdata/gen-8bit-gap.sh: Likewise.
52823         * iconvdata/gen-8bit.sh: Likewise.
52825         * locale/iso-639.def: Add ary entry.
52827         [BZ #11258]
52828         * locale/C-translit.h.in: Add U20A1 transliteration.
52830         [BZ #12178]
52831         * locale/iso-639.def: Add wae entry.
52832         Patch by Kevin Bortis <bortis@translate-wae.ch>.
52834         [BZ #12545]
52835         * locale/programs/localedef.c (construct_output_path): Use ssize_t
52836         for n.
52838         [BZ #12711]
52839         * locale/C-translit.h.in: Add entry for U20B9.
52840         Patch by pravin.d.s@gmail.com.
52842 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
52844         [BZ #12713]
52845         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
52846         ENAMETOOLONG use generic getcwd.
52847         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
52848         in rtld.  Use *stat64.
52849         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
52850         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
52851         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
52852         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
52853         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
52854         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
52855         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
52856         __fstatat64 macros.
52857         * include/dirent.h: Add libc_hidden_proto for rewinddir.
52858         * dirent/rewinddir.c: Add libc_hidden_def.
52859         * sysdeps/mach/hurd/rewinddir.c: Likewise.
52860         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
52862         * include/dirent.h (__alloc_dir): Add flags parameter.
52863         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
52864         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
52865         __alloc_dir.
52866         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
52867         from fdopendir if O_CLOEXEC is already set.
52869 2011-03-15  Alan Modra  <amodra@gmail.com>
52871         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
52872         l_tls_firstbyte_offset non-zero.  Save padding offset in
52873         l_tls_firstbyte_offset for later use.
52874         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
52875         freeing static tls block.
52877 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
52879         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
52880         where #ifdef was intended.  The intent is to prevent ARG_MAX from
52881         being defined by the kernel headers.
52883 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
52885         [BZ #12734]
52886         * resolv/resolv.h: Define RES_NOTLDQUERY.
52887         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
52888         no-tld-query and set RES_NOTLDQUERY.
52889         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
52890         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
52891         modern BIND to search name as TLD unless forbidden.
52893 2011-05-07  Petr Baudis  <pasky@suse.cz>
52894             Ulrich Drepper  <drepper@gmail.com>
52896         [BZ #12393]
52897         * elf/dl-load.c (fillin_rpath): Move trusted path check...
52898         (is_trusted_path): ...to here.
52899         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
52900         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
52901         using is_trusted_path_normalize() in setuid scripts.
52903 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
52905         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
52906         __BEGIN/__END_DECLS.
52908 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
52910         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
52911         NSS_STATUS_NOTFOUND if no record was found.
52913 2011-05-05  Andreas Schwab  <schwab@redhat.com>
52915         * sunrpc/Makefile (headers): Add rpc/netdb.h.
52916         (headers-not-in-tirpc): Remove rpc/netdb.h
52917         * resolv/netdb.h: Revert last change.
52919 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
52921         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
52922         circular dependency between libgcc.a and libc.a.
52924 2011-05-05  Andreas Schwab  <schwab@redhat.com>
52926         * resolv/netdb.h: Don't include <rpc/netdb.h>.
52927         * nis/Makefile: Don't install rpcsvc/*.
52928         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
52929         instead of <rpc/types.h>.
52930         (MAXHOSTNAMELEN): Define.
52932 2011-05-03  Andreas Schwab  <schwab@redhat.com>
52934         * elf/ldconfig.c (add_dir): Don't crash on empty path.
52936 2011-04-28  Maciej Babinski  <mbabinski@google.com>
52938         [BZ #12714]
52939         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
52940         gethostbyname4_r when IPv6 results are possible.
52942 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
52944         [BZ #12723]
52945         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
52946         _PC_PIPE_BUF handling.
52948 2011-04-30  Bruno Haible  <bruno@clisp.org>
52950         [BZ #12717]
52951         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
52952         * resolv/netdb.h (getnameinfo): Change type of flags parameter
52953         to 'int'.
52954         * inet/getnameinfo.c (getnameinfo): Likewise.
52956 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
52958         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
52959         to groups setting in database lookup.
52960         * nss/nsswitch.conf: Add initgroups entry.
52962 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
52964         [BZ #12685]
52965         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
52966         mode string.
52967         Patch by Eric Blake <eblake@redhat.com>.
52969 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
52971         * sunrpc/Makefile (need-export-routines): Add svc_run.
52972         (routines): Remove svc_run.
52973         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
52974         * sunrpc/clnt_perr.c (clnt_perrno): Export.
52975         * sunrpc/svc_run.c (svc_run): Likewise.
52976         * sunrpc/svc_udp.c (svcudp_create): Likewise.
52978 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
52980         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
52981         problem in reallocation in last patch.
52983 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
52985         * sunrpc/Makefile: Move inclusion of Rules.
52987 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
52989         * nss/nss_files/files-initgroups.c: New file.
52990         * nss/Makefile (libnss_files-routines): Add files-initgroups.
52991         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
52992         _nss_files_initgroups_dyn.
52994 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
52996         * elf/elf.h (R_ARM_IRELATIVE): Define.
52998 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
53000         * po/ru.po: Update from translation team.
53002 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
53004         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
53005         dependencies.
53007 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
53009         [BZ #12653]
53010         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
53011         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
53012         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
53013         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
53014         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
53016 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
53018         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
53019         differing bytes.
53020         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
53021         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
53022         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53024 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
53026         [BZ #12420]
53027         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
53028         storing it.
53029         * stdlib/bug-getcontext.c: New file.
53030         * stdlib/Makefile: Add rules to build and run bug-getcontext.
53032 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53034         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
53035         instructions into .machine "z9-109".
53036         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
53037         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
53039 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53041         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
53042         between environment variables and auxiliary vector.
53044 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
53046         * Makefile: Add rules to build linkobj/libc.so.
53047         * include/libc-symbols.h: Define libc_hidden_nolink.
53048         * include/rpc/auth.h: Mark functions which are to be hidden.
53049         * include/rpc/auth_des.h: Likewise.
53050         * include/rpc/auth_unix.h: Likewise.
53051         * include/rpc/clnt.h: Likewise.
53052         * include/rpc/des_crypt.h: Likewise.
53053         * include/rpc/key_prot.h: Likewise.
53054         * include/rpc/pmap_clnt.h: Likewise.
53055         * include/rpc/pmap_prot.h: Likewise.
53056         * include/rpc/pmap_rmt.h: Likewise.
53057         * include/rpc/rpc_msg.h: Likewise.
53058         * include/rpc/svc.h: Likewise.
53059         * include/rpc/svc_auth.h: Likewise.
53060         * include/rpc/xdr.h: Likewise.
53061         * nis/Makefile: Link all DSOs against linkobj/libc.so.
53062         * nss/Makefile: Likewise.
53063         * sunrpc/Makefile: Don't install headers.  Build library with normal
53064         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
53065         * sunrpc/auth_des.c: Hide exported symbols by default, export some
53066         for the compat linking library.  Remove use of INTDEF/INTUSE.
53067         * sunrpc/auth_none.c: Likewise.
53068         * sunrpc/auth_unix.c: Likewise.
53069         * sunrpc/authdes_prot.c: Likewise.
53070         * sunrpc/authuxprot.c: Likewise.
53071         * sunrpc/clnt_gen.c: Likewise.
53072         * sunrpc/clnt_perr.c: Likewise.
53073         * sunrpc/clnt_raw.c: Likewise.
53074         * sunrpc/clnt_simp.c: Likewise.
53075         * sunrpc/clnt_tcp.c: Likewise.
53076         * sunrpc/clnt_udp.c: Likewise.
53077         * sunrpc/clnt_unix.c: Likewise.
53078         * sunrpc/des_crypt.c: Likewise.
53079         * sunrpc/des_soft.c: Likewise.
53080         * sunrpc/get_myaddr.c: Likewise.
53081         * sunrpc/key_call.c: Likewise.
53082         * sunrpc/key_prot.c: Likewise.
53083         * sunrpc/netname.c: Likewise.
53084         * sunrpc/pm_getmaps.c: Likewise.
53085         * sunrpc/pm_getport.c: Likewise.
53086         * sunrpc/pmap_clnt.c: Likewise.
53087         * sunrpc/pmap_prot.c: Likewise.
53088         * sunrpc/pmap_prot2.c: Likewise.
53089         * sunrpc/pmap_rmt.c: Likewise.
53090         * sunrpc/publickey.c: Likewise.
53091         * sunrpc/rpc_cmsg.c: Likewise.
53092         * sunrpc/rpc_common.c: Likewise.
53093         * sunrpc/rpc_dtable.c: Likewise.
53094         * sunrpc/rpc_prot.c: Likewise.
53095         * sunrpc/rpc_thread.c: Likewise.
53096         * sunrpc/rtime.c: Likewise.
53097         * sunrpc/svc.c: Likewise.
53098         * sunrpc/svc_auth.c: Likewise.
53099         * sunrpc/svc_authux.c: Likewise.
53100         * sunrpc/svc_raw.c: Likewise.
53101         * sunrpc/svc_run.c: Likewise.
53102         * sunrpc/svc_simple.c: Likewise.
53103         * sunrpc/svc_tcp.c: Likewise.
53104         * sunrpc/svc_udp.c: Likewise.
53105         * sunrpc/svc_unix.c: Likewise.
53106         * sunrpc/svcauth_des.c: Likewise.
53107         * sunrpc/xcrypt.c: Likewise.
53108         * sunrpc/xdr.c: Likewise.
53109         * sunrpc/xdr_array.c: Likewise.
53110         * sunrpc/xdr_float.c: Likewise.
53111         * sunrpc/xdr_intXX_t.c: Likewise.
53112         * sunrpc/xdr_mem.c: Likewise.
53113         * sunrpc/xdr_rec.c: Likewise.
53114         * sunrpc/xdr_ref.c: Likewise.
53115         * sunrpc/xdr_sizeof.c: Likewise.
53116         * sunrpc/xdr_stdio.c: Likewise.
53118 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
53120         [BZ #12650]
53121         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
53122         * sysdeps/ia64/dl-tls.h: Likewise.
53123         * sysdeps/powerpc/dl-tls.h: Likewise.
53124         * sysdeps/s390/dl-tls.h: Likewise.
53125         * sysdeps/sh/dl-tls.h: Likewise.
53126         * sysdeps/sparc/dl-tls.h: Likewise.
53127         * sysdeps/x86_64/dl-tls.h: Likewise.
53128         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
53130 2011-03-14  Andreas Schwab  <schwab@redhat.com>
53132         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
53133         rpath element also skip the following colon.
53134         (expand_dynamic_string_token): Add is_path parameter and pass
53135         down to DL_DST_REQUIRED and _dl_dst_substitute.
53136         (decompose_rpath): Call expand_dynamic_string_token with
53137         non-zero is_path.  Ignore empty rpaths.
53138         (_dl_map_object_from_fd): Call expand_dynamic_string_token
53139         with zero is_path.
53141 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
53143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
53144         Make cancelable.
53146 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
53148         [BZ #12655]
53149         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
53150         Patch by Filipe David Manana <fdmanana@apache.org>.
53152 2011-04-07  Andreas Schwab  <schwab@redhat.com>
53154         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
53155         Maintain aligned stack.
53156         (CHECK_RSP): Remove unused macro.
53158 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
53160         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
53161         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
53163 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
53165         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
53167         * include/features.h: Mention __USE_XOPEN2K8 in comment.
53169 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
53171         [BZ #12518]
53172         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
53173         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
53174         * sysdeps/x86_64/memmove.c: New file.
53175         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
53176         (memcpy): Renamed to ...
53177         (__new_memcpy): This.
53178         (memcpy): Provide GLIBC_2_14 memcpy.
53179         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
53180         (memcpy): Provide GLIBC_2_2_5 memcpy.
53182 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
53184         [BZ #12631]
53185         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
53187 2011-03-30  Andreas Schwab  <schwab@redhat.com>
53189         * misc/syncfs.c: New file.
53190         * misc/Makefile (routines): Add syncfs.
53191         * posix/unistd.h: Declare syncfs.
53192         * sysdeps/unix/syscalls.list: Add syncfs.
53194 2011-04-01  Andreas Schwab  <schwab@redhat.com>
53196         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
53197         open_by_handle_at.
53198         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
53199         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53200         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53201         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53202         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53203         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
53204         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53206 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
53208         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
53209         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53210         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
53211         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53212         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53213         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53214         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53216         * io/Makefile: Compile fallocate.c, fallocate64.c, and
53217         sync_file_range.c with -fexceptions.
53218         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
53219         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
53220         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
53221         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
53222         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
53223         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
53224         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
53225         sync_file_range as cancellation point
53226         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
53227         now a wrapper around __call_sync_file_range with cancellation handling.
53228         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
53229         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
53230         function name to __call_sync_file_range.
53231         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
53232         Add call_sync_file_range.
53234 2011-04-01  Andreas Schwab  <schwab@redhat.com>
53236         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53237         bits/timex.h.
53239 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
53241         * iconv/iconv.h: Fix typo in comment.
53242         * io/fcntl.h: Likewise.
53243         * libio/stdio.h: Likewise.
53244         * posix/spawn.h: Likewise.
53245         * posix/unistd.h: Likewise.
53246         * stdlib/stdlib.h: Likewise.
53247         * time/time.h: Likewise.
53248         * wcsmbs/wchar.h: Likewise.
53250         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
53251         open_by_handle): Add.
53252         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
53253         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
53254         Augment a few comments.
53255         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53256         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53257         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53258         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53259         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53260         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
53261         open_by_handle.
53263         * io/fcntl.h (AT_EMPTY_PATH): Define.
53265 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
53267         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
53268         * sysdeps/unix/sysv/linux/bits/time.h: New file.
53269         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
53270         to...
53271         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
53272         * Versions.def: Add GLIBC_2.14.
53273         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
53274         Export.
53276 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
53278         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
53279         round counter.
53280         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
53282 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53284         [BZ #12597]
53285         * string/test-strncmp.c (do_page_test): New function.
53286         (check2): Likewise.
53287         (test_main): Call check2.
53288         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
53290 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
53292         [BZ #12587]
53293         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
53294         Handle cache information in CPU leaf 4.
53295         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
53297 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
53299         [BZ #12583]
53300         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
53301         character representation.
53302         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
53304 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
53306         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
53307         END(__isnan) to END(__isnanf) to match function entry point/label
53308         EALIGN(__isnanf,...).
53310 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
53312         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
53314 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
53316         [BZ #12510]
53317         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
53318         copy from the symbol referenced in the relocation to initialize the
53319         used variable.
53320         Patch by Piotr Bury <pbury@goahead.com>.
53321         * elf/Makefile: Add rules to build and tst-unique3.
53322         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
53323         * elf/tst-unique3.cc: New file.
53324         * elf/tst-unique3.h: New file.
53325         * elf/tst-unique3lib.cc: New file.
53326         * elf/tst-unique3lib2.cc: New file.
53328         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
53330 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
53332         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
53333         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
53334         to _start.
53336 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
53338         * elf/dl-load.c (_dl_map_object): If we are looking for the first
53339         to-be-loaded object along a path to loader is ld.so.
53341 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
53342             Ulrich Drepper  <drepper@gmail.com>
53344         * sysdeps/x86_64/memset.S: After aligning destination, code
53345         branches to different locations depending on the value of
53346         misalignment, when multiarch is enabled. Fix this.
53348 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
53350         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
53351         Set _x86_64_preferred_memory_instruction for AMD processsors.
53352         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53353         Set bit_Prefer_SSE_for_memop for AMD processors.
53355 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
53357         * libio/fmemopen.c (fmemopen): Optimize a bit.
53359 2011-03-03  Andreas Schwab  <schwab@redhat.com>
53361         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
53363 2011-03-03  Roland McGrath  <roland@redhat.com>
53365         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
53367 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
53369         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
53370         __bzero_ultra1 instead of __memset_ultra1.
53372 2011-02-23  Andreas Schwab  <schwab@redhat.com>
53373             Ulrich Drepper  <drepper@gmail.com>
53375         [BZ #12509]
53376         * include/link.h (struct link_map): Add l_orig_initfini.
53377         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
53378         returning unsuccessfully.
53379         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
53380         close of a file loaded at startup, restore the original l_initfini
53381         list.
53382         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
53383         list, store the pointer.
53384         * elf/Makefile ($(objpfx)noload-mem): New rule.
53385         (noload-ENV): Define.
53386         (tests): Add $(objpfx)noload-mem.
53387         * elf/noload.c: Include <memcheck.h>.
53388         (main): Call mtrace.  Close all opened handles.
53390 2011-02-17  Andreas Schwab  <schwab@redhat.com>
53392         [BZ #12454]
53393         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
53394         dependencies are missing.
53396 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53398         Fix __if_freereq crash: Unlike the generic version which uses free,
53399         Hurd needs munmap.
53400         * sysdeps/mach/hurd/ifreq.h: New file.
53402 2011-01-27  Petr Baudis  <pasky@suse.cz>
53403             Ulrich Drepper  <drepper@gmail.com>
53405         [BZ 12445]#
53406         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
53407         to extend_alloca().
53408         * stdio-common/bug23.c: New file.
53409         * stdio-common/Makefile (tests): Add bug23.
53411 2010-09-28  Andreas Schwab  <schwab@redhat.com>
53412             Ulrich Drepper  <drepper@gmail.com>
53414         [BZ #12489]
53415         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
53416         before performing relro protection.  At old place add assertion
53417         to make sure nothing changed.
53419 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
53420             Glauber de Oliveira Costa  <glommer@gmail.com>
53422         * elf/elf.h: Add new ARM TLS relocs.
53424 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
53426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
53427         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
53428         cast from r3.
53429         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
53430         'tests' variable.
53431         * sysdeps/wordsize-64/tst-writev.c: New file.
53433 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
53435         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
53436         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
53437         insns in _dl_start to prevent a TOC reference before relocs are
53438         resolved.
53440 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
53442         [BZ #12469]
53443         * Makeconfig: Remove RANLIB definition.
53444         * Makerules: Don't use RANLIB.
53445         * aclocal.m4: Remove ranlib test.
53446         * configure.in: No need to check for ranlib.
53447         * elf/rtld-Rules: Don't use RANLIB.
53449 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53451         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
53452         protection macro.
53453         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
53454         inclusion protection macro.
53456         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
53457         SIGRTMIN and SIGRTMAX and print information in that case only when
53458         SIGRTMIN is defined.
53460 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
53462         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
53463         arginfo fn returning -1.
53465         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
53466         and thousands string is zero terminated.
53468 2011-02-03  Andreas Schwab  <schwab@redhat.com>
53470         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
53471         sysdeps/unix/sysv/linux/bits/socket.h.
53473 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53475         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
53476         (__CPU_COUNT): Remove old macros.
53477         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
53478         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
53479         (__CPU_ALLOC, __CPU_FREE): Add macros.
53480         (__sched_cpualloc, __sched_cpufree): Add declarations.
53482 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
53484         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
53485         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
53486         * nscd/aicache.c (addhstaiX): Return timeout of added value.
53487         (readdhstai): Return value of addhstaiX call.
53488         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
53489         (addgrbyX): Return value returned by cache_addgr.
53490         (readdgrbyname): Return value returned by addgrbyX.
53491         (readdgrbygid): Likewise.
53492         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
53493         (addpwbyX): Return value returned by cache_addpw.
53494         (readdpwbyname): Return value returned by addhstbyX.
53495         (readdpwbyuid): Likewise.
53496         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
53497         (addservbyX): Return value returned by cache_addserv.
53498         (readdservbyname): Return value returned by addservbyX:
53499         (readdservbyport): Likewise.
53500         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
53501         (addhstbyX): Return value returned by cache_addhst.
53502         (readdhstbyname): Return value returned by addhstbyX.
53503         (readdhstbyaddr): Likewise.
53504         (readdhstbynamev6): Likewise.
53505         (readdhstbyaddrv6): Likewise.
53506         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
53507         (readdinitgroups): Return value returned by addinitgroupsX.
53508         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
53509         (prune_cache): Keep track of timeout value of re-added entries.
53510         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
53511         * nscd/nscd.h: Adjust prototypes of readd* functions.
53513 2011-02-04  Roland McGrath  <roland@redhat.com>
53515         * nis/nis_server.c (nis_servstate): Use the right name for 0.
53516         (nis_stats): Likewise.
53517         * nis/nis_modify.c (nis_modify): Likewise.
53518         * nis/nis_remove.c (nis_remove): Likewise.
53519         * nis/nis_add.c (nis_add): Likewise.
53521         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
53523         * posix/fnmatch_loop.c: Add some consts.
53525         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
53527 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
53529         [BZ #12460]
53530         * config.make.in (config-cflags-novzeroupper): Define.
53531         * configure.in: Substitute libc_cv_cc_novzeroupper.
53532         * elf/Makefile (AVX-CFLAGS): Define.
53533         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
53534         (CFLAGS-tst-auditmod4a.c): Likewise.
53535         (CFLAGS-tst-auditmod4b.c): Likewise.
53536         (CFLAGS-tst-auditmod6b.c): Likewise.
53537         (CFLAGS-tst-auditmod6c.c): Likewise.
53538         (CFLAGS-tst-auditmod7b.c): Likewise.
53539         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
53541 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
53543         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
53544         function to the callback.
53545         Patch partly by Jiri Olsa <jolsa@redhat.com>.
53547 2011-02-02  Andreas Schwab  <schwab@redhat.com>
53549         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
53550         of errno.
53552 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
53554         [BZ #11724]
53555         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
53556         of constructors.
53557         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
53558         of destructors.
53559         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
53561         [BZ #11724]
53562         * elf/Makefile: Add rules to build and run new test.
53563         * elf/tst-initorder.c: New file.
53564         * elf/tst-initorder.exp: New file.
53565         * elf/tst-initordera1.c: New file.
53566         * elf/tst-initordera2.c: New file.
53567         * elf/tst-initordera3.c: New file.
53568         * elf/tst-initordera4.c: New file.
53569         * elf/tst-initorderb1.c: New file.
53570         * elf/tst-initorderb2.c: New file.
53571         * elf/tst-order-a1.c: New file.
53572         * elf/tst-order-a2.c: New file.
53573         * elf/tst-order-a3.c: New file.
53574         * elf/tst-order-a4.c: New file.
53575         * elf/tst-order-b1.c: New file.
53576         * elf/tst-order-b2.c: New file.
53577         * elf/tst-order-main.c: New file.
53578         New test case by George Gensure <werkt0@gmail.com>.
53580 2010-10-01  Andreas Schwab  <schwab@redhat.com>
53582         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
53583         decoding ACE if AI_CANONIDN.
53585 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
53587         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
53589 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
53591         * version.h (RELEASE): Bump for 2.13 release.
53592         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
53594         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
53596         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
53597         MADV_NOHUGEPAGE.
53598         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
53599         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
53600         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
53601         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
53602         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
53603         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
53605         * posix/getconf.c: Update copyright year.
53606         * catgets/gencat.c: Likewise.
53607         * csu/version.c: Likewise.
53608         * debug/catchsegv.sh: Likewise.
53609         * debug/xtrace.sh: Likewise.
53610         * elf/ldconfig.c: Likewise.
53611         * elf/ldd.bash.in: Likewise.
53612         * elf/sprof.c (print_version): Likewise.
53613         * iconv/iconv_prog.c: Likewise.
53614         * iconv/iconvconfig.c: Likewise.
53615         * locale/programs/locale.c: Likewise.
53616         * locale/programs/localedef.c: Likewise.
53617         * malloc/memusage.sh: Likewise.
53618         * malloc/mtrace.pl: Likewise.
53619         * nscd/nscd.c (print_version): Likewise.
53620         * nss/getent.c: Likewise.
53622         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
53623         PF_CAIF, and PF_ALG.
53624         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53626 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
53628         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
53629         (modules-names): Use them.
53630         (ifunc-test-modules, ifunc-pie-tests): Define.
53631         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
53632         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
53633         (test-extras): Likewise.
53634         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
53635         $(compile-command.c).
53636         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
53637         (all-built-dso): Define.
53638         (check-textrel.out, check-execstack.out): Depend on it.
53640         * configure.in: Don't override --enable-multi-arch.
53642 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
53644         [BZ #6812]
53645         * nscd/hstcache.c (tryagain): Define.
53646         (cache_addhst): Return tryagain not notfound for temporary errors.
53647         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
53648         failed.
53650 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
53652         [BZ #10563]
53653         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
53654         to make the syscall.
53655         * sysdeps/unix/sysv/linux/setgroups.c: New file.
53657         [BZ #12378]
53658         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
53659         and fall back to matching as normal character if the string ends before
53660         the matching ']' is found.  This is what POSIX requires.
53661         * posix/testfnm.c: Adjust test result.
53662         * posix/globtest.sh: Adjust test result.  Add new test.
53663         * posix/tst-fnmatch.input: Likewise.
53664         * posix/tst-fnmatch2.c: Add new test.
53666 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
53668         * elf/Makefile (check-execstack): Revert last change.  Depend on
53669         check-execstack.h.
53670         (check-execstack.h): New target.
53671         (generated): Add check-execstack.h.
53672         * elf/check-execstack.c: Include "check-execstack.h".
53673         (main): Revert last change.
53674         (handle_file): Return zero if GNU_STACK is absent and
53675         DEFAULT_STACK_PERMS doesn't include PF_X.
53677 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
53679         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
53680         in child fails because the descriptor is already closed.
53681         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
53682         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
53683         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
53685         [BZ #12397]
53686         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
53687         syscall.
53689         [BZ #10484]
53690         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
53691         temporary buffer used to handle multi lookups locally.
53692         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
53694 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
53696         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
53697         loader is ld.so.
53699 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
53701         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
53702         alignment for SSE2.
53704 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
53706         [BZ #12394]
53707         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
53708         characters.  When rounding increased number of integer digits recompute
53709         number of groups.
53710         * stdio-common/tst-grouping.c: New file.
53711         * stdio-common/Makefile: Add rules to build and run tst-grouping.
53713 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
53715         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
53716         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
53718         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
53719         void.
53720         * bits/select.h: Likewise.
53722 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
53724         * po/ja.po: Update from translation team.
53726 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
53728         [BZ #11155]
53729         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
53730         implementation just like for lxstat, fxstatat, et al.
53732 2010-12-27  Jim Meyering  <meyering@redhat.com>
53734         [BZ #12348]
53735         * posix/regexec.c (build_trtable): Return failure indication upon
53736         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
53738 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
53740         [BZ #12201]
53741         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
53742         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
53743         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
53744         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
53746         [BZ #12207]
53747         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
53749         [BZ #12204]
53750         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
53751         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
53753 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
53755         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
53756         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
53757         script has SORT_BY_INIT_PRIORITY.
53758         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
53759         NO_CTORS_DTORS_SECTIONS is defined.
53760         * elf/soinit.c: Likewise.
53761         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
53762         NO_CTORS_DTORS_SECTIONS is defined.
53763         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
53764         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
53765         * sysdeps/sh/init-first.c: Likewise.
53766         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
53768 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
53770         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
53771         always use the slow path.
53773 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
53775         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
53776         similar rule which adds the sysdep directories to the header search in
53777         order to pick up the correct platform stackinfo.h.
53778         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
53779         perform test if it is, otherwise return successfully without testing.
53780         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
53781         DEFAULT_STACK_PERMS define in stackinfo.h.
53782         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
53783         defined in stackinfo.h.
53784         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
53785         DEFAULT_STACK_PERMS defined in stackinfo.h.
53786         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
53787         * sysdeps/ia64/stackinfo.h: Likewise.
53788         * sysdeps/s390/stackinfo.h: Likewise.
53789         * sysdeps/sh/stackinfo.h: Likewise.
53790         * sysdeps/sparc/stackinfo.h: Likewise.
53791         * sysdeps/x86_64/stackinfo.h: Likewise.
53792         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
53793         PF_X for powerpc64.  Retain PF_X for powerpc32.
53795 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
53797         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
53798         accurately.
53799         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
53800         GETDENTS_64BIT_ALIGNED.
53802 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
53804         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
53806 2010-12-10  Andreas Schwab  <schwab@redhat.com>
53808         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
53809         _GNU_SOURCE.
53811         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
53812         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
53813         Remove __restrict.
53814         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
53815         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
53817 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
53819         [BZ #11655]
53820         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
53821         are initialized.
53823 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
53825         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
53827 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
53829         * po/it.po: Update from translation team.
53831 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
53833         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
53834         unused codes.
53836 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
53838         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
53840 2010-11-24  Andreas Schwab  <schwab@redhat.com>
53842         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
53843         specially.
53844         (gaih_getanswer_slice): Likewise.
53846 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
53848         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
53850 2010-05-31  Petr Baudis  <pasky@suse.cz>
53852         [BZ #11149]
53853         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
53854         silently even in the chroot mode.
53856 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
53858         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
53859         last patch a bit.  Pretty printing
53861 2010-05-31  Petr Baudis <pasky@suse.cz>
53863         [BZ #10085]
53864         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
53865         initialization of skip_initgroups_dyn.
53867 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
53869         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
53870         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
53872 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
53874         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
53876 2010-11-11  Andreas Schwab  <schwab@redhat.com>
53878         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
53879         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
53880         (tst-fnmatch-ENV): Set MALLOC_TRACE.
53881         ($(objpfx)tst-fnmatch-mem): New rule.
53882         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
53883         * posix/tst-fnmatch.c (main): Call mtrace.
53885 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
53887         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53888         Support Intel processor model 6 and model 0x2c.
53890 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
53892         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
53893           signed comparison.
53895 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
53897         [BZ #12205]
53898         * string/test-strncasecmp.c (check_result): New function.
53899         (do_one_test): Use it.
53900         (check1): New function.
53901         (test_main): Use it.
53902         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
53903         Support strcasecmp and strncasecmp.
53905 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
53907         [BZ #12194]
53908         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
53909         * sysdeps/x86_64/bits/byteswap.h: Likewise.
53911 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
53913         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
53914         IFUNC support.
53915         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53916         memset-x86-64.
53917         * sysdeps/x86_64/multiarch/bzero.S: New file.
53918         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
53919         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
53920         * sysdeps/x86_64/multiarch/memset.S: New file.
53921         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
53922         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53923         Set bit_Prefer_SSE_for_memop for Intel processors.
53924         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
53925         Define.
53926         (index_Prefer_SSE_for_memop): Define.
53927         (HAS_PREFER_SSE_FOR_MEMOP): Define.
53929 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
53931         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
53932         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
53934 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
53936         [BZ #12191]
53937         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
53938         (__x86_64_raw_data_cache_size_half): Likewise.
53939         (__x86_64_raw_shared_cache_size): Likewise.
53940         (__x86_64_raw_shared_cache_size_half): Likewise.
53942         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
53943         (__x86_64_raw_data_cache_size_half): Likewise.
53944         (__x86_64_raw_shared_cache_size): Likewise.
53945         (__x86_64_raw_shared_cache_size_half): Likewise.
53946         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
53947         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
53948         and __x86_64_raw_shared_cache_size_half.  Round
53949         __x86_64_data_cache_size_half, __x86_64_data_cache_size
53950         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
53951         to multiple of 256 bytes.
53953 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
53955         [BZ #12167]
53956         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
53957         of inacessible symlinks.  Verify result of symlink before returning it.
53958         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
53959         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
53961 2010-10-28  Erich Ritz  <erichritz@gmail.com>
53963         * math/math.h (isinf): Fix typo in comment.
53965 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
53967         * po/da.po: Update from translation team.
53969 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
53971         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
53972         is added to the list.
53974 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53975             Ulrich Drepper  <drepper@gmail.com>
53977         * elf/dl-object.c (_dl_new_object): Don't append the new object to
53978         the global list here.  Move code to...
53979         (_dl_add_to_namespace_list): ...here.  New function.
53980         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
53981         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
53982         * elf/dl-load.c (lose): Don't remove the element from the list.
53983         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
53984         (_dl_map_object): Likewise.
53986 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
53988         [BZ #12159]
53989         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
53990         into all bytes of SSE register.
53991         Patch by Richard Li <richardpku@gmail.com>.
53993 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
53995         [BZ #12140]
53996         * malloc/malloc.c (_int_free): Fill correct number of bytes when
53997         perturbing.
53999 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
54001         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
54002         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
54003         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
54004         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
54005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
54006         submachine.
54007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
54009 2010-10-22  Andreas Schwab  <schwab@redhat.com>
54011         * include/dlfcn.h (__RTLD_SECURE): Define.
54012         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
54013         mode & __RTLD_SECURE instead.
54014         (open_path): Rename preloaded parameter to secure.
54015         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
54016         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
54017         * elf/dl-deps.c (openaux): Likewise.
54018         * elf/rtld.c (struct map_args): Remove is_preloaded.
54019         (map_doit): Don't use it.
54020         (dl_main): Likewise.
54021         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
54022         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
54024 2010-09-09  Andreas Schwab  <schwab@redhat.com>
54026         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
54027         (sysd-rules-targets): Remove duplicates.
54028         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
54029         rtld-%.$o dependency.
54031 2010-10-18  Andreas Schwab  <schwab@redhat.com>
54033         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
54034         _dl_map_object do it.
54036 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
54038         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
54039         fast fma builtins, define the macros in the C99 standard.
54040         (FP_FAST_FMAF): Likewise.
54041         (FP_FAST_FMAL): Likewise.
54042         * sysdeps/x86_64/bits/mathdef.h: Likewise.
54044         * bits/mathdef.h: Update copyright year.
54045         * sysdeps/powerpc/bits/mathdef.h: Likewise.
54047 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
54049         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
54050         builtins, define the macros in the C99 standard.
54051         (FP_FAST_FMAF): Likewise.
54052         (FP_FAST_FMAL): Likewise.
54053         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
54054         multiply/add.
54055         (FP_FAST_FMAF): Likewise.
54057 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
54059         [BZ #3268]
54060         * math/libm-test.inc (fma_test): Some new testcases.
54061         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
54062         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
54063         y and infinite z.  Do multiplication by C already in long double.
54064         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
54065         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
54066         y and infinite z.  Do bitwise or of inexact bit into u.d.
54067         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
54068         * sysdeps/i386/fpu/s_fmaf.S: Removed.
54069         * sysdeps/i386/fpu/s_fma.S: Removed.
54070         * sysdeps/i386/fpu/s_fmal.S: Removed.
54072 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
54074         [BZ #3268]
54075         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
54076         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
54077         computation is not scheduled after fetestexcept.  Fix value
54078         of minimum denormal long double.
54080 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
54082         [BZ #3268]
54083         * math/libm-test.inc (fma_test): Add some more tests.
54084         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
54085         correctly.
54087 2010-10-15  Andreas Schwab  <schwab@redhat.com>
54089         * scripts/data/localplt-s390-linux-gnu.data: New file.
54090         * scripts/data/localplt-s390x-linux-gnu.data: New file.
54092 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
54094         [BZ #3268]
54095         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
54096         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
54097         instead of dbl-64.
54098         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
54099         inlines.
54100         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
54101         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
54102         if one of x and y is very large and the other is subnormal.
54103         * sysdeps/s390/fpu/s_fmaf.c: New file.
54104         * sysdeps/s390/fpu/s_fma.c: New file.
54105         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
54106         * sysdeps/powerpc/fpu/s_fma.S: New file.
54107         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
54108         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
54109         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
54111 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
54113         [BZ #3268]
54114         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
54115         fma tests.
54116         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
54117         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
54118         * sysdeps/i386/i686/multiarch/s_fma.c: Include
54119         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
54120         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
54121         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
54122         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
54124 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
54126         [BZ #12078]
54127         * posix/regcomp.c (parse_branch): One more memory leak plugged.
54128         * posix/bug-regex31.input: Add test case.
54130 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
54132         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
54133         * posix/bug-regex31.input: New file.
54135         [BZ #12078]
54136         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
54137         (parse_sub_exp): Fix last change, use postorder.
54139         * posix/bug-regex31.c: New file.
54140         * posix/Makefile: Add rules to build and run bug-regex31.
54142         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
54144         [BZ #12078]
54145         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
54147         [BZ #12108]
54148         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
54149         to have entries in sys_siglist.
54151         [BZ #12093]
54152         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
54153         be NULL.
54155 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
54157         [BZ #3268]
54158         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
54159         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
54160         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
54161         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
54162         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
54163         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
54164         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
54165         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
54166         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
54167         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
54168         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
54169         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
54170         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
54171         * math/ftestexcept.c (fetestexcept): Likewise.
54172         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
54173         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
54174         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
54175         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
54176         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
54177         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
54178         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
54180 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
54182         [BZ #12107]
54183         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
54184         newline.
54186 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
54188         * string/bug-strstr1.c: New file.
54189         * string/Makefile: Add rules to build and run bug-strstr1.
54191 2010-10-05  Eric Blake  <eblake@redhat.com>
54193         [BZ #12092]
54194         * string/str-two-way.h (two_way_long_needle): Always clear memory
54195         when skipping input due to the shift table.
54197 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
54199         [BZ #12005]
54200         * malloc/mcheck.c: Handle large requests.
54202         [BZ #12077]
54203         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
54204         for strncmp and strncasecmp.
54205         * string/stratcliff.c: Add tests for strcmp and strncmp.
54206         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
54208 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
54210         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
54211         __set_fpscr.
54213 2010-09-30  Andreas Jaeger  <aj@suse.de>
54215         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
54216         (CGROUP_SUPER_MAGIC): Define.
54217         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54218         Handle btrfs and cgroup file systems.
54219         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
54220         Likewise.
54222 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
54224         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
54225         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
54227 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54229         [BZ #12067]
54230         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
54231         trying to locate the ELF header.
54233 2010-09-27  Andreas Schwab  <schwab@redhat.com>
54235         [BZ #11611]
54236         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
54237         Mask out sign-bit copies when constructing f_fsid.
54239 2010-09-24  Petr Baudis <pasky@suse.cz>
54241         * debug/stack_chk_fail_local.c: Add missing licence exception.
54242         * debug/warning-nop.c: Likewise.
54244 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
54246         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
54247         implementing getdents64 using getdents syscall, set d_type if
54248         __ASSUME_GETDENTS32_D_TYPE.
54250 2010-09-16  Andreas Schwab  <schwab@redhat.com>
54252         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
54253         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
54255 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
54257         [BZ #12037]
54258         * posix/unistd.h: Undo change of feature selection for ftruncate from
54259         2010-01-11.
54261 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
54263         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
54264         detection.
54266 2010-09-20  Andreas Schwab  <schwab@redhat.com>
54268         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
54269         fanotify_mark.
54270         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
54272 2010-09-14  Andreas Schwab  <schwab@redhat.com>
54274         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
54275         variables after CHECK_SP call.
54276         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
54278 2010-09-13  Andreas Schwab  <schwab@redhat.com>
54279             Ulrich Drepper  <drepper@redhat.com>
54281         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
54282         re-relocationg ld.so.
54283         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
54284         _dl_init_paths call.
54285         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
54286         here anymore.
54288 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
54290         * resolv/res_init.c (__res_vinit): Count the default server we added.
54292 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
54293             Ulrich Drepper  <drepper@redhat.com>
54295         [BZ #11968]
54296         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
54297         (____longjmp_chk): Use %ebx for saving value across system call.
54298         Add unwind info.
54300 2010-09-06  Andreas Schwab  <schwab@redhat.com>
54302         * manual/Makefile: Don't mix pattern rules with normal rules.
54304 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
54306         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
54307         operation.
54308         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
54309         * libio/iofopncook.c (_IO_cookie_init): Likewise.
54310         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
54311         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
54312         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
54313         Likewise.
54315 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
54317         [BZ #11979]
54318         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
54319         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
54321 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
54323         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
54324         * sysdeps/x86_64/addmul_1.S: Likewise.
54325         * sysdeps/x86_64/lshift.S: Likewise.
54326         * sysdeps/x86_64/mul_1.S: Likewise.
54327         * sysdeps/x86_64/rshift.S: Likewise.
54328         * sysdeps/x86_64/sub_n.S: Likewise.
54329         * sysdeps/x86_64/submul_1.S: Likewise.
54331 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54333         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
54334         Define __sched_param instead of SCHED_* and sched_param when
54335         <bits/sched.h> is included with __need_schedparam defined.
54336         * bits/sched.h [__need_schedparam]
54337         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
54338         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
54339         (__defined_schedparam): Define to 1.
54340         (__sched_param): New structure, identical to sched_param.
54341         (__need_schedparam): Undefine.
54343 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
54345         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
54346         (epoll_create1): Declare.
54348         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
54350 2010-08-31  Andreas Schwab  <schwab@redhat.com>
54352         [BZ #7066]
54353         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
54354         shifting retval into place.
54356 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
54358         * nis/rpcsvc/nis.h: Update copyright notice.
54359         * nis/rpcsvc/nis.x: Likewise.
54360         * nis/rpcsvc/nis_callback.h: Likewise.
54361         * nis/rpcsvc/nis_callback.x: Likewise.
54362         * nis/rpcsvc/nis_object.x: Likewise.
54363         * nis/rpcsvc/nis_tags.h: Likewise.
54364         * nis/rpcsvc/yp.h: Likewise.
54365         * nis/rpcsvc/yp.x: Likewise.
54366         * nis/rpcsvc/ypupd.h: Likewise.
54367         * nis/yp_xdr.c: Likewise.
54368         * nis/ypupdate_xdr.c: Likewise.
54370         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
54371         mainly the body of pmap_getport.  Add parameters to specify timeouts.
54372         (pmap_getport): Use __libc_rpc_getport.
54373         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
54374         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
54375         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
54377 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
54379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
54380         fanotify_mark.
54382 2010-08-27  Roland McGrath  <roland@redhat.com>
54384         * sysdeps/i386/i686/multiarch/Makefile
54385         (CFLAGS-varshift.c): New variable.
54387 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
54389         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
54390         * sysdeps/i386/i686/multiarch/varshift.c: New file.
54392         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
54394         * sysdeps/x86_64/strlen.S: Minimal code improvement.
54396 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
54398         * sysdeps/x86_64/strlen.S: Unroll the loop.
54399         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54400         strlen-sse2 strlen-sse2-bsf.
54401         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
54402         __strlen_no_bsf if bit_Slow_BSF is set.
54403         (__strlen_sse42): Removed.
54404         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
54405         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
54407 2010-08-25  Roland McGrath  <roland@redhat.com>
54409         * sysdeps/x86_64/multiarch/varshift.S: File removed.
54410         * sysdeps/x86_64/multiarch/varshift.c: New file.
54411         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
54412         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
54413         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
54414         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
54416 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
54418         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54419         strlen-sse2 strlen-sse2-bsf.
54420         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
54421         __strlen_sse2_bsf if bit_Slow_BSF is unset.
54422         (__strlen_sse2): Removed.
54423         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
54424         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
54425         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
54426         bit_Slow_BSF for Atom.
54427         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
54428         (index_Slow_BSF): Define.
54429         (HAS_SLOW_BSF): Define.
54431 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
54433         [BZ #10851]
54434         * resolv/res_init.c (__res_vinit): When no server address at all
54435         is given default to loopback.
54437 2010-08-24  Roland McGrath  <roland@redhat.com>
54439         * configure.in: Remove config-name.h generation.
54440         * configure: Regenerated.
54441         * config-name.in: File removed.
54442         * scripts/config-uname.sh: New file.
54443         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
54444         ($(objdir)config-name.h): New target.
54446         * sunrpc/rpc_parse.h: Avoid nested comment.
54448 2010-08-24  Richard Henderson  <rth@redhat.com>
54449             Ulrich Drepper  <drepper@redhat.com>
54450             H.J. Lu  <hongjiu.lu@intel.com>
54452         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
54453         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
54454         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
54455         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
54456         _mm_alignr_epi8 with _mm_loadu_si128.
54457         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
54458         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
54459         (__m128i_shift_right): Removed.
54460         * sysdeps/i386/i686/multiarch/varshift.h: New file.
54461         * sysdeps/i386/i686/multiarch/varshift.S: New file.
54462         * sysdeps/x86_64/multiarch/varshift.h: New file.
54463         * sysdeps/x86_64/multiarch/varshift.S: New file.
54465 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
54467         * configure.in: Move assembler checks to before sysdep dir checking.
54469 2010-08-20  Petr Baudis  <pasky@suse.cz>
54471         * LICENSES: Sync the sunrpc license.
54473 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
54475         * sunrpc/auth_des.c: Update copyright notice once again.
54476         * sunrpc/auth_none.c: Likewise.
54477         * sunrpc/auth_unix.c: Likewise.
54478         * sunrpc/authdes_prot.c: Likewise.
54479         * sunrpc/authuxprot.c: Likewise.
54480         * sunrpc/bindrsvprt.c: Likewise.
54481         * sunrpc/clnt_gen.c: Likewise.
54482         * sunrpc/clnt_perr.c: Likewise.
54483         * sunrpc/clnt_raw.c: Likewise.
54484         * sunrpc/clnt_simp.c: Likewise.
54485         * sunrpc/clnt_tcp.c: Likewise.
54486         * sunrpc/clnt_udp.c: Likewise.
54487         * sunrpc/clnt_unix.c: Likewise.
54488         * sunrpc/des_crypt.c: Likewise.
54489         * sunrpc/des_soft.c: Likewise.
54490         * sunrpc/get_myaddr.c: Likewise.
54491         * sunrpc/getrpcport.c: Likewise.
54492         * sunrpc/key_call.c: Likewise.
54493         * sunrpc/key_prot.c: Likewise.
54494         * sunrpc/openchild.c: Likewise.
54495         * sunrpc/pm_getmaps.c: Likewise.
54496         * sunrpc/pm_getport.c: Likewise.
54497         * sunrpc/pmap_clnt.c: Likewise.
54498         * sunrpc/pmap_prot.c: Likewise.
54499         * sunrpc/pmap_prot2.c: Likewise.
54500         * sunrpc/pmap_rmt.c: Likewise.
54501         * sunrpc/rpc/auth.h: Likewise.
54502         * sunrpc/rpc/auth_unix.h: Likewise.
54503         * sunrpc/rpc/clnt.h: Likewise.
54504         * sunrpc/rpc/des_crypt.h: Likewise.
54505         * sunrpc/rpc/key_prot.h: Likewise.
54506         * sunrpc/rpc/netdb.h: Likewise.
54507         * sunrpc/rpc/pmap_clnt.h: Likewise.
54508         * sunrpc/rpc/pmap_prot.h: Likewise.
54509         * sunrpc/rpc/pmap_rmt.h: Likewise.
54510         * sunrpc/rpc/rpc.h: Likewise.
54511         * sunrpc/rpc/rpc_des.h: Likewise.
54512         * sunrpc/rpc/rpc_msg.h: Likewise.
54513         * sunrpc/rpc/svc.h: Likewise.
54514         * sunrpc/rpc/svc_auth.h: Likewise.
54515         * sunrpc/rpc/types.h: Likewise.
54516         * sunrpc/rpc/xdr.h: Likewise.
54517         * sunrpc/rpc_clntout.c: Likewise.
54518         * sunrpc/rpc_cmsg.c: Likewise.
54519         * sunrpc/rpc_common.c: Likewise.
54520         * sunrpc/rpc_cout.c: Likewise.
54521         * sunrpc/rpc_dtable.c: Likewise.
54522         * sunrpc/rpc_hout.c: Likewise.
54523         * sunrpc/rpc_main.c: Likewise.
54524         * sunrpc/rpc_parse.c: Likewise.
54525         * sunrpc/rpc_parse.h: Likewise.
54526         * sunrpc/rpc_prot.c: Likewise.
54527         * sunrpc/rpc_sample.c: Likewise.
54528         * sunrpc/rpc_scan.c: Likewise.
54529         * sunrpc/rpc_scan.h: Likewise.
54530         * sunrpc/rpc_svcout.c: Likewise.
54531         * sunrpc/rpc_tblout.c: Likewise.
54532         * sunrpc/rpc_util.c: Likewise.
54533         * sunrpc/rpc_util.h: Likewise.
54534         * sunrpc/rpcinfo.c: Likewise.
54535         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
54536         * sunrpc/rpcsvc/key_prot.x: Likewise.
54537         * sunrpc/rpcsvc/klm_prot.x: Likewise.
54538         * sunrpc/rpcsvc/mount.x: Likewise.
54539         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
54540         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
54541         * sunrpc/rpcsvc/rex.x: Likewise.
54542         * sunrpc/rpcsvc/rstat.x: Likewise.
54543         * sunrpc/rpcsvc/rusers.x: Likewise.
54544         * sunrpc/rpcsvc/sm_inter.x: Likewise.
54545         * sunrpc/rpcsvc/spray.x: Likewise.
54546         * sunrpc/rpcsvc/yppasswd.x: Likewise.
54547         * sunrpc/rtime.c: Likewise.
54548         * sunrpc/svc.c: Likewise.
54549         * sunrpc/svc_auth.c: Likewise.
54550         * sunrpc/svc_authux.c: Likewise.
54551         * sunrpc/svc_raw.c: Likewise.
54552         * sunrpc/svc_run.c: Likewise.
54553         * sunrpc/svc_simple.c: Likewise.
54554         * sunrpc/svc_tcp.c: Likewise.
54555         * sunrpc/svc_udp.c: Likewise.
54556         * sunrpc/svc_unix.c: Likewise.
54557         * sunrpc/svcauth_des.c: Likewise.
54558         * sunrpc/xcrypt.c: Likewise.
54559         * sunrpc/xdr.c: Likewise.
54560         * sunrpc/xdr_array.c: Likewise.
54561         * sunrpc/xdr_float.c: Likewise.
54562         * sunrpc/xdr_mem.c: Likewise.
54563         * sunrpc/xdr_rec.c: Likewise.
54564         * sunrpc/xdr_ref.c: Likewise.
54565         * sunrpc/xdr_sizeof.c: Likewise.
54566         * sunrpc/xdr_stdio.c: Likewise.
54568         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
54569         handling.
54571 2010-08-19  Andreas Schwab  <schwab@redhat.com>
54573         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
54575 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
54577         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
54578         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
54579         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
54580         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
54581         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
54582         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
54583         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
54584         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
54585         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
54586         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
54587         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
54588         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
54589         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
54590         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
54592 2010-07-26  Anton Blanchard  <anton@samba.org>
54594         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
54595         * malloc/arena.c (heap_trim): Likewise.
54597 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
54599         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
54600         here.  Not...
54601         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
54602         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
54604 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
54606         * sysdeps/i386/elf/Makefile: New file.
54608 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
54610         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
54611         from fanotify_init.
54612         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
54613         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
54615 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
54617         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
54618         of strncasecmp_l.
54619         * sysdeps/multiarch/strcmp.S: Likewise.
54621 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
54623         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
54624         strncase_l-nonascii.
54625         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
54626         Add strncase_l-ssse3.
54627         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
54628         * sysdeps/x86_64/strcmp.S: Likewise.
54629         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
54630         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
54631         * sysdeps/x86_64/strncase.S: New file.
54632         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
54633         * sysdeps/x86_64/strncase_l.S: New file.
54634         * string/Makefile (strop-tests): Add strncasecmp.
54635         * string/test-strncasecmp.c: New file.
54637         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
54638         warning.
54640         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
54641         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
54643 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
54645         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
54647 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
54649         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
54650         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
54651         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
54653 2010-05-01  Alan Modra  <amodra@gmail.com>
54655         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
54656         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
54657         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
54658         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
54659         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
54660         tidying.  Don't tail-call __sigjmp_save for static lib.
54661         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
54662         save location.
54663         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
54664         (CALL_MCOUNT): Add eh info, and nop after bl.
54665         (TAIL_CALL_SYSCALL_ERROR): New macro.
54666         (PSEUDO_RET): Use it.
54667         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
54668         Correct save location of integer regs and cr.
54669         (_dl_profile_resolve): Correct cr save location.  Delete nops
54670         after bl when SHARED.  Reduce cfi size a little by better
54671         placement of cfi directives.
54672         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
54673         make a stack frame.  Instead use parm save area as a temp.
54674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
54675         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
54676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
54677         Don't make a stack frame for parent, use parm save area.
54678         Increase child stack frame to 112 bytes.  Don't save unused reg,
54679         and adjust reg usage.  Set up cfi on error recovery and
54680         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
54681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
54682         (__makecontext): Add dummy nop after jump to exit.
54683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
54684         Use correct parm save area and cr save, reduce stack frame.
54685         Correct cfi for possible PSEUDO_RET frame setup.
54686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
54687         Branch to local label emitted by PSEUDO_RET rather than
54688         __syscall_error.
54690 2010-08-12  Andreas Schwab  <schwab@redhat.com>
54692         [BZ #11904]
54693         * locale/programs/locale.c (print_assignment): New function.
54694         (show_locale_vars): Use it.
54696 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
54698         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
54699         field.
54700         (struct statfs64): Likewise.
54701         (_STATFS_F_FLAGS): Define.
54702         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
54703         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54704         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
54705         (ST_VALID): Define locally.
54706         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
54707         __statvfs_getflags, use the provided value.
54708         * sysdeps/unix/sysv/linux/kernel-features.h: Define
54709         __ASSUME_STATFS_F_FLAGS.
54711         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
54713         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
54714         Add sys/fanotify.h.
54715         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
54716         fanotify_mask for GLIBC_2.13.
54717         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
54718         fanotify_init and fanotify_mark.
54719         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
54720         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
54722         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
54723         Add prlimit.
54724         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
54725         prlimit64 for GLIBC_2.13.
54726         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
54727         prlimit64.
54728         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
54729         syscall.
54730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
54731         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
54732         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
54733         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
54734         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
54735         add prlimit alias.
54736         * sysdeps/unix/sysv/linux/prlimit.c: New file.
54738         [BZ #11903]
54739         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
54740         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
54742         * nss/Makefile: Add rules to build and run tst-nss-test1.
54743         * shlib-versions: Add entry for libnss_test1.
54744         * nss/nss_test1.c: New file.
54745         * nss/tst-nss-test1.c: New file.
54747         * nss/nsswitch.c (__nss_database_custom): Define new variable.
54748         (__nss_configure_lookup): Set appropriate entry in
54749         __nss_configure_lookup to true.
54750         * nss/nsswitch.h: Define enum with indeces of databases in
54751         databases and __nss_database_custom arrays.  Declare
54752         __nss_database_custom.
54753         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
54754         to avoid using nscd when custom rules are installed.
54755         * nss/getXXbyYY_r.c: Likewise.
54756         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
54758         * nss/nss_files/files-parse.c: Whitespace fixes.
54760 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
54762         [BZ #11883]
54763         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
54764         * posix/fnmatch_loop.c: Likewise.
54766 2010-07-17  Andi Kleen  <ak@linux.intel.com>
54768         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
54769         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
54770         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
54771         * Versions.def [GLIBC_2.13]: Add.
54773 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
54775         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
54776         Also fail if tpwd after pwuid call is NULL.
54778 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54780         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
54781         when converting to ms.
54783 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54785         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
54786         EOPNOTSUPP errors with ENOTTY.
54787         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
54788         EOPNOTSUPP errors with ENOTTY.
54790 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
54792         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
54793         Add strcasecmp_l-ssse3.
54794         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
54795         strcasecmp.
54796         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
54797         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
54798         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
54800 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
54802         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
54804         * string/Makefile (strop-tests): Add strcasecmp.
54805         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
54806         strcasecmp_l-nonascii.
54807         (gen-as-const-headers): Add locale-defines.sym.
54808         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
54809         * sysdeps/x86_64/strcasecmp.S: New file.
54810         * sysdeps/x86_64/strcasecmp_l.S: New file.
54811         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
54812         * sysdeps/x86_64/locale-defines.sym: New file.
54813         * string/test-strcasecmp.c: New file.
54815         * string/test-strcasestr.c: Test both ends of the range of characters.
54816         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
54818 2010-07-29  Roland McGrath  <roland@redhat.com>
54820         [BZ #11856]
54821         * manual/locale.texi (Yes-or-No Questions): Fix example code.
54823 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
54825         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
54826         for ld.so.
54828 2010-07-27  Andreas Schwab  <schwab@redhat.com>
54830         * manual/memory.texi (Malloc Tunable Parameters): Document
54831         M_PERTURB.
54833 2010-07-26  Roland McGrath  <roland@redhat.com>
54835         [BZ #11840]
54836         * configure.in (-fgnu89-inline check): Set and substitute
54837         gnu89_inline, not libc_cv_gnu89_inline.
54838         * configure: Regenerated.
54839         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
54841 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
54843         * string/test-strnlen.c: New file.
54844         * string/Makefile (strop-tests): Add strnlen.
54845         * string/tester.c (test_strnlen): Add a few more test cases.
54846         * string/tst-strlen.c: Better error reporting.
54848         * sysdeps/x86_64/strnlen.S: New file.
54850 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
54852         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
54853         lower-latency instructions.
54855 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
54857         * string/test-strcasestr.c: New file.
54858         * string/test-strstr.c: New file.
54859         * string/Makefile (strop-tests): Add strstr and strcasestr.
54860         * string/str-two-way.h: Don't undefine MAX.
54861         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
54863 2010-07-21  Andreas Schwab  <schwab@redhat.com>
54865         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54866         strcasestr-nonascii.
54867         (CFLAGS-strcasestr-nonascii.c): Define.
54868         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
54869         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
54870         Remove unused attribute.
54872 2010-07-20  Roland McGrath  <roland@redhat.com>
54874         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
54875         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
54876         ld.so.cache was broken.  With it, there is no way to disable dsocaps
54877         like LD_HWCAP_MASK can disable hwcaps.
54879 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
54881         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
54883 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
54885         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
54886         call in strcasestr.
54887         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
54888         __strcasestr_sse42_nonascii.
54889         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
54890         strcasestr-nonascii.c.
54891         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
54893 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
54895         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
54896         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
54897         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
54898         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
54900 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
54902         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
54903         fcntl.
54905 2010-07-06  Andreas Schwab  <schwab@redhat.com>
54907         [BZ #11577]
54908         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
54909         dl_signal_cerror.
54911 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
54913         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
54914         _PC_PIPE_BUF using F_GETPIPE_SZ.
54916 2010-07-05  Roland McGrath  <roland@redhat.com>
54918         * manual/arith.texi (Rounding Functions): Fix rint description
54919         implicit in round description.
54921 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
54923         * elf/Makefile: Fix linking for a few tests to make recent linker
54924         happy.
54926 2010-06-30  Andreas Schwab  <schwab@redhat.com>
54928         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
54929         $(common-objpfx)libc_nonshared.a.
54931 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
54933         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
54934         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
54935         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
54936         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
54937         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
54938         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
54939         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
54940         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
54941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
54942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
54943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
54944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
54945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
54946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
54947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
54948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
54949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
54950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
54951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
54952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
54953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
54954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
54955         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
54956         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
54957         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
54958         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
54959         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
54960         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
54961         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
54962         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
54963         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
54964         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
54965         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
54966         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
54967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
54968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
54969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
54970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
54971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
54972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
54973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
54974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
54975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
54976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
54977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
54978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
54979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
54980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
54982 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
54984         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
54985         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
54986         * string/memmove.c (memmove): Renamed to ...
54987         (MEMMOVE): ...this.  Default to memmove.
54988         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
54989         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
54990         (END_CHK): Define.
54991         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54992         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
54993         mempcpy-ssse3-back memmove-ssse3-back.
54994         * sysdeps/x86_64/multiarch/bcopy.S: New file .
54995         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
54996         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
54997         * sysdeps/x86_64/multiarch/memcpy.S: New file.
54998         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
54999         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
55000         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
55001         * sysdeps/x86_64/multiarch/memmove.c: New file.
55002         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
55003         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
55004         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
55005         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
55006         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
55007         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
55008         Define.
55009         (index_Fast_Copy_Backward): Define.
55010         (HAS_ARCH_FEATURE): Define.
55011         (HAS_FAST_REP_STRING): Define.
55012         (HAS_FAST_COPY_BACKWARD): Define.
55014 2010-06-21  Andreas Schwab  <schwab@redhat.com>
55016         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
55017         Restore proper fallback handling.
55019 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
55021         [BZ #11701]
55022         * posix/group_member.c (__group_member): Correct checking loop.
55024         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
55025         OOM in getpwuid_r correctly.  Return error number when the caller
55026         should return, otherwise -1.
55027         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
55028         call returning > 0 value.
55029         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
55031 2010-06-07  Andreas Schwab  <schwab@redhat.com>
55033         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
55034         libc_nonshared.a from targets in modules-names.
55036 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
55038         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
55039         requires it.
55041 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
55043         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
55044         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
55045         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
55046         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
55048 2010-06-02  Andreas Schwab  <schwab@redhat.com>
55050         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
55052 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
55054         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
55055         and F_GETPIPE_SZ.
55056         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
55057         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55058         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55059         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55060         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55061         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
55063 2010-06-14  Roland McGrath  <roland@redhat.com>
55065         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
55067 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
55069         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
55070         __REDIRECT followed by __THROW.
55071         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
55072         * posix/getopt.h (getopt): Likewise.
55074 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
55076         * hurd/lookup-at.c (__file_name_lookup_at): Accept
55077         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
55078         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
55079         in AT_FLAGS.
55080         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
55081         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
55083 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
55085         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
55087 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
55089         [BZ #11640]
55090         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55091         Properly check family and model.
55093 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
55095         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
55097 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
55099         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
55101 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
55103         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
55104         symbol reference.
55106 2010-05-19  Andreas Schwab  <schwab@redhat.com>
55108         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
55109         symbol reference.
55111 2010-05-21  Andreas Schwab  <schwab@redhat.com>
55113         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
55114         and internal_recvmmsg.
55115         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
55116         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
55117         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
55118         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
55120         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
55121         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
55122         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
55124 2010-05-20  Andreas Schwab  <schwab@redhat.com>
55126         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
55128 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
55130         POWER7 optimizations.
55131         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
55132         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
55134 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
55136         * version.h: Update for 2.13 development version.
55138 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
55140         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
55141         exceptions.  Return 0.
55143 2010-05-07  Roland McGrath  <roland@redhat.com>
55145         * elf/ldconfig.c (main): Add a const.
55147 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
55149         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
55150         (args_options): Add no-idn option.
55151         (ahosts_keys_int): Add idn_flags to ai_flags.
55152         (parse_option): Handle 'i' option to clear idn_flags.
55154         * malloc/malloc.c (_int_free): Possible race in the most recently
55155         added check.  Only act on the data if no current modification
55156         happened.
55158 See ChangeLog.17 for earlier changes.